# |
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 |
# |
Mar 17th 2009, 09:12 |
_nate_ |
http://bakery.cakephp.org/articles/view/smsfubake-for-cakephp |
# |
Mar 17th 2009, 09:12 |
_nate_ |
well, "pending" means they're waiting to be published, right? |
# |
Mar 17th 2009, 09:11 |
alkemann |
pending status contains too much things.. can we delete it? and is it ok to edit articles and set their status to "draft" when I have posted feedback that i want fixed before publishing? |
# |
Mar 17th 2009, 09:09 |
_nate_ |
I unpublished it |
# |
Mar 17th 2009, 09:09 |
_nate_ |
yes |
# |
Mar 17th 2009, 09:09 |
_nate_ |
appears so |
# |
Mar 17th 2009, 09:08 |
alkemann |
is this article empty ? http://bakery.cakephp.org/articles/view/extending-of-dbosource-and-model-with-sql-generator-function |
# |
Mar 16th 2009, 16:55 |
ADmad |
some people want to :) just had someone ealier in #cakephp who wanted the same.. guess he didnt check the bakery |
# |
Mar 16th 2009, 16:54 |
alkemann |
but why do it? |
# |
Mar 16th 2009, 16:52 |
ADmad |
alkemann: i believe you still have to use session if you want to persist validation errors across controllers |
# |
Mar 16th 2009, 16:47 |
alkemann |
poLK: is this still valid http://bakery.cakephp.org/articles/view/validation-in-another-controller ? |