cake-php@googlegroups.com
[Top] [All Lists]

Re: Scaffolding vs Bake

Subject: Re: Scaffolding vs Bake
From: Greg Skerman
Date: Thu, 30 Dec 2010 02:36:42 +1000
I find scaffold is useful when mucking about with the data model...
once i'm happy with that i go back and bake out the basic CRUD and go from there.


On Thu, Dec 30, 2010 at 2:26 AM, John Maxim <googol6@xxxxxxxxx> wrote:
Hi everyone,

Thanks I'm learning Bake at the moment. I thought scaffolding can be
used for production. Anyway thanks for clarifying.

Regards,
Maxim

On Dec 30, 12:12 am, "Larry E. Masters" <php...@xxxxxxxxx> wrote:
> I would not use scaffolding in production, it was never intended for that
> purpose. It has nothing to do with security or being unstable.
>
> The only purpose for scaffolding is to prototype and develop your
> models/database.
>
> Bake is used to get you closer to a production code base. You can customize
> your bake templates and even use them if you like.
>
> --
> Larry E. Masters
>
> On Wed, Dec 29, 2010 at 8:20 AM, Felipe Roman <roman.fel...@xxxxxxxxx>wrote:
>
> > Hi John,
>
> > The main difference between scaffold and bake is bake will generate the PHP
> > code (model, controller,view) and you can customize it how you want. When
> > I'm developing I start using bake to generate all CRUD and after I start to
> > change the generated code.
>
> > If the scaffolding is OK for you (work for all your requirements) I guess
> > you can continue using it. I've read in some place that scaffolding is not
> > recommended to use in production application (I don't remember the reason is
> > unstable or insecure...) but I don't know in the latest cake version.
>
> > --
> > Best Regards,
> > Felipe Roman
> > Phone 55 51 8454 8110
> > LinkedInhttp://au.linkedin.com/in/feliperoman
>
> >  Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> > others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@xxxxxxxxxxxxxxxx<cake-php%2Bunsubscribe@xxxxxxxxxxxxxxxx>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
<Prev in Thread] Current Thread [Next in Thread>