The Artima Developer Community
Sponsored Link

Python Buzz Forum
PyWordpress

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
PyWordpress Posted: Oct 21, 2006 12:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: PyWordpress
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

A while ago I wrote WPHP (or perhaps more accurately I put it together from other people's pieces) for embedding a PHP app in a WSGI facade. The ultimate goal of that was actually to run specifically Wordpress under Python. So I spent some time last night doing that, and created PyWordpress. It seems to work. It's really very small, since WPHP does almost all the work. (I might implement the Paste appinstall deployment setup which would expand its scope, but I'm not sure.)

It does open up some development questions. The biggest one is that this requires modifications to the Wordpress source. Right now you just need the source plus a fixed wp-config.php. But if the appinstall stuff is implemented a new wp-admin/install.php will required. Ultimately we want to embed Wordpress in Zope with topp.zwsgi, which means that authentication will come from Zope, so the authentication routines probably will have to change to respect REMOTE_USER. Any number of other things may be added. I doubt these would be reasonable upstream changes, though maybe so (you could implement similar things with appropriate Apache configuration).

So, I have to figure out how to manage a minor fork of the Wordpress code, while also tracking upstream updates. So it looks like I have a real use for Distributed Version Control. I guess there's really just two options I'd consider: bzr (or maybe Mercurial -- it's hard for me to really distinguish them) or svk -- svk seems unremarkable except for its relation to Subversion, but I want to track a Subversion repository, so maybe it's perfect, I dunno.

Read: PyWordpress

Topic: [Oct 19, 2006 12:50 PDT] 1 Links Previous Topic   Next Topic Topic: The Agile Story: Show, don't tell

Sponsored Links



Google
  Web Artima.com   

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