


<?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; authentication</title>
	<atom:link href="http://learn.doophp.com/tag/authentication/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>Create a simple To Do List in DooPHP – Part 2</title>
		<link>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-2/</link>
		<comments>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-2/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 01:11:54 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[template engine]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://learn.doophp.com/?p=51</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><a href="http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-1/">Part 1 &#8211; Getting Started</a></li>
<li><strong>Part 2 &#8211; The Signup Form</strong></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>Creating the Signup Form</h2>
<p>The first thing we need to do is to create a new controller which will handel registration tasks. For this we will create a new Controller with the name RegistrationController and this will handel all aspects of registration. Right now this will consist of a single action &#8211; Signup. Therefore we must create a new file public_html\protected\controller\RegistrationController.php and the contents of this file will be:</p>
<p><span id="more-51"></span></p>
<pre class="brush: php;">
&#60;?php
/* This is our new Controller which extends the DooPHP default DooController class */
class RegistrationController extends DooController {

	/* This array will hold data we want to expose to the templates we return to users later */
    protected $data = array();

	/* This function is called by DooPHP before we run an action */
	public function beforeRun($resouce,</pre>]]></description>
		<wfw:commentRss>http://learn.doophp.com/2009/09/create-a-simple-to-do-list-in-doophp-part-2/feed/</wfw:commentRss>
		<slash:comments>30</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! -->
