<?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>Shawn McCool &#187; Screencasts</title>
	<atom:link href="http://shawnmccool.com/category/screencasts/feed/" rel="self" type="application/rss+xml" />
	<link>http://shawnmccool.com</link>
	<description>a blog about web and game development</description>
	<lastBuildDate>Mon, 15 Feb 2010 14:23:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</title>
		<link>http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/</link>
		<comments>http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 07:25:43 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=438</guid>
		<description><![CDATA[This video covers the development of an admin user management system (CRUD) and includes updates to the authentication system including a method that is used allow only admins into specific sections of the site.


Related posts:<ol><li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This screencast continues a series with the goal of documenting the development of a functionally complete site using PHP with the CodeIgniter framework and jQuery for JavaScript UI Improvements including AJAX interactions.</p>
<p>This video covers the development of an admin user management system (CRUD) and includes updates to the authentication system including a method that is used allow only admins into specific sections of the site.</p>
<p><a style='text-decoration:none; display:block; float:left' href="http://shawnmccool.com/files/codeignitertutorial-part4.zip"><img src='/files/download.png' border=0/> &nbsp; </a><a href="http://shawnmccool.com/files/codeignitertutorial-part4.zip" style='line-height:60px; color:white; display:block;'>Download the Source Here</a></p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Developing a Website with CodeIgniter Part 3: The Login Process</title>
		<link>http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/</link>
		<comments>http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 05:48:51 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=360</guid>
		<description><![CDATA[In this video we utilize the user model that we've created to create a login process for our website. Use use the code igniter form helper, database library, and session library.


Related posts:<ol><li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This screencast continues a series with the goal of documenting the development of a functionally complete site using PHP with the Code Igniter framework and jQuery for Javascript UI improvements including AJAX interactions.</p>
<p>In this video we utilize the user model that we&#8217;ve created to create a login process for our website. We&#8217;ll use the code igniter form helper, database library, and session library.</p>
<p>I tried something different and recorded the video in HD.  The encoding left the dark background text a bit hard to read, so if I continue to upload HD videos I&#8217;ll switch to using a white background.  Please let me know if you prefer the old resolution or the HD resolution.</p>
<p><a style='text-decoration:none; display:block; float:left' href="http://shawnmccool.com/files/codeignitertutorial-part3.zip"><img src='/files/download.png' border=0/> &nbsp; </a><a href="http://shawnmccool.com/files/codeignitertutorial-part3.zip" style='line-height:60px; color:white; display:block;'>Download the Source Here</a></p>
<p><!--subscribe2--></p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</title>
		<link>http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/</link>
		<comments>http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 00:46:01 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=328</guid>
		<description><![CDATA[This video covers the creation of a database table for storing users and the code igniter model class for interacting with it.


Related posts:<ol><li><a href='http://shawnmccool.com/2009/08/28/how-to-write-a-better-model-in-code-igniter/' rel='bookmark' title='Permanent Link: How to Write a Better Model in CodeIgniter'>How to Write a Better Model in CodeIgniter</a></li>
<li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This screencast continues a series with the goal of documenting the development of a functionally complete site using PHP with the Code Igniter framework and jQuery for Javascript UI improvements including AJAX interactions.</p>
<p>This video covers the creation of a database table for storing users and the code igniter model class for interacting with it.</p>
<p>Errata:</p>
<p>I&#8217;ve noticed a few errors in the screencast.  When errors creep up (and they will) I&#8217;ll audit them as they&#8217;re discovered and keep this post up to date.  Errors will also be updated during the following screencast.</p>
<ol>
<li>The UpdateUser method &#8220;set password&#8221; line (line 80) contains the variable $options['userEmail'] instead of $options['userPassword'].</li>
<li>The UpdateUser method is missing the line $this-&gt;db-&gt;where(&#8216;userId&#8217;, $options['userId']);  This should be added before the line that contains $query = $this-&gt;db-&gt;update(&#8216;users&#8217;); (line 84)</li>
<li>The AddUser method&#8217;s default value is set incorrectly (line 48).  It currently shows array(&#8216;userStatus&#8217;, &#8216;active&#8217;) where it should read array(&#8216;userStatus&#8217; =&gt; &#8216;active&#8217;).</li>
</ol>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2009/08/28/how-to-write-a-better-model-in-code-igniter/' rel='bookmark' title='Permanent Link: How to Write a Better Model in CodeIgniter'>How to Write a Better Model in CodeIgniter</a></li>
<li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</title>
		<link>http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/</link>
		<comments>http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 03:29:28 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=323</guid>
		<description><![CDATA[This video briefly covers the establishment of a local development environment and the configuration of Code Igniter.


Related posts:<ol><li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This screencast begins a series with the goal of documenting the development of a functionally complete site using PHP with the Code Igniter framework and jQuery for Javascript UI improvements including AJAX interactions.</p>
<p>This video briefly covers the establishment of a local development environment and the configuration of Code Igniter.</p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
<li><a href='http://shawnmccool.com/2009/11/09/developing-a-website-with-code-igniter-part-3-the-login-process/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 3: The Login Process'>Developing a Website with CodeIgniter Part 3: The Login Process</a></li>
<li><a href='http://shawnmccool.com/2009/09/06/developing-a-website-with-code-igniter-part-2-users-database-table-and-the-user-model/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model'>Developing a Website with CodeIgniter Part 2: Users Database Table and the User Model</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Understand the Structure of CodeIgniter</title>
		<link>http://shawnmccool.com/2009/08/29/understand-the-structure-of-code-igniter/</link>
		<comments>http://shawnmccool.com/2009/08/29/understand-the-structure-of-code-igniter/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 01:41:19 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=315</guid>
		<description><![CDATA[In this screencast I attempt to explain the structure and terminology of the Code Igniter MVC PHP development framework.


Related posts:Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration
CodeIgniter at the Nashville PHP meetup March 20th.
Developing a Website with CodeIgniter Part 4: Admin Site CRUD



Related posts:<ol><li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/03/10/code-igniter-at-the-nashville-php-meetup-march-20th/' rel='bookmark' title='Permanent Link: CodeIgniter at the Nashville PHP meetup March 20th.'>CodeIgniter at the Nashville PHP meetup March 20th.</a></li>
<li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this screencast I attempt to explain the structure and terminology of the Code Igniter MVC PHP development framework.</p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/03/10/code-igniter-at-the-nashville-php-meetup-march-20th/' rel='bookmark' title='Permanent Link: CodeIgniter at the Nashville PHP meetup March 20th.'>CodeIgniter at the Nashville PHP meetup March 20th.</a></li>
<li><a href='http://shawnmccool.com/2010/01/30/developing-a-website-with-codeigniter-part-4-admin-site-crud/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 4: Admin Site CRUD'>Developing a Website with CodeIgniter Part 4: Admin Site CRUD</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/08/29/understand-the-structure-of-code-igniter/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AJAX with jQuery: A Simple Login Example</title>
		<link>http://shawnmccool.com/2009/04/15/ajax-with-jquery-a-simple-login-example/</link>
		<comments>http://shawnmccool.com/2009/04/15/ajax-with-jquery-a-simple-login-example/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 23:04:23 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://shawnmccool.com/?p=259</guid>
		<description><![CDATA[In this screencast we explore the jQuery $.post() command in order to create a simple ajax login script that also gracefully degrades and works for users who do not have JavaScript enabled.



Related posts:<ol><li><a href='http://shawnmccool.com/2009/03/26/ajax-with-jquery-the-beginning/' rel='bookmark' title='Permanent Link: AJAX with jQuery: The Beginning'>AJAX with jQuery: The Beginning</a></li>
<li><a href='http://shawnmccool.com/2009/04/15/what-exactly-is-json/' rel='bookmark' title='Permanent Link: What exactly is JSON?'>What exactly is JSON?</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this screencast we explore the jQuery $.post() command in order to create a simple ajax login script that also gracefully degrades and works for users who do not have JavaScript enabled.</p>
<p>You may want to check out my post <a title="What Exactly is JSON?" href="http://shawnmccool.com/2009/04/15/what-exactly-is-json/">&#8216;What Exactly is JSON?&#8217;</a> if you&#8217;re not familiar with the JavaScript Object Notation before watching.</p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2009/03/26/ajax-with-jquery-the-beginning/' rel='bookmark' title='Permanent Link: AJAX with jQuery: The Beginning'>AJAX with jQuery: The Beginning</a></li>
<li><a href='http://shawnmccool.com/2009/04/15/what-exactly-is-json/' rel='bookmark' title='Permanent Link: What exactly is JSON?'>What exactly is JSON?</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/04/15/ajax-with-jquery-a-simple-login-example/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>AJAX with jQuery: The Beginning</title>
		<link>http://shawnmccool.com/2009/03/26/ajax-with-jquery-the-beginning/</link>
		<comments>http://shawnmccool.com/2009/03/26/ajax-with-jquery-the-beginning/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 01:40:53 +0000</pubDate>
		<dc:creator>Shawn McCool</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://shawnblog.info/?p=178</guid>
		<description><![CDATA[This is the first in a series of screencasts that I'm creating to highlight the AJAX functionality present in the open source Javascript framework jQuery. In this screencast I give a brief overview of AJAX as well as delve into our first jQuery command.


Related posts:<ol><li><a href='http://shawnmccool.com/2009/04/15/ajax-with-jquery-a-simple-login-example/' rel='bookmark' title='Permanent Link: AJAX with jQuery: A Simple Login Example'>AJAX with jQuery: A Simple Login Example</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/08/29/understand-the-structure-of-code-igniter/' rel='bookmark' title='Permanent Link: Understand the Structure of CodeIgniter'>Understand the Structure of CodeIgniter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is the first in a series of screencasts that I&#8217;m creating to highlight the AJAX functionality present in the open source Javascript framework jQuery. In this screencast I give a brief overview of AJAX as well as delve into our first jQuery command.</p>
<p>* SCRIPT *</p>
<p>AJAX stands for Asynchronous JavaScript and XHTML (or XML, depending on who you ask).</p>
<p>Since you&#8217;re watching this you probably already know that it&#8217;s a technology that allows us to send and receive data to and from a web server without having to reload our web page.</p>
<p>I&#8217;ve already created a project for us and have included the most recent copy of jQuery. So, let&#8217;s go ahead and create an index.html file.</p>
<p>Now, I&#8217;m going to go ahead and include the jQuery script file and add script tags and a container to work with.</p>
<p>It&#8217;s probably important to add that we should never actually mix JavaScript and HTML in the same file.  But, we&#8217;re going to go ahead and do it here for demonstration purposes.</p>
<p>jQuery comes stock with a handful of powerful AJAX commands.  For now, we&#8217;re going to focus on the load command.  The load command allows us to replace the HTML in a wrapped set with HTML that we&#8217;re pulling from another file on our website.</p>
<p>What we&#8217;re going to do is we&#8217;re going to want to wait until the DOM has loaded by using the ready command and then once the DOM has loaded let&#8217;s go ahead and select the console and pull in some HTML from a file called listitems.html. We haven&#8217;t actually created this file yet so let&#8217;s go ahead and do that.</p>
<p>Let&#8217;s go ahead and create an unordered list with the firstList class and we&#8217;ll go ahead and copy and paste that and create a second list.</p>
<p>Alright, so we can imagine this as a side navigation or something along those lines. Let&#8217;s go back to our index.html file and we&#8217;re ready to run.</p>
<p>So, let&#8217;s load the page and as you can see it loads in the contents of the listitems.html file.</p>
<p>Let&#8217;s go ahead and add a button for more interactivity.  We&#8217;ll go ahead and name it actionButton.  Next, we&#8217;ll want to bind the click event of the action button and execute our AJAX load.</p>
<p>Let&#8217;s go ahead and reload the page.  We have our click me button. We click it and it loads the content.</p>
<p>One of the reasons the load command is so powerful is that it allows us to define a selector.  We can actually use a selector to select a subset of content from the listitems.html file. An example would be if we wanted to just select the content from the second list.  We could tell it that we want to select anything with the class secondList.</p>
<p>So, we&#8217;ll save it and load. Click, and we only pull back the second list. We can drill down even deeper by only selecting the even list items.</p>
<p>As you can see we were able to accomplished a lot with very little code.  But, we&#8217;re just beginning to scratch the surface of the functionality that jQuery provides for AJAX interactions.</p>
<p>And with that we conclude the first screencast on AJAX with jQuery.  My name is Shawn McCool. Thanks for watching.</p>


<p>Related posts:<ol><li><a href='http://shawnmccool.com/2009/04/15/ajax-with-jquery-a-simple-login-example/' rel='bookmark' title='Permanent Link: AJAX with jQuery: A Simple Login Example'>AJAX with jQuery: A Simple Login Example</a></li>
<li><a href='http://shawnmccool.com/2009/09/04/developing-a-website-with-code-igniter-part-1-configuration/' rel='bookmark' title='Permanent Link: Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration'>Developing a Website with CodeIgniter Part 1: Development Environment and Framework Configuration</a></li>
<li><a href='http://shawnmccool.com/2009/08/29/understand-the-structure-of-code-igniter/' rel='bookmark' title='Permanent Link: Understand the Structure of CodeIgniter'>Understand the Structure of CodeIgniter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shawnmccool.com/2009/03/26/ajax-with-jquery-the-beginning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
