<?xml version="1.0"?><rss version="2.0">
   <channel>
      <title>Mengu.net - turbogears</title>
      <link>http://www.mengu.net/</link>
      <description>mengu on web programming.</description>
      <language>en-us</language>
      <pubDate>Tue, 07 Feb 2012 07:12:42 AM +0200</pubDate>

      <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
      <generator>Mengu.net</generator>
      <managingEditor>mengu@mengu.net</managingEditor>
      <webMaster>mengu@mengu.net</webMaster>

            <item>
         <title>2011 At A Glance</title>
         <link>http://www.mengu.net/post/2011-at-a-glance</link>
         <description><![CDATA[<p>I can call 2011 quite a good year on my behalf however when I look at things I've done, I feel I've done much less than I could. Here is a list of what I have done in 2011.</p>

<h2>Things I've Done in 2011</h2>

<ul>
<li><p>Executed an idea we had with my brother, <a href="http://compector.com">http://compector.com</a>.</p></li>
<li><p>Built the start-up above with Ruby on Rails so I became more familiar with Ruby world.</p></li>
<li><p>I have made the switch to PostgreSQL from MySQL.</p></li>
<li><p>Got a job in one of Turkey's top web sites where we deal with thousands of concurrent users...</p></li>
</ul>
]]></description>
         <pubDate>2012-01-01 04:07:11</pubDate>
         <guid>http://www.mengu.net/post/2011-at-a-glance</guid>
      </item>
            <item>
         <title>Subqueries With SQLAlchemy</title>
         <link>http://www.mengu.net/post/subqueries-with-sqlalchemy</link>
         <description><![CDATA[<p>I have been developing the new version of www.osesturkiye.com for the Turkish version of the show called "The Voice". It's already built with TurboGears, mako and SQLAlchemy. In the new version we have a gallery and many photos in it. My SQLAlchemy model is like this:</p>

<pre><code>class GalleryPhoto(DeclarativeBase):
    __tablename__ = 'gallery_photo'

    id = Column(Integer, primary_key=True)
    photo_image = Column(UnicodeText)
    photo_description = Column(UnicodeText)
    dateline = Column(DateTime, default=datetime.now)
</code></pre>

<p>The problem I have is, in the photo detail page I will display "Previous" and "Next" links. I can implement this with two ways..</p>
]]></description>
         <pubDate>2011-12-22 05:28:11</pubDate>
         <guid>http://www.mengu.net/post/subqueries-with-sqlalchemy</guid>
      </item>
            <item>
         <title>What's Going On With TurboGears?</title>
         <link>http://www.mengu.net/post/whats-going-on-with-turbogears</link>
         <description><![CDATA[<p>If you are using Python and looking for a web framework or if you are just looking to do web programming with Python, you will look out your options and among Django, web2py and pyramid you will notice TurboGears. As a Python developer and TurboGears user, I will let you guys know what is going on with TurboGears lately and will let you have a chance with TurboGears.</p>

<p><img src="http://i.imgur.com/DvvDP.png" alt="TurboGears Introduction" /></p>

<h2>A Short Introduction First</h2>

<p>TurboGears is a full stack MVC web framework that is built on top of Pylons and which includes an ORM, a templating system, database migration tool, web helpers, authentication and authorization system by default just like Django. If you are wondering, there are two main differences between Django and TurboGears. </p>

<ul>
<li><p>TurboGears is using class based controllers and object dispatch.</p></li>
<li><p>TurboGears is built using external Python libraries such as Pylons, WebOB, paster whereas everything in Django is built for Django.</p></li>
</ul>
]]></description>
         <pubDate>2011-11-20 08:55:28</pubDate>
         <guid>http://www.mengu.net/post/whats-going-on-with-turbogears</guid>
      </item>
            <item>
         <title>Deploying TurboGears 2.1 Application With Nginx And uWSGI</title>
         <link>http://www.mengu.net/post/deploying-turbogears-21-application-with-nginx-and-uwsgi</link>
         <description><![CDATA[<p>I have developed a <a href="http://www.turbogears.org">TurboGears 2.1</a> application and I was asked to deploy it today. I was planning to use Apache and mod_wsgi however on CentOS 5.6 both are painful. I was getting some errors that I really did not want to deal with so I have decided to use <a href="http://www.nginx.org">nginx</a> and <a href="http://projects.unbit.it/uwsgi/">uWSGI</a>. Great combination I believe. The thing is I had to deploy this application to 3 web servers as we are using a load balancer so I have created a deployment script to use on all 3 web servers but surely I won't let you figure out how to deploy from this script.</p>

<p>Let's cut the chase and get to the point.</p>
]]></description>
         <pubDate>2011-07-15 12:03:30</pubDate>
         <guid>http://www.mengu.net/post/deploying-turbogears-21-application-with-nginx-and-uwsgi</guid>
      </item>
            <item>
         <title>TurboGears File Uploads</title>
         <link>http://www.mengu.net/post/turbogears-file-uploads</link>
         <description><![CDATA[<p>I have seen people searching for a solution for file uploads with TurboGears. As always, once you have the idea, you can get it all working. I had no idea about what TurboGears sends for a file so I have created a simple upload form. I inspected the result and I saw there is a file attribute which gives me the entire file information and content that I can use. So once I had the way in my mind, I started developing the model.</p>
]]></description>
         <pubDate>2010-03-04 08:13:40</pubDate>
         <guid>http://www.mengu.net/post/turbogears-file-uploads</guid>
      </item>
            <item>
         <title>How To Choose A Web Framework?</title>
         <link>http://www.mengu.net/post/how-to-choose-a-web-framework</link>
         <description><![CDATA[<p>I have started my web development journey with PHP. After a long time I heard there is something called web framework and then I wanted to learn the best one for me. I have reviewed and learned many frameworks and because of the fact that I'm a grasping person, I have learnt more than just one. Is this a mistake? A part of me says yes and another part says it's not a mistake. Both have reasons. So in this post, I will try to write a simple and short guide for people who are desperately unstable on choosing a web framework.</p>
]]></description>
         <pubDate>2010-02-04 06:52:39</pubDate>
         <guid>http://www.mengu.net/post/how-to-choose-a-web-framework</guid>
      </item>
          </channel>
</rss>

