


<?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>Learn DooPHP &#187; demo</title>
	<atom:link href="http://learn.doophp.com/tag/demo/feed/" rel="self" type="application/rss+xml" />
	<link>http://learn.doophp.com</link>
	<description>Learn DooPHP - a high performance MVC based PHP framework</description>
	<lastBuildDate>Thu, 18 Aug 2011 19:47:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Managing your database(s) with DooPHP</title>
		<link>http://learn.doophp.com/2009/10/managing-your-databases-with-doophp/</link>
		<comments>http://learn.doophp.com/2009/10/managing-your-databases-with-doophp/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 18:22:10 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[difficult]]></category>

		<guid isPermaLink="false">http://learn.doophp.com/?p=137</guid>
		<description><![CDATA[<p>This tutorial will demonstrate how to use the DooManageDb and DooUpdateDb classes to manage your projects database.</p>
<p>These classes have been developed to allow your application(s) to be independent of the database your users choose to use by allowing standard database definition to be used to define your database which is then translated into the SQL needed for the database engine the user is using. It also supports easy upgrading (and downgrading) of the database to allow for better version control support and rolling out of updates and unit testing.</p>
<p>In order to follow this tutorial you will need to use the latest version of DooPHP avaliable form the SVN repository (or version 1.3 or above &#8211; not out at the time of writing). The current implementation only supports MySQL and PgSQL at the moment so you will also need one of these 2 databases in order to follow the guide.</p>
<p>The first thing we need to do is to create a simple controller to run our tests from. Therefore create a new controller in your protected/controller/ folder. In this example I will use the controller &#8220;DatabaseController&#8221;. Now enter the following into the controller:</p>
<pre class="brush: php;">
&#60;?php
class DatabaseController extends DooController {

	public function updateDatabase() {

		echo '&#60;h1&#62;Update Database to Head&#60;/h1&#62;' . PHP_EOL;

		/* DB Updater</pre>]]></description>
		<wfw:commentRss>http://learn.doophp.com/2009/10/managing-your-databases-with-doophp/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Create a simple To Do List in DooPHP &#8211; Part 1</title>
		<link>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-1/</link>
		<comments>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-1/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 17:07:35 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://learn.doophp.com/?p=13</guid>
		<description><![CDATA[<h2>Introduction</h2>
<p>This tutorial will guide you through all the steps required to get started using DooPHP through the creation of a simple To Do List Application. The tutorial is split into a number of sections and you will need to read the guide from the begining in order to understand whats going on.</p>
<ul>
<li><strong>Part 1 &#8211; Getting Started</strong></li>
<li><a href="http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-2/">Part 2 &#8211; The Signup Form</a></li>
<li>Part 3 &#8211; User Authentication &#8211; Coming Soon</li>
<li>Part 4 &#8211; The To Do List &#8211; Coming Soon</li>
<li>Part 5 &#8211; Adding AJAX Functionality &#8211; Coming Soon</li>
</ul>
<h2>Our Objective for this Tutorial</h2>
<p>In this tutorial we will be creating a simple To <em>Doo</em> List Manager Web Application and through the course of the tutorial we will be covering the following topics:</p>
<ul>
<li>Obtaining and Deploying the Base DooPHP Application</li>
<li>Setting up the MySQL Database</li>
<li>Creating the Models</li>
<li>Creating the To Do Manager Application
<ul>
<li>Signup Form</li>
<li>User Authentication</li>
<li>User Home Page</li>
<li>Task Actions</li>
<li>Enhancing you application with AJAX</li>
</ul>
</li>
</ul>
<p>You can view a demo of the finished project <a title="View a demo of the DooPHP Tutorial To Do List Application" href="http://doophp.com/demo/" target="_blank">here</a>. Some screen shots of the final application are also included below:</p>
<p>TODO: IMAGES TO GO IN HERE WHEN I FINISH!</p>
<p>TODO: UPDATE THE DEMO LINK ABOVE</p>
<p><span id="more-13"></span></p>
<h2>Obtaining and Deploying the Base DooPHP Application</h2>
<p>Before you can begin working on the To Doo List Manager you will need access to a Web Server. This guide assumes you already have webhosting or better yet</p>]]></description>
		<wfw:commentRss>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-1/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
