Log message #113435

# At Username Text
# Aug 9th 2008, 09:34 Anon323 is every database table field accessable via a form input? e.g., if there is a field "foo", can someone manually add a form input element for "foo" so that the contained value will be automatically saved by cake? or will cake dismiss every form input element that was not created by cake itself?
# Aug 9th 2008, 09:24 linked_ greetings
# Aug 9th 2008, 09:23 lqdice__ http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html
# Aug 9th 2008, 09:23 lqdice__ good explanation by the creator of PHP on why its got messy function naming and some inconsistencies
# Aug 9th 2008, 08:40 lqdice__ i hope they drop php4 in the next release
# Aug 9th 2008, 08:39 francky06l next one will be 2.0
# Aug 9th 2008, 08:39 lqdice__ so 1.3 wont be out soon .. and i think they want to go 2.0 after 1.2
# Aug 9th 2008, 08:39 lqdice__ 1.2 is not even GA yet
# Aug 9th 2008, 08:39 cpierce_ oh 1.3 will be out in a week don't switch to 1.2 wait for 1.3
# Aug 9th 2008, 08:39 cpierce_ i was making sure there wasn't something like
# Aug 9th 2008, 08:35 markstory has a long history of performance. Doesnt' have all the 'bloat' of pagination, and fancy form generation.
# Aug 9th 2008, 08:35 markstory I'm a fan of 0.6
# Aug 9th 2008, 08:30 AD7six cpierce_: what kind of answer did you expect
# Aug 9th 2008, 08:29 cpierce_ AD7six: your sarcasm speaks tons!
# Aug 9th 2008, 08:29 AD7six cpierce_: for future projects 1.2 is obviously a terrible choice. use 0.92
# Aug 9th 2008, 08:29 francky06l cpierce_: if its a new project you should go for 1.2 .. 1.1 is end of life ..
# Aug 9th 2008, 08:28 francky06l cpierce_: I guess find in 1.1 is as find('first' in 1.2 ... But AD7six suggestion is better (did not remember the neigbors in 1.1)
# Aug 9th 2008, 08:28 cpierce_ i'm saying for future projects is 1.2 easy too?
# Aug 9th 2008, 08:28 cpierce_ i really like how 1.1 works
# Aug 9th 2008, 08:28 AD7six y
# Aug 9th 2008, 08:27 cpierce_ should i go ahead and go to 1.2
# Aug 9th 2008, 08:27 cpierce_ i'm just starting out
# Aug 9th 2008, 08:27 cpierce_ francky06l: oh i see what you are saying and then do limit 1 to only get the 1 result...
# Aug 9th 2008, 08:26 AD7six in 1.1. findNeighbours
# Aug 9th 2008, 08:26 francky06l cpierce_: I do not remember much of cake 1.1 but something as $this->Model->find(array('id > '.$last_id)), should do it ..You would have to pass the last_id along with your ajax call
# Aug 9th 2008, 08:25 AD7six cpierce_: see find('neighbors'
# Aug 9th 2008, 08:25 francky06l cpierce_: well ..no what would be next except it could be > last_id
# Aug 9th 2008, 08:24 cpierce_ could i not use some kind of ->next do do that?
# Aug 9th 2008, 08:24 cpierce_ yes
# Aug 9th 2008, 08:24 francky06l cpierce_: your table is ordered by id initially ...
# Aug 9th 2008, 08:23 francky06l cpierce_: condition is id > last_id and limit 1 ... Of course you need to pass the last id
# Aug 9th 2008, 08:23 cpierce_ not sure i follow franchy
# Aug 9th 2008, 08:23 francky06l cpierce_: you can use the id as condition (ie: last id) ... and limit 1
# Aug 9th 2008, 08:22 cpierce_ and if 100 in there i want to do the same with the whole 100
# Aug 9th 2008, 08:22 cpierce_ say there are 3 fields in the database i want to pull 1, then 2, then 3, then 1 again
# Aug 9th 2008, 08:21 cpierce_ i'm gonna use ajax to do it obviously
# Aug 9th 2008, 08:21 cpierce_ then the next 10 seconds later ...etc
# Aug 9th 2008, 08:21 cpierce_ and i want to load one article
# Aug 9th 2008, 08:21 cpierce_ yes but i'm pulling news
# Aug 9th 2008, 08:21 francky06l cpierce_: you mean a kind of pagination ?
# Aug 9th 2008, 08:20 cpierce_ and kinda walk the table then start over?