# |
Aug 7th 2008, 04:01 |
achew22 |
then you will have theme music |
# |
Aug 7th 2008, 04:00 |
achew22 |
TonkaTruck: rage against the machine that trained you to be inefficient |
# |
Aug 7th 2008, 04:00 |
stevieboy |
http://cakebaker.42dh.com/2008/05/18/new-core-behavior-containable/ |
# |
Aug 7th 2008, 04:00 |
TonkaTruck |
achew22: it's pre-cake habits that will be the death of me...my brain does not yet understand that my "add category" method is no more than 2 seconds away. |
# |
Aug 7th 2008, 04:00 |
achew22 |
TonkaTruck: 10% of the project takes 90% of the time, don't worry about that 10% at the start because it will feel like its taking FOREVER |
# |
Aug 7th 2008, 04:00 |
pgcd |
stevieboy: i tried googling, it didn't show up... |
# |
Aug 7th 2008, 03:59 |
stevieboy |
Martz: i see |
# |
Aug 7th 2008, 03:59 |
TonkaTruck |
achew22: I was leaning that way except that I have this habit of _inserting_ stuff in the db to make sure stuff works. |
# |
Aug 7th 2008, 03:59 |
thestaff |
i just realised that the thickbox.css is full of errorr |
# |
Aug 7th 2008, 03:59 |
stevieboy |
pgcd: did u check the cakebaker-site? |
# |
Aug 7th 2008, 03:59 |
Martz |
stevieboy: sure. but its a new project and im building schema - why should I spend mins/hours creating controllers with var $scaffold in them is my point |
# |
Aug 7th 2008, 03:59 |
pgcd |
please please: i can't understand how to use a containable for a habtm association... any pointers? |
# |
Aug 7th 2008, 03:59 |
thestaff |
how no i dont |
# |
Aug 7th 2008, 03:59 |
achew22 |
TonkaTruck: deal with that later, if you are using reverse routing and some tricks you can change it site wide in 10 min |
# |
Aug 7th 2008, 03:58 |
stevieboy |
Martz: scaffolding for production use is bad imo |
# |
Aug 7th 2008, 03:58 |
achew22 |
TonkaTruck: in my opinion as a programmer though get the site going then add sluggable |
# |
Aug 7th 2008, 03:58 |
Martz |
scaffolded and admin scaffolded views |
# |
Aug 7th 2008, 03:58 |
Martz |
anyone tried the "biggest shortcut" in cakephp yet? Create a new project, app_controller.php with var $scaffold and beforeFilter() check for $this->params['admin'] and set $this->scaffold = 'admin'; and then all you need is model files, and all of your app is scaffolded instantly :D |
# |
Aug 7th 2008, 03:57 |
TonkaTruck |
Also the Routes docs references an :id-:slug route |
# |
Aug 7th 2008, 03:57 |
stevieboy |
no, firebug, an addon |
# |
Aug 7th 2008, 03:57 |
thestaff |
yeah firefox |
# |
Aug 7th 2008, 03:57 |
TonkaTruck |
I was a bit confused because cake's Inflector class has slug() but it's unrelated to his behavior. |
# |
Aug 7th 2008, 03:57 |
stevieboy |
thestaff: you better should |
# |
Aug 7th 2008, 03:57 |
achew22 |
thestaff: do you have firebug? |
# |
Aug 7th 2008, 03:56 |
achew22 |
ah -- I read "looking for" |
# |
Aug 7th 2008, 03:56 |
TonkaTruck |
achew22: no no...I found it like two weeks ago. |
# |
Aug 7th 2008, 03:56 |
thestaff |
yeah it does |
# |
Aug 7th 2008, 03:56 |
stevieboy |
achew22: (11:07:11) TonkaTruck: Hmm...so I'm looking at mariano's sluggable behavior |
# |
Aug 7th 2008, 03:56 |
thestaff |
it seems like the form in the thickbox is stopped |
# |
Aug 7th 2008, 03:56 |
achew22 |
thestaff: does it work when its not in a modal window? |
# |
Aug 7th 2008, 03:56 |
achew22 |
TonkaTruck: can you really not find it? http://bakery.cakephp.org/articles/view/slug-behavior |
# |
Aug 7th 2008, 03:56 |
Martz |
but *sigh* |
# |
Aug 7th 2008, 03:56 |
thestaff |
the submit doesn't work |
# |
Aug 7th 2008, 03:55 |
Martz |
and colour |
# |
Aug 7th 2008, 03:55 |
Martz |
well, if you ask me, it should be behaviour ;P |
# |
Aug 7th 2008, 03:55 |
thestaff |
achew22, I have another issue |
# |
Aug 7th 2008, 03:55 |
TonkaTruck |
haha |
# |
Aug 7th 2008, 03:55 |
achew22 |
Martz: has the best explanation |
# |
Aug 7th 2008, 03:55 |
Martz |
D |
# |
Aug 7th 2008, 03:55 |
TonkaTruck |
sold. |
# |
Aug 7th 2008, 03:55 |
Martz |
TonkaTruck: because behaviors are very, very cool =) |