<?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>Zack LiveTortoiseSVN | Best Premium WordPress Themes - Zack Live</title>
	<atom:link href="http://zacklive.com/tag/tortoisesvn/feed/" rel="self" type="application/rss+xml" />
	<link>http://zacklive.com</link>
	<description>Free Online Resource</description>
	<lastBuildDate>Wed, 21 Dec 2011 20:18:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Install Kohana on Windows</title>
		<link>http://zacklive.com/install-kohana-on-windows/14/</link>
		<comments>http://zacklive.com/install-kohana-on-windows/14/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 01:49:12 +0000</pubDate>
		<dc:creator>Zack</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Kohana]]></category>
		<category><![CDATA[TortoiseSVN]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blogiii.com/zack/?p=11</guid>
		<description><![CDATA[I&#8217;m new to Kohana, making this tutorial just want to do something for the community. Please let me know, if you found any mistakes. Ok, let&#8217;s cut to the chase. I suppose you have your server installed, if not I recommand AppServ. It&#8217;s better to use the latest version of Kohana from SVN, so you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m new to Kohana, making this tutorial just want to do something for the community. Please let me know, if you found any mistakes. Ok, let&#8217;s cut to the chase.</p>
<p>I suppose you have your server installed, if not I recommand <a title="AppServ" href="http://www.appservnetwork.com/?modules=&amp;applang=tw">AppServ</a>. It&#8217;s better to use the latest version of Kohana from SVN, so you might need <a title="Tortoise SVN" href="http://tortoisesvn.tigris.org/">TortoiseSVN</a>. I create a folder called Kohana in my webroot, check out the truck folder from SVN, it&#8217;s quite easy to do it, right click, select SVN Check&#8230;</p>
<p style="text-align: center"><img class="aligncenter" src="http://i252.photobucket.com/albums/hh6/Xanxuss/Kohana-Setup2.png" alt="tortoise SVN" width="178" height="260" /></p>
<p>Type http://svn.kohanaphp.com/trunk in URL of repository, click ok, and wait for the download.</p>
<p style="text-align: center"><img class="aligncenter" src="http://i252.photobucket.com/albums/hh6/Xanxuss/Kohana-Setup3.png" alt="tortoise SVN" width="456" height="357" /></p>
<p style="text-align: center"><img class="aligncenter" src="http://i252.photobucket.com/albums/hh6/Xanxuss/Kohana-Setup-1.png" alt="tortoise SVN" /></p>
<p>And then you will have three folders: application, modules and system; and three files: index.php, kohana.png, Kohana License.html. To see if Kohana is installed properly, type localhost/Kohana, you will see the welcome page:</p>
<p style="text-align: center"><img class="aligncenter" src="http://i252.photobucket.com/albums/hh6/Xanxuss/Kohana-Setup4.png" alt="Kohana welcome page" width="450" height="291" /></p>
<p><span id="more-14"></span></p>
<p>Now you may want to do some configuration. Open config.php in /application/config/ folder, the first setting is the site domain, we are using localhost here, so just leave it as &#8216;/kohana/&#8217;. For the second one site protocol, we mostly use &#8216;http&#8217;. That&#8217;s all what we do for this moment.</p>
<p>I would like to do some test now. Create a test.php file in /application/controllers/, type in the fellowing codes:</p>
<blockquote><p>&lt;?php<br />
/**<br />
* Test controller<br />
*/<br />
class Test_Controller extends Template_Controller<br />
{<br />
function __construct()<br />
{</p>
<p>parent::__construct();<br />
//Generate system information, you should try to comment this line to see what will the page be.<br />
$this-&gt;profiler = new Profiler;<br />
}</p>
<p>function index()</p>
<p>{<br />
//Set the page title.<br />
$this-&gt;template-&gt;title = &#8216;Test Page&#8217;;<br />
}<br />
}<br />
?&gt;</p></blockquote>
<p>We also need to create a template.php in /application/views/, it looks like this:</p>
<blockquote><p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;title&gt;&lt;?php echo $title ?&gt;&lt;/title&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;h2&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;</p></blockquote>
<p>Back to the blowser, we have visited localhost/kohana, and now we go to localhost/kohana/index.php/test, you should have a page like this:</p>
<p style="text-align: center"><img src="http://i252.photobucket.com/albums/hh6/Xanxuss/Kohana-Setup5.png" alt="Kohana setup" width="450" height="401" /></p>
<p style="text-align: left">There are only two parts in this page, the first one is the title of the page, setting by &#8216;$this-&gt;template-&gt;title = &#8220;Test Page&#8221;;&#8217; and the second part is a table of some system information generated by the profiler library: &#8216;$this-&gt;profiler = new Profiler;&#8217;</p>
<p style="text-align: left">Ok, that&#8217;s all, for further issue, you should keep an eye on my blog and <a title="kohana php" href="http://kohanaphp.com">Kohana official website</a>.</p>
<p  class="related_post_title">Related Posts</p><ul class="related_post"><li><a href="http://zacklive.com/hello-world-tutorial-for-kohana/15/" title="Hello World Tutorial for Kohana">Hello World Tutorial for Kohana</a></li><li><a href="http://zacklive.com/argentum-free-open-source-invoicing-and-project-management-system/2458/" title="Argentum: Free Open Source Invoicing and Project Management System">Argentum: Free Open Source Invoicing and Project Management System</a></li><li><a href="http://zacklive.com/fuel-cms-cms-based-on-codeigniter-php-framework/2052/" title="FUEL CMS: CMS Based on CodeIgniter PHP Framework">FUEL CMS: CMS Based on CodeIgniter PHP Framework</a></li><li><a href="http://zacklive.com/design-a-master-css-stylesheet/902/" title="Design a Master CSS Stylesheet">Design a Master CSS Stylesheet</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://zacklive.com/install-kohana-on-windows/14/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

