<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mahbubur Rahman - jQuery, PHP, JavaScript, Codeigniter, CSS &#187; web2py</title>
	<atom:link href="http://www.mahbubblog.com/category/web2py/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mahbubblog.com</link>
	<description>PHP, JQUERY, JAVASCRIPT fun</description>
	<lastBuildDate>Thu, 03 Jun 2010 07:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Python for Codeigniter developers</title>
		<link>http://www.mahbubblog.com/codeigniter/python-for-codeigniter-developers/</link>
		<comments>http://www.mahbubblog.com/codeigniter/python-for-codeigniter-developers/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 07:00:15 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[web2py]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=178</guid>
		<description><![CDATA[So, you use codeigniter and  want to develop something in python ? And you have following things in mind : 1. An MVC framework which has almost zero installation. 2. A framework that behaves quite in the same fashion like Codeigniter. 3. Small footprint 4. Has Similar or even easier libraries than codeigniter. 5. And [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.python.org/images/python-logo.gif" alt="" width="211" height="71" /></p>
<p>So, you use codeigniter and  want to develop something in python ? And you have following things in mind :</p>
<p>1. An MVC framework which has almost zero installation.</p>
<p>2. A framework that behaves quite in the same fashion like Codeigniter.</p>
<p>3. Small footprint</p>
<p>4. Has Similar or even easier libraries than codeigniter.</p>
<p>5. And you want something which works both in Windows/mac/Linux.</p>
<p>You have probably heard of developing web apps using python and python frameworks like django. But the installation on your windows machine or linux machine along with apache is a big headache. You want something short and sweet, something works out of the box.</p>
<p>OKKEYS, the name is <a href="http://www.web2py.com/">web2py </a>- an enterprise web development framework &#8211; entirely written in python. If i start to write all good things about it, the post might become really big. So let&#8217;s jump into the installing of this framework and see some actions.</p>
<h2>Things needed</h2>
<p><a href="http://www.python.org/download/releases/2.5.2/">Python 2.5.2</a></p>
<p><a href="http://www.web2py.com/examples/static/web2py_src.zip">web2py Framework</a></p>
<h2>Steps :</h2>
<p><strong>1.</strong> For windows XP, install python 2.5.2 &#8211; the .msi package. It&#8217;ll probably install in your c:/Python25 directory. Now you have to add 2 environment variables.  Right click &#8220;My Computer&#8221; -&gt; Properties -&gt;Advanced -&gt; Environment Variables (at the bottom).  Under the &#8220;System Variables&#8221; double click &#8220;Path&#8221; and put ;C:\python25;C:\python25\scripts at end of the Variable Value.  For windows users, a restart is sometimes necessary to propagat</p>
<p>For Ubuntu, if you have already installed python latest version which is 3.X, you have to install python 2.5.2. They can run simultanously. So in terminal,</p>
<p>sudo apt-get install python2.5</p>
<p><strong>2.</strong> Unzip the folder from you have downloaded http://www.web2py.com/examples/static/web2py_src.zip to some place. May be c:/web2py or in Ubuntu /home/username/web2py [or anything you like ]</p>
<p><strong>3.</strong> Now it&#8217;s assumed that python runs from command prompt or terminal. To verify type python in command prompt in windows (not in CYGWIN or any Bash Shell) or in terminal in linux. If you get something like this</p>
<p><span style="font-family: courier new,courier;">Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on<br />
win32<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
&gt;&gt;&gt;</span></p>
<p><span style="font-family: courier new,courier;"><span style="font-family: georgia,palatino;">It means you have successfully installed python. Now from the command prompt go to your web2py directory using <strong>cd web2py</strong></span></span></p>
<p><span style="font-family: courier new,courier;"><span style="font-family: georgia,palatino;"><strong>4.</strong><span style="font-family: verdana,geneva;"> TIME FOR ACTION!!! Now that you&#8217;re into the web2py directory,<strong> </strong>simply<strong> </strong>type </span></span></span></p>
<p><span style="font-family: courier new,courier;">python web2py.py</span></p>
<p><span style="font-family: courier new,courier;"><span style="font-family: georgia,palatino;">You&#8217;ll get a greeting screen and the a screen like this both in windows and linux.<br />
</span></span></p>
<p><span style="font-family: courier new,courier;"><span style="font-family: georgia,palatino;"><br />
</span></span></p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2009/07/web2py_server.jpg"><img class="alignnone size-medium wp-image-180" title="web2py_server" src="http://www.mahbubblog.com/wp-content/uploads/2009/07/web2py_server-300x220.jpg" alt="web2py_server" width="300" height="220" /></a></p>
<p>It asks for an admin password. Choose anything simple for the time being and hit &#8220;Start Server&#8221;. That&#8217;s it. A window will open with the web2py admin panel like this.</p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2009/07/welcome_1247640873997.png"><img class="alignnone size-medium wp-image-181" title="welcome_1247640873997" src="http://www.mahbubblog.com/wp-content/uploads/2009/07/welcome_1247640873997-300x114.png" alt="welcome_1247640873997" width="300" height="114" /></a></p>
<p>Alright, from this point, i think you can start playing with the links and most of the options are self explanatory. Click the links, go deeper and have fun with an easy MVC framwork in Python.</p>
<p>Keep discovering!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/codeigniter/python-for-codeigniter-developers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
