<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel rdf:about="http://blogmarks.net/api/marks/link/672338">
<title>Public marks on http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</title>
<description>Public marks on http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</description>
<link>http://blogmarks.net/marks/link/672338</link>
<items><rdf:Seq><rdf:li resource="http://blogmarks.net/api/user/kiad/mark/1058578840"/>
<rdf:li resource="http://blogmarks.net/api/user/w0arz/mark/1076056"/>
<rdf:li resource="http://blogmarks.net/api/user/rmaltete/mark/1049164"/>
<rdf:li resource="http://blogmarks.net/api/user/night.kame/mark/911110"/>
<rdf:li resource="http://blogmarks.net/api/user/znarf/mark/894467"/>
<rdf:li resource="http://blogmarks.net/api/user/zedix/mark/589665"/>
<rdf:li resource="http://blogmarks.net/api/user/sk8er82/mark/452969"/>
<rdf:li resource="http://blogmarks.net/api/user/sk8ter82/mark/443685"/>
<rdf:li resource="http://blogmarks.net/api/user/JMF/mark/519431"/>
<rdf:li resource="http://blogmarks.net/api/user/simonrozet/mark/979562"/>
<rdf:li resource="http://blogmarks.net/api/user/sunny/mark/977800"/>
</rdf:Seq></items>
</channel>
<item rdf:about="http://blogmarks.net/api/user/kiad/mark/1058578840">
<title>The no-framework PHP MVC framework</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2009-11-11T10:58:00Z</dc:date>
<dc:author>kiad</dc:author>
<dc:subject>php, framework, mvc</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework</a></h4>
 
by <a href="http://blogmarks.net/user/kiad">kiad</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/framework">framework</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/mvc">mvc</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1058578840">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/w0arz/mark/1076056">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description>sunderstanding this article. It isn't about OOP vs. Procedural programming styles. I happen to lean more towards procedural, but could easily have gone more OOP. I simplified the code a bit for brevity, but have added a light OO layer back in the model now. Not that it makes a difference.
What I was hoping to get across here is a simple example of how you can use PHP as-is, without additional complex external layers, to apply an MVC approach with clean and simple views and still have all the goodness of fancy Web 2.0 features. If you think I am out to personally offend you and your favourite framework, then you have the wrong idea. I just happen find most of them too complex for my needs and this is a proposed alternative. If you have found a framework t</description>
<dc:date>2006-10-09T11:45:52Z</dc:date>
<dc:author>w0arz</dc:author>
<dc:subject>php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/w0arz">w0arz</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="description">sunderstanding this article. It isn't about OOP vs. Procedural programming styles. I happen to lean more towards procedural, but could easily have gone more OOP. I simplified the code a bit for brevity, but have added a light OO layer back in the model now. Not that it makes a difference.
What I was hoping to get across here is a simple example of how you can use PHP as-is, without additional complex external layers, to apply an MVC approach with clean and simple views and still have all the goodness of fancy Web 2.0 features. If you think I am out to personally offend you and your favourite framework, then you have the wrong idea. I just happen find most of them too complex for my needs and this is a proposed alternative. If you have found a framework t</p>
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1076056">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/rmaltete/mark/1049164">
<title>The no-framework PHP MVC framework  -  Rasmus' Toys</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description>So you want to build the next fancy Web 2.0 site?  You'll need some gear.  Most likely in the form of a big complex MVC framework with plenty of layers that abstracts away your database, your HTML, your Javascript and in the end your application itself.  If it is a really good framework it will provide a dozen things you'll never need.

I am obviously not a fan of such frameworks.  I like stuff I can understand in an instant.  Both because it lets me be productive right away and because 6 months from now when I come back to fix something, again I will only need an instant to figure out what is going on.  So, here is my current approach to building rich web applications.  The main pieces are:

PHP 5
Yahoo! User Interface Library
JSON</description>
<dc:date>2006-10-03T23:22:55Z</dc:date>
<dc:author>rmaltete</dc:author>
<dc:subject>php, ajax, javascript</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework  -  Rasmus' Toys</a></h4>
 
by <a href="http://blogmarks.net/user/rmaltete">rmaltete</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="description">So you want to build the next fancy Web 2.0 site?  You'll need some gear.  Most likely in the form of a big complex MVC framework with plenty of layers that abstracts away your database, your HTML, your Javascript and in the end your application itself.  If it is a really good framework it will provide a dozen things you'll never need.

I am obviously not a fan of such frameworks.  I like stuff I can understand in an instant.  Both because it lets me be productive right away and because 6 months from now when I come back to fix something, again I will only need an instant to figure out what is going on.  So, here is my current approach to building rich web applications.  The main pieces are:

PHP 5
Yahoo! User Interface Library
JSON</p>
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/ajax">ajax</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/javascript">javascript</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1049164">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/night.kame/mark/911110">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description>Si même Rasmus Lerdorf confond MVC et Separation of Concerns... en fait si, ça explique bien des choses sur l'organisation bordélique de certaines parties de PHP.</description>
<dc:date>2006-09-16T15:52:34Z</dc:date>
<dc:author>night.kame</dc:author>
<dc:subject>incompétence, rasmus lerdorf, usage impropre mvc, php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/night.kame">night.kame</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="description">Si même Rasmus Lerdorf confond MVC et Separation of Concerns... en fait si, ça explique bien des choses sur l'organisation bordélique de certaines parties de PHP.</p>
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/incomp%25C3%25A9tence">incompétence</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/rasmus%2Blerdorf">rasmus lerdorf</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/usage%2Bimpropre%2Bmvc">usage impropre mvc</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=911110">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/znarf/mark/894467">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-09-13T07:02:54Z</dc:date>
<dc:author>François Hodierne</dc:author>
<dc:subject>php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/znarf">François Hodierne</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=894467">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/zedix/mark/589665">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-06-29T13:53:55Z</dc:date>
<dc:author>zedix</dc:author>
<dc:subject>php5, mvc</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/zedix">zedix</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php5">php5</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/mvc">mvc</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=589665">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/sk8er82/mark/452969">
<title>The no-framework PHP MVC framework</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-03-26T02:00:51Z</dc:date>
<dc:author>sk8er82</dc:author>
<dc:subject>php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework</a></h4>
 
by <a href="http://blogmarks.net/user/sk8er82">sk8er82</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=452969">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/sk8ter82/mark/443685">
<title>The no-framework PHP MVC framework</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-03-26T02:00:51Z</dc:date>
<dc:author>sk8ter82</dc:author>
<dc:subject>php, dev, framework</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework</a></h4>
 
by <a href="http://blogmarks.net/user/sk8ter82">sk8ter82</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/dev">dev</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/framework">framework</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=443685">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/JMF/mark/519431">
<title>The no-framework PHP MVC framework</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-03-01T06:48:46Z</dc:date>
<dc:author>JMF</dc:author>
<dc:subject></dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework</a></h4>
 
by <a href="http://blogmarks.net/user/JMF">JMF</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=519431">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/simonrozet/mark/979562">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-03-01T03:39:06Z</dc:date>
<dc:author>simonrozet</dc:author>
<dc:subject>mvc, php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/simonrozet">simonrozet</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/mvc">mvc</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=979562">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/sunny/mark/977800">
<title>The no-framework PHP MVC framework - Rasmus' Toys Page</title>
<link>http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html</link>
<description></description>
<dc:date>2006-02-28T21:08:34Z</dc:date>
<dc:author>sunny</dc:author>
<dc:subject>php, programming, reference, mvc, framework</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html"><img border="0" src="http://blogmarks.net/screenshots/2009/11/11/520100d5a870e072f6cfa3f788123e5f.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html">The no-framework PHP MVC framework - Rasmus' Toys Page</a></h4>
 
by <a href="http://blogmarks.net/user/sunny">sunny</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/672338">10 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/programming">programming</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/reference">reference</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/mvc">mvc</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/framework">framework</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=977800">Copy</a> | 
<a href="http://blogmarks.net/link/672338">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> </rdf:RDF>