<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>pylons on chrismoos</title>
    <link>/tags/pylons/</link>
    <description>Recent content in pylons on chrismoos</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&amp;copy; 2020 Chris Moos</copyright>
    <lastBuildDate>Wed, 04 Mar 2009 00:03:53 +0000</lastBuildDate><atom:link href="/tags/pylons/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pylons Worker Threads</title>
      <link>/2009/03/04/pylons-worker-threads/</link>
      <pubDate>Wed, 04 Mar 2009 00:03:53 +0000</pubDate>
      
      <guid>/2009/03/04/pylons-worker-threads/</guid>
      <description>I was reading a thread over at pylons-discuss about worker threads in pylons. Worker threads are useful if you need to execute a long running task, but want to return to the user immediately. You could run a new thread per request, but if you have many requests, it is probably better to queue things up.
To do this, you start a thread and use python&amp;rsquo;s Queue for managing the tasks.</description>
    </item>
    
    <item>
      <title>CouchDB and Pylons: User Registration and Login</title>
      <link>/2009/02/21/couchdb-and-pylons-user-registration-and-login/</link>
      <pubDate>Sat, 21 Feb 2009 18:47:08 +0000</pubDate>
      
      <guid>/2009/02/21/couchdb-and-pylons-user-registration-and-login/</guid>
      <description>In the previous tutorial, we learned how to get CouchDB and Pylons up and running, as well as create a simple page counter. Now we are going to implement a simple user authentication system. This tutorial will teach you how to use formencode to validate forms and CouchDB to store our user data.
Let&amp;rsquo;s start by creating a new pylons project and some controllers.
$ paster create -t pylons userdemo $ cd userdemo $ paster controller main $ paster controller auth Also, delete public/index.</description>
    </item>
    
    <item>
      <title>CouchDB and Pylons: Getting Started</title>
      <link>/2009/02/03/couchdb-and-pylons-getting-started/</link>
      <pubDate>Tue, 03 Feb 2009 18:25:33 +0000</pubDate>
      
      <guid>/2009/02/03/couchdb-and-pylons-getting-started/</guid>
      <description>CouchDB is very cool(it&amp;rsquo;s built on erlang), and with Pylons, it is even cooler.
Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Normally a Pylons web application will use some sort of RDBMS for storing data and persistence &amp;ndash; such as MySQL or PostgreSQL. I&amp;rsquo;ve decided to go a different route and integrate Pylons with CouchDB. Right now there is a Python library, couchdb-python, that will help us communicate with our CouchDB&amp;rsquo;s HTTP/JSON api.</description>
    </item>
    
    <item>
      <title>Pylons (X)HTML Validator Middleware</title>
      <link>/2008/01/29/pylons-xhtml-validator-middleware/</link>
      <pubDate>Tue, 29 Jan 2008 14:29:20 +0000</pubDate>
      
      <guid>/2008/01/29/pylons-xhtml-validator-middleware/</guid>
      <description>This middleware will use the W3 Validator Service to check if your page is valid HTML. It will only check each URI once so that it doesn&amp;rsquo;t slow down your site by validating every page load. It does this by placing the result of each URI into a memory cache(using Beaker). You can then call cache_is_valid_xhtml() in your template to determine if the current page is valid.
Note: The first time your page loads it will not display if the page is valid or not(It is validated AFTER the first response).</description>
    </item>
    
    <item>
      <title>Python Web Frameworks: 2 Down, 1 to go</title>
      <link>/2007/10/17/python-web-frameworks-2-down-1-to-go/</link>
      <pubDate>Wed, 17 Oct 2007 15:45:21 +0000</pubDate>
      
      <guid>/2007/10/17/python-web-frameworks-2-down-1-to-go/</guid>
      <description>On my trial to find the best python web framework(all around), I&amp;rsquo;ve just finished learning Pylons and experiencing everything it has to offer. Genshi is amazing and kills any text template engine(Django, Mako). SQLAlchemy is much different than Django&amp;rsquo;s ORM and has its advantages and disadvantages. Django&amp;rsquo;s ORM feels more natural and is much easier to learn at first. I believe that SQLAlchemy is much more powerful but the learning curve is much bigger.</description>
    </item>
    
  </channel>
</rss>
