<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building Applications using CodeIgniter (Part 1) &#8211; File Structure</title>
	<atom:link href="http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/</link>
	<description>Programmer Extraordinaire</description>
	<lastBuildDate>Fri, 26 Feb 2010 19:02:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Getting Started with CodeIgniter and How to Create All Those Great Apps &#124; DevSnippets</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-588</link>
		<dc:creator>Getting Started with CodeIgniter and How to Create All Those Great Apps &#124; DevSnippets</dc:creator>
		<pubDate>Tue, 23 Feb 2010 12:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-588</guid>
		<description>[...] Applications using CodeIgniter Series: File Structure, Configuration, Helpers, Code [...]</description>
		<content:encoded><![CDATA[<p>[...] Applications using CodeIgniter Series: File Structure, Configuration, Helpers, Code [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-493</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 14 Aug 2009 14:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-493</guid>
		<description>Saad... you might have me stumped here. I&#039;ve never had to deal with a multi-lingual CI project before. I think your on the right track though. If you create 2 folders in the root of views called en and ar and then mirror the folder structure between the two, so the only difference is the text on the pages, you should be able to store a language preference in a session or something and then load the appropriate views based on that preference.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Saad&#8230; you might have me stumped here. I&#8217;ve never had to deal with a multi-lingual CI project before. I think your on the right track though. If you create 2 folders in the root of views called en and ar and then mirror the folder structure between the two, so the only difference is the text on the pages, you should be able to store a language preference in a session or something and then load the appropriate views based on that preference.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-492</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 14 Aug 2009 14:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-492</guid>
		<description>Sorry for the late response to these comments!

Stephen, instead of splitting my templates into several files like header, footer, navigation, etc. I place all of the elements in one single layout file. The file then has variables for whatever content areas that change from page to page. I can then set those variables in an array and pass them to the template using CIs template library.

As far as loading templates as strings, you simply pass a 3rd true/false option to the $this-&gt;load-&gt;view() method. If true, the template will be returned as a string instead of being loaded and sent to the browser window. This is set as false by default. You can learn more by visiting http://codeigniter.com/user_guide/general/views.html (at the bottom).</description>
		<content:encoded><![CDATA[<p>Sorry for the late response to these comments!</p>
<p>Stephen, instead of splitting my templates into several files like header, footer, navigation, etc. I place all of the elements in one single layout file. The file then has variables for whatever content areas that change from page to page. I can then set those variables in an array and pass them to the template using CIs template library.</p>
<p>As far as loading templates as strings, you simply pass a 3rd true/false option to the $this->load->view() method. If true, the template will be returned as a string instead of being loaded and sent to the browser window. This is set as false by default. You can learn more by visiting <a href="http://codeigniter.com/user_guide/general/views.html" rel="nofollow">http://codeigniter.com/user_guide/general/views.html</a> (at the bottom).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saad</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-491</link>
		<dc:creator>Saad</dc:creator>
		<pubDate>Thu, 13 Aug 2009 23:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-491</guid>
		<description>Our Typical project usually include websites in two languages, English and Arabic.

We usually have en &amp; ar at the root folder, What do you advise for a folder structure in this kind of scenario.

Best,
Saad</description>
		<content:encoded><![CDATA[<p>Our Typical project usually include websites in two languages, English and Arabic.</p>
<p>We usually have en &amp; ar at the root folder, What do you advise for a folder structure in this kind of scenario.</p>
<p>Best,<br />
Saad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-468</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Fri, 31 Jul 2009 11:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-468</guid>
		<description>Interesting article but I&#039;m confused by how you set up your templates. What do your layout files contain and I didn&#039;t understand how your partial views work and how you send views as strings?

Regards</description>
		<content:encoded><![CDATA[<p>Interesting article but I&#8217;m confused by how you set up your templates. What do your layout files contain and I didn&#8217;t understand how your partial views work and how you send views as strings?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-369</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Tue, 02 Jun 2009 11:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-369</guid>
		<description>Thank you, nice walk-through! I&#039;m gonna follow the series for sure. :) Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you, nice walk-through! I&#8217;m gonna follow the series for sure. <img src='http://www.christophermonnat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Passando objetos do PHP para JavaScript &#171; InTelisense</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-360</link>
		<dc:creator>Passando objetos do PHP para JavaScript &#171; InTelisense</dc:creator>
		<pubDate>Fri, 29 May 2009 18:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-360</guid>
		<description>[...]  Building Applications using CodeIgniter (Part 1) &#8211; File Structure  (christophermonnat.com) [...]</description>
		<content:encoded><![CDATA[<p>[...]  Building Applications using CodeIgniter (Part 1) &#8211; File Structure  (christophermonnat.com) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevin</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-301</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Fri, 01 May 2009 13:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-301</guid>
		<description>hey,Chris
really great articles. I came here form CI.Recently I am preparing one project for my company with CI and I will be eager to see your following &quot;Building appliacation useing CI &quot; series.

From P.R.China Kevin
best wishes.</description>
		<content:encoded><![CDATA[<p>hey,Chris<br />
really great articles. I came here form CI.Recently I am preparing one project for my company with CI and I will be eager to see your following &#8220;Building appliacation useing CI &#8221; series.</p>
<p>From P.R.China Kevin<br />
best wishes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prabhjeet Singh</title>
		<link>http://www.christophermonnat.com/2009/04/building-applications-using-codeigniter-part-1-file-structure/comment-page-1/#comment-300</link>
		<dc:creator>Prabhjeet Singh</dc:creator>
		<pubDate>Thu, 30 Apr 2009 09:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.christophermonnat.com/?p=570#comment-300</guid>
		<description>Great,  I love CI, so it will be nice to learn something new from a PRO.

Keep it up. Good Job.</description>
		<content:encoded><![CDATA[<p>Great,  I love CI, so it will be nice to learn something new from a PRO.</p>
<p>Keep it up. Good Job.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
