i don't do my own bake templates..mainly because i can't be bothered/have
never bothered to try


The default bake templates place all the find/save logic into the
controller, where I prefer to have get/set/find stuff in the model....so if
i use a baked controller, I have to rip the logic generated by bake out, and
plonk it in the model...its not a huge amount of work - but i find it more
productive to scaffold and make sure i've got the schema right - then once
I'm happy with that only implement the methods that I need in the
controller.


On Fri, Jan 28, 2011 at 8:48 PM, AD7six <[email protected]> wrote:

>
>
> On Jan 28, 10:52 am, Greg Skerman <[email protected]> wrote:
> > First you scaffold...
> > then you write the methods you want to actually implement
> > then you turn off scaffolding.
> > then you haven't repeated yourself ;)
> >
> > I don't actually bake the default CRUD because it doesn't "fat model" at
> all
>
> how so
>
> note that you can implement your own bake templates - as many (I hope)
> do.
>
> AD
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to