Wednesday, December 29, 2010

Re: Scaffolding vs Bake

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...@gmail.com> 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...@gmail.com>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@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>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@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: