Googolflex!!
  • Home
  • About
  • Contracting

Recent Posts

  • Sprint’s new “Simply ‘Almost’ Everything®” Plans
  • CSS Changes in Flex 4
  • Dotted Underline LinkButton (Flex)

About The Author : jwd

This is John Dusbabek's tech blog. John is a software engineer and Flex developer in Provo, UT, where he lives with his lovely wife and four sons.

Recent Comments

  • Nikos on Flex: Binding to an Interface
  • Iain Hosking on Apache mod_proxy_balancer: No Protocol handler was valid

Archive for September, 2007

Sep
20

mod_python.publisher?

Posted by: jwd | Comments (0)

Getting an early start on this lab wasn’t as productive as I had hoped it would be. If it was intended as a learning experience, then I have to conclude it was 100% successful because I learned a lot.

My Linux experience is primarily what I’ve done in CS240 and CS360… so I expected that part to be challenging. I blundered my way through it with lots of help (especially those who posted scripts and tips).

The difficulty I had getting my script to run took me by surprise. The majority of examples I found on the web regarding getting mod_python set up in httpd.conf showed using the publisher handler. None of them really explained how the publisher handler worked and I assumed it worked like a typical CGI handler. As it turns out, mod_python actually has a cgihandler that behaves like a CGI handler… the publisher handler is something different (there’s also a psp handler).

The publisher handler works by mapping methods in the script to URLs. For example a script named index.py with a method named index and a method named hello would map to the URLs http://somesite.com/ & http://somesite.com/hello respectively. For a more complete treatment see the documentation here: http://www.modpython.org/live/current/doc-html/hand-pub-alg-trav.html

This is definitely a different way of looking at things, especially if you’re like me and come from a folders-and-files-map-to-urls kind of background. I’m looking forward to experimenting a little more with the publisher handler, because I feel like I may only be chipping at the tip of the iceberg.

There are a few other things I’m starting to like about the publisher handler. It adds a lot of (much welcome) abstraction to getting GET and POST data, for example. If you are just using Python the ‘plain old’ CGI way, I’d recommend giving mod_python a try. It adds a little bit to the learning curve, but I have a feeling it’s going to pay off in the end.

Categories : mod_python
Comments (0)
Sep
06

CS 462.

Posted by: jwd | Comments (0)

My name is John Dusbabek, I am taking CS 462 (Large Scale Distributed Systems Design… and implementation hopefully) at Brigham Young University, Fall 2007.

This blog will serve as my lab notebook. Here I will post any required lab write-ups for grades… and also things I learned “the hard way” so as to be helpful to others who may follow in my footsteps. These may or may not be useful depending on what direction the course goes in future semesters. I understand from Dr. Windley that historically the course structure for CS 462 is quite volatile, and this blog will probably deal primarily with implementation specifics… so who knows?

Personally I’m excited about taking this class. I wish our department offered more classes like it.

Categories : Uncategorized
Comments (0)

Search

Feedburner

Subscribe to

Get the latest updates delivered via email

Calendar

September 2007
M T W T F S S
    Oct »
 12
3456789
10111213141516
17181920212223
24252627282930

Archives

  • July 2010 (1)
  • June 2010 (2)
  • May 2010 (1)
  • February 2010 (11)
  • January 2010 (3)
  • December 2009 (5)
  • November 2009 (1)
  • August 2009 (8)
  • July 2009 (8)
  • May 2009 (4)
  • April 2009 (1)
  • March 2009 (6)
  • January 2009 (1)
  • November 2008 (4)
  • October 2008 (5)
  • September 2008 (1)
  • August 2008 (5)
  • July 2008 (1)
  • June 2008 (2)
  • May 2008 (8)
  • April 2008 (5)
  • March 2008 (2)
  • February 2008 (3)
  • January 2008 (1)
  • December 2007 (6)
  • November 2007 (9)
  • October 2007 (1)
  • September 2007 (2)

Categories

Tag Cloud

adobe apache Architecture book review C++ centos client server architecture Custom Components database Design error message fedora flash catalyst flex Flex 3 Flex 4 fms iis 6 Interaction Design load balancing master-master master-slave mod_proxy_balancer Monkey Patching MySQL no protocol p2p peer to peer Perl PHP Red5 regex replication self registration selinux Shell Scripting shortcut manager skins socket policy file sockets states stored procedures stratus tools workflow

Coworkers

  • Casey Jackman
  • Sean Murphy

Family

  • Emily & CJ
  • Family Blog
  • Gary Dusbabek

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

RSS FlexExamples

  • Styling the text selection format on a Spark TextArea control in Flex 4
  • Setting the scale mode on a Spark Image control in Flex Hero
  • Setting the fill mode on a Spark Image control in Flex Hero
  • Setting a bitmap image fill on a Spark Form container in Flex Hero
  • Setting a bitmap image fill on a Spark FormHeading control in Flex Hero

Spam Blocked

847 spam comments
blocked by
Akismet

Sponsored Links

JUICE Chat

BYU Adobe Users Group


Copyright © 2010 All Rights Reserved
Flexx Theme by iThemes
Powered by WordPress