<?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>Vincent Reniers &#187; Nexus CMS</title>
	<atom:link href="http://blog.vincentr.be/tag/nexus-cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vincentr.be</link>
	<description>From PHP Guru to Designer!</description>
	<lastBuildDate>Fri, 02 Jul 2010 17:59:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nexus CMS</title>
		<link>http://blog.vincentr.be/2009/04/14/nexus-cms/</link>
		<comments>http://blog.vincentr.be/2009/04/14/nexus-cms/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 10:17:31 +0000</pubDate>
		<dc:creator>Vincent</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Nexus CMS]]></category>

		<guid isPermaLink="false">http://vincentr.be/?p=83</guid>
		<description><![CDATA[Hello lads, it´s been a while since my last post but of course I have a good reason to explain my absence ^^. Right now im writing this post in Tenerife ( Canarian Islands ).  And i´ve been working at my new CMS.
So far i´ve got the basic structure finished it has some nice features. I didn´t [...]]]></description>
			<content:encoded><![CDATA[<p>Hello lads, it´s been a while since my last post but of course I have a good reason to explain my absence ^^. Right now im writing this post in Tenerife ( Canarian Islands ).  And i´ve been working at my new CMS.</p>
<p>So far i´ve got the basic structure finished it has some nice features. I didn´t really base myself on some other system but I did try to create a template system. It works like this :</p>
<p>First action i define a <strong>Constant &#8220;In_Site&#8221;</strong>,  all my scripts are written in an IF statement to see if it is defined otherwise it wont run. Its to prevent messy errors when u go to the script directly. What happends next is I load in the <strong>config and functions wich are static</strong> and no operation occurs. Next we establish the <strong>database connection</strong> with the help of my DB class. Im still working on it tough and trying to figure out if there is a way to rollback DB events when an error occurs. I know this is possible with MySQLite so now I have to do some digging in the MySQL documentation because thats the DB im using. If the rollback function exists im going to let occur within <strong>custom error handling</strong>. The try and catch statement. After the DB class comes the settings wich require the DB connection to fetch the settings. And then we get to the templating part.</p>
<p>The template part loads in the default template if it exists and it then processs the variables it finds inside the tpl. Such as {SITETITLE}. Then the module gets processed for example ´News´ and while this happends u can still make changes to the template and at the end the entire part gets printed.</p>
<p>Or well that´s at least what I will be trying to achieve. Right now I have got the a part of the <strong>Template and Database class</strong> finished. Ill be figuring out the module part and how it loads into the template part out later.</p>
<p>But so far it already looks nice, I even made a custom layout for the CMS.<br />
Ill upload some screenies soon ^^.</p>
<p>Greets,<br />
Vincent</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vincentr.be/2009/04/14/nexus-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

