# |
Sep 22nd 2011, 08:54 |
diverdude |
rchavik, ahh yeah ok...might be a better idea |
# |
Sep 22nd 2011, 08:54 |
rchavik |
nah.. use git or scm |
# |
Sep 22nd 2011, 08:53 |
diverdude |
rchavik, i was also just thinking as a "safety belt". To prevent myself from accidently baking new models and overwrite code that i have written |
# |
Sep 22nd 2011, 08:53 |
rchavik |
what is your use case? |
# |
Sep 22nd 2011, 08:52 |
rchavik |
the only time i needed to extend is when i needed to customize the User model.. |
# |
Sep 22nd 2011, 08:51 |
diverdude |
hmm ok..why is that? |
# |
Sep 22nd 2011, 08:51 |
rchavik |
not impossible, unnecessary |
# |
Sep 22nd 2011, 08:51 |
diverdude |
why does the fact that you use plugins make it impossible for you to extend models? |
# |
Sep 22nd 2011, 08:50 |
rchavik |
i use plugins, so no. but i extended User model |
# |
Sep 22nd 2011, 08:50 |
diverdude |
"thought about making a script for that" |
# |
Sep 22nd 2011, 08:49 |
diverdude |
rchavik, i thought about doing that also...but to make a script that extended all baked models automatically |
# |
Sep 22nd 2011, 08:49 |
diverdude |
rchavik, hey, you extend your baked models? |
# |
Sep 22nd 2011, 08:48 |
rchavik |
ACTION reread the above again :) |
# |
Sep 22nd 2011, 08:48 |
diverdude |
rchavik, I have lots and lots actually |
# |
Sep 22nd 2011, 08:48 |
rchavik |
have you done only one model, or multiple models ? |
# |
Sep 22nd 2011, 08:48 |
diverdude |
ahh yeah ok... |
# |
Sep 22nd 2011, 08:48 |
rchavik |
that one does 1 model |
# |
Sep 22nd 2011, 08:47 |
diverdude |
cake bake model User all i usually just do cake bake model all |
# |
Sep 22nd 2011, 08:46 |
diverdude |
rchavik, what is this? |
# |
Sep 22nd 2011, 08:43 |
rchavik |
diverdude, commands in pasted bin should not require you to answer anything |
# |
Sep 22nd 2011, 08:43 |
rchavik |
dogmatic69, true.. but i bake once.. and then extend.. |
# |
Sep 22nd 2011, 08:42 |
rchavik |
diverdude, http://bin.cakephp.org/view/477384154 |
# |
Sep 22nd 2011, 08:41 |
dogmatic69 |
rchavik: but scaffold does not require a rebake with changes |
# |
Sep 22nd 2011, 08:41 |
diverdude |
dogmatic69, yes it is :) |
# |
Sep 22nd 2011, 08:41 |
dogmatic69 |
diverdude: bake does the basics for you, scaffolding is magic |
# |
Sep 22nd 2011, 08:40 |
dakota |
rchavik: yeah, but it isn't as quick as using dynamic scaffolding (btw, I don't use scaffolding ever :) ) |
# |
Sep 22nd 2011, 08:40 |
rchavik |
~bin |
# |
Sep 22nd 2011, 08:40 |
rchavik |
dakota, bake does it for me too. |
# |
Sep 22nd 2011, 08:40 |
diverdude |
rchavik, yes you are right...i had misunderstood the scaffolding a bit...But im still impressed with its functionality :) |
# |
Sep 22nd 2011, 08:40 |
Section58 |
page:2 doesn't work |
# |
Sep 22nd 2011, 08:40 |
Section58 |
sorry i ment what does the 'page' var look like in the url when used with ajax, i am trying to load the page without ajax for debufgging |
# |
Sep 22nd 2011, 08:39 |
Section58 |
erm, what does page look like for pagination ajax thingy bobs |
# |
Sep 22nd 2011, 08:38 |
dakota |
rchavik: dynamic scaffoling is useful to check that your table conventions are correct :) |
# |
Sep 22nd 2011, 08:38 |
rchavik |
use real baked stuff |
# |
Sep 22nd 2011, 08:38 |
rchavik |
diverdude, don't use dynamic scaffolding tho |
# |
Sep 22nd 2011, 08:30 |
diverdude |
wauw...damn this is just nice this scaffolding |
# |
Sep 22nd 2011, 08:26 |
dakota |
you thought wrong :) |
# |
Sep 22nd 2011, 08:25 |
diverdude |
i thought when using scaffolding, skeletons were created |
# |
Sep 22nd 2011, 08:25 |
dakota |
diverdude: http://book.cakephp.org/view/1103/Scaffolding |
# |
Sep 22nd 2011, 08:25 |
diverdude |
ahh ok |
# |
Sep 22nd 2011, 08:25 |
dakota |
diverdude: they are 'generated' on the fly as the app runs |