Thx
Kevin H
On 8/1/06, anders pearson <[EMAIL PROTECTED]> wrote:
On 2006-08-01 12:58:08 -0600, Eric Brunson wrote:
> Fred,
>
> Thanks for the pointer to the article. I've been playing with TG, but
> haven't used it for a production application yet. I'm interested in the
> list's take on this statement:
>
> However, the Django configuration system allows for maximum control
> and flexibility. Django URLs can be easily remapped onto an
> application after a major refactoring. This helps prevent "link rot"
> caused by old bookmarks or cached search engine results. "Link rot"
> severely hurts the traffic levels and usability of content-based Web
> sites that Django was designed to create.
>
>
> Can't turbogears provide default handler that could be used to intercept
> "bad" or "old" links and redirect them into a newer or refactored hierarchy?
Yes. There's also Routes:
http://routes.groovie.org/
which is a port of the Rails routes system that lets you do all the
fancy mapping to support arbitrary URL schemes. Integrating it with TG
is pretty easy.
I've used Routes a bit and I love it for supporting legacy url
schemes. However, the tradeoff is that it (and Django's regexp based
mapping) is very complicated and difficult to debug. If I don't have
to deal with legacy URLs, I'll go for the simple cherrypy approach
every time. The recent addition of positional parameter support in
TG has made it easy to support all but the most convoluted URL
structures now without introducing the complexity and confusion of
mapping.
--
anders pearson : http://www.columbia.edu/~anders/
C C N M T L : http://www.ccnmtl.columbia.edu/
weblog : http://thraxil.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

