Log message #1540277

# At Username Text
# Jun 2nd 2010, 22:43 nafta aristo: I've got to figure out what a framework is first..
# Jun 2nd 2010, 22:36 aristo nafta, no man is a php framework
# Jun 2nd 2010, 22:35 nafta hello, what's cake php? I mean, is it an IDE for php?
# Jun 2nd 2010, 22:24 aaroninfidel I'm using foreach loops but I don't know if I'm doing it right.
# Jun 2nd 2010, 22:23 aaroninfidel can someone help me with traversing array data via a datasource? I'm confused... :/ http://bin.cakephp.org/view/879036115 basically I just want all the results of the array and for the array to be renamed where it says SMSMessasge to Text
# Jun 2nd 2010, 21:48 savant none, liaogz82
# Jun 2nd 2010, 21:48 liaogz82 what to set in core.php
# Jun 2nd 2010, 21:48 savant no problem
# Jun 2nd 2010, 21:48 liaogz82 hi savant is there any special settings for cache for my example?
# Jun 2nd 2010, 21:48 mrlumberg cool. Do you see any problem with that solution? Any other solution you recommend?
# Jun 2nd 2010, 21:46 savant yes
# Jun 2nd 2010, 21:43 mrlumberg hey all, quick table associations question here. I have users, profiles, schools attended and years graduated. users and profiles are easy but a profile can have mutliple schools each with a different year graduated. So, if I do profiles and schools as hasToAndBelongsToMany, can that 3 table (profiles_schools) contain an extra column called 'year_graduated'?
# Jun 2nd 2010, 21:40 aristo hi all
# Jun 2nd 2010, 21:26 adrianoc i'm usgin the jquery autocomplete plugin, i can change the action when i click on one of the items fetched? i want him to run location.href by clicking on an item.
# Jun 2nd 2010, 21:24 Lemon_BE but i need to authenticate on the controller layer
# Jun 2nd 2010, 21:24 Lemon_BE pure model layer
# Jun 2nd 2010, 21:24 Lemon_BE the only problem i currently have is, it relies on models
# Jun 2nd 2010, 21:24 friskd joeb: trying to use your Referee plugin. but upon running the schema builder from /cake/console i get .../app/plugins/referee/config/schema/schema.php could not be loaded
# Jun 2nd 2010, 21:23 Lemon_BE then you can add 1 rule that says, if the user is connected to the same category of the article, then they can edit it
# Jun 2nd 2010, 21:23 Lemon_BE and make "Category" a slot in your NewsArticle model
# Jun 2nd 2010, 21:23 Lemon_BE or for example you can create a habtm object with users and categories
# Jun 2nd 2010, 21:22 Lemon_BE without coding anything in your comments controller
# Jun 2nd 2010, 21:22 Lemon_BE for example if you make the "created" a slot, then you can add cool rules like, a user can only edit their own comment 5 mins long
# Jun 2nd 2010, 21:22 savant best docs ever
# Jun 2nd 2010, 21:22 savant php docs make up for the fact that its a crappy language
# Jun 2nd 2010, 21:22 savant aaroninfidel: php.net/json_decode !
# Jun 2nd 2010, 21:22 Lemon_BE which you can use in your security graph
# Jun 2nd 2010, 21:22 savant Lemon_BE: also a bit of a pain in the ass lol
# Jun 2nd 2010, 21:22 Lemon_BE each "access object" will have slots
# Jun 2nd 2010, 21:22 aaroninfidel savant: alright sorry.
# Jun 2nd 2010, 21:22 savant Lemon_BE: sounds like ACL
# Jun 2nd 2010, 21:21 Lemon_BE the only problem is going to be the number of queries
# Jun 2nd 2010, 21:21 savant aaroninfidel: thats decoding json into whatever is appropriate. read the php documentation on it, thats a native php function
# Jun 2nd 2010, 21:21 Lemon_BE and it can have as much branches as you want
# Jun 2nd 2010, 21:21 Lemon_BE were the roots are the object's actions
# Jun 2nd 2010, 21:21 Lemon_BE well my LSM will have a nice "security graph"
# Jun 2nd 2010, 21:21 aaroninfidel is it turning it into an array?
# Jun 2nd 2010, 21:21 aaroninfidel well, when I am doing json_decode what exactly is happening?
# Jun 2nd 2010, 21:20 savant but its your choice
# Jun 2nd 2010, 21:20 savant the latter gives php arrays
# Jun 2nd 2010, 21:20 savant aaroninfidel: well thats a php question. probably either simplexml_load_string or the CakePHP XML class