What if you had an HTML server side include that included a bare cake view?
On 16/04/07, Leandro Lucarella <[EMAIL PROTECTED]> wrote: > > Hi! I'm having some problems integrating a Cake apllication that acts > as an "administration panel" and cuasi-static site. > > This site is done by a web designer in plain HTML and I have to add a > little logic to that, making some queries to the DB (the DB from the > "administration panel"). The thing is I *really* *really* want to keep > the HTML files as close to the ones the designer gives me at possible, > because he change them very often. I don't want to teach the designer > PHP, or Cake, because to add those pages to the Cake app will mean the > designer can't work on his designs on his WYSIWYG HTML editor, and he > have to go throw an upload/refresh cycle to really test what he is > doing. > > I can do the work by just making some plain old SQL connection and > query and that would be really much less work than the previous > solution. But an even better solution for me would be to have some way > to use the Cake model from outside the Cake app directory structure. > This way I: > 1) Centralize the DB configuration > 2) Have a nice and familiar DB abstraction layer > > Well, so making the story short, is there a way to access to Cake > model class from outside a cake app? I have something like: > /admin/ <---- Cake app (/admin/app/, /admin/cake/, etc) > /index.php <----- The static HTML file that needs some SQL queries > from the Cake app model > > TIA > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---