That's where ModelBaker comes in to be handy. You can make separate project files and have separate project folders each using separate databases.
You may want to pick up a copy of VirtualHost in order to be able to test multiple sites (aka multiple projects) at the same time. You can learn about VirtualHost here: http://macupdate.com/info.php/id/25689/virtualhostx . This little product has saved me lots of hassle with multiple projects. Also, you can pick up two free utilities for MySQL administration and queries at http://dev.mysql.com/downloads/gui-tools/5.0.html. Very helpful! FLD On Sep 7, 2009, at 10:38 AM, Kludge wrote: > > Thanks, that's really helpful. I now have CakePHP using MAMP MySQL and > PHP5. Another question... what is the usual workflow. Do I create a > copy of the Cake/app folder for my project (project_name)? Do I bake > in another directory or directly into my Cake/project_name folder? I > notice in the tutorial that it recommends to work directly in the app > folder but I will definitely have more than one project... any > guidance would be appreciated. > > Thank you in advance! > > On Sep 6, 11:32 pm, Martin Westin <martin.westin...@gmail.com> wrote: >> A few points for installing Cake to run in Mamp. >> >> Simplest way is to drop the whole Cake folder (containing >> cake,app,vendors...) into Mamp's htdocs folder. >> Should be: /Applications/MAMP/htdocs >> >> That should have Cake running but you probably need / want the >> database too, right. You need to rename and edit the file app/config/ >> database.php. That file has to know how to reach Mamp's MySQL. You >> can >> see instructions in the Mamp control panel on the port/sockets, >> username, password and things. >> >> Those are really the two common head-scratchers I know of. I can't >> help you with Eclipse but if you have some specific question about >> the >> Mamp-Cake thing let me know. >> >> /Martin >> >> On Sep 7, 4:59 am, FrederickD <manzanillo.engl...@gmail.com> wrote: >> >> >> >>> Hey Kludge! >> >>> Try going towww.widgetpress.comandchecking out ModelBaker. It is a >>> Mac front-end to CakePHP so that you never have to use the CLI. The >>> product has a graphical representation of the database model you are >>> creating for the project. >> >>> ModelBaker is not an end-all solution. It is designed to quickly get >>> you up and running with CakePHP code that you then tweak for the >>> unique business logic for your project. >> >>> It has some limitations as it was just released at MacWorld in >>> January. Overall it promises to be a very strong product for Mac >>> development with CakePHP. There is a demo version available for >>> you to >>> try out. >> >>> I am not affiliated with WidgetPress at all. I do use ModelBaker >>> because I'm a Mac guy and don't care much for the Terminal and >>> command >>> line interfaces anymore. Been there, did that, haven't done it for >>> 25 >>> years now. >> >>> Check it out! >> >>> On Sep 6, 4:14 pm, Kludge <jvanul...@gmail.com> wrote: >> >>>> Anyone have any idea on how to do this? I have MAMP and Eclipse >>>> installed correctly and have been doing PHP development for a while >>>> now and everything works fine. I now want to jump into CakePHP but >>>> can't wrap my head around setting it up. Any insight and or steps >>>> on >>>> getting there would be great. Thank you in advance! > > --~--~---------~--~----~------------~-------~--~----~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---