<?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>Albertech.net &#187; Frameworks</title>
	<atom:link href="http://albertech.net/category/frameworks/feed/" rel="self" type="application/rss+xml" />
	<link>http://albertech.net</link>
	<description>Tips, Tricks, and Reviews in Linux, Apache, MySQL, PHP</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:09:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CodeIgniter: Reading Excel Files</title>
		<link>http://albertech.net/2010/04/codeigniter-reading-excel-files/</link>
		<comments>http://albertech.net/2010/04/codeigniter-reading-excel-files/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 20:06:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter excel]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=397</guid>
		<description><![CDATA[Reading Excel files in CodeIgniter is actually very easy once you have the right documentation. The first thing you will need to do is utilize the CodeIgniter "Upload" library and add in the Excel Reader library for reading the files. The documentation on the CodeIgniter website in regards to this Excel Reader library is missing some details in implementation. This tutorial will go through the steps of installing the Excel reader library and getting an example implementation working.
]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2010%252F04%252Fcodeigniter-reading-excel-files%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FcunpPl%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22CodeIgniter%3A%20Reading%20Excel%20Files%22%20%7D);"></div>
<p>Reading Excel files in CodeIgniter is actually very easy once you have the right documentation. The first thing you will need to do is utilize the CodeIgniter &#8220;Upload&#8221; library and add in the Excel Reader library for reading the files. The documentation on the CodeIgniter website in regards to this Excel Reader library is missing some details in implementation. This tutorial will go through the steps of installing the Excel reader library and getting an example implementation working.</p>
<p><strong>Step 1: Download the Excel Reader Library from CodeIgniter&#8217;s website</strong>.<br />
<a href="http://codeigniter.com/wiki/Excel_Reader_Class/" target="_new">http://codeigniter.com/wiki/Excel_Reader_Class/</a></p>
<p>Copy and paste the Excel_reader.php section into notepad or a text editor. Save the file in [CodeIgniter Folder]/system/application/libraries/ as Excel_reader.php</p>
<p><strong>Step 2: Load the Library from your CodeIgniter Application</strong><br />
<code>$this-&gt;load-&gt;library('excel_reader');</code></p>
<p><strong>Step 3: Set the load path of the Excel file that has been uploaded</strong><br />
For example:<br />
<code>$uploadpath = "/var/www/uploads/test.xls";</code></p>
<p><strong>Step 4: Run the Excel Reader Library</strong><br />
<code>$this-&gt;excel_reader-&gt;read($uploadpath);<br />
// Read the first workbook in the file<br />
$worksheetrows =$this-&gt;excel_reader-&gt;worksheets[0];</code></p>
<p><strong>Step 5: Set number of columns in your Excel file</strong><br />
<code>$worksheetcolumns = 5;</code></p>
<p><strong>Step 6: Run through the table and output the data<br />
</strong>I&#8217;ve created a quick function that will go through the entire worksheet and output the data for testing.<br />
<code><br />
echo "&lt;table&gt;";<br />
foreach($worksheetrows as $worksheetrow)<br />
{<br />
      echo "&lt;tr&gt;";<br />
     for($i=0; $i&lt;worksheetcolumns; $i++)<br />
    {<br />
           // if the field is not blank -- otherwise CI will throw warnings<br />
           if (isset($worksheetrow[$i]))<br />
                 echo "&lt;td&gt;".$worksheetrow[$i]."&lt;/td&gt;";<br />
           // empty field<br />
           else<br />
                 echo "&lt;td&gt;&amp;nbsp; &lt;/td&gt;";<br />
     }<br />
     echo "&lt;/tr&gt;";<br />
} <br />
echo "&lt;/table&gt;";<br />
</code></p>
<p>This should get you going with reading Excel files in CodeIgniter.</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2010/04/codeigniter-reading-excel-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CakePHP Resources</title>
		<link>http://albertech.net/2010/01/cakephp-resources/</link>
		<comments>http://albertech.net/2010/01/cakephp-resources/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 19:29:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=324</guid>
		<description><![CDATA[I've been noticing that a lot of documentation in CakePHP seems to be spread out onto  many different sites. In my opinion, the CakePHP manual isn't comprehensive enough for learning.

Here's a list of useful CakePHP resources I've used recently:

<strong>CakeForge</strong> - Great resource for Open Source CakePHP applications. This site has many more applications than the CakePHP Bakery.
<strong><a href="http://cakeforge.org/" target="_blank">http://cakeforge.org/</a></strong>

<strong>Bakery</strong> - How to use different CSS files in CakePHP<a href="http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp" target="_blank">
<strong>http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp</strong></a>

<strong>Giga Promoters</strong> - CakePHP tutorials and scripts:
<strong><a href="http://www.gigapromoters.com/blog/category/cakephp/" target="_blank">http://www.gigapromoters.com/blog/category/cakephp/</a></strong>

I'll be updating this list as I find more resources.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2010%252F01%252Fcakephp-resources%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22CakePHP%20Resources%22%20%7D);"></div>
<p>I&#8217;ve been noticing that a lot of documentation in CakePHP seems to be spread out onto  many different sites. In my opinion, the CakePHP manual isn&#8217;t comprehensive enough for learning.</p>
<p>Here&#8217;s a list of useful CakePHP resources I&#8217;ve used recently:</p>
<p><strong>CakeForge</strong> &#8211; Great resource for Open Source CakePHP applications. This site has many more applications than the CakePHP Bakery.<br />
<strong><a href="http://cakeforge.org/" target="_blank">http://cakeforge.org/</a></strong></p>
<p><strong>Bakery</strong> &#8211; How to use different CSS files in CakePHP<a href="http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp" target="_blank"><br />
<strong>http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp</strong></a></p>
<p><strong>Giga Promoters</strong> &#8211; CakePHP tutorials and scripts:<br />
<strong><a href="http://www.gigapromoters.com/blog/category/cakephp/" target="_blank">http://www.gigapromoters.com/blog/category/cakephp/</a></strong></p>
<p>I&#8217;ll be updating this list as I find more resources.</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2010/01/cakephp-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaner URLs in CodeIgniter</title>
		<link>http://albertech.net/2009/08/cleaner-urls-in-codeigniter/</link>
		<comments>http://albertech.net/2009/08/cleaner-urls-in-codeigniter/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 22:13:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=231</guid>
		<description><![CDATA[Here's a quick tip to make cleaner looking URLs in CodeIgniter PHP framework. By default, if you have an application, the path of the application usually ends after index.php.  Using Apache RewriteEngine, you can make cleaner looking URLs. You can have something similar to mysite.com/cigniter/MyApplication instead of mysite.com/cigniter/index.php/MyApplication]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F08%252Fcleaner-urls-in-codeigniter%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Cleaner%20URLs%20in%20CodeIgniter%22%20%7D);"></div>
<p>Here&#8217;s a quick tip to make cleaner looking URLs in CodeIgniter PHP framework. By default, if you have an application, the path of the application usually ends after index.php.  Using Apache RewriteEngine, you can make cleaner looking URLs. You can have something similar to <strong>mysite.com/cigniter/MyApplication</strong> instead of <strong>mysite.com/cigniter/index.php/MyApplication</strong></p>
<ul>
<li><strong>Create a file named &#8220;.htaccess&#8221; inside your root CodeIgniter directory.</strong> It should look like the following:RewriteEngine on<br />
RewriteCond $1 !^(index\.php|images|css|robots\.txt)<br />
RewriteRule ^(.*)$ /[CODE IGNITER BASE]/index.php/$1 [L]where [CODE IGNITER BASE]  is the directory of your Code Igniter install. For instance, if you named your base install folder &#8220;cigniter&#8221;, the Rewrite Rule would look like:RewriteRule ^(.*)$ /cigniter/index.php/$1 [L]</li>
<li><strong>If you get an error</strong>, make sure your Apache install allows for RewriteEngine in that particular folder. This is usually located in /etc/apache2/sites-enabled/YOURSITE The folder needs to have permissions of:AllowOverride AuthConfig<br />
Options +FollowSymlinksSee: <a href="http://www.whoopis.com/howtos/apache-rewrite.html" target="_blank">http://www.whoopis.com/howtos/apache-rewrite.html</a></li>
<li>More info on CodeIgniter framework:<br />
<a href="http://" target="_blank">http://codeigniter.com/</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/08/cleaner-urls-in-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
