<?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>Web Development 2.0: Web Design, CakePHP, Javascript &#187; General</title>
	<atom:link href="http://www.webdevelopment2.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopment2.com</link>
	<description>Quick and Dirty Web Development for Web 2.0: CakePHP, Prototype, JQuery, and lots more.</description>
	<lastBuildDate>Sat, 23 Apr 2011 15:21:02 +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>Reader Input: Picking A CMS – Part 4</title>
		<link>http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal/</link>
		<comments>http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 14:50:18 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=544</guid>
		<description><![CDATA[In The Series Part 1 Part 2 Part 3 Part 4 So, when we left off in part two, I was leaning towards WordPress as a candidate for a CMS. It&#8217;s popular, has tons of themes, plugins, etc. It&#8217;s almost perfect, but for only certain situations. Enter Drupal Now, I&#8217;ve been hearing a lot about [...]]]></description>
			<content:encoded><![CDATA[<h2>In The Series</h2>
<ul>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Part 1</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/">Part 2</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/">Part 3</a></li>
<li><a href="http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal">Part 4</a></li>
</ul>
<p>So, when we left off in part two, I was leaning towards <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> as a candidate for a CMS. It&#8217;s popular, has tons of themes, plugins, etc. It&#8217;s almost perfect, but for only certain situations.</p>
<h2>Enter Drupal</h2>
<p>Now, I&#8217;ve been hearing a lot about <a href="http://drupal.org">Drupal</a>. For years now. I tried it once and I didn&#8217;t like it. However, since then, I&#8217;ve revisited it. And I&#8217;m happy I did.</p>
<p>I must admit, it had a lot to do with president Obama winning the election. The <a href="http://drupal.org/whitehouse-gov-launches-on-drupal-engages-community">redesign</a> of <a href="http://Whitehouse.gov">Whitehouse.gov</a> was an eye opener. So I thought, if it&#8217;s good enough for the president, maybe I should give this thing a second look.</p>
<h2>Drupal Pros &#8211; Reminds Me Of WordPress</h2>
<ul>
<li><strong>Popularity</strong> &#8211; Again, like WordPress, a popular CMS is going to have an advantage over most newcomers because of support and community contributions.</li>
<li><strong>Modules</strong> &#8211; There are a lot of modules out there that will do most of what your mind can imagine out of the box.</li>
<li><strong>Themes</strong> &#8211; There&#8217;s a pretty extensive library of <a href="http://drupal.org/project/Themes">themes for Drupal</a> out there. What I haven&#8217;t seen though, are third party companies that specialize in these (WordPress has <a href="http://www.woothemes.com/">WooThemes</a>, after all). Personally, I&#8217;m less interested in readymade themes and more interested in ease of theme development.</li>
<li><strong>Theme Caching</strong> &#8211; I&#8217;ve said it before, I like the way this works. The consolidation and compression of all the theme CSS and JS files is awesome. It&#8217;s great that this works out of the box.</li>
<li><strong>Multisites</strong> &#8211; As the name says, this enables you to have tons of sites on the same server running off of the same code base. They can even share modules among themselves.</li>
</ul>
<h2>Highly Customizable</h2>
<p>One of the beauties of Drupal is how customizable it is. One of the best examples of these I&#8217;ve found is with the concept of an <strong>Administrative Theme</strong>. This is one thing I&#8217;ve notice that WordPress lacks. It is usually very difficult to theme and brand the backend. When clients click into it, they feel they are being tossed into a completely different world.</p>
<p>With a Drupal theme, if done right, the client may not even realize they are editing content.</p>
<h3>Extending Functionality</h3>
<p>Of course there are entire books dedicated to module development for Drupal. After an initial look, I&#8217;ve found the development framework to be a lot more robust that WordPress. However, this is another line that you need to be careful not to cross: <strong>The CMS vs. Custom Web Application line</strong>.</p>
<p>Generally, I try to find some built in modules or themes to do the things I need. With WordPress, we have things like <a href="http://flutter.freshout.us/">Flutter</a> and <a href="http://pods.uproot.us/">PODS</a>. In Drupal we have two modules: <a href="http://drupal.org/project/cck">Content Construction Kit (CCK)</a> and <a href="http://drupal.org/project/views">Views</a>.</p>
<p>As the name suggests, CCK enables you to <strong>add custom content types</strong> to your CMS. So, something like <em>events</em> would be quite easy to add. With these you get custom field types (text, image, date, time, etc) and a ton of other goodies.</p>
<p>The Views module allows you to define a custom &#8220;view&#8221; outside of your regular Page/Post set up. A classic use of this would be to display a list of upcoming events in your sidebar.</p>
<h2>Ease of Theming</h2>
<p>Now, I will say, it takes a while to get the hang of Drupal theming. It just takes time to understand how the system works. But once you&#8217;re gotten to that point, the ease of converting a nicely sliced PSD into a Drupal theme for a client is very evident. You just need to know where to start.</p>
<p>The easiest starting point I&#8217;ve found is with two Theming Frameworks: <a href="http://drupal.org/project/basic">Basic</a> and <a href="http://drupal.org/project/zen">Zen</a>. These two tools give you everything you need to get up and running with Drupal theming. They are very well documented and provide an excellent starting point.</p>
<h3>I love Overrides</h3>
<p>The first concept that you need to understand with Drupal theming is that <strong>everything&#8217;s a node or a block</strong>. There are just different types of nodes/blocks, based on content type (pages, post, etc), content name, and even module (CCK, Views, etc).</p>
<p>Much the same way, WordPress templates overrides index.php -&gt; page.php -&gt; page-1.php, etc; Drupal has the same concept, except much better, lol. Say you need your <em>events </em>styled differently from your <em>posts</em>; you would simply located your template file for the post (most likely node.tpl.php) copy it to the appropriate name (We&#8217;ll assume events have been implemented using the Views module, so the name would be something like views-view&#8211;events.tpl.php). You then open up that file and go wild with whatever design you need in there.</p>
<p>Don&#8217;t threat, there is a <a href="http://drupal.org/project/devel">Devel module</a> that helps you determine which names to use for your overrides simply by hovering over the element. If the file you&#8217;re looking for doesn&#8217;t exist in your theme, you simply go grab it out of the Drupal core files. <strong>I really love the modularity of the theming process</strong>. It feels cleaner that a lot of what I&#8217;ve seen in the past.</p>
<h2>What I&#8217;ve Learnt</h2>
<h3>A Good Cook Doesn&#8217;t Use Only One Knife</h3>
<p>Who ever said we need to pick one? I believe I&#8217;ve narrowed down things to WordPress and Drupal. I&#8217;ll use WordPress when I get a project that screams<strong> site or blog.</strong> Because WordPress does these things very well with <strong>Pages and Posts.</strong></p>
<p>When things get more complicated, I&#8217;ll transition into Drupal for a more custom and flexible approach.</p>
<h3>Stick To What You Know</h3>
<p>Talking about theming brings me to an interesting point. Now this is a touchy issue and I&#8217;ll simply say that it&#8217;s a personal preference and that the intended audience plays a huge role here.</p>
<p>The theming engine is very, very important for a CMS. I haven&#8217;t mentioned this in the past and I know realize that I&#8217;ve been making this decision subconsciously. Well now, I&#8217;d like to explicitly state it:</p>
<p><strong>I prefer a PHP theming engine.</strong></p>
<p>There, I said it. I know PHP and I can work with it. Now, if you (as a developer) were picking a CMS that a (designer) needs to code for, you have a bigger issue. Many designers detest having any sort of <strong>code</strong> in their template.</p>
<p>Personally, I just find dealing with PHP easier. I know what it does. I don&#8217;t need the added complexity of a theme engine layer to try to work around. Now, when things are quite simple (as in variable replacements) that&#8217;s all well and good. However, when we start talking about custom functions, etc. I just feel more comfortable working with something I know.</p>
<h2>My Apologies</h2>
<p>Now I know in Part 2, I promised you guys that I&#8217;d get into <a onclick="javascript:pageTracker._trackPageview('/outbound/article/silverstripe.org');" href="http://silverstripe.org/">Silverstripe</a> and <a onclick="javascript:pageTracker._trackPageview('/outbound/article/modxcms.com');" href="http://modxcms.com/">ModX</a>. Let me apologize for that. I installed them, tried them out, and quickly dismissed them. Although each had it&#8217;s great selling points, they were just too new and unpopular to devote much time into. There were limited modules/plugins and the user communities were tiny in comparison to things like WordPress and Drupal.</p>
<p>Also there was one (Silverstripe I believe) that forced me to edit the theme in the administration section. That&#8217;s all well and good for clients who want to modify themes, but I need syntax highlighting, I&#8217;m sorry. And the idea of &#8220;copy and paste&#8221; into the theme edit box got really old really fast.</p>
<p>I know that WordPress allows you to do the same thing, however the theme is still ultimately stored as a file you can modify with a regular editor and not in the database.</p>
<p>I&#8217;m sure they had their reasons, but that just didn&#8217;t go well with my workflow process.</p>
<h2>And The Winner Is (Winners Are)&#8230;</h2>
<p><strong>WordPress and Drupal.</strong></p>
<p>I&#8217;m glad you guys could come alone for this journey of mine. This is by no means a be-all and end-all discussion. I picked these CMS platforms for very specific reasons that have to do with my background. I feel that they&#8217;ll serve me well for the types of projects that I have in mind.</p>
<p>Please understand that they may not always be suited for your uses.</p>
<p>As always, all comments and encouraged.</p>
<p>And Merry Christmas!!!!</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/" rel="bookmark" title="December 1, 2009">Reader Input: Picking A CMS – Part 3</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/" rel="bookmark" title="November 25, 2009">Reader Input: Picking A CMS – Part 2</a></li>

<li><a href="http://www.webdevelopment2.com/joomla-template-tip-optional-modules/" rel="bookmark" title="December 1, 2005">Joomla Template Tip: Optional Modules</a></li>

<li><a href="http://www.webdevelopment2.com/content-management-systems/" rel="bookmark" title="November 2, 2006">Content Management Systems</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/" rel="bookmark" title="May 20, 2009">Reader Input: Picking A CMS &#8211; Part 1</a></li>
</ul><!-- Similar Posts took 4.329 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Reader Input: Picking A CMS – Part 3</title>
		<link>http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/</link>
		<comments>http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 13:18:18 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=535</guid>
		<description><![CDATA[In The Series Part 1 Part 2 Part 3 Part 4 I made some promises in Part 1 that I was reminded about in Part 2 (Thanks Ian). I didn&#8217;t give WordPress enough attention. So, here I go. WordPress As A CMS has pretty much become a household phrase these days. So, let&#8217;s just right [...]]]></description>
			<content:encoded><![CDATA[<h2>In The Series</h2>
<ul>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Part 1</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/">Part 2</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/">Part 3</a></li>
<li><a href="http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal">Part 4</a></li>
</ul>
<p>I made some promises in <a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Part 1</a> that I was reminded about in <a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/">Part 2</a> (Thanks <a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/#comment-28065">Ian</a>). I didn&#8217;t give <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> enough attention. So, here I go.</p>
<p><em><a href="http://www.noupe.com/wordpress/powerful-cms-using-wordpress.html"><strong>WordPress</strong></a><strong> </strong><a href="http://www.idesignstudios.com/blog/web-design/wordpress-as-cms/"><strong>As A</strong></a><strong> </strong><a href="http://www.idesignstudios.com/blog/web-design/wordpress-as-cms/"><strong>CMS</strong></a></em> has pretty much become a household phrase these days. So, let&#8217;s just right in.</p>
<h2>Why I Love WordPress</h2>
<ul>
<li><strong>Popularity</strong> &#8211; It&#8217;s arguably the most popular blogging platform out there. Popularity means a huge community, active development and lots of community contribution (plugins and themes anyone?)</li>
<li><strong>Posts and Pages</strong> &#8211; WordPress does this extremely well. That&#8217;s what it&#8217;s made for.</li>
<li><strong>Plugins</strong> &#8211; There are thousands of plugins that extend this tool and makes life a breeze for a lot of us.</li>
<li><strong>Themes</strong> &#8211; Again, another benefit of popularity is that there are tons of themes out there to pick from and build upon. Every project doesn&#8217;t have to start from a blank slate.</li>
</ul>
<p>WordPress is <strong>excellent at what it does</strong>. It&#8217;s also good at some of the things it wasn&#8217;t designed to do. You have a lot of things to work with in WordPress: Posts, pages, categories, tags, widgets, and even the <a href="http://codex.wordpress.org/Custom_Fields">dreaded custom fields</a>.</p>
<p>The idea is to find that balance and know the limitations.</p>
<h2>Know When To Hold &#8216;Em, Know When To Fold &#8216;Em</h2>
<p>Bet you never figured Kenny Rogers would teach us about Web Design. If it&#8217;s a simple site with a couple of pages, some articles or news (aka Posts) and couple of images here and there, then WordPress is a no-brainer.</p>
<p>Now before I continue I need to clarify something in terms of my goal. WordPress can be used as a CMS for just about any site. yes, I said it. It does a lot and you can bend it to it&#8217;s limits. However, my <strong>ultimate goal is to provide a nontechnical client</strong> with something <strong>easy to use</strong>. This becomes very difficult when your content takes different forms in terms of <strong>custom content</strong>. When I need a list of <em>Events </em>(which each have a title, time, description, poster, etc) things get hairy. Custom fields only bring us so far.</p>
<p>This is where I have a problem. When things get too complicated and you need custom things, we run into a bit of a problem. Just because you <em>can</em> do something doesn&#8217;t mean you <em>should</em>. Custom fields extend WordPress tremendously, however I&#8217;ve found that they can get a bit difficult for a nontechnical person to use. Now there are a few things that have been done to make this thing more pleasant.</p>
<h2>Easing WordPress Stress</h2>
<p>As a benefit of the huge community and its popularity people have contributed things to WordPress to make using it as a CMS more pleasurable. There&#8217;s <a href="http://flutter.freshout.us/">Flutter</a>, <a href="http://pods.uproot.us/">PODs</a> (just found out about this), <a href="http://magicfields.org/">Magic Fields</a> (fork of Flutter), <a href="http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/">Custom Write Panels</a>, and more. From what I&#8217;ve seen, Flutter, Magic Fields and PODs are the most powerful among these.</p>
<p>All of these have their limitations, but as with most things, it goes back to the 80-20 rule: These plugins will work wonderfully for 80% of your applications. There other 20% is going to be a problem.</p>
<h2>What I Don&#8217;t Like About WordPress</h2>
<p>The Administration section is part of my problem. For just a blog, I can set up a client as an &#8220;editor&#8221; and things work beautifully. However, with things like Custom Fields, etc. it gets complicated to explain to clients how to do certain things. Also, when you need a little bit more oomph, you give the user a higher role. But that tends to expose too much to the users.</p>
<p>I&#8217;ve played with a couple permission and role plugins, but none seemed to do what I needed. Either that or I didn&#8217;t know how to use them properly.</p>
<h2>What Did I Miss?</h2>
<p>So all you WordPress Wizards, is there anything I missed?</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal/" rel="bookmark" title="December 25, 2009">Reader Input: Picking A CMS – Part 4</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/" rel="bookmark" title="November 25, 2009">Reader Input: Picking A CMS – Part 2</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/" rel="bookmark" title="May 20, 2009">Reader Input: Picking A CMS &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/insanegb-review-free-web-server-5gb-disk-space-20gb-bandwidth/" rel="bookmark" title="January 2, 2008">InsaneGB Review &#8211; Free Web Server 5GB Disk Space, 20GB Bandwidth</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-installed/" rel="bookmark" title="November 9, 2005">WordPress Installed</a></li>
</ul><!-- Similar Posts took 4.240 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reader Input: Picking A CMS – Part 2</title>
		<link>http://www.webdevelopment2.com/picking-a-cms-2-new-standards/</link>
		<comments>http://www.webdevelopment2.com/picking-a-cms-2-new-standards/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 14:13:23 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Reader Input]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=531</guid>
		<description><![CDATA[In The Series Part 1 Part 2 Part 3 Part 4 On the quest for the perfect CMS (Picking a CMS Part 1), I&#8217;ve decided to switch focus a little bit. New Standards As you guys can see, I&#8217;ve had way too much on my hands to do a thorough job on the quest for [...]]]></description>
			<content:encoded><![CDATA[<h2>In The Series</h2>
<ul>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Part 1</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-2-new-standards/">Part 2</a></li>
<li><a href="http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/">Part 3</a></li>
<li><a href="http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal">Part 4</a></li>
</ul>
<p>On the quest for the perfect CMS (<a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Picking a CMS Part 1</a>), I&#8217;ve decided to switch focus a little bit.</p>
<h2>New Standards</h2>
<p>As you guys can see, I&#8217;ve had way too much on my hands to do a thorough job on the quest for the perfect <a href="http://www.webdevelopment2.com/picking-a-cms-part-1/">Content Management System</a>. But then something came to mind. Aren&#8217;t we all busy? No matter how wondering or beautiful a CMS is; it&#8217;s not use if all that beauty is buried so deep that people can&#8217;t find it. If you have to dig more than three (3) pages down on a Google Search page, then it&#8217;s not good enough.</p>
<h3>Popularity &#8211; Just Like In High School</h3>
<p>I know, I know, it isn&#8217;t fair, but that&#8217;s how life is. The <strong>popular guys got the girls, they made the football team, and they drive better cars</strong>. That&#8217;s just how life is. If a CMS is popular enough, it&#8217;s going to have certain things going for it.</p>
<p>It&#8217;s going to have <strong>more contributors</strong>. That means more eyes on the code (let&#8217;s hope that this will be a good thing). The more people that know about it means, the <strong>more people that write about it</strong>. Now I will admit, there&#8217;s a little &#8220;chicken vs. egg&#8221; thing going on there. Maybe it gets popular because people write about it. But for our purposes it doesn&#8217;t matter. The fact is, there will be <strong>more formal and informal documentation</strong>.</p>
<p>I&#8217;ll be the first to admit that popular doesn&#8217;t always mean better. Take <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> for instance. Although <em>I&#8217;ve never looked</em>, I&#8217;ve been assured that the <strong>code is quite mangled</strong>. But notice what I said, <strong>I&#8217;ve never looked, and neither will your clients</strong>. No matter how elegant your code is and how fast it runs; none of that matters if your product doesn&#8217;t get out there do serve it&#8217;s purpose. With all it&#8217;s flaws, I&#8217;ve seen WordPress run some of the largest blogs out there, so they must be doing something right. No one returns a BMW because they don&#8217;t like the layout of the engine.</p>
<p>So what does populartiy mean? Sorry to all the new kids on the block. You might be cool, but I just can&#8217;t take that risk.</p>
<h3>Plugins, Modules and Addons.</h3>
<p>I don&#8217;t care what you say, no matter how cool a CMS is, it will never everything that you want it to do. That&#8217;s why we need tons of plugins, modules, addons or whatever you want to call them. Let&#8217;s face it, clients always know what they want, until they don&#8217;t and you have to radically change your plans.</p>
<p>Also, plugins are an excellent way for other people to contribute to the community without having to hack the core or something.</p>
<h2>New Playbook &#8211; 20 Minute Dry Run</h2>
<p>With all of this said, I have a new plan of attack. I&#8217;m going to right some of these CMSs off the list right off the bat. Again, I&#8217;m sorry to the new comers. It isn&#8217;t fair, but that&#8217;s just the way it is. New platforms run the risk of being underdeveloped and not very well documented or supported. That&#8217;s not a risk I&#8217;m willing to take on a client&#8217;s site.</p>
<p>To get things on one baseline, I&#8217;m actually using a previous site as a common ground for testing. It encompasses some common functionality that I feel all CMSs should be able to handle: Images, Blogs, etc.</p>
<h2>Where Are We So Far?</h2>
<p>I&#8217;ve been told that <a href="http://www.madebyfrog.com/">Frog CMS</a> is an excellent choice of a CMS. However, based on my new rules it&#8217;s not an option. It&#8217;s been in verion 0.9.5 since April 2009. And recently the author (yes, I think there&#8217;s only one) posted a <a href="http://www.madebyfrog.com/blog/2009/10/19/frog-cms-still-alive.html">Still Alive</a> post. So, no offense, but this one&#8217;s not for me.</p>
<p><a href="http://modxcms.com/">ModX</a> seems to have a huge list of <a href="http://modxcms.com/extras/">Extras</a> on it&#8217;s page, so it&#8217;s still on my list. I&#8217;m assuming this shows an active community. Let&#8217;s keep our fingers crossed.</p>
<h2>What Have I Tried?</h2>
<blockquote><p>Those who ignore the past are destined to repeat it.</p></blockquote>
<h3>Leave The Past In The Past</h3>
<p>These words are what keep me away from Joomla. I left Joomla at version 1.5 over three (3) years ago. Although people always swear this is true, the version numbers don&#8217;t show enough significant change from the mess I remember. So, I&#8217;m not touching this thing with a ten foot pole.</p>
<h3>Testing The Drupal Waters</h3>
<p>I did bite the bullet and installed <a href="http://drupal.org">Drupal</a>. I mean, if it&#8217;s good enough for the <a href="http://buytaert.net/whitehouse-gov-using-drupal">President of the United States</a>, I should at least give it a try, don&#8217;t you think? There are some things that I like so far:</p>
<ul>
<li>Admin Templates/Themes  - The backend is extremely flexible. You can change the look, and even the menus that are listed.  With a few modules, you can fine tune the permissions and give clients access to only what you want them to have. So, the argument of &#8220;too complicated for clients&#8221; can be countered.</li>
<li>Template Caching &#8211; I&#8217;m not sure how it works, but I love it. Certain things in the template are cached. One of which being the CSS and JS files. You can even combine and minify these. I just love that.</li>
<li>Multisites &#8211; You can set up a nice little web farm that all runs on the same Drupal core code. They can even share custom modules. I&#8217;m guessing it&#8217;s something like <a href="http://mu.wordpress.org/">WordPress MU</a>, but I&#8217;ve never tried this myself.</li>
</ul>
<h3>Onward and Upward</h3>
<p>The quest continues with <a href="http://silverstripe.org/">Silverstripe</a> and <a href="http://modxcms.com/">ModX</a>. Stay tuned.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/picking-cms-4-looking-at-drupal/" rel="bookmark" title="December 25, 2009">Reader Input: Picking A CMS – Part 4</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-3-wordpress-as-a-cms/" rel="bookmark" title="December 1, 2009">Reader Input: Picking A CMS – Part 3</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/" rel="bookmark" title="May 20, 2009">Reader Input: Picking A CMS &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/" rel="bookmark" title="April 14, 2008">WordPress 2.5 &#8211; The Vista of Blog Platforms</a></li>

<li><a href="http://www.webdevelopment2.com/moving-wordpress-to-a-different-domain/" rel="bookmark" title="April 2, 2007">Moving WordPress To A Different Domain</a></li>
</ul><!-- Similar Posts took 4.570 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/picking-a-cms-2-new-standards/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 &#8211; The Drama Begins</title>
		<link>http://www.webdevelopment2.com/internet-explorer-8-drama-begins/</link>
		<comments>http://www.webdevelopment2.com/internet-explorer-8-drama-begins/#comments</comments>
		<pubDate>Mon, 11 May 2009 14:17:58 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=490</guid>
		<description><![CDATA[What Does IE 8 Mean To Developers? Personally, I&#8217;m ecstatic that Microsoft has released Internet Explorer 8. The great part is that they&#8217;ve stuck it in the Windows Automatic Updates and they&#8217;ve already started rolling it out Windows users. I damn near threw a party to celebrate. Of course, we won&#8217;t be seeing the real [...]]]></description>
			<content:encoded><![CDATA[<h2>What Does IE 8 Mean To Developers?</h2>
<p>Personally, I&#8217;m ecstatic that Microsoft has released <a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx">Internet Explorer 8</a>. The great part is that they&#8217;ve stuck it in the Windows Automatic Updates and they&#8217;ve already started rolling it out Windows users. I damn near threw a party to celebrate.</p>
<p>Of course, we won&#8217;t be seeing the real benefits for a while (maybe for a few years, even), but the point is, the process has begun. Does this mean we can say goodbye to IE 6, CSS hacks, and IE conditional tags? Well, of course not! It&#8217;s never that easy when it comes to Windows or Microsoft. But again, the process has begun.</p>
<p>Am I saying that there are no problems with the other browsers? No I&#8217;m not. Try to find an old copy of Firefox 1.5 and load up a current website. It&#8217;s going to look very ugly. The point is, Firefox (I&#8217;m not sure about the other browsers) has long ago implemented automatic updates to their products. Old versions, simply disappear.</p>
<h2>You Just Can&#8217;t Make People Happy</h2>
<p>For years, Microsoft has been getting flack about old versions of Internet Explorer. The irony is that, now they&#8217;ve finally done something about it, but <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9132732&amp;intsrc=news_ts_head">not everyone is happy</a>.</p>
<blockquote><p>The blogosphere is heating up over some some interesting options in the Internet Explorer 8 installation process.  Eager to spread its shiny next-generation browser, IE 8, to the masses, Microsoft has included an option which resets the user&#8217;s default browser in what some argue is too subtle a manner.  The &#8220;Express&#8221; option during the IE 8 install is designed to make the install quicker and easier for novice users.</p></blockquote>
<h2>Seriously, What&#8217;s The Big Deal?</h2>
<p>The funny thing is that, unlike <strong>many</strong> installations I&#8217;ve seen, the &#8220;Express&#8221; option isn&#8217;t checked by default. Both choices are blank. You can&#8217;t <em>accidentally</em> perform the Express install by just hitting the <em>Next</em> button (yes, that&#8217;s how I perform most of my installs). You have to purposefully click the &#8220;Express&#8221; button.</p>
<p>However, I don&#8217;t see what the big deal is, honestly. I don&#8217;t see how this is different from any other browser install. I can&#8217;t be sure (I&#8217;ve never had a <em>clean</em> install for a while) but, I don&#8217;t think there&#8217;s a way to stop the Firefox Automatic update, once it gets started. I open up my browser and magically there&#8217;s a new version. At least Microsoft takes you through the installation process.</p>
<p>My point is, who cares? If a user is savvy enough to install Firefox or Opera, this is the worst case scenario:</p>
<ul>
<li>Install IE 8 and unknowingly set it to default.</li>
<li>Hit the &#8220;Internet&#8221; button and be surprised when IE 8 loads up.</li>
<li>Get&#8217;s slightly annoyed</li>
<li>Click the &#8220;Firefox&#8221;/&#8221;Opera&#8221; icon</li>
<li>Get prompted to make that browser default again.</li>
<li>Go on with life.</li>
</ul>
<p>It takes all of 4.5 seconds to correct the problem. Are the other browser makers that scared that people will actually say:</p>
<blockquote><p>Hmmph, well since it&#8217;s already defaulted let me see what it&#8217;s about. Wow, IE 8 is actually cool.</p></blockquote>
<p>So what? Is that really sure a bad thing? If, God forbid, Microsoft finally gets something right and builds a better browser, then what&#8217;s the harm in people using it?</p>
<p>Mozilla has nothing to fear from me, personally. I can&#8217;t live without my Firefox Add-ons. Or maybe I&#8217;m just bias; as long as IE 6 goes away I&#8217;ll be happy.</p>
<h2>Opera&#8217;s Solution?</h2>
<blockquote><p>Opera wants the commission to make Microsoft offer alternate browsers using the same Windows Update service the latter relies on to upgrade IE. &#8220;That&#8217;s one possible remedy,&#8221; said Lie, who called it a &#8220;must-carry&#8221; solution, meaning Windows would have to provide multiple browsers, not just IE.</p></blockquote>
<p>That is the most ridiculous thing I&#8217;ve ever heard. Does Ubuntu automatically install Opera/Safari (hell it might, I&#8217;m not really sure <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but I know it does Firefox)? Does OS X have Firefox/Opera on the list when performing an update? The answer is no! So why would Microsoft do something that stupid? OS X comes with Safari and most <em>regular users</em> don&#8217;t question it; Ubuntu comes with Firefox installed and most <em>regular users</em> don&#8217;t question it. So what&#8217;s the big deal with Microsoft doing the same?</p>
<p>I say leave it up to the user. Right now, it doesn&#8217;t matter for a regular user because they are not using a better browser. It doesn&#8217;t matter for advanced users, because they know better. Again, this is my bias talking. We&#8217;ve started ti slowly inject Internet Explorer 6 with cyanide, now we get to watch it&#8217;s slow, painful death; Yay!</p>
<p>Now if we could only get the cooperate enterprise, government, and educational masses to perform the Windows Update, I&#8217;ll go ahead and dance a jig.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/cross-browser-compatible-designs/" rel="bookmark" title="December 26, 2007">Browsers Have Multiple Personalities, Your Designs Should Too</a></li>

<li><a href="http://www.webdevelopment2.com/5-ways-to-annoy-your-audience/" rel="bookmark" title="December 2, 2006">5 Ways To Annoy Your Audience</a></li>

<li><a href="http://www.webdevelopment2.com/ie-css-min-height-hack/" rel="bookmark" title="May 30, 2008">Make Your Web Site Not Suck In Internet Explorer &#8211; IE CSS Min-Height Hack</a></li>

<li><a href="http://www.webdevelopment2.com/hsbc-direct-doesnt-support-firefox-30-another-reason-to-dump-ie-60/" rel="bookmark" title="August 10, 2008">HSBC Direct Doesn&#8217;t Support Firefox 3.0 &#8211; Another Reason To Dump IE 6.0</a></li>

<li><a href="http://www.webdevelopment2.com/firefox-15-released/" rel="bookmark" title="November 30, 2005">Firefox 1.5 Released</a></li>
</ul><!-- Similar Posts took 4.125 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/internet-explorer-8-drama-begins/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Gitting Started with Git &#8211; Quick and Dirty</title>
		<link>http://www.webdevelopment2.com/gitting-started-git/</link>
		<comments>http://www.webdevelopment2.com/gitting-started-git/#comments</comments>
		<pubDate>Sat, 09 May 2009 09:12:27 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=473</guid>
		<description><![CDATA[I&#8217;m sure you guys have heard about Git. It&#8217;s been making a lot of waves lately. It seems that I&#8217;m always the last to jump on the bandwagon when it comes to things like that, but I&#8217;m finally here. Introduction There are tons of Version Control Systems (VCS) out there: Source Safe (Microsoft&#8217;s Baby, which [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webdevelopment2.com/wp-content/uploads/git-trunk.jpg" alt="Git Trunk" title="git-trunk" width="400" height="332" class="size-full wp-image-481" /><br />
I&#8217;m sure you guys have heard about <a href="http://en.wikipedia.org/wiki/Git_(software)">Git</a>. It&#8217;s been making a lot of waves lately. It seems that I&#8217;m always the last to jump on the bandwagon when it comes to things like that, but I&#8217;m finally here.</p>
<h2>Introduction</h2>
<p>There are tons of Version Control Systems (VCS) out there: Source Safe (Microsoft&#8217;s Baby, which sucks by the way), CVS, and SVN. Git is different from those in one major way: It&#8217;s a distributed system as opposed to a centralized one. That means, there is no central repository that users check out revisions from. There <em>can be</em> a central one, but it&#8217;s not a requirement. Every use has a complete copy of the entire repository on his system at any one time.</p>
<p>I&#8217;m only (intimately) familiar with SVN. So you can read more on the differences between <a href="http://git.or.cz/gitwiki/GitSvnComparsion">Git and SVN</a>. They range from faster processing, due to the fact that everything is local; to reduced disk space usage by Git.</p>
<p>Personally, Git is a great choice for my type of work. Sometimes, I just want to have Version Control in one directory for one project. I don&#8217;t want to get messy with all the central repositories and servers and everything like that. Also, if you travel, you just slap that entire folder on a USB drive and take it to any other computer and continue working. If that computer has Git installed, you can perform your commits or you can wait to commit when you reach home.</p>
<h2>Let&#8217;s Get Started &#8211; Installation and Setup</h2>
<p>First off, let me apologize to the Linux users. I found one simple <a href="https://wiki.ubuntu.com/KernelTeam/KernelGitGuide">git tutorial for Ubuntu</a>. Everything else pointed to building from source. I guess that&#8217;s not that hard.</p>
<p>Windows and OS X users are in luck. There are prepackaged installers for both systems.</p>
<p>For Windows, download the <a href="http://code.google.com/p/msysgit/">msysgit package</a> and you&#8217;re ready to go. If you think you need more of a UI you can get <a href="http://code.google.com/p/tortoisegit/">TortoiseGit</a>, which is a shell extension for Windows Explorer. One plus I&#8217;ve noticed with this tool is that it has a great diff viewer. Be advised: I&#8217;ve been warned that git is slower on a Windows system, so you might want to avoid Windows for those huge projects.</p>
<p>OS X users also have a great option: <a href="http://code.google.com/p/git-osx-installer/">OS X Git Installer</a>. Or you can build from source like the other Linux users.</p>
<p>There&#8217;s not much to set up after that. Most of the Git usage is from the command line, so there&#8217;s no <em>need</em> for any other fancy tools.</p>
<p>Now, there are a ton of <a href="http://github.com/guides/git-cheat-sheet">tutorials</a> out there on how to get started, so I&#8217;m not going to bore you with that, but I will highlight some of the things I&#8217;ve found.</p>
<h2>Hosting Remote Repositories</h2>
<p>One of the great advantages I&#8217;ve found with Git is that it doesn&#8217;t need a central or remote repository. That&#8217;s great if you don&#8217;t need to work offline. However, that&#8217;s not to say it <em>can&#8217;t</em> have one.</p>
<p>I&#8217;m sure everyone has heard of <a href="http://github.com">GitHub</a>. This is, by far, the major Git hosting service. But, there are limitations (of course). Their free plan doesn&#8217;t allow private projects and it&#8217;s limited to 300 MB in size. There are some other places where you can host Git projects, however if you already pay for a web hosting service you may have all you need.</p>
<p>The only requirement is that the service allows SSH shell access. After that, you&#8217;re good to go. There&#8217;s a lovely tutorial on how to <a href="http://project-tigershark.com/people/rob/blog/2009/04/08/git-on-a-shared-host-10-minute-install-guide/">install git on a shared host</a>. Even if you don&#8217;t want to read the tutorial, you can just copy and paste the commands.</p>
<p>Currently, I&#8217;m on <a href="http://www.webdevelopment2.com/go/hostmonster/"  class="alinks_links" onclick="return alinks_click(this);" title="Hostmonster"  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">HostMonster</a>&#8216;s hosting service for $8/month. So tacking Git onto that already existing host just made sense.</p>
<h2>Git Work Flow (And Modification) I&#8217;ve Adopted</h2>
<p>Some time ago, I stumbled across this article on <a href="http://joemaller.com/2008/11/25/a-web-focused-git-workflow/">web based work flow for Git</a>.</p>
<blockquote><p>
The key idea in this system is that the web site exists on the server as a pair of repositories; a bare repository alongside a conventional repository containing the live site. Two simple Git hooks link the pair, automatically pushing and pulling changes between them. </p></blockquote>
<p>It&#8217;s actually a great idea. You have one central repository or hub and one &#8220;live&#8221; site. The hub has is a <em>bare</em> repository; it has no workspace and you can&#8217;t checkout any files. The prime, however, has it&#8217;s own work space, which hosts your live site.</p>
<p>When you push into the hub the hooks (set article for setup) automatically push those changes over to the prime or live repository. Likewise, the prime has hooks that function when a commit is done: they push changes back to the hub. So ideally, all your major development would be pushed to the hub which, in turn, pushes those changes to the live site. Now if you make a one off change to the live site (who says that never happens) you can hit commit and it will push those changes back to your hub.</p>
<p>I don&#8217;t need that level of automation for what I&#8217;m doing. So, I do have a central repository, however, I push to my live site directly. I have a branch in my project called <em>live</em> when I merge or rebase stuff from <em>master</em> into. I think push this branch to the live site. My live site has a hook that does a simple <code>git reset --HARD</code> in the working directory to update everything.</p>
<p>That&#8217;s all I got for now.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/installing-a-lamp-web-server-system-with-fedora-core-6/" rel="bookmark" title="October 31, 2006">Installing A LAMP Web Server System With Fedora Core 6</a></li>

<li><a href="http://www.webdevelopment2.com/automate-database-backup-webcron-cron-jobs-problem/" rel="bookmark" title="October 13, 2007">Automate MySQL Database Backup With WebCron &#8211; No Cron Jobs? No Problem &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/should-a-business-use-free-web-hosting/" rel="bookmark" title="November 3, 2006">Should A Business Use Free Web Hosting?</a></li>

<li><a href="http://www.webdevelopment2.com/insanegb-review-free-web-server-5gb-disk-space-20gb-bandwidth/" rel="bookmark" title="January 2, 2008">InsaneGB Review &#8211; Free Web Server 5GB Disk Space, 20GB Bandwidth</a></li>

<li><a href="http://www.webdevelopment2.com/finally-moved-dreamhost-quality-web-hosting/" rel="bookmark" title="October 4, 2007">Finally We&#8217;ve Moved To DreamHost &#8211; Quality Web Hosting</a></li>
</ul><!-- Similar Posts took 4.181 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/gitting-started-git/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Development 2.0 Carnival &#8211; December 26, 2008</title>
		<link>http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/</link>
		<comments>http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 13:09:12 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Carnival]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=468</guid>
		<description><![CDATA[Welcome to the December 26, 2008 edition of Web Development 2.0. (Yeah, I know I&#8217;m a bit late, but it was Christmas ) Fiona King presents 10 Best Ruby/RoR Web Hosts Compared ? 2009 posted at WHDb. general Marcus Hochstadt presents Using A CMS For A Content-Rich Website posted at Marcus Hochstadt, saying, &#8220;Marcus describes [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the December 26, 2008 edition of Web Development 2.0. (Yeah, I know I&#8217;m a bit late, but it was Christmas <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p><!-- Carnival Submission --><br />
<strong>Fiona King</strong> presents <a href="http://whdb.com/2008/10-best-rubyror-web-hosts-compared-2009/">10 Best Ruby/RoR Web Hosts Compared ? 2009</a> posted at <a href="http://whdb.com">WHDb</a>.</p>
<h2>general</h2>
<p><!-- Carnival Submission --></p>
<p><strong>Marcus Hochstadt</strong> presents <a href="http://www.hochstadt.com/using-a-cms-for-a-content-rich-website">Using A CMS For A Content-Rich Website</a> posted at <a href="http://www.hochstadt.com">Marcus Hochstadt</a>, saying, &#8220;Marcus describes how he migrated one of his static HTML sites into a Content Management System. Which platform did he choose and why?&#8221;</p>
<h2>javascript</h2>
<p><!-- Carnival Submission --></p>
<p><strong>Jason Maletsky</strong> presents <a href="http://www.websitebuildersresource.com/2008/12/20/show-partial-content-slide-animate-with-jquery/">Show Partial Content, Slide Animate with jQuery</a> posted at <a href="http://www.websitebuildersresource.com">Website Builders Resource</a>, saying, &#8220;This plugin will show a partial amount of content from a and allow the user to click a link from the title or a link at the bottom to view the rest of the content with a sliding action.&#8221;</p>
<p><!-- EDIT THIS: the conclusion begins with this paragraph: --></p>
<p>That concludes this edition.  Submit your blog article to the next edition of <strong>Web Development 2.0</strong> using our <a title="Submit an entry to “web development 2.0”" href="http://blogcarnival.com/bc/submit_2377.html" target="_blank">carnival submission form</a>. Past posts and future hosts can be found on our <a title="Blog Carnival index for “web development 2.0”" href="http://blogcarnival.com/bc/cprof_2377.html" target="_blank"> blog carnival index page</a>.</p>
<p>Technorati tags:  <!-- add your technorati tags here! --> <a rel="tag" href="http://technorati.com/tag/web+development+2.0">web development 2.0</a>, <a rel="tag" href="http://technorati.com/tag/blog+carnival">blog carnival</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/web-development-20-carnival/" rel="bookmark" title="November 21, 2008">Web Development 2.0 Carnival &#8211; November 21, 2008</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-24-2007/" rel="bookmark" title="September 24, 2007">Web Development 2.0 Carnival &#8211; September 24, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/" rel="bookmark" title="September 8, 2007">Web Development 2.0 Carnival &#8211; September 8, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/the-secret-of-cakephp-advanced-routing-even-better-urls/" rel="bookmark" title="September 6, 2007">The Secret of CakePHP Advanced Routing &#8211; Even Better URLs</a></li>

<li><a href="http://www.webdevelopment2.com/website-promotion-with-discountclick/" rel="bookmark" title="November 28, 2006">Website Promotion with DiscountClick</a></li>
</ul><!-- Similar Posts took 4.007 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why My WordPress 2.7 Install &#8220;Failed&#8221;</title>
		<link>http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/</link>
		<comments>http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 00:49:43 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=420</guid>
		<description><![CDATA[Now, it&#8217;s no secret that I can be a moron sometimes, but I&#8217;d like to put it on record that it was all me and not WordPress 2.7 that had the issue. So I&#8217;m sitting here last night minding my own business and Chris Coyier sends out a tweet talking about how it took him [...]]]></description>
			<content:encoded><![CDATA[<p>Now, it&#8217;s no secret that I can be a moron sometimes, but I&#8217;d like to put it on record that it was all me and not <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> 2.7 that had the issue.</p>
<p>So I&#8217;m sitting here last night minding my own business and <a href="http://css-tricks.com/">Chris Coyier</a> sends out a tweet talking about how it took him 10 minutes to upgrade. So I figure, why not? I already had the <a href="http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/">WordPress Automatic Upgrade</a> plugin ready to go, so I figured it would be a breeze. I guess I was wrong.</p>
<h3>What Went Wrong</h3>
<p>So I follow all the steps in the automatic upgrade. Everything seems to be going fine, however after the database upgrade I was bumped back into the admin screen. Everything was looking totally screwed up. Icons were scattered all over, colors were wrong, things were positioned incorrectly. It basically looked like the CSS style sheet was screwed up for some reason.</p>
<p>So I figured that my CSS and possibly JS files are still cached on my browser and that&#8217;s what causing the problem. So I did a screen refresh; nothing. I did a forced refresh; nothing. I cleared the cache; nothing. I cleared all the cookies; nothing. I started up Internet Explorer; nothing.</p>
<p>So the obvious answer was that something was wrong with the automatic upgrade plugin. I spent the next 20 minutes installing manually (twice) just to get back to scare one. Maybe it was the host? Maybe it was my machine? Maybe my internet connection?</p>
<h3>What Actually Happened &#8211; My Server Setup, That&#8217;s What</h3>
<p>Now I need to brief you a lil&#8217; bit on the <em>stuff</em> I have set up on my server.</p>
<p>Some time ago, I was researching serving up compressed (Gzipped) data from my blog. Now I think WordPress has an option for this, at least they used to. Regardless, I use WP-SuperCache and I know that it has that functionality. However, what would really be great is if I could gzip my CSS and JS files. That&#8217;s what paying too much attention to <a href="http://website.grader.com/">Website Grader</a> does to you.</p>
<p>The first problem is that my current host doesn&#8217;t support mod_gzip. Therefore I had to use a <em>less elegant</em> method. I didn&#8217;t want to use any PHP method, since I figured that would be too much work for the server. So, this is my setup (don&#8217;t worry, I&#8217;ll most details later):</p>
<ul>
<li>Setup Apache rewrites to point all JS and CSS files to js.gz and css.gz if available. Here, I also set expires headers for way in the future.</li>
<li>Download and compile minifying script</li>
<li>Gzip minified scripts</li>
<li>Set up the above in a daily cron job</li>
</ul>
<p>Now, those of you chuckling right now, have seen huge mess that this is going to develop into. Basically, I make the server serve up compressed versions of the stles and JavaScript if available.</p>
<p>So, after doing the WordPress upgrade, although I had brand. new .css and .js files, my .js.gz and .css.gz files were still from WordPress 2.6.5. No wonder my admin screen was in a mess.</p>
<p>Sorry for blaming you, Mr. 2.7. So far everything looks great, I must say.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/insanegb-review-free-web-server-5gb-disk-space-20gb-bandwidth/" rel="bookmark" title="January 2, 2008">InsaneGB Review &#8211; Free Web Server 5GB Disk Space, 20GB Bandwidth</a></li>

<li><a href="http://www.webdevelopment2.com/yay-wordpress-25-perfect/" rel="bookmark" title="April 6, 2008">Yay! WordPress 2.5. Almost Perfect</a></li>

<li><a href="http://www.webdevelopment2.com/moving-wordpress-to-a-different-domain/" rel="bookmark" title="April 2, 2007">Moving WordPress To A Different Domain</a></li>

<li><a href="http://www.webdevelopment2.com/feedburner-google-search-cache-instant-blog-back-up/" rel="bookmark" title="May 10, 2007">FeedBurner + Google search cache =  Instant Blog Back Up</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-installation-guide-just-add-water-and-2-medium-eggs/" rel="bookmark" title="August 27, 2007">CakePHP Installation Guide: Just Add Water and 2 Medium Eggs</a></li>
</ul><!-- Similar Posts took 3.779 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Development 2.0 Carnival &#8211; November 21, 2008</title>
		<link>http://www.webdevelopment2.com/web-development-20-carnival/</link>
		<comments>http://www.webdevelopment2.com/web-development-20-carnival/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:26:22 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Carnival]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=391</guid>
		<description><![CDATA[Welcome to the November 21, 2008 edition of Web Development 2. Dereck presents My Google Penalty and My Response posted at I Will Not Die. Sly presents 5 Search Engine Optimization Tips for WordPress Blogs posted at Slyvisions dot Com. Although I&#8217;m more or less devoted to CakePHP as my PHP Frameowrk, it&#8217;s also good [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the November 21, 2008 edition of Web Development 2.</p>
<p><!-- Carnival Submission --></p>
<p><strong>Dereck</strong> presents <a href="http://www.iwillnotdie.com/my-google-penalty-and-my-response/">My Google Penalty and My Response</a> posted at <a href="http://www.iwillnotdie.com">I Will Not Die</a>.</p>
<p><!-- Carnival Submission --></p>
<p><strong>Sly</strong> presents <a href="http://slyvisions.com/files/5-search-engine-optimization-tips-for-wordpress-blogs.php">5 Search Engine Optimization Tips for WordPress Blogs</a> posted at <a href="http://slyvisions.com">Slyvisions dot Com</a>.</p>
<p><!-- Carnival Submission --></p>
<p>Although I&#8217;m more or less devoted to CakePHP as my PHP Frameowrk, it&#8217;s also good to diversify sometimes. <strong>Greg Allard</strong> presents <a href="http://codespatter.com/2008/09/13/quick-thumbnails-in-django/">Quick Thumbnails in Django</a> posted at <a href="http://codespatter.com">Code Spatter</a>.</p>
<p><!-- Carnival Submission --></p>
<p><strong>Margaret Garcia</strong> presents <a href="http://www.webdesignschoolsguide.com/library/top-20-iphone-apps-for-entrepreneurs.html">Top 20 iPhone Apps for Entrepreneurs</a> posted at <a href="http://www.webdesignschoolsguide.com">Web Design Schools Guide</a>.</p>
<p><!-- EDIT THIS: the conclusion begins with this paragraph: --></p>
<p>That concludes this edition.  Submit your blog article to the next edition of <strong>Web Development 2</strong> using our <a title="Submit an entry to “web development 2”" href="http://blogcarnival.com/bc/submit_5594.html" target="_blank">carnival submission form</a>. Past posts and future hosts can be found on our <a title="Blog Carnival index for “web development 2”" href="http://blogcarnival.com/bc/cprof_5594.html" target="_blank"> blog carnival index page</a>.</p>
<p>Technorati tags:  <!-- add your technorati tags here! --> <a rel="tag" href="http://technorati.com/tag/web+development+2">web development 2</a>, <a rel="tag" href="http://technorati.com/tag/blog+carnival">blog carnival</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/" rel="bookmark" title="January 10, 2009">Web Development 2.0 Carnival &#8211; December 26, 2008</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-24-2007/" rel="bookmark" title="September 24, 2007">Web Development 2.0 Carnival &#8211; September 24, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/" rel="bookmark" title="September 8, 2007">Web Development 2.0 Carnival &#8211; September 8, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/html-tutorial/" rel="bookmark" title="November 18, 2005">HTML Tutorial</a></li>

<li><a href="http://www.webdevelopment2.com/fixing-the-back-button-and-enabling-bookmarking-for-ajax-apps/" rel="bookmark" title="December 29, 2005">Fixing the Back Button and Enabling Bookmarking for AJAX Apps</a></li>
</ul><!-- Similar Posts took 4.143 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-20-carnival/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Requirements &#8211; Small Rant</title>
		<link>http://www.webdevelopment2.com/password-requirements-small/</link>
		<comments>http://www.webdevelopment2.com/password-requirements-small/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 21:21:39 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=360</guid>
		<description><![CDATA[I&#8217;m not sure how many of you guys share my views about passwords. Or maybe I just don&#8217;t feel comfortable with other people telling me what to do. Yeah, I think that&#8217;s it. If I decide that my password is going to be qwerty, password, letmein, or even 123; I think that&#8217;s my business. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure how many of you guys share my views about passwords. Or maybe I just don&#8217;t feel comfortable with other people telling me what to do. Yeah, I think that&#8217;s it. If I decide that my password is going to be <em>qwerty, password, letmein, </em>or even <em>123</em>; I think that&#8217;s my business. Don&#8217;t get me wrong, I totally understand the reason behind this. Some sites are trying to protect the users against themselves.</p>
<h3>Reasonable Requirements</h3>
<p>Now some of these requirements I can understand. Some of them are actually reasonable. I can deal with a minimum length; although these days they seem to be getting longer than eight (8) characters.</p>
<p>I just don&#8217;t think that I need this type of protection. Although I don&#8217;t use the same password for every website (any more, lol). Currently, I use an algorithm to generate a password for a new site. It&#8217;s a combination of a common <em>stem </em>or <em>base</em> and appending the service name that I&#8217;m logging into (eg. Yahoo, Gmail, etc.)</p>
<h3>My Problem With Requirements</h3>
<p>Currently, my stem only consists of lowercase letters and numbers. I know it&#8217;s not the most secure base, but it&#8217;s long enough and it serves the purpose. What I can&#8217;t stand is a site that needs me to enter a special character or an upper case character.</p>
<p>Call me crazy, I just hate having to hit the stupid &lt;Shift&gt; key when I need to be typing in a password. Hell, I hate holding down the shift key, period. So for all you website administrators out there, please don&#8217;t force me to do anything I don&#8217;t want to. The only thing this results in, is me forgetting my password the next time I come to your site.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/microsoft-yahoo-and-zimbra-releaseing-new-ajax-powered-webmail/" rel="bookmark" title="November 24, 2005">Microsoft, Yahoo, and Zimbra Releaseing New Ajax Powered Webmail</a></li>

<li><a href="http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/" rel="bookmark" title="March 31, 2007">JavaScript Only Links, Why? Someone Tell Me Why, Please</a></li>

<li><a href="http://www.webdevelopment2.com/spell-out-a-detailed-contract/" rel="bookmark" title="November 1, 2006">Spell Out a Detailed Contract</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-installation-guide-just-add-water-and-2-medium-eggs/" rel="bookmark" title="August 27, 2007">CakePHP Installation Guide: Just Add Water and 2 Medium Eggs</a></li>

<li><a href="http://www.webdevelopment2.com/6-places-to-use-ajax/" rel="bookmark" title="December 2, 2005">6 Places to Use Ajax</a></li>
</ul><!-- Similar Posts took 4.142 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/password-requirements-small/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HSBC Direct Doesn&#8217;t Support Firefox 3.0 &#8211; Another Reason To Dump IE 6.0</title>
		<link>http://www.webdevelopment2.com/hsbc-direct-doesnt-support-firefox-30-another-reason-to-dump-ie-60/</link>
		<comments>http://www.webdevelopment2.com/hsbc-direct-doesnt-support-firefox-30-another-reason-to-dump-ie-60/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 13:14:35 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=338</guid>
		<description><![CDATA[Before I start bashing Internet Explorer 6.0, I&#8217;d like to share a story with you. I&#8217;ve had a high yields savings account at HSBC Direct for some time now. Now I think I know why I haven&#8217;t experienced many user issues with their website before. I also use ING Direct Savings Account and Electric Orange [...]]]></description>
			<content:encoded><![CDATA[<p>Before I start bashing <a href="http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/">Internet</a> <a href="http://www.webdevelopment2.com/ie-hack-css-centering/">Explorer</a> <a href="http://www.webdevelopment2.com/ie-css-min-height-hack/">6.0</a>, I&#8217;d like to share a story with you. I&#8217;ve had a high yields savings account at <a href="http://www.hsbcdirect.com">HSBC Direct</a> for some time now. Now I think I know why I haven&#8217;t experienced many user issues with their website before. I also use <a href="http://home.ingdirect.com/promo/promo_set.asp?t=%a8%a6%ca%cb%d1%c7%c9%c8%c6%c8%ca%c8%c4%d1%c9%c7%c6%c5%cb%fd%c9%c7">ING Direct Savings Account</a> and <a href="http://home.ingdirect.com/promo/promo_set.asp?t=%a8%43%67%64%6e%64%66%65%63%65%67%65%61%6e%66%64%63%62%68%9a%66%62">Electric Orange Account</a> for some of my banking, you know all eyes in one basket and that stuff. Now, maybe it&#8217;s their features or their interface, but I use ING Direct, daily. HSBC is more of a backup savings account. I send money there and don&#8217;t really worry about it, so I&#8217;ve never used it enough to find a problem.</p>
<h3>The Problem</h3>
<p>But the other day, I decided to open a second account with HSBC and I got the following error:</p>
<blockquote><p>A Technical Error Has Occurred</p></blockquote>
<p>I was only trying to transfer money from one account to another, I didn&#8217;t get it. So I figured there must be some problem with the website right? So I wait it out for a few days to let them fix their problem. But alas, the next time I checked, same problem. So finally, I decided to write their Tech Support and I got the following back in a lovely email:</p>
<blockquote><p>Recently our website had some updates that your Internet browser may not<br />
yet recognize. Â As such, please delete your browser&#8217;s cookies and<br />
temporary Internet files and attempt the transfer again. Â  If you are<br />
still unable to perform the transfer, please contact us at the number<br />
below so that we may help troubleshoot the problem.</p>
<p>The following are HSBC-supported browsers:</p>
<p>Windows:<br />
Internet Explorer &#8211; versions 6.0 and 7.0<br />
Mozilla/FireFox ? version 1.5 and 2.0</p>
<p>Macintosh:<br />
Safari ? version 2.0</p></blockquote>
<p>So I followed the instructions: I <strong>cleared my cache and deleted my cookies</strong> (even though it pained me), but it still didn&#8217;t work. I sat there and scratched my head for a minute before I finally realized what the heck was going on. Then <strong>I loaded up my copy of Internet Explorer 7.0 and did a transfer with no problems</strong>. Then I read the rest of the email. Yep, the <strong><em>recent updates</em></strong> to the website were <strong>not compatible with Firefox 3.0</strong>. Now I don&#8217;t understand something, because it&#8217;s not like there was any fancy AJAX functions. I just click the button that says transfer.Â  Later I found a link to <a href="http://www.hsbcdirect.co.kr/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4k39g0ESZnFG8Wb-1voR6KJmbqHYYiZBJiiiZnGG6MLGcQ7IkR8PfJzU_WDgDKR5kAhk0Bj_aic1PTE5Er9YH1v_QD9gtxQIIgo93Z0VAQAyCH3eg!!/delta/base64xml/L0lJSk03dWlDU1lBIS9JTGpBQU15QUJFUkVSRUlrLzRGR2dkWW5LSjBGUm9YZnJDRUEhLzdfNF80UTMvMg!!">HSBC&#8217;s Support Page</a> and found this remedy to my problem:</p>
<blockquote><p><strong>1) Keep your browser up-to-date.</strong><br />
HSBC Direct website supports MS Internet Explorer 5.5 SP4 or higher.<br />
Currently HSBC Direct website does not support other web browsers such Firefox &amp; Mozilla, Please use MS Internet Explorer and keep your computer &amp; browser up-to-date.</p></blockquote>
<p>So, let me get this straight, I need to keep my browser updated, but not too updated. OK, HSBC.</p>
<h3>What I Think Happened</h3>
<p>So let me take a wild crack at what happened, <strong>some executives at HSBC made the decision</strong> for the new updates on the website and they insisted that the developers support older browsers; IE 6, for example. Usually, there&#8217;s not much wrong with this if it&#8217;s done right. They got away with some hackish code that seems to work for what they had at the time, then Fireofx 3.0 came out with this strange idea called standards compliance and just messed up their whole backwards compatible world.</p>
<p>Again, let me point of this is <strong>what I <em>think</em> happened</strong>, but this is a classic reason, why we should be supporting better standards for web development.</p>
<p>But all of this is easier said than done. Before going down any path, you <strong>need to examine your market before making such decisions</strong>. But you also need to <strong>consider future markets</strong>. How much is it going to cost to fix this lil boo boo? Possibly a lot. Are they going to fix it anytime soon? I&#8217;m guessing no. I don&#8217;t think Firefox 3.0 (seeing, that it&#8217;s just a few months old) has any sort of market share that they are going to care much. So all you <strong>Linux and Mac users better not follow all those upgrade warnings</strong> for your browser. You won&#8217;t be able to transfer funds. Typical example of powerful people in expensive suits making decisions about technology.</p>
<h3>What Should Be Done</h3>
<p>Now, <strong>I&#8217;m not anti-Microsoft or even anti-IE-6, but I am anti-stuff-that-wastes-my-time</strong>. The problem isn&#8217;t IE 6 per say. IE 6 had a purpose, back in 2001 and (for the most part) it fulfilled that purpose. The <strong><em>real problem</em> is that we&#8217;re trying to implement 2008 technology on a 7 year old platform</strong>. You don&#8217;t really see this many other places in the tech world. New software comes out and you don&#8217;t have enough RAM, then tough nuts, you need to upgrade. Microsoft is notorious for this actually. <strong>SQL Server 2005 refuses to restore a backup fro SQL Server 2000</strong>, and they say tough nuts. The brand new <strong><em>Call of Duty 4</em> for the XBox 360</strong> (I assume) <strong>won&#8217;t run on a regular XBox</strong> will it? Nor do <strong>PS3 games work on PS2</strong> and <strong>Nintendo Wii games don&#8217;t work on a Gamecube</strong>. So I&#8217;m really tired of hearing this crap about IE 6 is being pushed by the market and not the industry. <strong>The industry controls the market</strong>. A <em>lot</em> of IE 6 users don&#8217;t really know any better. They got IE 6 and people make accommodations for them in the name of backwards compatibility.</p>
<p>Now, I&#8217;ve heard people say that all this browser compatibility issues is due to &#8220;developer whining&#8221;. And, they&#8217;d be right to a certain extent. But what very few realize, is that <em>developer whining</em> often translates directly to a dollar figure. <strong>The more time that goes into patching crappy, workaround code</strong> for older browsers; <strong>the less time that&#8217;s being spent on new development and fixing legitimate bugs</strong>. And when some HSBC-like snafu happens, someone needs to fix it. Now plain out boycott is a bit harsh. There are some people that can&#8217;t upgrade for good reason (the folks in the cooperate office with the older PCs that they don&#8217;t have rights to install stuff on). But I&#8217;m much in support of the gentle nudge approach like is done on Save The Developers:</p>
<pre class="brush: xml; title: ;">&lt;script src=&quot;http://www.savethedevelopers.org/say.no.to.ie.6.js&quot;&gt;&lt;/script&gt;</pre>
<p>This brings up a nice lil&#8217; AJAX-ish looking slide down image in the upper right corner with the details on why the user should upgrade. And no, it&#8217;s not a ploy to push Firefox. The first link on the page is to download IE 7. Even though, I&#8217;m a Firefox lover, I might not be using it if I started browsing with IE 7. To be honest, tabbed browsing is what did it for me. It had nothing to do with compatibility, with code, etc; because at that time I didn&#8217;t know better and didn&#8217;t care.</p>
<p>Now as a developer, I would love to see a boycott, but that&#8217;s not realistic; because like it or not, <strong>IE 6.0 still has a large grasp (at least 25%) on the market</strong>. However, I do explain the problems with IE 6.0 and I explain to them why it&#8217;s going to take more time and cost more to develop for. It&#8217;s simple Math: it takes time to do all those JavaScript and CSS hacks.</p>
<p>So we need to cuddling the users of Internet Explorer 6.0: ween them off the bottle, get the thumb out of their mouth, get them off the tit and on some formula. All IE 6.0 users, it&#8217;s time to ditch the Pampers a get some Big Boy Pants. 2001 was a long time ago, in the life of web technology, it&#8217;s time to grow up.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/5-ways-to-annoy-your-audience/" rel="bookmark" title="December 2, 2006">5 Ways To Annoy Your Audience</a></li>

<li><a href="http://www.webdevelopment2.com/internet-explorer-8-drama-begins/" rel="bookmark" title="May 11, 2009">Internet Explorer 8 &#8211; The Drama Begins</a></li>

<li><a href="http://www.webdevelopment2.com/ie-css-min-height-hack/" rel="bookmark" title="May 30, 2008">Make Your Web Site Not Suck In Internet Explorer &#8211; IE CSS Min-Height Hack</a></li>

<li><a href="http://www.webdevelopment2.com/cross-browser-compatible-designs/" rel="bookmark" title="December 26, 2007">Browsers Have Multiple Personalities, Your Designs Should Too</a></li>

<li><a href="http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/" rel="bookmark" title="July 26, 2008">Blog Theme Designers Given Up on IE 6?</a></li>
</ul><!-- Similar Posts took 4.803 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/hsbc-direct-doesnt-support-firefox-30-another-reason-to-dump-ie-60/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5+ Upload Image Error &#8211; Finally Fixed!</title>
		<link>http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/</link>
		<comments>http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 12:02:48 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=329</guid>
		<description><![CDATA[I know I&#8217;ve mentioned it before, but I&#8217;ve had some problems with WordPress 2.5 and their new image upload. Now I know there have been many, many, many, (well let&#8217;s just say a lot) of posts and articles about how to fix this problem. But, none of them seemed to work for me. Most of [...]]]></description>
			<content:encoded><![CDATA[<p>I know I&#8217;ve mentioned it before, but I&#8217;ve had some problems with <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> 2.5 and their new <a href="http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/">image upload</a>. Now I know there have been <a href="http://wordpress.org/support/topic/165607">many</a>, <a href="http://wordpress.org/support/topic/164293?replies=7">many</a>, <a href="http://wordpress.org/support/topic/164999">many</a>, (<a href="http://wordpress.org/support/topic/167805">well</a> <a href="http://reviewabc.com/wordpress/wordpress-25-bug-cant-insert-image-into-post/">let&#8217;s</a> <a href="http://www.nierva.com/wordpress-25-bug-image-upload-fixworkaround/">just</a> <a href="http://www.realestatebloglab.com/blogging-in-general/customize-wordpress-insertedit-image/">say</a> <a href="http://www.davidtan.org/wordpress-25-media-manager-not-working-in-opera/">a lot</a>) of <a href="http://www.colicinfant.com/blog/biz-stuff/how-to-insert-photos-to-wordpress-blog-25/">posts</a> and <a href="http://joshhighland.com/blog/2008/03/30/wordpress-25-image-upload-problem-solved/">articles</a> about how to fix this problem. But, none of them seemed to work for me. Most of them just go into the basics: setting folders with the right permissions, etc.</p>
<h2>My Set Up</h2>
<p>I won&#8217;t go into detail, but I think being on <a href="http://www.webdevelopment2.com/go/dreamhost/"  class="alinks_links" onclick="return alinks_click(this);" title="DreamHost - Quality Web Hosting"  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Dreamhost</a> has something to do with it, because trying all this on my local PC with XAMPP Lite on Windows XP.</p>
<h2>Here&#8217;s What I Tried</h2>
<p>In addition to trying all of the above on my existing blogs, I&#8217;ve tried the fresh install approach. I installed a fresh copy of WordPress and then bit by bit, I copied in database tables. All seemed to go fine, for a while, then (for some reason) I would just get that error again. It didn&#8217;t matter what the browswer was either. When I attempt to insert an image the screen would blank out.</p>
<h2>Here&#8217;s The Problem</h2>
<p>I noticed that the stuff would always break when I copied over the <em>options</em> table to my WordPress database. So after many, many hours and copying records (<em>almost</em>) one by one into the newly installed WordPress database, I&#8217;ve finally narrowed it down. The <strong><em>WordPress address (URL)</em> needs to be all lowercase</strong> or else the thing just doesn&#8217;t work. I don&#8217;t really have an explanation for it and frankly, after all this time, I don&#8217;t really care; I&#8217;m just happy it finally works.</p>
<p><a href="http://www.webdevelopment2.com/wp-content/uploads/wordpress-general-settings.png"><img class="alignnone size-medium wp-image-331" title="Wordpress General Settings" src="http://www.webdevelopment2.com/wp-content/uploads/wordpress-general-settings-300x113.png" alt="" width="300" height="113" /></a></p>
<p>Now, I suppose that it&#8217;s my fault for wanting <em>fancy</em> looking URLs, so I take the blame.</p>
<p>Hope everyone else finds this helpful.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/wordpress-installed/" rel="bookmark" title="November 9, 2005">WordPress Installed</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-comment-relish-and-high-cpu-usage/" rel="bookmark" title="December 29, 2008">Comment Relish Plugin + High CPU Usage &#8211; Fixed The Right Way</a></li>

<li><a href="http://www.webdevelopment2.com/moving-wordpress-to-a-different-domain/" rel="bookmark" title="April 2, 2007">Moving WordPress To A Different Domain</a></li>

<li><a href="http://www.webdevelopment2.com/one-down-two-to-go/" rel="bookmark" title="December 11, 2006">One Down Two To Go</a></li>

<li><a href="http://www.webdevelopment2.com/yay-wordpress-25-perfect/" rel="bookmark" title="April 6, 2008">Yay! WordPress 2.5. Almost Perfect</a></li>
</ul><!-- Similar Posts took 4.472 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Blog Theme Designers Given Up on IE 6?</title>
		<link>http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/</link>
		<comments>http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 12:09:50 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=323</guid>
		<description><![CDATA[Lately, I&#8217;ve decided to switch themes on a few of my blogs. So I started looking around for some themes that are nice and simple enough. I found about five (5) candidates and that were nice, simple and not too loud. To my surprise none of these themes worked in Internet Explorer 6.0. It seems [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve decided to switch themes on a few of my blogs. So I started looking around for some themes that are nice and simple enough. I found about five (5) candidates and that were nice, simple and not too loud. To my<em> surprise</em> none of these themes worked in Internet Explorer 6.0. It seems that, lately, blog theme designers are saying a big old &#8220;screw you IE 6.0&#8243; and I don&#8217;t blame them.</p>
<p>Now, I&#8217;m having mixed emotions about this. On one hand, I&#8217;m happy that people are finally putting the nail in IE 6.0&#8242;s coffin. However, I&#8217;m slightly pissed that I can&#8217;t use these themes. I, more than anyone, should know the reasons why we should abaondon IE 6.0 and move on to better, more productive web development and enjoyment. But, the purist in me still doesn&#8217;t want to leave the poor saps who are trapped behind the veil (whether is by software contraints or ignorance) of Internet Explorer 6.0 behind.</p>
<p>Browser statistics show that IE 6 still maintains between <a href="http://www.w3schools.com/browsers/browsers_stats.asp">26%</a> and <a href="http://www.thecounter.com/stats/2008/July/browser.php">37%</a> of the web browser market. Right now, that&#8217;s just too many people to ignore.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/hate-internet-explorer-60/" rel="bookmark" title="October 21, 2007">I Hate Internet Explorer 6.0 Even More</a></li>

<li><a href="http://www.webdevelopment2.com/ie-hack-css-centering/" rel="bookmark" title="June 9, 2008">IE Hack: CSS Centering &#8211; Another Reason I Hate Internet Explorer</a></li>

<li><a href="http://www.webdevelopment2.com/5-ways-to-annoy-your-audience/" rel="bookmark" title="December 2, 2006">5 Ways To Annoy Your Audience</a></li>

<li><a href="http://www.webdevelopment2.com/linkmania-january-18-2007/" rel="bookmark" title="January 18, 2007">LinkMania: January 18, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/internet-explorer-8-drama-begins/" rel="bookmark" title="May 11, 2009">Internet Explorer 8 &#8211; The Drama Begins</a></li>
</ul><!-- Similar Posts took 3.977 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Stop Hating On PHP And Learn To Code Better</title>
		<link>http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/</link>
		<comments>http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/#comments</comments>
		<pubDate>Wed, 28 May 2008 13:32:06 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=311</guid>
		<description><![CDATA[So here we have the timely battle that PHP faces. Frankly, I&#8217;m getting sick and tired of this. All in all, I&#8217;d have to agree with Jeff on this one, to a certain extent. They Say PHP Sucks You&#8217;ll hear the same claims every single time: &#8220;Google PHP Sucks you&#8217;ll see how much PHP sucks&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p>So here we have the timely battle that PHP faces. Frankly, I&#8217;m getting sick and tired of this. All in all, I&#8217;d have to agree with Jeff on this one, to a certain extent.</p>
<h3>They Say PHP Sucks</h3>
<p>You&#8217;ll hear the same claims every single time: &#8220;Google <a href="http://www.google.com/search?q=php+sucks">PHP Sucks</a> you&#8217;ll see how much PHP sucks&#8221;. Oh please! This is some of what the haters usually use for the argument:</p>
<ul>
<li>&#8220;<strong>There are too many functions</strong>&#8220;</li>
<li>PHP Isn&#8217;t OOP</li>
<li><strong>Everything is strung together</strong> &#8211; This claim usually talks about the interaction between PHP and/or SQL</li>
</ul>
<h3>In Defense of PHP</h3>
<p>The number one claim is that everything in PHP feels like it&#8217;s <em>clunky</em> and may fall apart at any time. Granted, I&#8217;ll be the first to admit that <strong>I hate <em>boring</em> SQL queries</strong>. Keyword here is <strong>boring</strong>. Within the past year, I&#8217;ve really gotten to see that <strong>SQL has a lot of power</strong>. Learning of all of awesome power, just makes me hate writing crap like:</p>
<pre class="brush: sql; title: ;">
select title, body, post_date from posts where id = 32
</pre>
<h4>Functions, Functions, Functions</h4>
<p>I, myself, have never really understood the &#8220;too many functions&#8221; argument. Maybe it does make the documentation a bit muggy to get through, but how many functions that are in there have very little to do with me. I don&#8217;t care, I just use a handful of them.</p>
<h4>PHP is OPP &#8211; That&#8217;s All There Is To It</h4>
<p>We need to make a distinction here: <strong>PHP 5 <em>is</em> Object Oriented</strong>. The problem is a <strong>lot</strong> of PHP code that you can find out there <strong>isn&#8217;t</strong>. PHP has this classic gift and a curse: it makes it <strong>damn easy to get something <em>functional</em> out the door in a hurry</strong>.</p>
<p>I mean, I&#8217;d love to see a bit more OOP, but that&#8217;s an implementation issue. And the piles of arrays for data storage are a lil&#8217; bit of a pain, but again, that&#8217;s an implementation issue.</p>
<h4>PHP Is Not A Framework &#8211; Get Over It</h4>
<p>Now, I know what you&#8217;re thinking: &#8220;Baz, you&#8217;re a lazy bastard, that&#8217;s isn&#8217;t so hard to write&#8221;. And you&#8217;re be totally right. But after the 25th time writing this or some simple variation of this, you can&#8217;t help but feel that you&#8217;re wasting your time. Now here&#8217;s the kicker: This isn&#8217;t a problem isolated to PHP. Most other programming languages (listen to me well: <strong>Programming Languages</strong>) suffer the same fate. You&#8217;re going to see SQL strung out throughout code in any language, I don&#8217;t see why people keep blaming PHP for this.</p>
<p>This is a classic in the <a href="http://www.google.com/search?q=php+vs+rails">PHP vs. Rails saga</a>. Haters often compare PHP, a simple programming (scripting even) language to a very complex web development framework. I don&#8217;t care what you say, but that&#8217;s <strong>like comparing a factory stock model car to a car with 2 years of work and $20,000 of after market parts</strong>. Luckily, the folks at <a href="http://www.railsenvy.com/">Rails Envy</a> have made an attempt at <a href="http://www.railsenvy.com/2007/8/24/rails-vs-php">clearing this up</a> with their mention of CakePHP:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/GQXqWkWqnSw" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/GQXqWkWqnSw" wmode="transparent"></embed></object></p>
<h3>Time To Take Responsibility</h3>
<p>As programmers and web developers, I think it&#8217;s time to take a lil&#8217; bit of responsibility for the type of code we write. I don&#8217;t know about you, but regardless of the language, I can write some very nasty code. It all depends on the frame of mind. I&#8217;ve seen varying levels of PHP code: I&#8217;ve seen dozens and dozens of code blocks (not functions) in one index.php file. I&#8217;ve also seen nice, clean, refactored, DRY code.</p>
<p>Granted, PHP makes it a bit easier to be lazy, but do we blame the language for that? Come on guys, let&#8217;s put on our <em>big boy pants</em>, read a book about code design, and apply it to any language that you&#8217;re coding in. PHP powers some of the largest sites on the internet, someone&#8217;s doing it right. Stop being mad because you can&#8217;t. Stop using the programming language as a crutch and learn how to apply proper coding techniques to any language.</p>
<p>Bottom Line:</p>
<blockquote><p>Some of the largest sites on the internet &#8212; sites you probably interact with on a daily basis &#8212; are written in PHP. If PHP sucks so profoundly, why is it powering so much of the internet?</p>
<p>The only conclusion I can draw is that building a compelling application is far more important than choice of language. While PHP wouldn&#8217;t be my choice, and if pressed, I might argue that it should never be the choice for any rational human being sitting in front of a computer, I can&#8217;t argue with the results.</p></blockquote>
<p>Source: <a href="http://www.codinghorror.com/blog/archives/001119.html">PHP Sucks, But It Doesn&#8217;t Matter</a> [Coding Horror]</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/php-vs-vb6/" rel="bookmark" title="November 27, 2006">PHP vs. VB6</a></li>

<li><a href="http://www.webdevelopment2.com/to-suck-or-not-to-suck-that-is-question-for-javascript/" rel="bookmark" title="December 31, 2006">To Suck or Not to Suck, That is Question for JavaScript</a></li>

<li><a href="http://www.webdevelopment2.com/steal-browser-history-with-spyjax/" rel="bookmark" title="June 5, 2007">Steal Browser History with SpyJax</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-ruby-rails-bias/" rel="bookmark" title="November 5, 2007">CakePHP vs. Ruby On Rails &#8211; A Very Bias Look at Why I Choose CakePHP</a></li>

<li><a href="http://www.webdevelopment2.com/ten-reasons-to-learn-c/" rel="bookmark" title="November 27, 2006">Ten Reasons to Learn C (not C++)</a></li>
</ul><!-- Similar Posts took 4.342 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Bindable Behavior Now In CakePHP Core</title>
		<link>http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/</link>
		<comments>http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/#comments</comments>
		<pubDate>Fri, 23 May 2008 13:37:56 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=309</guid>
		<description><![CDATA[It&#8217;s not news that Bindable Behavior has saved countless lives in terms of functionality. As of Changeset 6918 this has now been integrated into the CakePHP core. So, we&#8217;ll have something to look forward to in the official release of CakePHP 1.2. Mind you, there may be a lot of other hidden gems in there, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not news that <a href="http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings">Bindable Behavior</a> has saved countless lives in terms of functionality.</p>
<p>As of <a href="https://trac.cakephp.org/changeset/6918">Changeset 6918</a> this has now been integrated into the CakePHP core. So, we&#8217;ll have something to look forward to in the official release of CakePHP 1.2. Mind you, there may be a lot of other hidden gems in there, I just haven&#8217;t been paying attention lately <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Most of the functionality is as we remember, with a few exceptions:</p>
<ul>
<li>$this->Article->restrict(&#8216;Comment&#8217;) now becomes<br />
$this->Article->contain(&#8216;Comment&#8217;)</li>
<li>$this->Article->find(&#8216;all&#8217;, array(&#8216;restrict&#8217; => array(&#8216;User&#8217;))); turns into<br />
$this->Article->find(&#8216;all&#8217;, array(&#8216;contain&#8217; => array(&#8216;User&#8217;)));</li>
</ul>
<p>For a <em>complete</em> list of the differences and changes you can check out the<br />
<a href="https://trac.cakephp.org/browser/branches/1.2.x.x/cake/tests/cases/libs/model/behaviors/containable.test.php?rev=6918">Containable Test Cases</a> for excellent examples of how to use this to it&#8217;s full potential.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/stupid-cakephp-trick-day-generatelist-empty-slot/" rel="bookmark" title="November 1, 2007">Cute CakePHP Trick of the Day &#8211; GenerateList Empty Slot In List</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-fckeditor/" rel="bookmark" title="November 23, 2007">WYBISYG &#8211; What You Bake Is What You Get &#8211; CakePHP + FCKEditor</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/" rel="bookmark" title="January 8, 2008">CakePHP Auth Component For Dummies Tutorial</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-vs-desktop-development/" rel="bookmark" title="November 30, 2005">Web Development vs. Desktop Development</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/" rel="bookmark" title="November 7, 2008">CakePHP Contact Form &#8211; Quick and Dirty</a></li>
</ul><!-- Similar Posts took 4.018 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Qualtiy Website Design &#8211; 3HN Designs Review</title>
		<link>http://www.webdevelopment2.com/qualtiy-website-design-3hn-designs-review/</link>
		<comments>http://www.webdevelopment2.com/qualtiy-website-design-3hn-designs-review/#comments</comments>
		<pubDate>Mon, 19 May 2008 14:00:33 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=310</guid>
		<description><![CDATA[So, you&#8217;ve been reading this blog for a while and you&#8217;re (hopefully) picking up very valuable tips on website and web application design. But just like all other do-it-yourself (DIY) projects, no amount of tips or tutorials in isolation is going to make you an expert. So you throw your hands up in say &#8220;I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>So, you&#8217;ve been reading this blog for a while and you&#8217;re (hopefully) picking up very valuable tips on website and web application design. But just like all other do-it-yourself (DIY) projects, no amount of tips or tutorials in isolation is going to make you an expert. So you throw your hands up in say &#8220;I&#8217;m done with this web design crap!&#8221; But, you still need a website. So what do you do?</p>
<p>[Shameless Plug]</p>
<h3>Enter 3HN Designs.com</h3>
<p><a rel="nofollow" href="http://www.3hndesigns.com">3HN Designs</a> comprises of a group of, you guessed it, three (3) developers that have a common goal: to provide quality designs at an affordable price.</p>
<p>Services Provided include:</p>
<ul>
<li>Website Design</li>
<li>Web Application Development</li>
<li>Logos</li>
<li>Search Engine Optimization</li>
<li>etc.</li>
</ul>
<p>They offer static web design, along with a custom CMS approach and other forum, gallery, and shopping cart scripts.</p>
<h3>Under The Hood</h3>
<p>So what does the finished product comprise of? Well it <a rel="nofollow" href="http://www.3hndesigns.com/pricing.htm">depends on what you pay for</a>. At the base price of $500.00, you&#8217;ll come away with a nice, fresh looking XHTML/CSS web site that you can mangle to your hearts content.</p>
<p>If you choose to shell out a lil&#8217; bit more, you get something a little more flexible, in that it&#8217;s dynamic and you can edit a change the content at your leisure. Now this is my favorite part: it&#8217;s written in CakePHP. Nothing flashy, just a editable regions using FCKEditor or TinyMCE. There are also some nice generic options that can be changed, such as: site name, contact email address (for the contact form), etc.</p>
<p>So, if you&#8217;re in over your head on a project or you just don&#8217;t have the time to deal with a website right now, head over to <a rel="nofollow" href="http://www.3hndesigns.com/">3HN Designs for Quality Website Design</a></p>
<p>[/Shameless Plug]</p>
<p>P.S. I say <em>they</em> because it&#8217;s a little bit less shameless then <em>we</em> <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/spell-out-a-detailed-contract/" rel="bookmark" title="November 1, 2006">Spell Out a Detailed Contract</a></li>

<li><a href="http://www.webdevelopment2.com/content-management-systems/" rel="bookmark" title="November 2, 2006">Content Management Systems</a></li>

<li><a href="http://www.webdevelopment2.com/weebly-editor-web-20-wysiwyg-editor/" rel="bookmark" title="April 15, 2007">Weebly Editor &#8211; Web 2.0 WYSIWYG Editor</a></li>

<li><a href="http://www.webdevelopment2.com/dclick-ads-another-quick-start-up-advertising-site/" rel="bookmark" title="December 24, 2006">Dclick Ads &#8211; Another Quick Start Up Advertising Site</a></li>

<li><a href="http://www.webdevelopment2.com/seo-inc-search-engine-optimization-company/" rel="bookmark" title="December 24, 2006">SEO Inc &#8211; Search Engine Optimization Company</a></li>
</ul><!-- Similar Posts took 4.868 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/qualtiy-website-design-3hn-designs-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter to Bite the PHP Bullet?</title>
		<link>http://www.webdevelopment2.com/twitter-bite-php-bullet/</link>
		<comments>http://www.webdevelopment2.com/twitter-bite-php-bullet/#comments</comments>
		<pubDate>Sat, 03 May 2008 13:03:02 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=308</guid>
		<description><![CDATA[One of the big things you&#8217;ll hear about Ruby on Rails is that it&#8217;s hard to scale. In my opinion, that&#8217;s not really an issue that one should be addressing on the framework level. Scaling, in my opinion, should be something reserved for backend databases and servers. From what I&#8217;ve read, you should be able [...]]]></description>
			<content:encoded><![CDATA[<p>One of the big things you&#8217;ll hear about Ruby on Rails is that it&#8217;s hard to scale. In my opinion, that&#8217;s not really an issue that one should be addressing on the framework level. Scaling, in my opinion, should be something reserved for backend databases and servers. From what I&#8217;ve read, you should be able to slap on a MySQL proxy and an Apache load balancer in front of multiple mongrel servers, but I digress.</p>
<p>With all the <a href="http://glu.ttono.us/articles/2007/04/15/on-twitter-rails-and-community">Twitter</a> <a href="http://www.radicalbehavior.com/5-question-interview-with-twitter-developer-alex-payne/">Rails</a> <a href="http://highscalability.com/scaling-twitter-making-twitter-10000-percent-faster">scaling</a> issues, it&#8217;s funny to see this headline from TechCrunch. Guys over at Twitter have <a href="http://twitter.com/ev/statuses/801530348">renounced this claim</a> though.</p>
<p>Will this make me abandon my quest for learning Ruby on Rails? I highly doubt it. Scaling becomes an issue on extremely high traffic sites. And a lot of the issues that come into play with such a high traffic site, can be easily remedied by things like optimizing queries and caching.</p>
<p>Source: <a href="http://www.techcrunch.com/2008/05/01/twitter-said-to-be-abandoning-ruby-on-rails/">Twitter Said To Be Abandoning Ruby on Rails</a> [TechCrunch]</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/understand-bias-means/" rel="bookmark" title="April 16, 2008">Do We Not Understand What Bias Means?</a></li>

<li><a href="http://www.webdevelopment2.com/the-top-five-technologies-you-need-to-know-about-in-2007/" rel="bookmark" title="March 4, 2007">The Top Five Technologies You Need to Know About In 2007</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-ruby-rails-bias/" rel="bookmark" title="November 5, 2007">CakePHP vs. Ruby On Rails &#8211; A Very Bias Look at Why I Choose CakePHP</a></li>

<li><a href="http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/" rel="bookmark" title="May 28, 2008">Stop Hating On PHP And Learn To Code Better</a></li>

<li><a href="http://www.webdevelopment2.com/enter-cakephp-rapid-development-framework-no-really/" rel="bookmark" title="July 2, 2007">Enter CakePHP &#8211; Rapid Development Framework &#8211; No Really!</a></li>
</ul><!-- Similar Posts took 4.245 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/twitter-bite-php-bullet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Do We Not Understand What Bias Means?</title>
		<link>http://www.webdevelopment2.com/understand-bias-means/</link>
		<comments>http://www.webdevelopment2.com/understand-bias-means/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 14:17:08 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=296</guid>
		<description><![CDATA[Somehow I don&#8217;t think most people understood what my bias comparison of CakePHP vs Ruby on rails meant. The last few visitors to comments seem to have been Rails fans. One of them seems to think that I shouldn&#8217;t touch Ruby on Rails with a ten foot pole and should stick with CakePHP. He doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Somehow I don&#8217;t think most people understood what my <a href="http://www.webdevelopment2.com/cakephp-ruby-rails-bias/">bias comparison of CakePHP vs Ruby on rails</a> meant. The last few visitors to comments seem to have been Rails fans. One of them seems to think that I shouldn&#8217;t touch Ruby on Rails with a ten foot pole and should stick with CakePHP. He doesn&#8217;t want someone like me in <em>their community</em>. The other comment, I get the opposite vibe from. He strikes me as a PHP fan, who thinks I&#8217;m too lazy for the PHP community.</p>
<p>To all the folks that haven&#8217;t seem to understand my whole objective, let me help you guys out. I have general interests in a lot of areas and I also work a 9 to 5 job. So I don&#8217;t really have the time and dedication required to poor my heart and sole into everything that comes along. I do a brief overview of something before I spend tons of time delving into it. People are pissed that I&#8217;m comparing CakePHP to Ruby on Rails and haven&#8217;t even tried it yet. This is where the brief overview comes in; I took a quick look and realized that for what I was doing at the time, Ruby on Rails would have been more trouble that it was worth.</p>
<p>Furthermore, the title of the post said &#8220;Bais Look&#8221;. I state all the reasons, why I pick CakePHP. The first one is that I&#8217;m lazy. Again, whatever I do is for a purpose. Other than general interests, I just don&#8217;t have time to sit and pour over every framework. Where does it end? CakePHP, Ruby on Rails, etc? I&#8217;m not an overactive hobbyist. I take a quick look at things that spark my general interests, then figure out how to make the best of use of them. But I&#8217;m aware that a lot of people have different opinions and people are passionate about their opinions. So, you guys are excused <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
With that said, I&#8217;m sorry to disappoint either the CakePHP or Ruby on Rails community (depending on how you look at it, lol). I&#8217;ve started a project lately, for which I think I required the stability, establishment, and huge resource of plugins, etc that Ruby on Rails has to offer. Also, they got a a few books and it never hurts to broaden your horizons. At least when I mention Ruby on Rails to a potential employer, they&#8217;ll know what I&#8217;m talking about. But regardless of what you like, what you&#8217;re passionate about, or why you use what you use; remember this: <a href="http://www.webdevelopment2.com/choice-web-development-framework-matter/">No One Cares</a>. It&#8217;s all about what you do with it.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/enter-cakephp-rapid-development-framework-no-really/" rel="bookmark" title="July 2, 2007">Enter CakePHP &#8211; Rapid Development Framework &#8211; No Really!</a></li>

<li><a href="http://www.webdevelopment2.com/choice-web-development-framework-matter/" rel="bookmark" title="December 31, 2007">Your Choice of Web Development Framework Doesn&#8217;t Matter</a></li>

<li><a href="http://www.webdevelopment2.com/poll-results-php-framework/" rel="bookmark" title="November 28, 2007">Poll Results &#8211; What Do You Look for in a PHP Framework?</a></li>

<li><a href="http://www.webdevelopment2.com/twitter-bite-php-bullet/" rel="bookmark" title="May 3, 2008">Twitter to Bite the PHP Bullet?</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-ruby-rails-bias/" rel="bookmark" title="November 5, 2007">CakePHP vs. Ruby On Rails &#8211; A Very Bias Look at Why I Choose CakePHP</a></li>
</ul><!-- Similar Posts took 4.431 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/understand-bias-means/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 &#8211; The Vista of Blog Platforms</title>
		<link>http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/</link>
		<comments>http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 13:57:56 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=304</guid>
		<description><![CDATA[So it&#8217;s been about a weeks since it was out, so I figure, why not? After all I have the WordPress Automatic Upgrade plugin, so this should be a breeze. Now this plugin makes upgrading WordPress ridiculously simple. It handles file backups, database backups, deactivating and reactivating all plugins, etc. So I go through the [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been about a weeks since it was out, so I figure, why not? After all I have the <a title="Wordpress Automatic Upgrade plugin" href="http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/">WordPress Automatic Upgrade plugin</a>, so this should be a breeze. Now this plugin makes upgrading <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a> ridiculously simple. It handles file backups, database backups, deactivating and reactivating all plugins, etc.</p>
<p>So I go through the process and I&#8217;m not totally disappointed. There were the normal problems we have with all upgrades and some new ones:</p>
<ul>
<li><strong>Theme Issues</strong>: This only happened on one of my blogs. Heck, it&#8217;s an old theme, so that&#8217;s to be expected. The widgets didn&#8217;t quite work right, but it was fixable.</li>
<li><strong>Plugin Issues</strong>: Of course there will be those. Some plugins haven&#8217;t been updated yet, some just required me to update them. And with the new plugin update feature, it was quite easy to fix these problems. Then, there are some plugins I just had to totally disable, but upgrades for these are coming out everyday. I&#8217;m down to one old plugin that hasn&#8217;t been updated yet.</li>
<li><strong>Admin Changes</strong>: They decided to redesign the way the administrative section looks and operates. They moved around some stuff in <em>Write</em> section to make it <em>cleaner</em>. But by far, the worst thing they did is switch to a fixed width format; ugh. But nothing that couldn&#8217;t be fixed with a quick plugin (<a href="http://wordpress.org/extend/plugins/remove-max-width/">Remove Max Width</a>).</li>
<li><strong>Image Stuff</strong>: There is a multi-image Flash uploader and some new gallery features, but I&#8217;m not a big picture guy, so</li>
</ul>
<h3>Should Have Waited for Service Pack 1</h3>
<p>Everything looks all nice and slick, but after a few days I began to regret my choice. The way images have been inserted is rather different: You need to click <em>media</em> button, the click <em>Gallery</em>, then click and image, <strong>then</strong> click <em><strong>Insert Into Post</strong>. </em>Once you&#8217;ve done that, the media window closes. Some people are pissed by this new change since it makes inserting multiple images a pain in the ass. That stupid media window isn&#8217;t exactly light on resources.</p>
<p>Now this is when it does work. There are three (3) blogs that I manage and for some ridiculous reason, the <em>Insert Into Post </em>button does me the great pleasure of clearing the media window, hence I can&#8217;t insert any of my images. I&#8217;ve Googled this issue and some people point to problematic plugins and such. The funny thing is, I event went the step of deactivating all plugins on the blog, with no success. So WordPress 2.5, what gives? Using Firebug I&#8217;ve been able to catch the error that happens:</p>
<blockquote><p>uncaught exception: Permission denied to get property Window.send_to_editor</p></blockquote>
<p>I guess I was too eager. Hopefully, someone is rapidly working on 2.5.1.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/yay-wordpress-25-perfect/" rel="bookmark" title="April 6, 2008">Yay! WordPress 2.5. Almost Perfect</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/" rel="bookmark" title="July 28, 2008">WordPress 2.5+ Upload Image Error &#8211; Finally Fixed!</a></li>

<li><a href="http://www.webdevelopment2.com/top-10-css-image-galleries-diy/" rel="bookmark" title="November 27, 2006">Top 10 CSS Image Galleries &#8211; DIY</a></li>

<li><a href="http://www.webdevelopment2.com/hate-internet-explorer-passion/" rel="bookmark" title="September 10, 2007">I Hate Internet Explorer With A Passion</a></li>

<li><a href="http://www.webdevelopment2.com/how-to-make-payperpost-and-google-adsense-play-nice-mightyadsense-plugin-hack/" rel="bookmark" title="June 24, 2007">How To Make PayPerPost and Google Adsense Play Nice &#8211; MightyAdsense Plugin Hack</a></li>
</ul><!-- Similar Posts took 3.694 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CakePHP Auth Component &#8211; Will You Remember Me Tomorrow?</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-3/</link>
		<comments>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-3/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 13:57:16 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=293</guid>
		<description><![CDATA[This is the third installment of my Auth Component Tutorial. This tutorial builds on the first installment, so make sure you grab the download file: Note: There is a file embedded within this post, please visit this post to download the file. You&#8217;ll find it on almost every popular web site&#8217;s login page; a nice [...]]]></description>
			<content:encoded><![CDATA[<p>This is the third installment of my <a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/">Auth Component Tutorial</a>. This tutorial builds on the <a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/">first installment</a>, so make sure you grab the download file:<br />
Note: There is a file embedded within this post, please visit this post to download the file.<br />
You&#8217;ll find it on almost every popular web site&#8217;s login page; a nice lil&#8217; <strong>checkbox that says &#8220;Remember Me&#8221;.</strong> It seems to have become a basic addition to any page with a login form. Generally, when a user logs into a web site, he&#8217;s logged in until his session expires. Which usually translates to when they close the browser window or when they allow the session to timeout.</p>
<p>With a Remember Me cookie, you hit the lil&#8217; checkbox and it stores a lil&#8217; cookie on the user&#8217;s computer. This cookie can contain various information (we&#8217;ll get to that later) but it essentially enables the user to bypass the login process the next time he comes to the page requiring authentication.</p>
<p>So, the simplest way to proceed is to list changes by file, so strap in your seat belts, here goes.</p>
<h3>The Obvious, The Login Form &#8211; login.ctp</h3>
<p>Now of course you need to add the checkbox and a label for said checkbox. Simple enough:</p>
<pre class="brush: php; title: ;">
echo $form-&gt;checkbox('remember_me');
echo $form-&gt;label('remember_me');
...
OR
echo $form-&gt;input('remember_me', array('label' =&gt; 'Remember Me', 'type' =&gt; 'checkbox'));
</pre>
<p>The top is my preference since it places the checkbox before the label. Just a personal choice.</p>
<h3>Implementing the &#8220;Remember Me&#8221; Cookie &#8211; users_controller.php</h3>
<p>Here&#8217;s where all the fun takes place. First off don&#8217;t forget to <strong>include the Cookie component in the $components array</strong>. Now, remember that blank function login(), well this is where we dump all the magic:</p>
<pre class="brush: php; title: ;">
function login() {
	//-- code inside this function will execute only when autoRedirect was set to false (i.e. in a beforeFilter).
	if ($this-&gt;Auth-&gt;user()) {
		if (!empty($this-&gt;data) &amp;amp;&amp;amp; $this-&gt;data['User']['remember_me']) {
			$cookie = array();
			$cookie['username'] = $this-&gt;data['User']['username'];
			$cookie['password'] = $this-&gt;data['User']['password'];
			$this-&gt;Cookie-&gt;write('Auth.User', $cookie, true, '+2 weeks');
			unset($this-&gt;data['User']['remember_me']);
		}
		$this-&gt;redirect($this-&gt;Auth-&gt;redirect());
	}
	if (empty($this-&gt;data)) {
		$cookie = $this-&gt;Cookie-&gt;read('Auth.User');
		if (!is_null($cookie)) {
			if ($this-&gt;Auth-&gt;login($cookie)) {
				//  Clear auth message, just in case we use it.
				$this-&gt;Session-&gt;del('Message.auth');
				$this-&gt;redirect($this-&gt;Auth-&gt;redirect());
			} else { // Delete invalid Cookie
				$this-&gt;Cookie-&gt;del('Auth.User');
			}
		}
	}
}
</pre>
<p>This login() function is run every time a user accesses a page that needs authentication (I think <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). When this is blank and authRedirect set to true, the Auth Component works its magic and determines what needs to be done if the user is already logged in and if he&#8217;s not. But, since we wanna do fancy stuff, we need to implement it ourselves.</p>
<h4>Writing the Remember Me Cookie</h4>
<p>We first <strong>check if the user is logged in, by checking $this->Auth->user()</strong>. If he is, we check $this->data for the Remember Me checkbox. Now, if $this->data does not exist that means that the user has already been logged in; that is he&#8217;s not coming from the login form, therefore we just redirect. However, if $this->data exists we&#8217;re coming from the login form AND if the remember me button was checked, we proceed to do cookie magic.</p>
<p>We <strong>set up an array for storing the username and password</strong>, pull that information from $this->data, then we write this to the cookie on the user&#8217;s computer. That&#8217;s it. (I see an unset() for the remember me cookie. To be honest, I can&#8217;t remember why we do this. lol). Now before you get your panties all in a bunch about saving passwords to the user&#8217;s browser, consider these points:</p>
<ol>
<li>The password field we&#8217;re using here has already been hashed by the Auth Component</li>
<li>The Cookie is written with further hashing</li>
<li>There&#8217;s an alternative that we&#8217;ll discuss a lil&#8217; bit later</li>
</ol>
<p>One thing you should be aware of: With this implementation the <strong>$cookie array needs to have the association match those in $this->data['User']</strong>. What I mean is, if in $this->data you have &#8216;uname&#8217; and &#8216;passwd&#8217;, then the cookie array, then the $coolie array must match these with it&#8217;s associations or else the login function won&#8217;t work.</p>
<p>So that&#8217;s writing the cookie. We use this cookie in the next if block.</p>
<h4>&#8220;Me Want Cookie&#8221; &#8211; Login The User from The Cookie</h4>
<p>As I said before, Auth runs this login() function every time we try to access an authenticated page. If the user is NOT logged in ($this->Auth->user() is false), then we attempt to read the cookie from the user&#8217;s browser. If the cookie was read successfully, we <strong>force a login of that user using $this->Auth->login($cookie)</strong>.</p>
<p>If the login() is successful we need to do a lil&#8217; bit of cleanup. As far as the Auth component is concerned, the user isn&#8217;t authorized to view the page and it has already populated the error in the Session, so we need to <strong>manually delete this error message: $this->Session->del(&#8216;Message.auth&#8217;);</strong></p>
<h4>The Alternative I Spoke About</h4>
<p>In general (meaning, outside the realm of just CakePHP) there is the feeling that we <strong>should not be storing any sensitive information in a cookie</strong>. Let&#8217;s stick a pin in that for now. So, if you really don&#8217;t want to, there&#8217;s an alternative: You can simply store the user ID in the cookie. The login() function would be modified as follows:</p>
<ul>
<li>Write UserID only: $cookie = $this->Auth->user(&#8216;id&#8217;); No usernames and passwords involved (happy now?)</li>
</ul>
<p>Now here&#8217;s how this works. The function $this->Auth->login($cookie) checks the parameter we pass. <strong>If we pass an array of username and password</strong>, then it does a basic login, which translates to a <strong>find() in the database for that username and password combination</strong>. If we pass a numeric parameter (as in just a user id) it does a find for that user id in the database. So, here&#8217;s an example to illustrate:</p>
<p><strong>Library Scenario</strong><br />
User logs in at the library and hits remember me (he shouldn&#8217;t, but oh well, he did). That cookie is written to the browser. Then he goes home and finds out that someone has been fiddling with his account, <strong>so he changes his password</strong>. With the <strong>first method, the library folk&#8217;s login attempt will fail</strong>, then the Cookie would be deleted (even if it&#8217;s not deleted, subsequent attempts would just fail until the cookie expires).</p>
<p>Now with the <strong>second method</strong>, all we login with is a user id. Whether or not the password is changed, <strong>folks at the library will still have free reign over his account as long as his ID remains the same</strong> (and we all know that IDs don&#8217;t change just like that) and the cookie is still active. Suddenly, storing a hashed password doesn&#8217;t seem so insecure now, does it?</p>
<p>Of course, the point can be argued that even with the password hash, the user could (in theory) hack the cookie and replace all that hashed stuff with a plain text user ID and Auth will force a login anyway. We could do a bit of checking before we pass the $cookie variable to the login() function. We could ensure that it has a username and password portion, but all of this cookie hacking stuff is out of the scope of this tutorial and generally leads to the answer of no remember me cookies period. But regardless, CakePHP&#8217;s cookie routine uses basic hash encryption, which is hashed with the application&#8217;s SALT value, so cookie hacking in CakePHP is going to be a task, but nothing&#8217;s impossible right?</p>
<h3>No More Cookie &#8211; Don&#8217;t Forget To Cleanup</h3>
<p>We need to ensure that cookies are cleaned up when the user logs out, so just add the line <strong>$this->Cookie->del(&#8216;Auth.User&#8217;); to your logout()</strong> function.</p>
<h3>Last but Not Least &#8211; beforeFilter()</h3>
<p>Maybe this shouldn&#8217;t have been left for last, but there is a method to my madness. So, we&#8217;ve just set up this awesome set of routines and we send cookies left and right and do auto logins and we feel great, but then it doesn&#8217;t work and we wonder why.</p>
<p>As you&#8217;ll see in the commented code above, we need to set <strong>$this->Auth->autoRedirect = false</strong> in a beforeFilter() somewhere or else Auth doesn&#8217;t run anything in our tricked out login() function. Hence the reasons for all the manual redirects.</p>
<p>So, you now have all the information required to make this work. Enjoy.</p>
<p>Note, this tutorial is taken from something I&#8217;ve submitted to the <a href="http://book.cakephp.org/">CakePHP Book</a>, some time ago. By far, this is now the main reference for anything CakePHP. Please check out the <a href="http://book.cakephp.org/view/172/authentication">Authentication Section</a> for more details.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/" rel="bookmark" title="January 8, 2008">CakePHP Auth Component For Dummies Tutorial</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-2/" rel="bookmark" title="January 11, 2008">CakePHP Auth Component &#8211; Tutorial Two</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/" rel="bookmark" title="November 7, 2008">CakePHP Contact Form &#8211; Quick and Dirty</a></li>

<li><a href="http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/" rel="bookmark" title="May 23, 2008">Bindable Behavior Now In CakePHP Core</a></li>

<li><a href="http://www.webdevelopment2.com/phpbb-2018-released/" rel="bookmark" title="October 30, 2005">phpBB 2.0.18 released</a></li>
</ul><!-- Similar Posts took 4.766 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-3/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Yay! WordPress 2.5. Almost Perfect</title>
		<link>http://www.webdevelopment2.com/yay-wordpress-25-perfect/</link>
		<comments>http://www.webdevelopment2.com/yay-wordpress-25-perfect/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 14:32:43 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=292</guid>
		<description><![CDATA[Now I don&#8217;t have to tell you guys about all the goodies that WordPress 2.5 brings, but I&#8217;ll name a few anyways: New fresh Admin theme Nice Dashboard You can modify the link for &#8220;Incoming Links&#8221;. Technorati anyone? Finally included Tag Management Concurrent Post Editing Protection One Click Plugin upgrades. Oh yes. It&#8217;s about time. [...]]]></description>
			<content:encoded><![CDATA[<p>Now I don&#8217;t have to tell you guys about all the <a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">goodies that WordPress 2.5 brings</a>, but I&#8217;ll name a few anyways:</p>
<ul>
<li>New fresh Admin theme</li>
<li>Nice Dashboard</li>
<li>You can modify the link for &#8220;Incoming Links&#8221;. Technorati anyone?</li>
<li>Finally included Tag Management</li>
<li>Concurrent Post Editing Protection</li>
<li>One Click Plugin upgrades. Oh yes. It&#8217;s about time.</li>
<li>Built in Gallery</li>
<li>Nice Flash Media Uploader</li>
</ul>
<p>There&#8217;s just ONE thing that rubs me the wrong way.</p>
<p>They&#8217;ve gone an given the admin theme a fixed width layout, designed for a 1024px monitor. Why, <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">WordPress</a>, why? This is really a pain, after I decided to get (not one, but) two 19&#8243; Wide Screen LCD monitors. Luckily, there&#8217;s a <a href="http://wordpress.org/extend/plugins/remove-max-width/#post-4779">plugin</a> that puts things back into perspective.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/" rel="bookmark" title="April 14, 2008">WordPress 2.5 &#8211; The Vista of Blog Platforms</a></li>

<li><a href="http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/" rel="bookmark" title="December 11, 2008">Why My WordPress 2.7 Install &#8220;Failed&#8221;</a></li>

<li><a href="http://www.webdevelopment2.com/owe-6-apology-nah/" rel="bookmark" title="October 23, 2007">I Think I Owe IE 6 An Apology, Nah.</a></li>

<li><a href="http://www.webdevelopment2.com/fixed-vs-fluid-layouts-and-screen-resolutions/" rel="bookmark" title="December 2, 2006">Fixed vs. Fluid Layouts and Screen Resolutions</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-installed/" rel="bookmark" title="November 9, 2005">WordPress Installed</a></li>
</ul><!-- Similar Posts took 4.109 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/yay-wordpress-25-perfect/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

