# |
Sep 23rd 2011, 13:59 |
pur3forlyphe |
hey all, trying to access a video file outside my app folder, in a documents folder, do i need to move it into the tmp folder inside the app to access it to play it through the view? - using a free ogg video player plugin |
# |
Sep 23rd 2011, 13:59 |
dakota |
cpierce: no where did you mention that. |
# |
Sep 23rd 2011, 13:59 |
ADmad |
bioiq: don't PM |
# |
Sep 23rd 2011, 13:59 |
cpierce |
dakota: i was referring to the migration doc but thanks |
# |
Sep 23rd 2011, 13:58 |
ADmad |
cpierce: its not mutual, drop the "too" |
# |
Sep 23rd 2011, 13:58 |
dakota |
cpierce: so, um, the docs do mention it |
# |
Sep 23rd 2011, 13:58 |
dakota |
"...is available in Controller, Views and Helpers. " |
# |
Sep 23rd 2011, 13:57 |
dakota |
cpierce: http://book.cakephp.org/2.0/en/controllers/request-response.html |
# |
Sep 23rd 2011, 13:57 |
cpierce |
ADmad: i love you too |
# |
Sep 23rd 2011, 13:57 |
ADmad |
cpierce: yeah the doc fails to mentions every fact that is inferred by common sense |
# |
Sep 23rd 2011, 13:55 |
bhp |
TooMuchCaffeine, dogmatic69; It's kind of a keybind, but I thought it was more appropiate to place the procedure in the brain, although I hadn't given it much thought! â?? Ouchâ?¦ This Hurtsâ?¦ Neuronpathâ?¦ Tooâ?¦ Strongâ?¦ |
# |
Sep 23rd 2011, 13:55 |
cpierce |
based on the fact that it doesn't say in the documentation that there is a difference in the model and the controller |
# |
Sep 23rd 2011, 13:55 |
ADmad |
your assumption is baseless |
# |
Sep 23rd 2011, 13:54 |
cpierce |
do you use $this->request->data in the model too instead of $this->data â?¦ i'm assuming yes but wanted to make sure |
# |
Sep 23rd 2011, 13:54 |
dakota |
Bjorns: depends |
# |
Sep 23rd 2011, 13:54 |
Bjorns |
And is it normal to build models of linktables also? |
# |
Sep 23rd 2011, 13:54 |
dogmatic69 |
~= 15% of his chats have that thing |
# |
Sep 23rd 2011, 13:54 |
dakota |
Bjorns: http://teknoid.wordpress.com/2009/01/06/another-way-to-think-about-mvc/ |
# |
Sep 23rd 2011, 13:53 |
dogmatic69 |
TooMuchCaffeine: i was thinking the same thing |
# |
Sep 23rd 2011, 13:53 |
TooMuchCaffeine |
lol. i think he has a keybind for that smiley |
# |
Sep 23rd 2011, 13:53 |
dogmatic69 |
!goodcake |
# |
Sep 23rd 2011, 13:53 |
dakota |
fat models, thin controllers |
# |
Sep 23rd 2011, 13:53 |
dogmatic69 |
Bjorns: because its the most important part of the app |
# |
Sep 23rd 2011, 13:53 |
dakota |
Bjorns: most of your code should be in models |
# |
Sep 23rd 2011, 13:53 |
Bjorns |
dogmatic69: So why would you ever wanna build models? |
# |
Sep 23rd 2011, 13:52 |
bioiq |
tnx ADmad |
# |
Sep 23rd 2011, 13:52 |
bhp |
Don't pay attention to itâ?¦ ;o] |
# |
Sep 23rd 2011, 13:52 |
dogmatic69 |
no, it's annoying |
# |
Sep 23rd 2011, 13:52 |
bhp |
It's my digital signature ;o] |
# |
Sep 23rd 2011, 13:52 |
bhp |
Hahaha |
# |
Sep 23rd 2011, 13:51 |
dogmatic69 |
bhp: http://irc.cakephp.org/search/cakephp/%3Bo%5D |
# |
Sep 23rd 2011, 13:51 |
ADmad |
bioiq: if you can't read/follow error messages you should probably look for an alternate profession |
# |
Sep 23rd 2011, 13:50 |
bhp |
;o] |
# |
Sep 23rd 2011, 13:50 |
dogmatic69 |
the joys of conventions over configuration |
# |
Sep 23rd 2011, 13:50 |
dogmatic69 |
Bjorns: cake builds models on the fly |
# |
Sep 23rd 2011, 13:49 |
Bjorns |
dogmatic69: ??? How does controllers then interactt with DB if there are no models? |
# |
Sep 23rd 2011, 13:49 |
bioiq |
http://bin.cakephp.org/view/1687118926 |
# |
Sep 23rd 2011, 13:49 |
bioiq |
ADmad, i don't understant you... BTW here is the link with the errors I get by giving the command 'cake bake all' |
# |
Sep 23rd 2011, 13:49 |
Hyra |
Is it at all possible to "import" a task from within a shell without predefining it? as in .. not having var $tasks = array() .. but some sort of App::import('Task', 'Whatever'); (which doesnt work ;) |
# |
Sep 23rd 2011, 13:48 |
dogmatic69 |
Bjorns: its not necessary to create models at all in cake |
# |
Sep 23rd 2011, 13:48 |
Bjorns |
Is it necessary to create models of linktables? |