The Artima Developer Community
Sponsored Link

Python Buzz Forum
DjangoPaste

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
DjangoPaste Posted: Feb 13, 2006 11:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: DjangoPaste
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

Well, I started giving a run at DjangoPaste. I was hoping it would be more straight-forward than CherryPy, but maybe it's actually a bit worse. Lots of things are global -- configuration is loaded and used on import, not at runtime. This is the hardest part of Pastifying an application/framework. Right now I only have an entry point for projects, when really I want to access individual applications, as I think Paste makes projects unnecessary. The only fundamentally complicated part of that is the admin screens, which are applications that know about other applications. I think that the admin application will have to be a middleware of sorts (composite app, in particular).

But, even if Django might actually be a bit harder, the primary ticket that I opened is already in the process of being fixed the morning after, so there's good momentum. And really I'm still very fuzzy about how well CherryPaste will work, because CherryPy isn't very expansive, and even if I can get the framework working that doesn't mean each application will work. So ultimately I'll really just be targetting TurboGears, as that's a set of applications that work similarly. Django involves things like database configuration up front, so if it works for one app then it is likely to work for all of them.

Really this whole process of adapting projects to Paste started with a patch to Trac. That went really easily (even though there's more I'd like to do with it), and it made me feel optimistic about this assimilation process. And that was based on the ability to monkeypatch and otherwise force compatibility separately from the original package. I always figured that would be transitional, that it would be good to bring that support into the original package directly, but I like the idea of not having to negotiate each conversion. Now I'm a little less optimistic about that. But we'll see how it goes.

Read: DjangoPaste

Topic: Turned off the Google Toolbar Previous Topic   Next Topic Topic: Using XPath with namespaced documents in dom4j

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use