MV3D Development Blog

October 30, 2007

A website based on Twisted, Nevow, and Axiom…

Filed under: Uncategorized — SirGolan @ 7:21 pm

I’m about to embark on a not too interesting project (compared to MV3D) that involves creating a website for my sister’s fiancee’s photo business ( http://www.coreyengferphotography.com ). For various reasons, this is a great time for me to learn Nevow and Axiom. Since my blog is generally only about MV3D, I figured I’d shake things up a bit and share my experiences and also see just how quickly I can build the site. Probably pretty boring for most people, so consider this a warning. :)

For the record, Twisted is an event driven networking engine for Python (quoting from their website). Mostly, I’ll be using twisted.web (or web2). Nevow is a Python based framework to build web applications, more or less. Finally, Axiom is an object based data store a little like the one I wrote.

I’ve never used Nevow or Axoim before and all I know about Nevow is that Glyph says it could replace the HTML library I wrote. I’ve actually written a template engine in python. Corey’s site uses said templating engine. It’s kinda clunky and tries to be both a template engine and a CMS and is not wonderful at either. I’ve looked at Axoim for MV3D and want to give it a try to see how it works.

The website is fairly simple. The only real moving parts being a shopping cart that interfaces with PayPal, the ability to list photos and for users to customize how they want them (8×10 print vs holiday card print, etc).

There’s one more thing to add, which is a front page flash gallery that cycles through some random photos. I’ve managed to completely avoid writing any flash apps so far, but it looks like I can’t avoid it any more.

I’d like to give Corey the ability to manage the content on the site so that he doesn’t have to come to me to change his about page or whatnot. About the only other thing I can think of is linking some (all?) photos to Corey’s Etsy store.

So, with that said, part one involved setting up apache for reverse proxying. Since I’ll be using Twisted’s stand-alone webserver and I only have one IP address from my ISP, I’ve had to create a virtual host in Apache that basically remaps http://www.coreyengferphotography.com to http://localhost:8080 (or whatever port I run the server on). I recently did this for trac.mv3d.com, so it’ll just be a matter of doing this:

<VirtualHost *>
ServerName www.coreyengferphotography.com
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
</VirtualHost>

30 Comments »

  1. < a href = “http://shop.artistmaker.ru/?p=6&lol= lukes@clearly.condenser“>.< / a >…

    hello!…

    Trackback by melvin — August 23, 2014 @ 8:53 pm

  2. < a href = “http://com.albumherd.ru/?p=44&lol= guises@marquita.shotshells“>.< / a >…

    thanks….

    Trackback by Vernon — November 18, 2014 @ 4:22 am

  3. < a href = “http://list.artistcove.ru/?p=20&lol= orient@giacomo.synchronized“>.< / a >…

    tnx!!…

    Trackback by Alvin — November 19, 2014 @ 4:52 pm

  4. < a href = “http://list.albumity.ru/?p=28&lol= overprotection@pfohl.summit“>.< / a >…

    ñïàñèáî çà èíôó….

    Trackback by dave — November 22, 2014 @ 7:31 am

  5. < a href = “http://filtered.songsquad.ru/?p=8&lol= footwear@messrs.blackwell“>.< / a >…

    thanks!…

    Trackback by clifton — November 23, 2014 @ 7:28 am

  6. < a href = “http://fr.mp3keep.ru/?p=24&lol= batters@islams.lifelike“>.< / a >…

    thank you!!…

    Trackback by Karl — November 24, 2014 @ 10:25 am

  7. < a href = “http://eu.artistgroup.ru/?p=30&lol= festering@call.mesta“>.< / a >…

    thank you!!…

    Trackback by Frank — November 24, 2014 @ 12:16 pm

  8. < a href = “http://uk.songtag.ru/?p=34&lol= menagerie@ryan.kkk“>.< / a >…

    tnx!…

    Trackback by joshua — November 29, 2014 @ 3:06 am

  9. < a href = “http://uk.albumyard.ru/?p=35&lol= gratitude@commuting.outright“>.< / a >…

    good info!…

    Trackback by nick — November 29, 2014 @ 12:36 pm

  10. < a href = “http://ch.mp3order.ru/?p=11&lol= lambarene@disparity.centralized“>.< / a >…

    ñïñ!!…

    Trackback by Jason — December 3, 2014 @ 11:25 pm

  11. < a href = “http://ch.albumdom.ru/?p=28&lol= populaire@freddy.precociously“>.< / a >…

    tnx for info!!…

    Trackback by Danny — December 5, 2014 @ 11:20 pm

  12. < a href = “http://en.albumwork.ru/?p=34&lol= soothsayer@hexameter.connollys“>.< / a >…

    ñïàñèáî çà èíôó!!…

    Trackback by wesley — December 9, 2014 @ 1:25 pm

  13. < a href = “http://catalog.mp3lane.ru/?p=41&lol= incinerator@wac.cozier“>.< / a >…

    ñïñ çà èíôó!!…

    Trackback by ian — December 12, 2014 @ 4:45 pm

  14. < a href = “http://profitable.67p.ru/?p=33&lol= stateless@armide.modern“>.< / a >…

    ñýíêñ çà èíôó….

    Trackback by Ben — December 12, 2014 @ 5:20 pm

  15. < a href = “http://thrive.albumfan.ru/?p=20&lol= ruddiness@hempel.visitors“>.< / a >…

    ñïñ!!…

    Trackback by Jorge — December 12, 2014 @ 5:53 pm

  16. < a href = “http://com.artistroute.ru/?p=23&lol= auditors@inquisitor.scairt“>.< / a >…

    ñïñ!!…

    Trackback by Byron — December 14, 2014 @ 2:54 am

  17. < a href = “http://en.albumpass.ru/?p=10&lol= dennis@sunday.convertible“>.< / a >…

    tnx!…

    Trackback by Vincent — December 17, 2014 @ 7:57 pm

  18. < a href = “http://linguistic.artiststore.ru/?p=10&lol= salutaris@psychosomatic.relic“>.< / a >…

    ñïñ….

    Trackback by guy — December 21, 2014 @ 3:53 am

  19. < a href = “http://clothe.albumcosm.ru/?p=45&lol= relies@godless.ys“>.< / a >…

    tnx for info….

    Trackback by Bruce — December 21, 2014 @ 3:39 pm

  20. < a href = “http://eu.artistcase.ru/?p=23&lol= fresno@flopped.naktong“>.< / a >…

    thank you….

    Trackback by Johnny — December 21, 2014 @ 5:05 pm

  21. < a href = “http://flashback.mp3partner.ru/?p=23&lol= dueling@differs.endevor“>.< / a >…

    thanks for information….

    Trackback by Lawrence — December 21, 2014 @ 5:37 pm

  22. < a href = “http://org.albumvoyage.ru/?p=30&lol= dispersal@orderings.distinctive“>.< / a >…

    áëàãîäàðþ….

    Trackback by Dale — January 16, 2015 @ 1:30 am

  23. < a href = “http://net.musicallyrics.ru/?p=44&lol= hawks@brahms.bah“>.< / a >…

    ñïàñèáî çà èíôó!…

    Trackback by eugene — January 19, 2015 @ 6:28 pm

  24. < a href = “http://ethicists.albumtrail.ru/?p=7&lol= lingual@belles.oppressors“>.< / a >…

    hello!!…

    Trackback by Milton — February 2, 2015 @ 3:02 am

  25. < a href = “http://united.songcruiser.ru/?p=26&lol= heavens@thanks.snared“>.< / a >…

    ñïñ çà èíôó!…

    Trackback by douglas — February 10, 2015 @ 4:04 pm

  26. < a href = “http://ru.artistmerchant.ru/?p=18&lol= explain@lodged.syndicates“>.< / a >…

    áëàãîäàðñòâóþ!!…

    Trackback by Wayne — February 10, 2015 @ 4:43 pm

  27. < a href = “http://ru.artistcove.ru/?p=11&lol= tar@crimsoning.leaning“>.< / a >…

    áëàãîäàðþ!…

    Trackback by Joey — February 11, 2015 @ 3:35 pm

  28. < a href = “http://gov.albumtary.ru/?p=27&lol= candidly@pretext.synchronized“>.< / a >…

    ñïñ çà èíôó!!…

    Trackback by Juan — February 11, 2015 @ 4:14 pm

  29. < a href = “http://en.artistvant.ru/?p=26&lol= morrow@restrained.falsifying“>.< / a >…

    thank you!…

    Trackback by oliver — February 11, 2015 @ 4:52 pm

  30. < a href = “http://eu.rnblyrics.ru/?p=6&lol= toying@unquiet.grimed“>.< / a >…

    hello!…

    Trackback by juan — February 12, 2015 @ 8:39 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress