# |
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 |
# |
Aug 6th 2008, 22:46 |
thestaff |
somebody knows a good tutorial for modalbox ? |
# |
Aug 6th 2008, 22:46 |
cobol |
so its nice to see |
# |
Aug 6th 2008, 22:46 |
cobol |
its not a new concept or anything, but it's ben kind of rare in web frameworks |
# |
Aug 6th 2008, 22:45 |
moelee |
wasn't until i started actually setting up cakephp and coding did it really sink in |
# |
Aug 6th 2008, 22:45 |
moelee |
the wikipedia entry is kinda abstract |
# |
Aug 6th 2008, 22:38 |
poluta1 |
configuring a thing using standardized rules |
# |
Aug 6th 2008, 22:37 |
poluta1 |
yeaa |
# |
Aug 6th 2008, 22:37 |
cobol |
makes a ton of sense, doesnt it? :) |
# |
Aug 6th 2008, 22:36 |
poluta1 |
Hedz, cobol, moelee : thank you.. yes.. i understand now... |
# |
Aug 6th 2008, 22:34 |
stabb |
hai |
# |
Aug 6th 2008, 22:34 |
crux |
hai |
# |
Aug 6th 2008, 22:34 |
stabb |
oh hey |
# |
Aug 6th 2008, 22:30 |
cobol |
does that make sense? |
# |
Aug 6th 2008, 22:30 |
cobol |
that makes everything automagic, for the most part |
# |
Aug 6th 2008, 22:30 |
cobol |
so it's a naming convention aided by camelcasing |
# |
Aug 6th 2008, 22:30 |
cobol |
i.e. to store objects of type 'Food', you create a table called 'Foods' with a controller called 'Foods Controller', and you can access related objects called food 'Bins' by having a key named 'bin_id' |
# |
Aug 6th 2008, 22:29 |
moelee |
well that's just one example |
# |
Aug 6th 2008, 22:29 |
moelee |
to make connections between tables and models |
# |
Aug 6th 2008, 22:29 |
cobol |
poluta1: it basically means that you dont need to explicitly state things because there is a standard way of expressin them already |
# |
Aug 6th 2008, 22:29 |
moelee |
cakephp relies on naming conventions |
# |
Aug 6th 2008, 22:29 |
moelee |
umm |
# |
Aug 6th 2008, 22:28 |
Hedz |
so you dont need to configure it... its convention |
# |
Aug 6th 2008, 22:28 |
Hedz |
all table names must be plural |
# |
Aug 6th 2008, 22:28 |
Hedz |
example of convetions is tables names |
# |
Aug 6th 2008, 22:28 |
poluta1 |
can somebody explain to me..? what is convention over configuration ? owwhh... silly question.. :( sorry |
# |
Aug 6th 2008, 22:21 |
Jezek |
how can i cache an array |
# |
Aug 6th 2008, 22:15 |
cobol |
good programmers always are |
# |
Aug 6th 2008, 22:15 |
nymacro |
I'm like that. You know. Lazy |
# |
Aug 6th 2008, 22:14 |
nymacro |
It isn't really a problem. Was just interested if there was a better way to do it :P |
# |
Aug 6th 2008, 22:14 |
nymacro |
lol |
# |
Aug 6th 2008, 22:14 |
cobol |
;) |
# |
Aug 6th 2008, 22:14 |
cobol |
shut it :P |
# |
Aug 6th 2008, 22:14 |
cobol |
seriously |
# |
Aug 6th 2008, 22:14 |
cobol |
if thats the biggest problem you're having |