I'm not sure if that would work, that seems more like a way to load configuration values. I am trying to design my application so that a user can create different attributes (ie. First Name, Last Name, Age, City, or any other attribute) and link those attributes to certain types (String, Integer, Date, etc). They would also be able to create pages (ie. Contact Entry, Addresses) and link the attributes to a specific page. The attributes, types, and pages would be stored in different tables. There would also be some sort of data table in which values for these specific components were saved. The data table would look something like (ID, value, attribute_id) and the attribute table would look something like (ID, name, type_id). The page table would be along the lines of (ID, name) with an attribute/page table (ID, page_id, attribute_id). What I'm trying to figure out how to do is display a page along with it's attributes so that a user can enter data and store them in the data table. It would then need to validate the data based on the type of that attribute.
On Aug 23, 1:39 pm, McFadly <[EMAIL PROTECTED]> wrote: > Hmmm... not sure I completely follow your question, but if I'm getting > the right impression the > ConfComponent:http://bakery.cakephp.org/articles/view/confcomponent-db-based-config... > is what you're looking for. I use it extensively, its a great > database based configuration tool. > > On Aug 23, 10:31 am, Travis <[EMAIL PROTECTED]> wrote: > > > I was wondering if there were any CakePHP based components that would > > allow me to build dynamic data entry views based on values in a > > database such that I can enter data and store it in a generic table. > > For example, if I have a table 'Attributes' that has an attribute > > name, and the type of attribute along with size/length specifications, > > I would like to create a view based on any number of those > > attributes. I would then like to enter values in and have the values > > stored in a 'Records' table that would link back to the original > > attribute ID. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
