All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 

New ATK howto: Using the atkMetaNode
Author Message
PostPosted: Wed Oct 19, 2005 10:15 am 

Joined: Wed May 25, 2005 8:17 am
Posts: 209

With the upcoming 5.3 release of ATK I thought it would be nice to release the first version of the atkMetaNode howto. The 5.3 release of ATK contains several important changes in the atkMetaNode code base:

+ Added support for the atkMetaNode to the Oracle (OCI) driver.
+ Added support for default values to the atkMetaNode (only numerics and
  strings at this time and only on PostgreSQL and Oracle).
+ Added relation support to the atkMetaPolicy (supports one-to-one,
  one-to-many and many-to-one relations).
+ Added get/setDescriptorTemplate methods to atkNode and atkRelation.
+ Added get/setDestinationFilter methods to atkRelation.
+ Added nodeExists method to atkModule. At this time only used by
  atkMetaPolicy relation support.
+ Added atkMetaTools class which contains methods to singularize or pluralize
  English strings (e.g. dogs => dog, dog => dogs etc.).
* Type, table, flags, policy and handler can now be specified by setting the
  instance vars ($type, $table, $flags, $metaPolicy, $metaHandler) on the
  atkMetaNode subclass.
* The atkMetaPolicy now knows the difference between time, date and datetime
  fields (required some changes in various atkDB classes).

These changes make the atkMetaNode far more usable but also a bit more complex. However, after reading the howto (and following the lessons Sandy created!) this shouldn't be a problem anymore.

You can find the howto at the following location:

Note, you require a 5.3 version of ATK to use all features mentioned in the howto. The first RC will be released soon, until then you can use a nightly build.




Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group