Tim, try this. Create your database and then run the bake script. It will create the forms for you. Then what you can do is see how it created your forms using your database fields and you will learn how to convert old php forms into cake forms.
Having recently learned Cake, I definetly agree with teknoid. Fully embracing a framework vs. just using certain features is definetly the way to go. That's why I was saying do something along the lines of the blog tutorial. See what a model is, what a controller is and how those 2 work together with your views to create an MVC environment. You should learn (at a very basic level) how then to migrate your system (by migrate I mean completely redo) into cake. On Nov 11, 9:22 am, teknoid <[EMAIL PROTECTED]> wrote: > That's a wrong approach. > > You either use a framework and follow its methodology (which means you > have to rewrite what you had) or you just use good ol' PHP. > "Integrating" is not really going to work. > > On Nov 10, 10:28 pm, TimA1116 <[EMAIL PROTECTED]> wrote: > > > I would like to integrate a 6 page form created in PHP 5.2.5 into > > CakePHP. I have looked at various posting here and I've tried to > > implement what was instructed. However, I am at a loss as to how to > > proceed even though there must be away to accomplish what I'm trying > > to do. > > > I would very much appreciate a step by step (kindergarden level) how- > > to inegrate php code into cakephp framework. > > > I have a folder, named "app_form", which contains all my files. My > > code will do all the work. I just want CakePHP to render the output > > of my files. > > > 1. Where do I put app_form? If you suggest the "views" folder, which > > one as there seems to be a gazillion of them? > > 2. Where do I create the controller for accessing my files and what > > do I put in the controller? Should I create something else like an > > element? > > 3. What should my .htaccess say with regards to my files in app_form > > and where should that .htaccess be located? > > 4. What else am I missing? > > > Thanks in advance for your help! > > > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
