Hi,
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:
Code:
+ 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:
http://www.achievo.org/atk/docs/howto/atkmetanode
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.
Regards,
Peter