You could set-up web services (xml / Soap ... ), in order them to make first call (Am I wrong ?). They also could just send an http request to you (would be as a "normal" request), then the job is either to answer or to trigger your request to them .. Maybe I do not fully understand the problem, but receiving a request is not much a problem for cake, issuing some neither .. Now request that can take up to 24 hours ... hummm => FTP :-) Again, maybe I do not understand fully the needs/communication process.
On Jun 24, 8:44 pm, Infinite Knight <[EMAIL PROTECTED]> wrote: > Trick is francky06l, the outside data sources don't always have the > ability to recieve until they send first... The firewall structure > they are behind, will only allow them to recieve data from a server > that they have sent a http stream / post to prior, within a certain > time window. One of the joys of designing a website that has to > utilize data from a non-public or semi-public system with a tight > security net. CURL would be nice if it was a matter where I could > just 'scrape' a certain webpage that was just data, without formatting > or an XML / RSS feed, but I am not that lucky... I have XML-RPC on > one of the nets I have to draw data from, but prior uses of it by > myself and others have shown it to be fairly unreliable, and quite > lagged... Requests can take upwards of 24 hours to actually be > handled, which isn't acceptable for what I am doing... As it is now, > I have the remote data sources fire off a status request every so > often, and if everything is good on the site, the website sends back > an AOK status code, similar to the 200, 404, etc that a standard web > server sends a browser to tell the status of a page, as well as any > other data the remote unit might need. > > On Jun 24, 2:21 pm, francky06l <[EMAIL PROTECTED]> wrote: > > > I also use a CURL model for this kind of POST / GET. I enhanced the > > one on the bakery for my needs, and it can be a "base" for the models > > of this kind. > > The ideal would be to have a data source, or a "driver" to handle this > > data in the cake way: "find" / "read" etc ... > > hth > > > On Jun 24, 7:01 pm, Infinite Knight <[EMAIL PROTECTED]> wrote: > > > > Thanks DaveMahon... > > > > Right now I am using 1.2, and am playing around with it... From what > > > I have found Cake seems to pickup the post data automatically, so > > > getting it in, is fairly easy from what I have found, as is cleaning > > > it... The ACL part I am looking at DarkAuth for what I need, as it > > > seems to be laid out the same way I sketch things out on paper... The > > > HTTPSocket, and XML stuff though will definetly be something to look > > > into, as I will need XML, as well as CSV, down the road abit once I > > > have the basics up... Now to just figure out the login system... *C* > > > Wasn't going to allow site-side registrations, but now have to due to > > > the specs being significantly expanded upon, and having a core site, > > > that then shares it's logins with numerous sub-sites below it, each on > > > a seperate sub-domain, with their own ACLs, etc... *C* Sometimes > > > clients forget you are but one person... *G* > > > > On Jun 6, 7:23 pm, DaveMahon <[EMAIL PROTECTED]> wrote: > > > > > Check out the HttpSocket class in 1.2, particularly the post method, > > > > which will allow you to pull from and push to the remote servers. The > > > > same library also provides easy access to the headers if and when the > > > > remote servers push data. Cake automatically sanitizes form input for > > > > SQL automatically, so you should be covered there. Javascript/HTML > > > > sanitization can be done automatically as well, but this doesn't > > > > happen by default. You usually have to submit an additional parameter > > > > in the relevant function calls and occasionally make use of the > > > > Javascript helper (as in $clean = > > > > JavascriptHelper::escapeScript($dirty) ). For your XML, check out the > > > > XML helper and layout and the XMLNode class. > > > > > If you're looking for security by obscurity, you can always create a > > > > dedicated method in your controller to handle these requests as well. > > > > > Auth and ACL should work for your programatically assigned > > > > permissions, but ACL's are complicated and good tutorials aren't > > > > really out there yet. The coverage in the new manual seems decent. Of > > > > course, although I've read it, I haven't tried working with that > > > > documentation yet. > > > > > If you're working with 1.2, your best resources are the manual and the > > > > API. > > > > > On Jun 3, 4:31 am, Infinite Knight <[EMAIL PROTECTED]> wrote: > > > > > > You are only scratching the surface of what I need, leo... My entire > > > > > app DEPENDS on the outside data it recieves, so if I can't find an > > > > > efficent way to get that into the system to be processed, and results > > > > > returned, as quickly, preferably faster then I presently can do, then > > > > > there is no point in me using it... I don't want to have to run a > > > > > custom framework along side CakePHP... I will either run a variant of > > > > > my in-house Shield system, which was built upon the aforementioned > > > > > libraries, with specialized classes for sanitizing incoming and > > > > > outgoing data, so nothing is ever entered into either the filesystem, > > > > > or database / logic side that isn't cleaned first, even if it is > > > > > comming from the DB / Filesystem, or I will use Cake... But not > > > > > both... Running both is just stupid, as it would be incredibly > > > > > redundant... Long story short I am in the process of developing a > > > > > platform system that will facilitate data to be aggrated from a number > > > > > of sources (four different websites), and a number of specialized > > > > > "servers" and "clients" deployed across a semi-private intranet > > > > > grid... The system has to support this arrangement with a fairly high > > > > > throughput, and be able to maintain it... Maximum user load, should > > > > > everyone possible take advantage of the system numbers well into the > > > > > millons, and given that each user can utilize as many clients and > > > > > servers as they desire once they are a member of the system, it has to > > > > > be able to take a beating and mirror the functions of other systems I > > > > > have deployed for other businesses... The only reason I am willing to > > > > > listen to my friend's suggestion to use Cake is that this deployment > > > > > is a personal project, not a commercial one at the moment, so I have > > > > > room to play with... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
