
Mr. Steve,
As I understand it, delegate classes are simply the same name as the table.php.
Thus I would have path.to.dfApp/tables/Customers/Customers.php.
Since the delegate classes are already in the Customers directory, is there a PHP reason for
naming it Customers.php instead of DelegateClasses.php?
I am trying to ensure I understand the possible naming schemes. For instance would TablenameFields.ini be possible instead of /tablename/fields.ini. Would it even be beneficial to have such a thing to reduce the size of the directory tree?
Or, would it be beneficial, or possible to create something similar in the index.php to the path.to.dataface pointers, but instead path.to.tables? Or path to an individual table? Path to ini files and so on?
The idea being to store all information in one place IF it makes sense. So if I have 30 apps that are going to reuse certain tables, I can have all the inis, Delegates etc for those tables stored in one central location, and usable across apps...with path.to.app/tables/tablename overriding anything stored there, or deprecating it...for instance lets say I have a relationship in the central location and I do not want to display it in a certain app...in path.to.app/tables/tablename/relationships.ini:
[TABLENAME]
Relationship = off
or some other method of turning it off here....
As I understand it, delegate classes are simply the same name as the table.php.
Thus I would have path.to.dfApp/tables/Customers/Customers.php.
Since the delegate classes are already in the Customers directory, is there a PHP reason for
naming it Customers.php instead of DelegateClasses.php?
I am trying to ensure I understand the possible naming schemes. For instance would TablenameFields.ini be possible instead of /tablename/fields.ini. Would it even be beneficial to have such a thing to reduce the size of the directory tree?
Or, would it be beneficial, or possible to create something similar in the index.php to the path.to.dataface pointers, but instead path.to.tables? Or path to an individual table? Path to ini files and so on?
The idea being to store all information in one place IF it makes sense. So if I have 30 apps that are going to reuse certain tables, I can have all the inis, Delegates etc for those tables stored in one central location, and usable across apps...with path.to.app/tables/tablename overriding anything stored there, or deprecating it...for instance lets say I have a relationship in the central location and I do not want to display it in a certain app...in path.to.app/tables/tablename/relationships.ini:
[TABLENAME]
Relationship = off
or some other method of turning it off here....