Haven't been looking in here for a while, just saw this thread.
I have a multilingual app at http://www.engoi.com which uses Chained
to do this. It works really well, and makes Do Not Repeat Yourself
quite easy to achieve.
In fact, for many actions, *two* languages are selected - the native
and
* luke saunders [EMAIL PROTECTED] [2008-05-04 02:50]:
Also it doesn't distinguish between POST, PUT, DELETE and GET
HTTP requests favouring instead entirely separate endpoints,
but that's up for discussion.
Putting the verb in the URI is RPC, not REST. This is not a
matter of discussion.
On Sun, May 4, 2008 at 10:20 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
On Sun, May 4, 2008 at 2:38 AM, luke saunders [EMAIL PROTECTED] wrote:
I have started to write a Catalyst base controller for REST style CRUD
via DBIC. I have noticed that a number of other people have been
On Sun, May 4, 2008 at 1:52 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
On Sun, May 4, 2008 at 7:05 AM, J. Shirley [EMAIL PROTECTED] wrote:
On a side note about REST - REST doesn't mean human readable URLs. It
means representative URLs. The bit about cd/id/{CDID}/ smells like
On Sun, May 4, 2008 at 2:18 PM, Jonathan Rockway [EMAIL PROTECTED] wrote:
* On Sat, May 03 2008, luke saunders wrote:
__PACKAGE__-config
( action = { setup = { PathPart = 'cd', Chained =
'/api/rest/rest_base' } },
class = 'RestTestDB::CD',
create_requires =
On Sun, May 04, 2008 at 09:10:56AM +0200, Aristotle Pagaltzis wrote:
* luke saunders [EMAIL PROTECTED] [2008-05-04 02:50]:
Also it doesn't distinguish between POST, PUT, DELETE and GET
HTTP requests favouring instead entirely separate endpoints,
but that's up for discussion.
Putting the
Too bad one cannot unsubscribe them from the Internet altogether.
On Sun, May 4, 2008 at 5:25 PM, Matt S Trout [EMAIL PROTECTED] wrote:
Unsubscribed and banned. Bai.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
IMHO we should all be thinking of outputting UIML or XUL from TT and
push a lot more work to the client, letting your server REST a lot ;-)
On Fri, May 2, 2008 at 6:09 PM, Ali M. [EMAIL PROTECTED] wrote:
Considere reading the mailist thread about the possibilities for a new book
here is the
On Sun, May 4, 2008 at 8:52 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
Sorry but I don't understand your point - so maybe first I'll restate
mine. If you have primary key in the database that is of type varchar
(or char or ...) then 'create' is a legitimage value for that primary
Zbigniew Lukasiak wrote:
On Sun, May 4, 2008 at 3:54 PM, J. Shirley [EMAIL PROTECTED] wrote:
On Sun, May 4, 2008 at 1:52 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
On Sun, May 4, 2008 at 7:05 AM, J. Shirley [EMAIL PROTECTED] wrote:
On a side note about REST - REST doesn't mean
On May 4, 2008, at 9:02 AM, Christopher Laco wrote:
My pet peeve is that /foo/primary_key makes computers happy... but
not people.
/products/23
/products/ABC-1234
The first is the PK for a product record..
The second is the actual sku for a product... just a unique as the
pk...but
On Sun, May 4, 2008 at 6:06 PM, J. Shirley [EMAIL PROTECTED] wrote:
On Sun, May 4, 2008 at 8:52 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
Sorry but I don't understand your point - so maybe first I'll restate
mine. If you have primary key in the database that is of type varchar
yeah, I started setting up cat on a new system yesterday and hit this :-(
The salient line seems to be :
HTTP::Message content not bytes at lib/Test/WWW/Mechanize/Catalyst.pm
line 88
I will spend an hour or two on it now, as I hate force installing, but
am starting almost from scratch and don't
On 4. mai. 2008, at 15.39, Matt S Trout wrote:
Then again, I originally learned Catalyst by reading the source;
took me
about 8 hours. The only thing that confused me was the dispatcher,
which is
why I rewrote most of it later when I became a contrib :)
And now it confuses the rest of us
OK, I walked through the code and found out roughly what is going on.
Hard to say where the real source of the bug is (could be at least two
modules) but I have a workaround which I am using (basically just to
remove the croak in HTTP::Message, a bit dirty but probably
harmless).
I'm having a small problem that I hope somebody has a simple solution
to. I'm using Catalyst with TT for the view, PostgreSQL and everything
set up using utf8 (in perl source use utf8, in postgres using
enable_utf8 and in the actual templates containing utf8 encoded
interational characers).
There was a recent SoPW on PerlMonks about this. Seems HTTP::Message is
doing the right thing.
http://perlmonks.org/?node_id=683833
-Ashley
On May 4, 2008, at 2:21 PM, Daniel McBrearty wrote:
OK, I walked through the code and found out roughly what is going on.
Hard to say where the real
No, but how you provide an alternative to full RESTness for clients that
don't handle the full range of HTTP verbs -is- a matter for discussion.
Which clients are we talking about here? I did a quick google search and
could only find an off-hand remark along the lines of in 2006 safari had
18 matches
Mail list logo