tags:

views:

46

answers:

3

Hi guys

I am a cakephp newbie and I would like to know what method you guys use to build your cakephp project. The tutorial I read is using cakephp console to bake application but the book I have use IDE to build the application. It seems console is more convenience because it can generate different projects name...Using IDE would require the developer to manually create all the folders...Thanks for the reply...

+2  A: 

I use both methods, depending on the state of development of the project and/or database.

Often I will copy a controller, model and views and just search & replace the appropriate names.

If I have a lot of database defined, I'll use bake.

As for IDEs, after much pain, frustration and testing I have settled on NetBeans. I did use Komodo for a while when I was forced to work on Windows (Java ate my windows) but now I'm on Ubuntu & Macs Netbeans is powerful, quick and flexible. I still wouldn't touch Eclipse with someone else's, though.

Leo
You ever tried Coda for the Mac? I love it for my dev work on my macbook.
Travis Leleu
I think I did, but it's paid SW isn't it? I try to avoid paying for things. Open Source SW tends to be better developed nowadays, anyway. The most important thing was to have an IDE I could use on any machine.
Leo
+2  A: 

You might be looking for something like ModelBaker. I haven't personally used it, but from what I can see it's a slick GUI on top of CakePHP.

FWIW, I've been using JetBrain's PHPStorm and loving it.

Dan Berlyoung
+2  A: 

What I think you're not hearing enough of, in the answers so far, is that they're really two different tools with two different purposes. Cake's bake command line utility won't really create your application. It will create scaffolding for the parts of an application that you define. This is a great starting point, but that's all it is.

You'll use your IDE to flesh out the bits that make your application, well, an application.

Both tools are very, very useful so it's not really an either/or kind of answer. Although I like using the bake tool to get started, there really aren't that many folders you have to create if you chose the IDE path. Once you drop in the Cake code base, most of that stuff--even the app-centric bits--are waiting for you to fill them out.

I rarely use bake to create views and once I've baked a model or two, I'll often built others from scratch in my text editor. There's no "right" way; just understand what each gives you and use whichever best suits your workflow at a given point in time.

Rob Wilkerson
ty.....i like your answer....:D
Jerry