<?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>Howard Young &#187; Search Results  &#187;  cakephp</title>
	<atom:link href="http://howardyoung.info/search/cakephp/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://howardyoung.info</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jul 2011 04:20:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>MVC Architecture</title>
		<link>http://howardyoung.info/uncategorized/mvc-architecture</link>
		<comments>http://howardyoung.info/uncategorized/mvc-architecture#comments</comments>
		<pubDate>Fri, 28 Dec 2007 05:24:30 +0000</pubDate>
		<dc:creator>Howard Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.howardyoung.info/software-development/mvc-architecture</guid>
		<description><![CDATA[&#160; Basic Stuff: The Model-View-Controller Architecture has three components used to partition and separate the processing from the display or GUI: The Model, View and Controller. Basically, the inputs are mapped to the Controller and the outputs are mapped to the View. The Model maintains the persistent state of the Controller. Some MVC Architecture Diagrams [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<div id="attachment_38" class="wp-caption alignleft" style="width: 484px"><a href="http://howardyoung.info/files/2007/12/model-view-controller-cakephp.jpg"><img class="size-full wp-image-38" title="model-view-controller-cakephp.jpg" src="http://howardyoung.info/files/2007/12/model-view-controller-cakephp.jpg" alt="" width="474" height="431" /></a><p class="wp-caption-text">MVC Architecture Diagram</p></div>
<p>Basic Stuff: The Model-View-Controller Architecture has three components used to partition and separate the processing from the display or GUI: The Model, View and Controller.</p>
<p>Basically, the inputs are mapped to the Controller and the outputs are mapped to the View. The Model maintains the persistent state of the Controller. Some MVC Architecture Diagrams show an interface between the View and Model; however, I believe that is incorrect since you want to isolate the view from the content.</p>
<p>For a Web Application, the Controller and View sit on top of TCP/HTTP or HTTPS with the Controller accepting <a title="HTTP on Wikipedia" href="http://en.wikipedia.org/wiki/HTTP">HTTP Request Messages</a> and the View providing the Request Codes and appropriate Markup Language (HTML, XML, etc.) response.</p>
<p>The Model provides the persistent state of the Application and typically interfaces with a Data Base.</p>
]]></content:encoded>
			<wfw:commentRss>http://howardyoung.info/uncategorized/mvc-architecture/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not Invented Here &#8212; Time to Reframe the Development Process (Part III)</title>
		<link>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-iii</link>
		<comments>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-iii#comments</comments>
		<pubDate>Fri, 14 Dec 2007 16:25:34 +0000</pubDate>
		<dc:creator>Howard Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.howardyoung.info/software-development/not-invented-here-time-to-reframe-the-development-process-part-iii</guid>
		<description><![CDATA[Leveraging existing technology is always a difficult task. It&#8217;s more of a personal challenge to get over the mindset that you can do it better. Perhaps you can, but do you have the time and budget to accomplish the daunting task of building a component that someone already has built for you? There&#8217;s a lot [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config-default-thtml.jpg" title="Configuring Cake CSS - default.thtml"><img src="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config-default-thtml-150x150.jpg" class="left mce_tsrc=" alt="Configuring Cake CSS - default.thtml" /></a> Leveraging existing technology is always a difficult task.  It&#8217;s more of a personal challenge to get over the mindset that you can do it better.  Perhaps you can, but do you have the time and budget to accomplish the daunting task of building a component that someone already has built for you?</p>
<p>There&#8217;s a lot of buts: it&#8217;s too slow, it&#8217;s not modular, it&#8217;s &#8220;<u>fill in the blank</u>&#8221; &#8230;  Just get over it.  Look for ways to extend the component for your application.  Write a wrapper, build an interface, just get it to work.</p>
<h3>Configuring CakePHP</h3>
<p>I spent some time trying to figure out how to change the default templates.  Resulting to grep for a few html tags, I found the &#8220;default.thtml&#8221; file in the /app/views/layout directory.  Apparently I overlooked the obvious,  because on the home page of your configuration, it tells you exactly that!  Duh.</p>
<p>I copied over CSS, images and updated the default template and started getting that urge of &#8220;I can do it better.&#8221; I managed to overcome it quick by putting a bunch of &#8220;TODOs&#8221; in the template.  I believe that there are a few ways to configure the helper functions or better yet, extend them to our application.</p>
<p>I still don&#8217;t understand the CakePHP architecture and the layers of the cake (pun intended).  An <a href="http://www.howardyoung.info/software-development/mvc-architecture">architecture diagram</a> would be very helpful at this point in time.  This is probably the next thing in the list to do: see if one exists or start drawing one.</p>
]]></content:encoded>
			<wfw:commentRss>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-iii/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Not Invented Here &#8212; Time to Reframe the Development Process (Part II)</title>
		<link>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-ii</link>
		<comments>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-ii#comments</comments>
		<pubDate>Thu, 13 Dec 2007 15:36:23 +0000</pubDate>
		<dc:creator>Howard Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.howardyoung.info/software-development/not-invented-here-time-to-reframe-the-development-process-part-ii</guid>
		<description><![CDATA[Not Invented Here is a continuing series of articles to help you overcome the hurdles of reusing and leverage existing technology for rapid development. The decision to develop any product in-house takes considerable amount of effort and development time. Reusing components and integrating them with your product reduces the time to delivery and in the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config3.jpg" title="nih-cakephp-config3.jpg"><img src="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config3-150x150.jpg" alt="nih-cakephp-config3.jpg" /></a>Not Invented Here is a continuing series of articles to help you overcome the hurdles of reusing and leverage existing technology for rapid development.  The decision to develop any product in-house takes considerable amount of effort and development time. Reusing components and integrating them with your product reduces the time to delivery and in the long run produces a better produce since you can focus on your core strengths.</p>
<p>Our decision to toss out our in-house PHP Framework FIZZI and start from scratch with CakePHP was not taken lightly.  The time, effort and development costs are nothing to the future costs of maintaining and upgrading FIZZI.  Simply put, let&#8217;s get out of the Framework Business and focus on our core process and system strengths!</p>
<h3>Installation of CakePHP</h3>
<p>No matter how trivial the Cake Developers made the installation process, I simply can&#8217;t brush over this step because I&#8217;m a dumb ass.  I installed CakePHP on a server with an older version of PHP (4.2).  After mucking with the initialization script to set up the include paths correctly, CakePHP was bombed out in a session function that was introduced in PHP 4.3.</p>
<p>I know, I should have read the minimal requirements, but what Software Developer really reads yet implements the requirements?  So I had to install it on a server with PHP 4.3+ or PHP 5+.  That implies either upgrading our in-house test server and possible breaking ongoing development on other projects, use a virtual server on my desktop or just go for broke and install it on a existing domain at a hosted server.</p>
<p><a href="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config1.jpg" title="Cake PHP Configuration Changes"><img src="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config1-150x150.jpg" alt="Cake PHP Configuration Changes" /></a>After the trial and error of installing CakePHP on our test server, installation on the hosted server was a breeze!  Three lines of code in the initialization file and three parameters in the database file need changing.  Load the <a href="http://howardyoung.clkngo.net/files/2007/12/nih-cakephp-config3.jpg">home page</a> with success! Ideally, if you had the capability to install cake in /usr/local/src, you should install it there.  This will make system-wide upgrades easier in the future especially if you are planning to use CakePHP for more than one project.</p>
]]></content:encoded>
			<wfw:commentRss>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process-part-ii/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not Invented Here &#8212; Time to Reframe the Development Process</title>
		<link>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process</link>
		<comments>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process#comments</comments>
		<pubDate>Wed, 12 Dec 2007 16:53:31 +0000</pubDate>
		<dc:creator>Howard Young</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.howardyoung.info/software-development/not-invented-here-time-to-reframe-the-development-process</guid>
		<description><![CDATA[&#8220;Not Invented Here&#8221; (NIH). This is one of the biggest hurdles developers have to overcome when reusing components, modules, functions or snippets in the production software. I&#8217;ve run across it my entire development career &#8212; developers simply do not like to use software that they don&#8217;t write and own &#8212; and of course, I&#8217;m am [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://howardyoung.clkngo.net/files/2007/12/not-invented-here.jpg" class="left" alt="not-invented-here.jpg" />&#8220;Not Invented Here&#8221; (NIH). This is one of the biggest hurdles developers have to overcome when reusing components, modules, functions or snippets in the production software.  I&#8217;ve run across it my entire development career &#8212; developers simply do not like to use software that they don&#8217;t write and own &#8212; and of course, I&#8217;m am guilty as the next developer.</p>
<p>So today I&#8217;m starting out with a positive outlook and tossing out our in-house PHP Framework (FIZZI) that we&#8217;ve been using for <a href="http://www.mustfindit.com" title="MustFindit">MustFindit</a> and replacing it with <a href="http://www.cakephp.org" title="CakePHP PHP Framework">CakePHP</a>.   It&#8217;s taking too long to develop MustFindit and extending and adapting FIZZI for MustFindit&#8217;s requirements will basically kill the project.</p>
<p>Why CakePHP?  I&#8217;ve considered <a href="http://www.rubyonrails.com/" title="Ruby on Rails">Rails</a>, <a href="http://www.symfony-project.org/" title="Symfony PHP Framework">Symfony</a> and quite a few more; however, CakePHP seems like the best fit with our current technology, design and knowledge base for a MVC architecture.  This is a big plus since we want to expedite development process and keep the learning curve down as much as possible.</p>
<p>Over the next few days, I hope to present our findings on CakePHP and if it is a viable Development  Framework for PHP and our projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://howardyoung.info/uncategorized/not-invented-here-time-to-reframe-the-development-process/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

