as for the manual merge I had in mind that one too; however, I was thinking of some way of having bake generate some classes, and I'd derive from them and redefine/add something; is it feasible? In order to do this I should either have bake generate files/classes with a different name, or tell cake to use my derived classes; is it possible to do so?
and concerning this other question: is bake documented in more details than it is here:http://book.cakephp.org/view/113/Code-Generation-with-Bake? thanks Lore Jeremy Burns wrote: > I guess there are two approaches. 1. Rename the model/views/ > controllers before you bake, then do a comparison and merge > afterwards. 2. Once you have the initial bake complete, just amend the > files rather than re-baking. This has the advantage of helping you > learn as well. > > On Dec 2, 6:23 pm, Lorenzo Bettini <[email protected]> wrote: >> Hi >> >> If I create models, controllers and views with bake, and I modify those >> files, the next time I run bake they'll overwritten (say that I added >> some new fields that I "want to bake"); is there a general idiom to deal >> with that? >> >> thanks in advance >> Lorenzo >> >> P.S. is bake documented in more details than it is >> here:http://book.cakephp.org/view/113/Code-Generation-with-Bake? >> -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com 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 [email protected] 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
