<?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>david rasch -- technology. business. life. &#187; framework</title>
	<atom:link href="http://www.davidrasch.com/tag/framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidrasch.com</link>
	<description></description>
	<lastBuildDate>Fri, 21 May 2010 02:58:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ditched the Zend Framework</title>
		<link>http://www.davidrasch.com/2007/03/19/ditched-the-zend-framework/</link>
		<comments>http://www.davidrasch.com/2007/03/19/ditched-the-zend-framework/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 01:41:00 +0000</pubDate>
		<dc:creator>drasch</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[sadface]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.davidrasch.com/2007/03/19/ditched-the-zend-framework/</guid>
		<description><![CDATA[<p>I&#8217;ve ditched the Zend Framework on a project.  In it&#8217;s place, Symfony has allowed me to recreate all the work with the Zend Framework over several months in a matter of 4 hours.  </p>
<p>The Zend Framework proved to be:</p>

too piecemeal
incomplete &#8211; arguably this is represented by the version number; but this applied to both <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidrasch.com/2007/03/19/ditched-the-zend-framework/">ditched the Zend Framework</a></span>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ditched the Zend Framework on a project.  In it&#8217;s place, Symfony has allowed me to recreate all the work with the Zend Framework over several months in a matter of 4 hours.  </p>
<p>The Zend Framework proved to be:</p>
<ul>
<li>too piecemeal</li>
<li>incomplete &#8211; arguably this is represented by the version number; but this applied to both individual components being incomplete and the lack of a complete offering for a whole application</li>
<li>in flux &#8211; changing each time we updated such that it was difficult to get the newer components without breaking lots of our code</li>
<li>too rigid &#8211; we found it far too rigid and requiring much code diving, without much direction, to redirect some of the logic especially in the Controller framework </li>
</ul>
<p>All in all, Symfony has proved very easy to use, and has many facets and components I haven&#8217;t yet even been able to take advantage of.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidrasch.com/2007/03/19/ditched-the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zend Framework and PDO_MYSQL</title>
		<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/</link>
		<comments>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 03:35:58 +0000</pubDate>
		<dc:creator>drasch</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/</guid>
		<description><![CDATA[<p>I&#8217;ve been working with the Zend Framework a bit and in working with MySQL through PDO_MYSQL.  I&#8217;ve run into a few problems trying to use parameters of queries.</p>
<p>I&#8217;ve narrowed the issue down to PDO itself and not the Zend Framework.</p>
<p>
$dbh = new PDO("mysql:host=localhost;dbname=db","user","pw");
$query = "insert into silo_test_data (record_id, fieldname, value)
      <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/">Zend Framework and PDO_MYSQL</a></span>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with the Zend Framework a bit and in working with MySQL through PDO_MYSQL.  I&#8217;ve run into a few problems trying to use parameters of queries.</p>
<p>I&#8217;ve narrowed the issue down to PDO itself and not the Zend Framework.</p>
<p><code><br />
$dbh = new PDO("mysql:host=localhost;dbname=db","user","pw");<br />
$query = "insert into silo_test_data (record_id, fieldname, value)<br />
               values (3,'stufftest', :value )";<br />
$handle = $dbh->prepare($query);<br />
$handle->execute(array(":value" => 'crap'));<br />
$dbh = null;<br />
</code></p>
<p>The value gets inserted into the database as an empty string, or sometimes some low-value bytes.  I&#8217;ve managed to work around this temporarily thanks to some help from <a href="http://netevil.org/node.php?nid=795&#038;SC=1">this post</a>.  By setting PDO to emulate prepared statements, everything seems to work okay.</p>
<p><code><br />
$dbh->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);<br />
</code></p>
<p>The problem is, the Zend framework encapsulates the actual db connection and connects lazily.  So, for now I&#8217;m running a query and then set the parameter on the encapsulated connection object.</p>
<p><code><br />
$db_connect = array( 'host' => $config->db->hostname,<br />
    'username' => $config->db->username,<br />
    'password' => $config->db->password,<br />
    'dbname' => $config->db->database );<br />
$db = Zend_Db::factory('PDO_MYSQL', $db_connect);<br />
$db->query('select 1');//HACK HACK HACK HACK to initiate connection.  Can't I make this a plugin?  or extend the class?<br />
$db->getConnection()->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);<br />
Zend::register('db',$db);<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting Closer to the Zend Framework</title>
		<link>http://www.davidrasch.com/2006/05/06/getting-closer-to-the-zend-framework/</link>
		<comments>http://www.davidrasch.com/2006/05/06/getting-closer-to-the-zend-framework/#comments</comments>
		<pubDate>Sat, 06 May 2006 05:29:13 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[front controller]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.davidrasch.com/2006/05/06/getting-closer-to-the-zend-framework/</guid>
		<description><![CDATA[<p>I&#8217;ve subscribed to the mailing list for the new Zend Framework.  It&#8217;s been quite enlightening to be thrown into a community of the highest-caliber PHP developers (aside from my team of course).</p>
<p>I look forward to contributing more and more to the discussion and ultimately contribute patches and code going forward.</p>
<p>For example, in the preview release, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidrasch.com/2006/05/06/getting-closer-to-the-zend-framework/">Getting Closer to the Zend Framework</a></span>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve subscribed to the mailing list for the new Zend Framework.  It&#8217;s been quite enlightening to be thrown into a community of the highest-caliber PHP developers (aside from my team of course).</p>
<p>I look forward to contributing more and more to the discussion and ultimately contribute patches and code going forward.</p>
<p>For example, in the preview release, I&#8217;ve been working with the Zend_Controller and found a number of things that it lacks.  This in and of itself is no problem.  The framework is supposed to include some of the best solutions for the most common problems.  The aspect I&#8217;d like to improve is to allow the framework to be a bit more extensible. For example, there&#8217;s no easy way to change the parsing of the actual URL.  Even by overloading the functions I still have to pass the URL in via a global variable.</p>
<p>It&#8217;s very lucky that we just finished rewriting our front-controller.  We learned lots of lessons in the process, but ours solves a specific problem and wouldn&#8217;t be for everyone.</p>
<p>[tags]zend, php, framework, front controller, design[/tags]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidrasch.com/2006/05/06/getting-closer-to-the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework 0.1.1 Released</title>
		<link>http://www.davidrasch.com/2006/03/05/zend-framework-011-released/</link>
		<comments>http://www.davidrasch.com/2006/03/05/zend-framework-011-released/#comments</comments>
		<pubDate>Mon, 06 Mar 2006 00:59:17 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.davidrasch.com/archives/14</guid>
		<description><![CDATA[<p>I&#8217;ve been looking at the just released Zend Framework for PHP this evening.  I&#8217;d been following its development since last year and was anxiously awaiting its arrival.  I think this framework provides some good tools that PHP lacks; people who&#8217;ve built several web applications find themselves reinventing pieces of the wheel each time.  <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidrasch.com/2006/03/05/zend-framework-011-released/">Zend Framework 0.1.1 Released</a></span>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking at the just released <a href="http://framework.zend.com">Zend Framework</a> for <a href="http://www.php.net">PHP</a> this evening.  I&#8217;d been following its development since last year and was anxiously awaiting its arrival.  I think this framework provides some good tools that PHP lacks; people who&#8217;ve built several web applications find themselves reinventing pieces of the wheel each time.  Specifically, I&#8217;m always writing: Cheap Database Abstraction, Model/View separation, and Email sending.  It&#8217;s also great to see things that previously required more domain knowledge such as RSS generation, Web service usage, and Search building integrated into the framework at the fingertips of the user.</p>
<p>I&#8217;m a bit disappointed that there&#8217;s less support for things like implementing REST services and the relatively weak templating.  I suppose that <a href="http://smarty.php.net">Smarty</a> has already solved this problem, but I look forward to some better integration in the future.  I&#8217;m sure I&#8217;ll end up writing this, but maybe someone will beat me to releasing it.</p>
<p>I doubt we&#8217;ll use much of this at work, but I know it&#8217;s a step in the right direction for keeping PHP competitive with some of the Ruby nonsense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidrasch.com/2006/03/05/zend-framework-011-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
