Matthew Wilson | 13 Jul 2009 17:43
Gravatar

What is everyone using for URL dispatch?

I'm working on a simple webapp I want to run both on GAE and locally.
I see GAE has its own URL-dispatching system.  I studied selector and
routes too.  Selector and routes both seem great, but there isn't a
whole lot of development activity going on there.

Is everyone just rolling their own?  Using the ones built into frameworks?

Just curious.

Matt

--

-- 
Matthew Wilson
matt@...
http://tplus1.com
_______________________________________________
Web-SIG mailing list
Web-SIG@...
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org

Christian Wyglendowski | 14 Jul 2009 05:01
Gravatar

Re: What is everyone using for URL dispatch?

On Mon, Jul 13, 2009 at 11:43 AM, Matthew Wilson<matt@...> wrote:
> I'm working on a simple webapp I want to run both on GAE and locally.
> I see GAE has its own URL-dispatching system.  I studied selector and
> routes too.  Selector and routes both seem great, but there isn't a
> whole lot of development activity going on there.
>
> Is everyone just rolling their own?  Using the ones built into frameworks?

I'm guessing that Routes and Selector might be close to "done".  They
both work well AFAIK.  Active development isn't a great indicator of
how useful a library is.

Christian Wyglendowski
http://www.dowski.com
_______________________________________________
Web-SIG mailing list
Web-SIG@...
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org

Michael Haubenwallner | 13 Jul 2009 18:16
Picon
Gravatar

Re: What is everyone using for URL dispatch?


Matthew Wilson wrote:
> I'm working on a simple webapp I want to run both on GAE and locally.
> I see GAE has its own URL-dispatching system.  I studied selector and
> routes too.  Selector and routes both seem great, but there isn't a
> whole lot of development activity going on there.
> 
> Is everyone just rolling their own?  Using the ones built into frameworks?
> 

I am using 'bobo' http://bobo.digicool.com
works with GAE too http://blog.d2m.at/2009/06/22/bobo-gae/

Regards
Michael

--
http://blog.d2m.at
http://planetzope.org

Sergey Schetinin | 13 Jul 2009 18:05
Picon
Gravatar

Re: What is everyone using for URL dispatch?

Things that should cover every URL dispatching need:
 * WSGI
 * understanding of script_name / path_info semantics
 * paste.urlmap.URLMap
 * webob.Request.path_info / path_info_peek() / path_info_pop()
 * regulars ifs, splits and dictionary lookups

I also use pasteob.PathMap, PathMatch, HostMap, override_https.

Works fine for stuff that runs on GAE and elsewhere.

On 2009-07-13, Matthew Wilson <matt@...> wrote:
> I'm working on a simple webapp I want to run both on GAE and locally.
>  I see GAE has its own URL-dispatching system.  I studied selector and
>  routes too.  Selector and routes both seem great, but there isn't a
>  whole lot of development activity going on there.
>
>  Is everyone just rolling their own?  Using the ones built into frameworks?
>
>  Just curious.
>
>  Matt
>
>  --
>
> Matthew Wilson
>  matt@...
>  http://tplus1.com
>  _______________________________________________
>  Web-SIG mailing list
(Continue reading)


Gmane