<?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>{ Online Notes } &#187; Zend_Tool</title>
	<atom:link href="http://www.armando.ws/tag/zend_tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.armando.ws</link>
	<description>All things Technical and Personal - Armando Padilla</description>
	<lastBuildDate>Sun, 01 Jan 2012 00:51:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to set up Zend_Tool on Windows.</title>
		<link>http://www.armando.ws/2009/05/how-to-set-up-zend_tool-on-windows/</link>
		<comments>http://www.armando.ws/2009/05/how-to-set-up-zend_tool-on-windows/#comments</comments>
		<pubDate>Tue, 19 May 2009 01:17:52 +0000</pubDate>
		<dc:creator>Armando Padilla</dc:creator>
				<category><![CDATA[PHP Development]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend_Tool]]></category>

		<guid isPermaLink="false">http://www.armando.ws/?p=404</guid>
		<description><![CDATA[A few people we&#8217;re having issues installing Zend_Tool on Windows, hell I was having trouble myself since all of the tutorials out there are either Macs or Red Hat based.  So dont feel bad if your reading this .  I thought i would take some time and create a tutorial, from the ground up and [...]]]></description>
			<content:encoded><![CDATA[<p>A few people we&#8217;re having issues installing Zend_Tool on Windows, hell I was having trouble myself since all of the tutorials out there are either Macs or Red Hat based.  So dont feel bad if your reading this <img src='http://www.armando.ws/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .  I thought i would take some time and create a tutorial, from the ground up and learn a few things myself along the way.  So here we go!</p>
<p><strong>Step one Installing PHP (if you havent yet)</strong><br />
If you have PHP already installed skip this section and head over to &#8220;An overview of the installation&#8221;.  Eeryone else, head over to the PHP site,  <a href="http://www.php.net">php.net</a> and download the latest and greatest. As of this writing the latest Windows installer is php-5.2.9-2 msi.  Download the executable.  Yea so what I use executable and you should too its easier to install and configure on Windows.<br />
Once the file downloads, double click the installer, click &#8220;next&#8221; a few times, and stop when you reach the &#8220;Choose Items to Install&#8221;.</p>
<p><strong><img class="alignleft size-medium wp-image-411" style="margin: 5px;" title="choose_items" src="http://www.armando.ws/wp-content/uploads/2009/05/choose_items-300x235.jpg" alt="choose_items" width="300" height="235" /></strong><strong>Choose Items to Install</strong><br />
Once you reach this point your going to check off which extensions you want installed.  By default the installer has a few modules turned off but you can easily turn them on by checking off the items to install.  Make sure that the &#8220;CLI Executable&#8221; has no red x marks next to it as shown in the neat picture to the left.   If it does click on the &#8220;X&#8221; and select,  &#8220;Will be installed on local hard drive&#8221;.  By doing this your going to installed the php.exe file as well as allow the executable to automatically update and create System Variables. Click &#8220;Next&#8221;, then &#8220;Install&#8221; and watch it go.</p>
<p><img class="alignright size-full wp-image-410" style="margin: 5px;" title="system_var" src="http://www.armando.ws/wp-content/uploads/2009/05/system_var.jpg" alt="system_var" width="268" height="302" /></p>
<p><strong>An overview of the Installation and Required System Variables</strong><br />
When the installation is done you should have a new directory, C:\Program Files\PHP (if you didnt change the default location).  This contains the php.exe file along with a number of other things.   You should also have some updates to your environment variables.  Open the Environment Variables window by right clicking on &#8220;My Computer&#8221; , &#8220;Properties&#8221;,  &#8220;Advanced&#8221;, &#8220;Environment Variables&#8221; .  At the bottom of the window you should have 2 System Variables, &#8220;Path&#8221; and &#8220;PHPRC&#8221;.  Make sure &#8220;Path&#8221; contains the &#8220;C:\Program Files\PHP\;&#8221;  (Replace with the location of your PHP directory) and make sure PHPRC contains, &#8220;C:\Program Files\PHP\&#8221; (Location to your php.ini file) .    If all the variables are set click &#8220;Ok&#8221; and head onto the next section.</p>
<p><strong>Verifying Installation.</strong><br />
Now to check that the installation went smoothly.  Open a command line window.  You do this by going to &#8220;Start&#8221;, &#8220;Run&#8221;, and then typing in &#8220;cmd&#8221;, then click &#8220;Ok&#8221;.  Once the command line window appears type in:  php &#8211;version</p>
<p>You should see:</p>
<p><img class="alignnone size-full wp-image-414" title="php_version" src="http://www.armando.ws/wp-content/uploads/2009/05/php_version.jpg" alt="php_version" width="640" height="103" /></p>
<p><strong></strong></p>
<p>If you do great!  Your done with PHP. Let&#8217;s install Zend Framework now.</p>
<p><strong>Installing Zend_Tool</strong><br />
If all went well,  now its time to install Zend_Tool. Download the latest Zend Framework (latest is 1.8.1)  and extract the files somewhere onto your system.   Move the files</p>
<ul>
<li>bin/zf.php</li>
<li>bin/zf.bat</li>
</ul>
<p>into the directory C:\Program Files\PHP and place all the content of the library folder into the C:\zf directory.  Many tutorials recommend installing the library in your PHP includes directory but I decided to install it under C:\zf to demonstrate how to use ZEND_TOOL_INCLUDE_PATH environment variable since the library can practically live anywhere when your developing sites.    The full path to your Zend Framework instillation is now, C:\zf\library\Zend.</p>
<p><strong>Setting up ZEND_TOOL_INCLUDE_PATH</strong><br />
Open the Environment Variable window again and create a new environment variables under the &#8220;System Variables&#8221;  section.   In the &#8220;Variable Name&#8221;  text field enter, &#8220;ZEND_TOOL_INCLUDE_PATH&#8221;  and in the &#8220;Variable Value&#8221; text field enter &#8220;C:\Program Files\PHP\includes\library\&#8221;  (path to the Zend Library minus the Zend portion).   Click ok to close out the &#8220;New System Variable&#8221; window and then click &#8220;ok&#8221; once again to close the &#8220;Environment Variable&#8221; wndow.  Time to check if Zend_Tool works.</p>
<p><strong>Verify Installation</strong><br />
If you have any command line windows open, close them and then reopen one.   Type in <em>zf show version</em> you should see the below:</p>
<p><strong><img class="alignnone size-full wp-image-417" title="zf_command" src="http://www.armando.ws/wp-content/uploads/2009/05/zf_command.jpg" alt="zf_command" width="640" height="61" /><br />
</strong></p>
<p><strong>Useful commands.</strong><br />
Your set to create your projects , controller, actions now. Below I added a few commands I tend to use.</p>
<p><em>Create Project</em><br />
zf create project helloworld</p>
<p><em>Create a new controller</em> (below commands must be issued within project directory)<br />
zf create controller controller1<br />
zf create controller controller2</p>
<p><em>Create a few actions</em><br />
zf create action action1 controller1<br />
zf create action action2 controller2</p>
<p>Thats it!<br />
Armando Padilla</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armando.ws/2009/05/how-to-set-up-zend_tool-on-windows/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Zend Framework 1.8 Released</title>
		<link>http://www.armando.ws/2009/05/zend-framework-18-released/</link>
		<comments>http://www.armando.ws/2009/05/zend-framework-18-released/#comments</comments>
		<pubDate>Mon, 04 May 2009 04:54:30 +0000</pubDate>
		<dc:creator>Armando Padilla</dc:creator>
				<category><![CDATA[PHP Development]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend_Tool]]></category>

		<guid isPermaLink="false">http://www.armando.ws/?p=382</guid>
		<description><![CDATA[Last week ZF 1.8 was released and this weekend I spent the better part of it looking through the documentation and over a few of the items released within this package. A few standouts include: Zend_Tool Zend_Tag The Cloud computing components For more information heres the complete list of features released.  I also had a [...]]]></description>
			<content:encoded><![CDATA[<p>Last week ZF 1.8 was released and this weekend I spent the better part of it looking through the documentation and over a few of the items released within this package.  A few standouts include:</p>
<ol>
<li>Zend_Tool</li>
<li>Zend_Tag</li>
<li>The Cloud computing components</li>
</ol>
<p>For more information <a href="http://devzone.zend.com/article/4524-Zend-Framework-1.8.0-Released" target="_blank">heres</a> the complete list of features released.   I also had a questions for the Zend folks regarding Zend Tool on the page.   <img src='http://www.armando.ws/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Coming up I plan to take a stab at Zend_Tool_Framework_Provider and create a simple example on how use and implement.</p>
<p>Armando Padilla</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armando.ws/2009/05/zend-framework-18-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

