Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
http://en.wikipedia.org/wiki/Representational_State_Transfer http://www.xml.com/pub/at/34 http://www-128.ibm.com/developerworks/java/library/j-cb08016/index.html?ca=dgr-lnxw07Rest4RubyOnRails On 11/29/06, Christoph <[EMAIL PROTECTED]> wrote: > > > here are the things I did to get it to work at

Re: Re: Re: Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
But I did get the first comment on your page ;) On 11/29/06, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > > > and the like would be > > > > > >

Re: Re: Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > and the like would be > > > Hah! Beat you to it. :) -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never

Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > My completely uneducated, uninformed guess is that you need to do the > bits with the helpers and components because the webservices stuff was > planned and built into 1.2 and back ported to 1.1 and some of the > parts didn't come along for

Re: Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
Ok here is a start for posterity and I promise I will finish the bakery article soon. If anyone wants a short gig helping me with a couple of cake projects for a school district contact me off list Sam D On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > Another thing I forgot to mention i

Re: Re: Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
and the like would be damn this cranky old fart needs more sleep... On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > Ok here is a start for posterity and I promise I will finish the > bakery ar

Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
Another thing I forgot to mention is that you can do stuff like this in the controller if ($this->params['webservices'] == 'Rest') { $this->set('order',$this->Order->read()); } else { $this->redirect('/orders/index'); } To have different effects after doing something as part of yo

Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
My completely uneducated, uninformed guess is that you need to do the bits with the helpers and components because the webservices stuff was planned and built into 1.2 and back ported to 1.1 and some of the parts didn't come along for the ride. When you get your basic post ready you should open a

Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > :) hey Chris one of us has better type faster to save the other some trouble > ;) > Heh. You did show me what I was doing wrong (putting content into default.thtml instead of index.thtml) so I'll fix that up and post the whole damn thing

Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
:) hey Chris one of us has better type faster to save the other some trouble ;) On 11/29/06, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On 11/29/06, Christoph <[EMAIL PROTECTED]> wrote: > > > > So after all of that, I'm very curious to find out if anyone has gotten > > this to work using CakePH

Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Samuel DeVore
here are the things I did to get it to work at a bare minimum for a REST style service make a rest.php file in components make a rest.php file in views/helpers in views/layouts make a folder called 'rest' and put a default.thtml file in it for the controller that you want a rest service make