<?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>Defvayne23.com &#187; Kaizen CMS</title>
	<atom:link href="http://www.defvayne23.com/tag/kaizen-cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.defvayne23.com</link>
	<description>A blog by John Hoover</description>
	<lastBuildDate>Sat, 12 Jun 2010 14:53:51 +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>Debug Template Variables</title>
		<link>http://www.defvayne23.com/2010/03/30/debug-template-variables/</link>
		<comments>http://www.defvayne23.com/2010/03/30/debug-template-variables/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 19:00:16 +0000</pubDate>
		<dc:creator>John Hoover</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kaizen CMS]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.defvayne23.com/?p=55</guid>
		<description><![CDATA[If you ever want to see the variables being passed to Smarty just add `?SMARTY_DEBUG` to the end of your URL. This will create a popup with all the variables and their values, any templates that where included with load times, and any variables set in the config if you use one. The arrays are [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever want to see the variables being passed to Smarty just add `?SMARTY_DEBUG` to the end of your URL. This will create a popup with all the variables and their values, any templates that where included with load times, and any variables set in the config if you use one. The arrays are not pretty, but usable.<br />
<img src="http://www.defvayne23.com/wp-content/uploads/2010/03/Smarty-Debug-Console-2.jpg" alt="Smarty Debug Console" title="Smarty Debug Console" width="657" height="504" class="aligncenter size-full wp-image-57" /><br />
Find more info about the <a href="http://www.smarty.net/manual/en/variable.debugging.php">debug console</a> and <a href="http://www.smarty.net/manual/en/variable.debugging.ctrl.php">debug control</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.defvayne23.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.defvayne23.com/2010/03/30/debug-template-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thursday Code Tip: Understand Classes</title>
		<link>http://www.defvayne23.com/2010/02/11/thursday-code-tip-understand-classes/</link>
		<comments>http://www.defvayne23.com/2010/02/11/thursday-code-tip-understand-classes/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 17:48:56 +0000</pubDate>
		<dc:creator>John Hoover</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kaizen CMS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Thursday Code Tip]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.defvayne23.com/?p=40</guid>
		<description><![CDATA[asdfa]]></description>
			<content:encoded><![CDATA[<p>Working with classes in PHP is not only great for keeping your framework clean, but handling an item with ease. The <a href="http://github.com/defvayne23/Kaizen-CMS/blob/master/helpers/makeImage.helper.php">makeImage</a> helper for <a title="GitHub" href="http://github.com/defvayne23/Kaizen-CMS/">Kaizen CMS</a> makes use of this. It&#8217;s easy to make changes to the image after you create the class object as below. Below code re-sizes an image, then crops to fit within an image restraint.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Pass the file path and option to cache the image to the class</span>
<span style="color: #000088;">$oImage</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> makeImage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sFile</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Tell the object to resize the image, no need to pass the image</span>
<span style="color: #000088;">$oImage</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resize</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">200</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Now crop the image after it was resized</span>
<span style="color: #000088;">$oImage</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">crop</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">100</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Now send the image data to the user</span>
<span style="color: #000088;">$oImage</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">draw</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Class handled all the dirty work of keeping up with the image, and knowing all the info about the image. Above code is easier to maintain then doing all the code straight in the file. Class used above is available <a title="GitHub" href="http://github.com/defvayne23/Kaizen-CMS/blob/master/helpers/makeImage.helper.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.defvayne23.com/2010/02/11/thursday-code-tip-understand-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS Project Now Public</title>
		<link>http://www.defvayne23.com/2010/01/02/cms-now-public/</link>
		<comments>http://www.defvayne23.com/2010/01/02/cms-now-public/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 04:59:05 +0000</pubDate>
		<dc:creator>John Hoover</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kaizen CMS]]></category>

		<guid isPermaLink="false">http://www.defvayne23.com/?p=31</guid>
		<description><![CDATA[A CMS that James Fleeting and I have been working on for over a year has gone open source. The decision was made over new year&#8217;s eve dinner at Wild Wings. The reason for opening the code is to not only give other developers another MVC to code with, but to also help the CMS [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://github.com/defvayne23/Kaizen-CMS">CMS</a> that <a href="http://paperkilledrock.com/">James Fleeting</a> and I have been working on for over a year has gone open source. The decision was made over new year&#8217;s eve dinner at Wild Wings. The reason for opening the code is to not only give other developers another MVC to code with, but to also help the CMS grow.<span id="more-31"></span></p>
<p>The current state of the CMS includes the following functionality:</p>
<ul>
<li>News</li>
<li>Events (Similar to news, but labled as Events. Allows events to stand out from other calendar events. Formally named Special Events)</li>
<li>Calendar</li>
<li>FAQ</li>
<li>Links</li>
<li>Documents</li>
<li>Testimonials</li>
<li>Photo Gallery</li>
<li>Promos</li>
</ul>
<p>List of functionality either on the white board or in the works:</p>
<ul>
<li>Blog (Post, Tags, Categories, Comments)</li>
<li>Admin user permissions</li>
<li>Twitter API helper</li>
<li>Facebook API helper</li>
<li>Site Settings (Meta data, analytic code, &#8230;)</li>
<li>Other small changes and code clean up</li>
</ul>
<p>Will be moving over the to-do list to GitHub within the next week, as well create an install wiki page.</p>
<p>Leave a comment below if you would like to help contribute to the project.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.defvayne23.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.defvayne23.com/2010/01/02/cms-now-public/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
