# |
Aug 9th 2008, 17:09 |
pyite |
Matt: i am using Cake to create a set of libraries/APIs that interface with a program that stores it's configs in XML. |
# |
Aug 9th 2008, 17:08 |
markstory |
well if it has to supplant all the model database functions. you need to make an xml datasource. |
# |
Aug 9th 2008, 17:08 |
Matt1 |
pyite: why are you doing that ? |
# |
Aug 9th 2008, 17:08 |
pyite |
or database type within the model i guess |
# |
Aug 9th 2008, 17:08 |
pyite |
essentially i believe this requires making one's own model... |
# |
Aug 9th 2008, 17:08 |
pyite |
mark: but in making one i want to preserve functionality within cake that is usually reliant on knowing the DB schema. Such as auto-generation of form fields, where cake "knows" what type of field is in a form |
# |
Aug 9th 2008, 17:07 |
pyite |
markstory: i agree. i am intending to make, if i can not find |
# |
Aug 9th 2008, 17:07 |
markstory |
you need to make /find an xml datasource. |
# |
Aug 9th 2008, 17:07 |
pyite |
markstory: that's ok, it's important. maybe you can point me to a doc i can read more about? |
# |
Aug 9th 2008, 17:07 |
Matt1 |
pyite[A]: yes. though could be that there is a better solution for your need |
# |
Aug 9th 2008, 17:07 |
markstory |
pyite: yes. but not easily. |
# |
Aug 9th 2008, 17:05 |
pyite[A] |
Hello. I have a situation where I am using CakePHP and want to have a model that has no tables, but Cake is aware of a potential table structure. For example, I want Cake to act as if I was using a database, but when read/write operations come around, I would actually substitute routines to read/write from flat XML files. Is that possible? |
# |
Aug 9th 2008, 16:59 |
markstory |
sure. |
# |
Aug 9th 2008, 16:59 |
cpierce |
markstory: may i pm you? |
# |
Aug 9th 2008, 16:59 |
markstory |
Configure::write('debug', 0); |
# |
Aug 9th 2008, 16:59 |
Matt1 |
Configure::write('debug', 0); |
# |
Aug 9th 2008, 16:58 |
cpierce |
$this->debug = 0; |
# |
Aug 9th 2008, 16:58 |
cpierce |
Matt1: how do i do that |
# |
Aug 9th 2008, 16:56 |
markstory |
to turn down debug. |
# |
Aug 9th 2008, 16:56 |
Matt1 |
cpierce: you can set the debug to 0 for just that one action |
# |
Aug 9th 2008, 16:56 |
markstory |
use RequestHandler and RequestHanlder->isAjax() |
# |
Aug 9th 2008, 16:56 |
cpierce |
matt: yeap |
# |
Aug 9th 2008, 16:56 |
Matt1 |
cpierce: you doing something like an ajax request ? |
# |
Aug 9th 2008, 16:56 |
cpierce |
and it puts that in there and its messing it up |
# |
Aug 9th 2008, 16:55 |
cpierce |
i have an ajax page i'm trying to get a value off of |
# |
Aug 9th 2008, 16:55 |
markstory |
cpierce: no. |
# |
Aug 9th 2008, 16:55 |
cpierce |
any other way matt? |
# |
Aug 9th 2008, 16:55 |
Matt1 |
cpierce: set debug to 0 |
# |
Aug 9th 2008, 16:54 |
cpierce |
how does one tell a page not to load the <!-- 0.66 seconds--> |
# |
Aug 9th 2008, 16:52 |
WyriHaximusUhu |
anyway nn all |
# |
Aug 9th 2008, 16:47 |
WyriHaximusUhu |
or are you my flatmate that came in panic at my door somewhere this evening screaming you click on something he got from someone on msn and now his computer went nuts |
# |
Aug 9th 2008, 16:46 |
WyriHaximusUhu |
yeah paypal is slow :) |
# |
Aug 9th 2008, 16:44 |
jaredhoyt |
hmm, anyway, dunno what that was all about... back to work ;) |
# |
Aug 9th 2008, 16:43 |
jaredhoyt |
takes like 30 seconds for me |
# |
Aug 9th 2008, 16:43 |
jaredhoyt |
maybe it's paypal... is www.paypal.com working quickly for anyone? |
# |
Aug 9th 2008, 16:43 |
WyriHaximusUhu |
D |
# |
Aug 9th 2008, 16:43 |
jaredhoyt |
nope, just me :D |
# |
Aug 9th 2008, 16:41 |
WyriHaximusUhu |
jaredhoyt, dunno about your AP/Router but I can check attached devices on mine and see who is using it :) |
# |
Aug 9th 2008, 16:41 |
jaredhoyt |
WyriHaximusUhu: doubt it, i've got wireless secured with acl and wpa2 |
# |
Aug 9th 2008, 16:40 |
WyriHaximusUhu |
jaredhoyt, or is someone leeching on your connection? |
# |
Aug 9th 2008, 16:40 |
NOSLOW |
gwoo: hey |