Log message #598019

# At Username Text
# Mar 17th 2009, 09:47 jperras probably because the docs are pretty much non-existent
# Mar 17th 2009, 09:47 ADmad yeah never seen one implementign the create, read, update
# Mar 17th 2009, 09:47 jperras yeah
# Mar 17th 2009, 09:46 _nate_ I think I've maybe seen one
# Mar 17th 2009, 09:46 _nate_ I don't think I've seen many/any DataSources that actually implement things correctly
# Mar 17th 2009, 09:45 jperras hmm, seems i forgot that the last.fm datasource is a bit non-standard in terms of implementation.
# Mar 17th 2009, 09:44 alkemann execute and the log stuff. can i use those?
# Mar 17th 2009, 09:41 _nate_ heh
# Mar 17th 2009, 09:41 ADmad and dont forget function disconnect() { return true; } :)
# Mar 17th 2009, 09:40 _nate_ it's really simple ;-)
# Mar 17th 2009, 09:40 alkemann cool, ill look for it
# Mar 17th 2009, 09:40 jperras but it's pretty specific to the last.fm api, iirc
# Mar 17th 2009, 09:40 _nate_ you may also have to define name() and value(), but they probably won't need to do anything in your case
# Mar 17th 2009, 09:40 jperras alkemann: I think m3nt0r has a good example with a last.fm datasource
# Mar 17th 2009, 09:40 _nate_ alkemann: implement listSources() for the model to get the table name, describe() to assign the model it's description, and create() read() update() and delete() to do operations
# Mar 17th 2009, 09:39 ADmad yeah have never done that... just used datasource directly in controller :P
# Mar 17th 2009, 09:39 alkemann i think i can make this work now, but documentation on how to best make a datasource to get the model to behave normal would be good :)
# Mar 17th 2009, 09:38 _nate_ hah
# Mar 17th 2009, 09:38 ADmad i use the one's on debuggable scapes as docs :)
# Mar 17th 2009, 09:38 alkemann well, let me say what they all say back in #cakephp : I am on a deadline here, could you hurry it up?
# Mar 17th 2009, 09:37 _nate_ "time is always against us"
# Mar 17th 2009, 09:37 jperras something that I've been meaning to improve. just lack the time
# Mar 17th 2009, 09:36 jperras documentation on datasources is really light.
# Mar 17th 2009, 09:36 alkemann that makes sense :) thanks
# Mar 17th 2009, 09:35 _nate_ change driver to datasource
# Mar 17th 2009, 09:35 alkemann ah
# Mar 17th 2009, 09:35 _nate_ yeah
# Mar 17th 2009, 09:35 ADmad driver is for dbo
# Mar 17th 2009, 09:34 ADmad in your config array in database.php
# Mar 17th 2009, 09:34 ADmad alkemann: specify the 'datasource' key
# Mar 17th 2009, 09:33 alkemann _nate_: trying to make my own datasource (its gonna query a remote web app i have no control over). trying to follow the examples from the bakery, but it seems to think im making a dbo .. http://bin.cakephp.org/view/1393877319
# Mar 17th 2009, 09:15 alkemann maybe. or strength. depending
# Mar 17th 2009, 09:15 ADmad alkemann: hah so its a character flaw
# Mar 17th 2009, 09:14 alkemann ADmad: i take everything i do seriously
# Mar 17th 2009, 09:14 _nate_ that is strange
# Mar 17th 2009, 09:14 _nate_ I don't know
# Mar 17th 2009, 09:14 _nate_ hmmm
# Mar 17th 2009, 09:13 alkemann _nate_: with 0 views?
# Mar 17th 2009, 09:13 ADmad alkemann: you are taking this moderation job too seriously :P good evening
# Mar 17th 2009, 09:13 alkemann i kinda get pending to mean waiting for a moderator to take alook. atm we have looked at them all and just the sql explain is still waiting for moderation decission
# Mar 17th 2009, 09:13 _nate_ this appears to have been originally published on the 12th and subsequently edited