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.felipe@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
LinkedIn http://au.linkedin.com/in/feliperoman
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
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:
Post a Comment