OK: how about a detailed explanation for a brand-new user on how to extend DataObject both with a .ini file,
compared with how to do it by
embedding the .ini data within the class. Which properties control what? How does one build a calculated column?
This should cover most of this now.
http://devel.akbkhome.com/livedocs/livedoc.php?q=package.database.db-dataobject.intro-autobuilding#package.database.db-dataobject.intro-autobuilding
How does one build
multiple queries to be used within the class to retrieve different columns of data? Explicit instructions and examples.
This has been retitled, and should give the idea pretty quickly now.
http://devel.akbkhome.com/livedocs/livedoc.php?q=package.database.db-dataobject.intro-filters#package.database.db-dataobject.intro-filters
Did I understand you to say the .ini file is autogenerated? (More doc suggestions follow.) Autogenerated from what? Can one hand-write the .ini file? Does one *have* to autogenerate a extension DataObject, or can hand-write the extended class? How does one autogenerate it anyway? How does one hand-write it? What are the strengths and weaknesses of each approach?
Alot of that is covered on the introduction on the retitled/updated page
"Auto Building and Database Schema"
What pitfalls should one look for? Is one
"approved behavior" and the other proscribed?
DataObject was doing automated table creation, pre-defined selects, automated validation, datatype abstraction, et. al. three years ago? Then why does it not do so now?
As usual, it covered 90% of the developers needs :) - and grew to accomodate others needs..
It always gets down to the classic cunnudrum we have with pear, which i joked about today on IRC..
to paraphrase
A spaceship filled with lawyers was sent into space and arrived on virgin planet earth. Unfortunatly they failed to invent the wheel, as they couldnt find any agreement on it.
A spaceship filled with opensource developers was sent into space and arrived on virgin planet earth. They created 300 different wheels and 1/2 a million adapters so the wheels would work on differnt carts..
While natrual evolution is supposted to kill of the worst wheels, PEAR is attempting to sidestep evolution a little, and try and force the wheelmakers to work together.. (with mixed success :)
Anyway .. on to finish of the Cast docs...
Regards
Alan
_______________________________________________________________________
Paul M. Jones
Savant: the simple alternative to Smarty.
http://phpsavant.com/
--
Can you help out?
Need Consulting Services or Know of a Job?
http://www.akbkhome.com