I think I know what he's talking about.

I recently wrote a post on this at: http://www.webdevelopment2.com/ (but
it's scheduled for Monday, so it's not out yet :) )

Um...you don't Google much do you?
"cakePHP bake"

http://cakebaker.42dh.com/tags/bake/

The only thing you REALLY have to step through the process for is with the
models...

After that...

"cake bake controller [controller] scaffold admin"
and
"cake bake view [view]"

Should give you want you need. At least you won't have to go through all the
prompts.
Not exactly what you're looking for, but a bit closer.

You could then feed your controller and view names in via your batch script.
--
Baz L
Web Development 2.0: Web Design, CakePHP, Javascript
http://www.WebDevelopment2.com/


On Nov 17, 2007 1:08 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote:

>
> On Nov 17, 2007 6:11 AM, RichardAtHome <[EMAIL PROTECTED]> wrote:
> >
> >
> > When it comes to baking the app, I have to run the bake script 60
> > times to build the app (30 for the controllers, 30 for the views). You
> > can guess how tedious this becomes during the course of a day...
> >
>
> Perhaps I'm misunderstanding your comments, but I just tried baking
> some stuff and I only had to run 'cake bake' once and was able to bake
> 3 controllers and 2 models (just as a test).  I didn't have to rerun
> the script.
>
> Although, it would be interesting to have a 'bake all' which simply
> bakes all models and controllers based on those models.  Might be a
> lot of work though.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheKeyboard - http://www.littlehart.net/atthekeyboard
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to