On Wed, May 07, 2008 at 08:38:18AM -0400, Garrett Goebel wrote:
>
> Also important is how to allow people to limit which sets of tuples and
> relationships are publically accessible. For production work the default
> should probably require the REST interfaces to be explicitly published.
> Othe
Zbigniew Lukasiak wrote:
On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
$id = POST transaction
$amount = GET /user/1/account_balance
$amount2 = GET /user/2/account_balance
PUT /user/1/account_balance/$amount-1
PUT /user/2/account_balance/$amount+1
PUT transactio
On Wed, May 07, 2008 at 06:02:46PM +1000, Adam Clarke wrote:
> On 07/05/2008, at 3:57 PM, Toby Corkindale wrote:
>> On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
>>>
>>> The solution suggested in "Restful Web Services" is to POST to a
>>> "factory"
>>> resource which creates you wit
On Wed, May 07, 2008 at 09:55:10AM +0200, Zbigniew Lukasiak wrote:
> On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
[snip]
> > I wonder how one goes about implementing such a transaction on the server
> > side.. One would not want to lock DB rows indefinitely, waiting
On 07/05/2008, at 3:57 PM, Toby Corkindale wrote:
On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
The solution suggested in "Restful Web Services" is to POST to a
"factory"
resource which creates you with a transaction resource. e.g. "POST
/transactions/account-transfer" return
On Wed, May 7, 2008 at 7:57 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
> Hi Adam,
>
>
>
> On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
> > On 07/05/2008, at 11:05 AM, Toby Corkindale wrote:
> >
> >> Ah, I was thinking of transactions vs a REST API, eg:
> >>PUT /user/123
On Wed, May 07, 2008 at 03:57:07PM +1000, Toby Corkindale wrote:
[snip]
> $id = POST transaction
> $amount = GET /user/1/account_balance
> $amount2 = GET /user/2/account_balance
> PUT /user/1/account_balance/$amount-1
> PUT /user/2/account_balance/$amount+1
Whoops, that should read:
> PUT /user/2/a
Hi Adam,
On Wed, May 07, 2008 at 03:30:12PM +1000, Adam Clarke wrote:
> On 07/05/2008, at 11:05 AM, Toby Corkindale wrote:
>
>> Ah, I was thinking of transactions vs a REST API, eg:
>>PUT /user/1234/account_balance?subtract=1
>>POST /user/4567/account_balance?add=1
>> Since those are two s
On 07/05/2008, at 11:05 AM, Toby Corkindale wrote:
Ah, I was thinking of transactions vs a REST API, eg:
PUT /user/1234/account_balance?subtract=1
POST /user/4567/account_balance?add=1
Since those are two separate HTTP requests, and REST specifically
states you
cannot maintain state on
On Thu, May 01, 2008 at 08:41:26AM +0200, Zbigniew Lukasiak wrote:
> On Thu, May 1, 2008 at 6:23 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
> > On Wed, Apr 30, 2008 at 11:24:36AM +0200, Zbigniew Lukasiak wrote:
> > > Hi Toby,
> > >
> > > I don't know if you are aware - but building a REST-li
On Thu, May 1, 2008 at 6:23 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 30, 2008 at 11:24:36AM +0200, Zbigniew Lukasiak wrote:
> > Hi Toby,
> >
> > I don't know if you are aware - but building a REST-like CRUD
> > interface to DBIx::Schema is my long term goal (started with
>
On Wed, Apr 30, 2008 at 11:24:36AM +0200, Zbigniew Lukasiak wrote:
> Hi Toby,
>
> I don't know if you are aware - but building a REST-like CRUD
> interface to DBIx::Schema is my long term goal (started with
> Catalyst::Example::InstantCRUD). Do you think we could collaborate?
Sure, if you liked.
Maybe you could make it modular so we can easily add another processor
like formfu
Am 30.04.2008 um 12:03 schrieb Zbigniew Lukasiak:
On Wed, Apr 30, 2008 at 11:46 AM, Moritz Onken
<[EMAIL PROTECTED]> wrote:
Hi Zbyszek,
do you plan FormFu support? In case the submitted values are not
val
On Wed, Apr 30, 2008 at 11:46 AM, Moritz Onken <[EMAIL PROTECTED]> wrote:
> Hi Zbyszek,
>
> do you plan FormFu support? In case the submitted values are not valid the
> response is a xml/json/whatever which includes the error messages.
> That would be really great :)
I have not yet settled down
Hi Zbyszek,
do you plan FormFu support? In case the submitted values are not valid
the response is a xml/json/whatever which includes the error messages.
That would be really great :)
cheers,
moritz
Am 30.04.2008 um 11:24 schrieb Zbigniew Lukasiak:
Hi Toby,
I don't know if you are aware
Hi Toby,
I don't know if you are aware - but building a REST-like CRUD
interface to DBIx::Schema is my long term goal (started with
Catalyst::Example::InstantCRUD). Do you think we could collaborate?
Cheers,
Zbyszek
On Wed, Apr 30, 2008 at 10:26 AM, Toby Corkindale <[EMAIL PROTECTED]> wrote:
>
just looking for some advice on the best way to do something..
So I wrote a controller class using Chained that basically auto-converts any
DBIx::Schema (which includes a tiny extra base class itself) into a REST API..
Well, a simple one anyway - it supports find and search so far, and foreign
key
17 matches
Mail list logo