<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Baohx &#187; doctrine</title>
	<atom:link href="http://www.baohx.com/tag/doctrine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.baohx.com</link>
	<description>All work and no play make baohx something something...</description>
	<lastBuildDate>Wed, 29 Sep 2010 17:46:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Crystal Core</title>
		<link>http://www.baohx.com/2008/04/06/crystal-core-2/</link>
		<comments>http://www.baohx.com/2008/04/06/crystal-core-2/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 19:13:42 +0000</pubDate>
		<dc:creator>baohx</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Gordon]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[crystal core]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.baohx.com/?p=14</guid>
		<description><![CDATA[Lots of us in PHP land want a nice framework. Many frameworks out there are either too rigid or too bloated. Many of them don&#8217;t have a whiff of documentation, let alone the thought of them being supported. That being said, there are some wonderful classes out there. The building blocks of the Zend Framework <a href='http://www.baohx.com/2008/04/06/crystal-core-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Lots of us in PHP land want a nice framework.  Many frameworks out there are either too rigid or too bloated.  Many of them don&#8217;t have a whiff of documentation, let alone the thought of them being supported.</p>
<p>That being said, there are some wonderful classes out there.  The building blocks of the <a title="Zend Framework Home" href="http://framework.zend.com" target="_blank">Zend Framework</a> are well built and pretty well documented, and we know that work will continue to be done on them.  For database work, there are many abstraction classes, but one that stood out to me was <a title="PHP Doctrine" href="http://www.phpdoctrine.org/" target="_blank">Doctrine</a>.</p>
<p>There are a few tutorials here and there about building your own framework from pieces or from scratch.  Who has the time for that?  Well, a friend and I did have time a while back, and we came up with a pretty nice solution.  Feel free to take a peek at the <a title="Zend Framework and Doctrine" href="http://www.baohx.com/extras/zfdoctrine" target="_blank">presentation</a> I threw together for a recent <a href="http://azphp.org">AZphp</a> meeting.  The idea was to create a highly flexible modular framework without having to build the whole thing ourselves or continuously reinvent the wheel.  We also wanted something that other people are already working on and already being used in applications.  We decided to just start with checkouts of <abbr title="Zend Framework">ZF</abbr> and Doctrine</p>
<p>The framework&#8217;s &#8220;bootstrap&#8221; pretty much sets up the basis for a <abbr title="Model View Controller">MVC</abbr> application.  Your custom files take it from there utilizing whatever building blocks from Zend Framework (or anything else) you want to use.</p>
<p>Now, I&#8217;m not going to say it&#8217;s any where near &#8220;stable&#8221;, but versions of it have been used for production web applications.  In the coming weeks, I will be building some usage documentation for the core itself and a few basic application tutorials (the ever-popular &#8220;build-a-blog&#8221; tutorial that most frameworks release will probably be ready next weekend).  Until then, you can check it out via Subversion <a title="Subversion Link" href="http://baohx.com/svn/blistframe/tags/0.1" target="_blank">here</a>.  What you check out is to be a &#8220;library&#8221; directory under your application.  You can see the directory layout in the presentation linked above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.baohx.com/2008/04/06/crystal-core-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

