<?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>Chris Morrell &#187; zend</title>
	<atom:link href="http://cmorrell.com/tag/zend/feed" rel="self" type="application/rss+xml" />
	<link>http://cmorrell.com</link>
	<description>The personal home page of Chris Morrell</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:34:13 +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>Zend Debugger Safari Toolbar</title>
		<link>http://cmorrell.com/webdev/zend-debugger-safari-toolbar-820</link>
		<comments>http://cmorrell.com/webdev/zend-debugger-safari-toolbar-820#comments</comments>
		<pubDate>Thu, 01 Jul 2010 21:42:53 +0000</pubDate>
		<dc:creator>Chris M.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend studio]]></category>

		<guid isPermaLink="false">http://cmorrell.com/?p=820</guid>
		<description><![CDATA[Update: It turns out Safari is more problematic than Firefox, so I&#8217;ve switched back.  I have no plans to finish this project.  Feel free to fork it on GitHub. When Safari 5 came out I decided to make the switch. &#8230; <a href="http://cmorrell.com/webdev/zend-debugger-safari-toolbar-820">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> It turns out Safari is more problematic than Firefox, so I&#8217;ve switched back.  I have no plans to finish this project.  Feel free to fork it on <a href="http://github.com/inxilpro/Zend-Debugger-Safari-Toolbar" target="_blank">GitHub</a>.</p>
<p>When Safari 5 came out I decided to make the switch.  The new Safari developer tools rival Firebug, Safari now supports extensions, and Firefox has been causing all sorts of problems for me lately (20-second freezes, choppy video, etc).  There were three things that I knew I couldn&#8217;t live without…</p>
<p><span id="more-820"></span>Those were:</p>
<ul>
<li>AdBlock</li>
<li>Delicious.com Integration</li>
<li>The Zend Studio Toolbar</li>
</ul>
<p>The first two were ported to Safari within days (if not hours) of the Safari 5 release.  The third is likely to take a while, so I decided to put together my own version for the time-being.  Right now it&#8217;s very much in an &#8220;alpha&#8221; stage.  It only supports the &#8220;debug current page&#8221; command, and it hasn&#8217;t been tested all that thoroughly.  That said, I plan on developing this over the next few weeks to mirror most of the features available in the current Zend Studio Toolbar for Firefox and MSIE.</p>
<p>I&#8217;m also adding some features of my own.  Namely, the toolbar remembers what domains you&#8217;ve enabled debugging on, and only shows itself on those domains.  There&#8217;s a browser button that you can use to toggle debugging, and in the future I want to add an indicator when the page you&#8217;re on supports debugging.</p>
<p>If you develop with Zend Studio and Safari, please <a href="http://cmorrell.com/safari-extensions/zend-debugger">check out the current version of the extension</a>.  I could really use some feedback from other folks (particularly those who have other workflows from me).</p>
<div class="su-linkbox" id="post-820-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://cmorrell.com/webdev/zend-debugger-safari-toolbar-820&quot;&gt;Zend Debugger Safari Toolbar&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://cmorrell.com/webdev/zend-debugger-safari-toolbar-820/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Calculating the difference in days between two Zend_Date objects</title>
		<link>http://cmorrell.com/webdev/calculating-the-difference-in-days-between-two-zend_date-objects-373</link>
		<comments>http://cmorrell.com/webdev/calculating-the-difference-in-days-between-two-zend_date-objects-373#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:46:12 +0000</pubDate>
		<dc:creator>Chris M.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[wishlist]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend_date]]></category>

		<guid isPermaLink="false">http://cmorrell.com/?p=373</guid>
		<description><![CDATA[This just came up on #zftalk, and it appears that the information out there is either incomplete or incorrect, so I thought I&#8217;d just put out a simple solution.  Here&#8217;s a simple way to calculate the difference between two Zend_Date &#8230; <a href="http://cmorrell.com/webdev/calculating-the-difference-in-days-between-two-zend_date-objects-373">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This just came up on <a href="http://zftalk.com/">#zftalk</a>, and it appears that the information out there is either incomplete or incorrect, so I thought I&#8217;d just put out a simple solution.  Here&#8217;s a simple way to calculate the difference between two Zend_Date objects (in days):</p>
<pre class="brush: php; title: ; notranslate">
$jan1 = new Zend_Date('1.1.2009', Zend_Date::DATES);
echo &quot;\nJanuary first: &quot;, $jan1-&gt;toString();

$christmas = new Zend_Date('25.12.2009', Zend_Date::DATES);
echo &quot;\nChristmas is on: &quot;, $christmas-&gt;toString();

$diff = $christmas-&gt;sub($jan1);
echo &quot;\nNumber of days: &quot;, $diff / 60 / 60 / 24;
</pre>
<div class="su-linkbox" id="post-373-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://cmorrell.com/webdev/calculating-the-difference-in-days-between-two-zend_date-objects-373&quot;&gt;Calculating the difference in days between two Zend_Date objects&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://cmorrell.com/webdev/calculating-the-difference-in-days-between-two-zend_date-objects-373/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing Zend Server &amp; Zend Framework on OS X</title>
		<link>http://cmorrell.com/webdev/installing-zend-server-zend-framework-on-os-x-291</link>
		<comments>http://cmorrell.com/webdev/installing-zend-server-zend-framework-on-os-x-291#comments</comments>
		<pubDate>Sun, 03 May 2009 18:10:45 +0000</pubDate>
		<dc:creator>Chris M.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend Server]]></category>

		<guid isPermaLink="false">http://cmorrell.com/?p=291</guid>
		<description><![CDATA[This post is mostly a reminder to myself, but I thought I&#8217;d put it out there just in case other people wanted some help: Installing Zend Server CE If Zend Server is already installed, you need to remove it: For &#8230; <a href="http://cmorrell.com/webdev/installing-zend-server-zend-framework-on-os-x-291">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post is mostly a reminder to myself, but I thought I&#8217;d put it out there just in case other people wanted some help:</p>
<h3>Installing Zend Server CE</h3>
<p>If Zend Server is already installed, you need to remove it:</p>
<ul>
<li>For older versions of Zend Server:
<ol>
<li>Run <code>/Applications/ZendServer/bin/zendctl.sh stop</code></li>
<li>Remove <code>/etc/zce.rc</code></li>
<li>Double-check that no instances are running (you can use <code>ps ax|grep -i zend</code>)</li>
</ol>
</li>
<li>For newer versions of Zend Server
<ol>
<li>Run <code>/usr/local/zend/bin/uninstall.sh</code></li>
</ol>
</li>
</ul>
<p>Now <a href="http://www.zend.com/en/products/server/downloads-all">download the latest version of the Zend Server CE Installer</a> and run the installer</p>
<p>Link the CLI binary so you can use PHP from the command line:</p>
<ul>
<li><code>sudo ln -s /usr/local/zend/bin/php-cli /usr/bin/php</code></li>
<li>Please note that this step is optional</li>
</ul>
<h3>Installing the Zend Framework</h3>
<p>Now <a href="http://framework.zend.com/download/current/">download the latest version of the Zend Framework</a></p>
<p>Unzip and copy the following files:</p>
<ul>
<li><code>library/Zend</code> to <code>/usr/local/zend/share/ZendFramework/library/Zend</code></li>
<li><code>extras/library/ZendX</code> to <code>/usr/local/zend/share/ZendFramework/library/ZendX</code></li>
<li><code>bin</code> to <code>/usr/local/zend/share/ZendFramework/bin</code></li>
<li>Please note that if you don&#8217;t need the <code>zf</code> command line tool, and the version of the Zend Framework that came with Zend Server is up-to-date, these steps are unnecessary</li>
</ul>
<p>Finally, link the zf.sh file so you can access it easily:</p>
<ul>
<li><code>sudo ln -s </code><code>/usr/local/zend/share/ZendFramework/bin/zf.sh</code><code> /usr/bin/zf</code></li>
</ul>
<p>That&#8217;s it for now.  Hope that helps someone else out.</p>
<div class="su-linkbox" id="post-291-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://cmorrell.com/webdev/installing-zend-server-zend-framework-on-os-x-291&quot;&gt;Installing Zend Server &amp; Zend Framework on OS X&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://cmorrell.com/webdev/installing-zend-server-zend-framework-on-os-x-291/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/46 queries in 3.572 seconds using disk: basic
Object Caching 547/660 objects using disk: basic
Content Delivery Network via cdn1.cmorrell.com

Served from: cmorrell.com @ 2012-02-05 05:55:56 -->
