Agile Toolkit news

library updates, tips, information and more

ATK is branched for refactoring

I have been working on a refactoring in a separate branch. Right now it looks stable, so I’m putting more details in here:

https://agiletech.ie/svn/amodules3/branches/romans/pathfinder/

(you can try new branch by using svn switch)

Read more »

April 28, 2010 Posted by | Core changes | 2 Comments

New class: PathFinder

Several of current components are relying on their own implementation for file searching:

  • SMLite – template inclusion
  • class auto-load
  • javascript inclusion
  • page search

PathFinder is designed to be a system-wide controller which will take all those searches under control. It introduces concepts of Locations and resource types (such as ‘js’, ‘html’ for templates, ‘php’ etc)

Read more »

April 17, 2010 Posted by | Core changes, Version 3 | 1 Comment

New class URL and API::getDestinationURL()

For a while now, many parts of library relied on function API::getDestinationURL($page). This function returns the valid URL which will point to specified page. However the implementation of this function was only working for absolute page names, and was built-in into API.

I am adding implementation which relies on a new class called URL. This class instance will be returned by getDestinationURL(). If you happen to pass this object to getDestinationURL again, it will not going to mess up the URL anymore.

Read more »

April 17, 2010 Posted by | Core changes, Version 3 | 3 Comments

   

Follow

Get every new post delivered to your Inbox.