Re: dynamic controller or self-redirect

2007-05-31 Thread Gregory W. Bond
end a modification for a future version of Pylons: namely, making it easier to override the PylonsBaseWSGIApp.resolve method On May 30, 8:52 pm, "Gregory W. Bond" <[EMAIL PROTECTED]> wrote: > i've been scratching my head about how to do this with Routes but i'm >

dynamic controller or self-redirect

2007-05-30 Thread Gregory W. Bond
i've been scratching my head about how to do this with Routes but i'm beginning to think it's not possible what i want to do is compute the controller value based on (dynamic parts) of the requested url - for example, if the requested url is / users/[user]/account/[account], i'd like to be able t

Re: Preview of New Admin App

2007-05-12 Thread Gregory W. Bond
53 pm, __wyatt <[EMAIL PROTECTED]> wrote: > On May 12, 11:05 am, "Gregory W. Bond" <[EMAIL PROTECTED]> wrote: > > > if you mean running command this for 'restin': yes, i did this - i > > have the restin app running fine - the problem is that restin can&#x

Re: Preview of New Admin App

2007-05-12 Thread Gregory W. Bond
(myapp.lib.base)? if so, what's an 'egg name'? On May 12, 12:43 pm, "Max Ischenko" <[EMAIL PROTECTED]> wrote: > On 5/12/07, Gregory W. Bond <[EMAIL PROTECTED]> wrote: > > > > > i just installed this to give it a spin - when i went to bring

Re: Preview of New Admin App

2007-05-11 Thread Gregory W. Bond
i just installed this to give it a spin - when i went to bring up the admin interface for my model i got an error saying it couldn't locate my app exceptions.ImportError: No module named myapp.lib.base the myapp application is just a development app i've been working on - it's not located in any

Re: Alternative paginator

2007-05-11 Thread Gregory W. Bond
this looks great! is there any way to use this with Elixir? On May 5, 4:07 pm, Christoph Haas <[EMAIL PROTECTED]> wrote: > Dear list... > > as some of you already know I have never been very happy with > Webhelpers' built-in pagination module. So I wrote my own (that is NOT > compatible with the

Re: RESTful Pylons

2007-04-27 Thread Gregory W. Bond
On Apr 27, 9:45 pm, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote: > On 4/27/07, Gregory W. Bond <[EMAIL PROTECTED]> wrote: > > > snip... > > I don't know anything about this REST stuff, but I do note that you called: > > h.u

Re: RESTful Pylons

2007-04-27 Thread Gregory W. Bond
is pylons thing :-) ) On Apr 27, 4:13 pm, __wyatt <[EMAIL PROTECTED]> wrote: > On Apr 27, 11:48 am, "Gregory W. Bond" <[EMAIL PROTECTED]> wrote: > > > > > i'm trying to implement a RESTful Pylons controller and i can't figure > > out how to s

Re: RESTful Pylons

2007-04-27 Thread Gregory W. Bond
bers/ numbers', action='delete', conditions=dict(method=['DELETE'])) so the 'delete' function of my controller has to extract the 'id' to delete from the request params, it's not provided as a function argument am i doing things correctly here or am i miss

Re: RESTful Pylons

2007-04-27 Thread Gregory W. Bond
thanks for the prompt reply ben - i suspected that browsers might not support PUT/DELETE and that made me sad since i could envision the big mess that my routes would have to be to accommodate browsers along with web-services clients that do support PUT/DELETE but if what you're saying really wor

Re: Preview of New Admin App

2007-04-27 Thread Gregory W. Bond
On Apr 27, 12:38 pm, __wyatt <[EMAIL PROTECTED]> wrote: > I've been working on a new admin app that I'm calling Restin (for > "RESTful admin"). It's pretty basic right now and has some issues that > need working out, but it does provide some useful functionality > already. > > ...snip this soud

RESTful Pylons

2007-04-27 Thread Gregory W. Bond
i'm trying to implement a RESTful Pylons controller and i can't figure out how to support client-side DELETE and PUT requests - the only suggestions i can find in the context of Pylons are http://pylonshq.com/pasties/12 and http://groups.google.com/group/pylons-discuss/browse_frm/thread/3463c60

Re: restler for complex URIs

2007-04-22 Thread Gregory W. Bond
thanks for the prompt reply wyatt - alas, two levels of nesting isn't adequate for my purposes - after looking at the routes documentation, i see that routes only supports two levels of nesting which is why, i assume, restler has this constraint - it would seem that generalizing the routes resourc

restler for complex URIs

2007-04-22 Thread Gregory W. Bond
i just discovered http://code.google.com/p/restler/";>restler and it appears to be just what i am looking for - however the overview, while enticing, does not make it clear how i would go about handling more complex URI's for example, say i wanted to use a URI of the form: http://mysite.com/user