<?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: How to learn a new PHP framework</title>
	<atom:link href="http://onekay.com/blog/archives/35/feed" rel="self" type="application/rss+xml" />
	<link>http://onekay.com/blog/archives/35</link>
	<description>encouraging maintainable and sensible PHP, and occassionally stuff about me.</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:52:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rashid</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-26704</link>
		<dc:creator>rashid</dc:creator>
		<pubDate>Sat, 13 Feb 2010 10:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-26704</guid>
		<description>hello mother fuckers and i want to fuck ur sister would u provide me the rate list according to ur ur younger sister</description>
		<content:encoded><![CDATA[<p>hello mother fuckers and i want to fuck ur sister would u provide me the rate list according to ur ur younger sister</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frankos</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-25860</link>
		<dc:creator>Frankos</dc:creator>
		<pubDate>Sun, 19 Jul 2009 19:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-25860</guid>
		<description>Try writing your own framework.. You will definitely become a better PHP programmer. It makes you realize the advantages of:

Breaking your website into modules.
Why object orientated programming is so powerful.
Why HTML just gets in the way.
Why writing forms, form validation and using POST&#039;s are just a repetitive boring process.
Why having your own framework gives you the alter mate control.

I don&#039;t have to write any HTML at all now, the framework objects do it for me.</description>
		<content:encoded><![CDATA[<p>Try writing your own framework.. You will definitely become a better PHP programmer. It makes you realize the advantages of:</p>
<p>Breaking your website into modules.<br />
Why object orientated programming is so powerful.<br />
Why HTML just gets in the way.<br />
Why writing forms, form validation and using POST&#8217;s are just a repetitive boring process.<br />
Why having your own framework gives you the alter mate control.</p>
<p>I don&#8217;t have to write any HTML at all now, the framework objects do it for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: terry chay</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-19883</link>
		<dc:creator>terry chay</dc:creator>
		<pubDate>Thu, 19 Mar 2009 20:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-19883</guid>
		<description>I like this idea (doing the same app in different frameworks). In fact I think Iâ€™ll try it. I only did hello world and then jumped to twitter-like appâ€¦ which was a problem.</description>
		<content:encoded><![CDATA[<p>I like this idea (doing the same app in different frameworks). In fact I think Iâ€™ll try it. I only did hello world and then jumped to twitter-like appâ€¦ which was a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17569</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Wed, 17 Dec 2008 19:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17569</guid>
		<description>First off, I agree with Bob that you need to know how to do what the framework does or you risk serious confusion. An example: with the Zend Framework you can populate form fields from a database very easily (literally just $form-&gt;populate($data) assuming your table keys match the form field names). However... put a select element into that table and it won&#039;t get populated. You need to know that the framework expects an array to populate a select which means you need to be able to understand and take care of that on your own. In my instance that meant making a database call from within my form&#039;s (which extends Zend_Form_Abstract) init method, flatten the array (I didn&#039;t want a multi-dimensional array), assign the value to the key (so that I had array(1=&gt;1,2=&gt;2) rather than array(0=&gt;1, 1=&gt;2) because the key would be interpreted as the select&#039;s value while the value would be displayed and I needed them to be equal) and then pass that array to the select element. The framework doesn&#039;t help with this at all (and there is nothing in the manual about this... that is ZF&#039;s biggest shrotcoming in my opinion) so you need to be able to figure it out yourself.

@Silvio - I personally prefer the Zend Framework. It is flexible and let&#039;s me work in a way that is more familiar to me... makes &quot;learning the framework&quot; less of a chore.

@Alan - I agree. I don&#039;t think I&#039;ve ever seen a tutorial or set of examples that went in depth very much at all on something like this. They usually start of with &quot;We&#039;ll make a super simple...&quot; (i.e. basically useless), have a &quot;one, two skip a few&quot; set of instructions or use some extremely programmer specific techniques that make what should be &quot;standard&quot; into a pretzle of &quot;why&#039;d he do it that way? Wha...?&quot;</description>
		<content:encoded><![CDATA[<p>First off, I agree with Bob that you need to know how to do what the framework does or you risk serious confusion. An example: with the Zend Framework you can populate form fields from a database very easily (literally just $form-&gt;populate($data) assuming your table keys match the form field names). However&#8230; put a select element into that table and it won&#8217;t get populated. You need to know that the framework expects an array to populate a select which means you need to be able to understand and take care of that on your own. In my instance that meant making a database call from within my form&#8217;s (which extends Zend_Form_Abstract) init method, flatten the array (I didn&#8217;t want a multi-dimensional array), assign the value to the key (so that I had array(1=&gt;1,2=&gt;2) rather than array(0=&gt;1, 1=&gt;2) because the key would be interpreted as the select&#8217;s value while the value would be displayed and I needed them to be equal) and then pass that array to the select element. The framework doesn&#8217;t help with this at all (and there is nothing in the manual about this&#8230; that is ZF&#8217;s biggest shrotcoming in my opinion) so you need to be able to figure it out yourself.</p>
<p>@Silvio &#8211; I personally prefer the Zend Framework. It is flexible and let&#8217;s me work in a way that is more familiar to me&#8230; makes &#8220;learning the framework&#8221; less of a chore.</p>
<p>@Alan &#8211; I agree. I don&#8217;t think I&#8217;ve ever seen a tutorial or set of examples that went in depth very much at all on something like this. They usually start of with &#8220;We&#8217;ll make a super simple&#8230;&#8221; (i.e. basically useless), have a &#8220;one, two skip a few&#8221; set of instructions or use some extremely programmer specific techniques that make what should be &#8220;standard&#8221; into a pretzle of &#8220;why&#8217;d he do it that way? Wha&#8230;?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Pinstein</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17561</link>
		<dc:creator>Alan Pinstein</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17561</guid>
		<description>Stuart definitely has the right idea. It&#039;s that exact set of questions which led me to write my own framework 4 years ago instead of using an existing one, because there was no framework that I could easily *tell* did all of these things well 4 years ago due to lack of documentation and examples.

In fact, the &quot;home&quot; page about my phocoa framework lists exactly that set of questions a solution areas. (Except translation; haven&#039;t tackled that one yet).

It would be nice if there was a &quot;standard&quot; evaluation example and all of the PHP frameworks had a tutorial on that exact project. This would make it much easier for people to compare the frameworks to see which framework&#039;s style and architecture best suited them.</description>
		<content:encoded><![CDATA[<p>Stuart definitely has the right idea. It&#8217;s that exact set of questions which led me to write my own framework 4 years ago instead of using an existing one, because there was no framework that I could easily *tell* did all of these things well 4 years ago due to lack of documentation and examples.</p>
<p>In fact, the &#8220;home&#8221; page about my phocoa framework lists exactly that set of questions a solution areas. (Except translation; haven&#8217;t tackled that one yet).</p>
<p>It would be nice if there was a &#8220;standard&#8221; evaluation example and all of the PHP frameworks had a tutorial on that exact project. This would make it much easier for people to compare the frameworks to see which framework&#8217;s style and architecture best suited them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvio</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17409</link>
		<dc:creator>Silvio</dc:creator>
		<pubDate>Sat, 13 Dec 2008 12:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17409</guid>
		<description>Stuart, what PHP framework you think implements this features? (or near)</description>
		<content:encoded><![CDATA[<p>Stuart, what PHP framework you think implements this features? (or near)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gear</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17384</link>
		<dc:creator>Marc Gear</dc:creator>
		<pubDate>Fri, 12 Dec 2008 21:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17384</guid>
		<description>Stuart,
I wanted to get away from a list of responsibilities that a framework should handle, and create a set of simple no-brainer apps that would allow a user to explore the framework and its intricacies and differences from what else is available. 

Personally I find working from the abstract lists of functionality offered by frameworks in most framework documentation a very slow way of learning.  I believe that the best way is to build real apps, exploring the documentation and features of the code as you go.   As you&#039;ll appreciate, building the apps I suggest will cover most of the areas you mention.</description>
		<content:encoded><![CDATA[<p>Stuart,<br />
I wanted to get away from a list of responsibilities that a framework should handle, and create a set of simple no-brainer apps that would allow a user to explore the framework and its intricacies and differences from what else is available. </p>
<p>Personally I find working from the abstract lists of functionality offered by frameworks in most framework documentation a very slow way of learning.  I believe that the best way is to build real apps, exploring the documentation and features of the code as you go.   As you&#8217;ll appreciate, building the apps I suggest will cover most of the areas you mention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17375</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Fri, 12 Dec 2008 15:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17375</guid>
		<description>Frameworks are only good if you know how to do the same work without the framework. Just thought I&#039;d throw that in there.</description>
		<content:encoded><![CDATA[<p>Frameworks are only good if you know how to do the same work without the framework. Just thought I&#8217;d throw that in there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17356</link>
		<dc:creator>Phillip</dc:creator>
		<pubDate>Fri, 12 Dec 2008 01:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17356</guid>
		<description>Stuart is spot on. I recommend removing your weak points 1-4 and putting in Stuart&#039;s points 1-7. Rushi, AJAX is a client side technology. PHP frameworks should support all the AJAX libraries as templates can output XML and JSON as easily as HTML. Choosing an AJAX library is a whole other independent subject. Translation is complex and no framework in any language has it perfect. I would actually push Stuart&#039;s point 4 up to the top of his list as it affects the ability to generate quality content. If it&#039;s too restrictive and you have to start significantly modifying it then you may as well have written your own framework in the first place.

Phillip.</description>
		<content:encoded><![CDATA[<p>Stuart is spot on. I recommend removing your weak points 1-4 and putting in Stuart&#8217;s points 1-7. Rushi, AJAX is a client side technology. PHP frameworks should support all the AJAX libraries as templates can output XML and JSON as easily as HTML. Choosing an AJAX library is a whole other independent subject. Translation is complex and no framework in any language has it perfect. I would actually push Stuart&#8217;s point 4 up to the top of his list as it affects the ability to generate quality content. If it&#8217;s too restrictive and you have to start significantly modifying it then you may as well have written your own framework in the first place.</p>
<p>Phillip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivanno.com::aggregator &#187; Archive &#187; Comment apprendre un nouveau framework PHP</title>
		<link>http://onekay.com/blog/archives/35/comment-page-1#comment-17354</link>
		<dc:creator>vivanno.com::aggregator &#187; Archive &#187; Comment apprendre un nouveau framework PHP</dc:creator>
		<pubDate>Fri, 12 Dec 2008 00:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.onekay.com/blog/?p=35#comment-17354</guid>
		<description>[...] &#160;http://www.onekay.com/blog/archives/35 () [...]</description>
		<content:encoded><![CDATA[<p>[...] &nbsp;http://www.onekay.com/blog/archives/35 () [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
