# |
Aug 6th 2008, 23:04 |
freebox |
CakeBot: mvc (Model-view-controller) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the model represents the information (the data) of the applicati |
# |
Aug 6th 2008, 23:03 |
chrysanthemum |
i love it |
# |
Aug 6th 2008, 23:02 |
chrysanthemum |
haha jsut palyin around |
# |
Aug 6th 2008, 23:02 |
freebox |
lol? |
# |
Aug 6th 2008, 23:01 |
freebox |
LOL |
# |
Aug 6th 2008, 23:01 |
freebox |
i hate kohana users |
# |
Aug 6th 2008, 23:00 |
freebox |
cake ftw |
# |
Aug 6th 2008, 23:00 |
freebox |
\o/ |
# |
Aug 6th 2008, 23:00 |
chrysanthemum |
im practically a cake expert now! |
# |
Aug 6th 2008, 23:00 |
chrysanthemum |
whooo i just did the whoel blog tutorial and it worked |
# |
Aug 6th 2008, 23:00 |
freebox |
i know only Argentina an Uruguay outside brazil |
# |
Aug 6th 2008, 23:00 |
stabb |
ACTION is french |
# |
Aug 6th 2008, 22:59 |
freebox |
cool |
# |
Aug 6th 2008, 22:59 |
thestaff |
but i live in NYC |
# |
Aug 6th 2008, 22:59 |
thestaff |
french |
# |
Aug 6th 2008, 22:59 |
freebox |
thestaff: and u? |
# |
Aug 6th 2008, 22:59 |
freebox |
yes |
# |
Aug 6th 2008, 22:58 |
thestaff |
i was kinda close |
# |
Aug 6th 2008, 22:58 |
freebox |
=) |
# |
Aug 6th 2008, 22:58 |
thestaff |
kool |
# |
Aug 6th 2008, 22:58 |
freebox |
thestaff: brazilian |
# |
Aug 6th 2008, 22:58 |
thestaff |
are you italian or spanish ? |
# |
Aug 6th 2008, 22:57 |
freebox |
this model function |
# |
Aug 6th 2008, 22:57 |
freebox |
foreach ($this->find('all') as $row) { $this->create(); $this->id = $row[$this->alias]['id']; $this->saveField('titulo', $row[$this->alias]['titulo']); } |
# |
Aug 6th 2008, 22:57 |
julien_re_ |
i have been using afterFind for a while, and I updated to last SVN, I had to change my generateList() to find('list') and my afterFind function is no longer called |
# |
Aug 6th 2008, 22:57 |
thestaff |
what do you use then ? |
# |
Aug 6th 2008, 22:56 |
julien_re_ |
hi there |
# |
Aug 6th 2008, 22:56 |
freebox |
its for reset slugs |
# |
Aug 6th 2008, 22:56 |
freebox |
thestaff: is nothing with js |
# |
Aug 6th 2008, 22:54 |
JeffEmbracedDC |
What's the best way to do that kind of model management? |
# |
Aug 6th 2008, 22:54 |
JeffEmbracedDC |
but in some cases (such as ajax requests) I don't need those models loaded. |
# |
Aug 6th 2008, 22:54 |
JeffEmbracedDC |
right now I have $uses = array("Article", "User"); in my app controller to count for those items... |
# |
Aug 6th 2008, 22:54 |
freebox |
thestaff: uhm? sorry i dosent understan |
# |
Aug 6th 2008, 22:53 |
JeffEmbracedDC |
I have several elements in my default layout that I always render. Those elements require some data be pulled and set by either my AppController or requestAction within the element itself... |
# |
Aug 6th 2008, 22:53 |
thestaff |
freebox have you ever done modalbox stuff ? |
# |
Aug 6th 2008, 22:52 |
thestaff |
lol |
# |
Aug 6th 2008, 22:52 |
freebox |
is a pain |
# |
Aug 6th 2008, 22:52 |
freebox |
with 330.000 records |
# |
Aug 6th 2008, 22:52 |
freebox |
this function: foreach ($this->find('all') as $row) { $this->create(); $this->id = $row[$this->alias]['id']; $this->saveField('titulo', $row[$this->alias]['titulo']); } |
# |
Aug 6th 2008, 22:46 |
thestaff |
i'd like to get something like this :http://modalbox-cakephp-demo.nerdnotes.org/customers/index/page:1/sort:first_name/direction:asc |
# |
Aug 6th 2008, 22:46 |
thestaff |
couldn't find a good one |