For several new CakePHP applications (I'll call them app1, app2, app3), I will need to implement a number of drop-down menus. These would be things like building codes that are already stored in a separate database (I'll call that the "lookup" database).
So, what I would like to do is have app1, app2 and app3 (each with their own database) use a shared set of functions that use lists/ values pulled from the lookup database. In the CakePHP 1.2 world is there an accepted or recommended way to do/ organize this? As a component? A plug-in? I see a lot of examples of building menus/lists associated with each individual model, but not many examples that implement as a separate library using a different database as source of the model. Another use of this central "library" would be to provide functions/ methods that display "friendly" values -- show building_name instead of building_id or show last_name+first_name instead of person_id. What I'd like to avoid is littering a bunch of these functions in each application. Any thoughts appreciated! Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---