# |
Aug 8th 2008, 22:03 |
detonatR |
< |
# |
Aug 8th 2008, 22:03 |
detonatR |
in the view |
# |
Aug 8th 2008, 22:03 |
Telik |
so i was programming in cake yesterday...and something just kinda clicked in my head...and i've made more progress on a project in two days than i have in 2 months. think i'm finally getting this cake stuff down--or at least the basics |
# |
Aug 8th 2008, 22:03 |
detonatR |
but then how would i call it |
# |
Aug 8th 2008, 22:02 |
detonatR |
ah cool |
# |
Aug 8th 2008, 22:01 |
markstory |
app_controller isn't a bad place for it then. |
# |
Aug 8th 2008, 22:01 |
detonatR |
i think it would be better if it was in app controller then |
# |
Aug 8th 2008, 22:01 |
detonatR |
< |
# |
Aug 8th 2008, 22:01 |
detonatR |
ya it will be on each page |
# |
Aug 8th 2008, 22:00 |
Telik |
or if it's on every part of the site, maybe something in AppController. someone correct me if i'm a little off |
# |
Aug 8th 2008, 22:00 |
detonatR |
ya |
# |
Aug 8th 2008, 21:59 |
Telik |
otherwise you might consider a helper to go along with the element |
# |
Aug 8th 2008, 21:59 |
Telik |
detonatR: yeah, if it's pretty short then just do that |
# |
Aug 8th 2008, 21:57 |
detonatR |
right :x |
# |
Aug 8th 2008, 21:57 |
detonatR |
but the quotes.ctp would have the function logic and to get it to show that one random quote just include the element |
# |
Aug 8th 2008, 21:57 |
Telik |
haha, that is scary. |
# |
Aug 8th 2008, 21:57 |
mboldisc |
The cake was a lie! |
# |
Aug 8th 2008, 21:56 |
mboldisc |
Gaa! |
# |
Aug 8th 2008, 21:56 |
Telik |
place "quotes.ctp" in your elements folder |
# |
Aug 8th 2008, 21:56 |
detonatR |
ah |
# |
Aug 8th 2008, 21:56 |
Telik |
detonatR: use an element |
# |
Aug 8th 2008, 21:56 |
Telik |
oooh, here's a devious plan: build a little code into cakephp that calls back to cake's servers every once in awhile...then just one day tell cake to shut down all running applications unless the developers pay ransom ;-) |
# |
Aug 8th 2008, 21:55 |
detonatR |
presentation |
# |
Aug 8th 2008, 21:50 |
mboldisc |
Well, I hope to see a version for sale in the coming months ;) |
# |
Aug 8th 2008, 21:49 |
Telik |
detonatR: is it just for logic or will there be presentation or both? |
# |
Aug 8th 2008, 21:47 |
mboldisc |
lol |
# |
Aug 8th 2008, 21:47 |
mboldisc |
coffee in the morning and beer at night |
# |
Aug 8th 2008, 21:47 |
Telik |
i'd die.... |
# |
Aug 8th 2008, 21:47 |
Telik |
haha, is there a developer out there who *doesn't* drink a lot of coffee? |
# |
Aug 8th 2008, 21:46 |
gwoo |
i do drink a lot of coffee |
# |
Aug 8th 2008, 21:46 |
mboldisc |
If you do it, I would try to use it at work. |
# |
Aug 8th 2008, 21:46 |
gwoo |
mm true |
# |
Aug 8th 2008, 21:46 |
Telik |
not to mention coffee flavor |
# |
Aug 8th 2008, 21:46 |
Telik |
needs the extra caffeine |
# |
Aug 8th 2008, 21:46 |
Telik |
'Mocha Cake' |
# |
Aug 8th 2008, 21:46 |
gwoo |
mmm chocolate |
# |
Aug 8th 2008, 21:45 |
mboldisc |
Make a 'Chocolate Cake' version and charge $200 a year for patches. |
# |
Aug 8th 2008, 21:45 |
detonatR |
hey im making a random quote script that ill be using probably with a few controllers and i was wondering where i would put that a helper or an element or somethin :P |
# |
Aug 8th 2008, 21:45 |
Telik |
oh dude, i'd love a cake plugin for Aptana...or Eclipse |
# |
Aug 8th 2008, 21:44 |
Telik |
take Invisionpower for example: they used to have a free forum software, but now they charge like $300 per license and have some bigname clients |
# |
Aug 8th 2008, 21:44 |
mboldisc |
Or you could sell a development tool (Eclipse PDT re-branded) |