<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Web Development 2.0: Web Design, CakePHP, Javascript</title>
	
	<link>http://www.webdevelopment2.com</link>
	<description>Quick and Dirty Web Development for Web 2.0: CakePHP, Prototype, JQuery, and lots more.</description>
	<lastBuildDate>Sun, 18 Oct 2009 17:07:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>33.859798</geo:lat><geo:long>-98.540642</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-nd/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BazWebDev" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Reader Input: Picking A CMS – Part 1</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/mhQZDh5apNc/</link>
		<comments>http://www.webdevelopment2.com/picking-a-cms-part-1/#comments</comments>
		<pubDate>Wed, 20 May 2009 15:09:28 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reader Input]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=510</guid>
		<description>Define The Problem
In the past, I&amp;#8217;ve done some freelance Web Development and Web Design for different clients. One question I&amp;#8217;ve always had to ask myself is:
How will the user be updating this website?
That question is usually preempted by a question to the client:
Do you have any HTML experience?
I can count (on one hand) the number [...]</description>
			<content:encoded><![CDATA[<h2>Define The Problem</h2>
<p>In the past, I&#8217;ve done some freelance Web Development and Web Design for different clients. One question I&#8217;ve always had to ask myself is:</p>
<blockquote><p>How will the user be updating this website?</p></blockquote>
<p>That question is usually preempted by a question to the client:</p>
<blockquote><p>Do you have any HTML experience?</p></blockquote>
<p>I can count (on one hand) the number of times that I&#8217;ve heard a <em>yes</em> to this question. To be quite honest, I don&#8217;t even know why I ask it anymore. <strong>Hardly any of my clients  ever had HTML experience</strong> and even if they did, I doubt they&#8217;d want to go through the hassle. So this poses the very interesting question How do you pick a <a title="Content Management System" href="http://en.wikipedia.org/wiki/Content_management_system">CMS</a> (content management system) for a web project?</p>
<h2>What Not To Do &#8211; Pure HTML is wrong for many reasons</h2>
<p><img class="size-full wp-image-267 alignnone" title="XHTML" src="http://www.webdevelopment2.com/wp-content/uploads/xhtml.jpg" alt="XHTML" width="450" height="191" />Over the years, I&#8217;ve had much experience in this area (what not to do). Gone are the days when people simply wanted a <em>web presence</em>. Those days, things were simple. You fire up your copy of Frontpage (oh how we&#8217;ve learned from then) and designed a website for a client and stick it onto an FTP server, and viola; you&#8217;re done. <strong>Worst case scenario</strong>, they call you up seven (7) months later and say they&#8217;ve <strong>changed their phone number and need you to make an update</strong>.</p>
<p>That might have been fine back then, but right now clients expect a lot more for their money. In this day and age when everyone is worried about SEO ranking and the phrase <a href="http://en.wikipedia.org/wiki/Web_content#Content_is_king">Content Is King</a> has been coined, <strong>no one wants to have to call you up (and God forbid; pay you) to make regular update</strong>s to their website. It is expected that you provide some sort method of updating their site.</p>
<p>With that said, providing a <strong>purely HTML solution is not user friendly and it can be down right dangerous</strong>. Do you really want to give your users full access to the HTML files that comprise the website? What if they <strong>break something in the layout</strong> while editing in Microsoft Word, ugh!. Who would be to blame? You would.</p>
<p>In the past I&#8217;ve guarded against this by using the PHP include strategy. The website would be primarily PHP with a folder called &#8220;content&#8221; sitting there with various HTML files. From there, I would pull any <em>dynamic content</em> that would be needed for the site: Page titles, tag lines, content blocks, etc, using standard PHP includes. This way my <strong>layout would stay (relatively) intact</strong> and the user would have access to change what they were allowed to change. The problem with this method is that they <strong>required some sort of HTML knowledge</strong> to modify the content files. They also <strong>required knowledge of FTP software</strong> and servers. Not to mention, that adding a pages or sections still needed heavy interaction from myself. Needless to say, I&#8217;ve grown from then.</p>
<h2>Joomla! &#8211; It looked like a good idea at first</h2>
<p><img class="size-medium wp-image-519 alignright" title="joomla" src="http://www.webdevelopment2.com/wp-content/uploads/joomla-300x190.png" alt="joomla" width="300" height="190" />Early in my college days, I stumbled across <a href="http://en.wikipedia.org/wiki/Mambo_(software)">Mambo</a> and subsequently <a href="http://en.wikipedia.org/wiki/Joomla!">Joomla!</a>, it&#8217;s current fork. It did so much for you, it had to be good, right? After installing Joomla for a client, I realized what the problem was. <strong>It just did too much</strong>. There were too many configurations, and simple things were just too hard. Also, last I remember, one of the main navigational structures was generated using and ugly and rigid table structure. Yes, I know it&#8217;s been changed by now, but that was part of my initial frustration.</p>
<p>It just felt too heavy for a normal website. No matter how much I restricted the user (by groups &#8211; editors as opposed to admins I think) I still <strong>got complaints about how complicated the backend interface it was</strong>. Added to that fact, the templates (and I stress) at that time were very cookie-cutter. It got to the point where I could eyeball a website built in Joomla.</p>
<p>Since then (over 3 years ago) I haven&#8217;t given Joomla a second look. It&#8217;s just one of those things that rubs you the wrong way once, and you never look back. Judging by the version numbers, I&#8217;m forced to assume that not much has changed. But that&#8217;s just an ignorant assumption with no basis, so please don&#8217;t hold it against me.</p>
<h2>More To Come</h2>
<p>I really had no idea this was going to be as long as it turned out. But sometimes I start ranting and never end. Hense, there shall be a part two where I talk about my dive into <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>.</p>
<p>All user input is encouranged; ThanX</p>
Similar Posts:<ul><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/nail-in-the-coffin-mamboservercom-hacked/" rel="bookmark" title="November 22, 2005">Nail in The Coffin &#8211; Mamboserver.com Hacked</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/foundation-for-an-extensible-website-engine-with-php-5/" rel="bookmark" title="October 25, 2006">Foundation for an Extensible Website Engine with PHP 5</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>
</ul><!-- Similar Posts took 11.224 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BazWebDev?a=mhQZDh5apNc:3E2r1cCPIHI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BazWebDev?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=mhQZDh5apNc:3E2r1cCPIHI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=mhQZDh5apNc:3E2r1cCPIHI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=mhQZDh5apNc:3E2r1cCPIHI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=mhQZDh5apNc:3E2r1cCPIHI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=mhQZDh5apNc:3E2r1cCPIHI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=mhQZDh5apNc:3E2r1cCPIHI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=mhQZDh5apNc:3E2r1cCPIHI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=mhQZDh5apNc:3E2r1cCPIHI:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/mhQZDh5apNc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/picking-a-cms-part-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/picking-a-cms-part-1/</feedburner:origLink></item>
		<item>
		<title>Internet Explorer 8 – The Drama Begins</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/ccJgWf8zEkM/</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>What Does IE 8 Mean To Developers?
Personally, I&amp;#8217;m ecstatic that Microsoft has released Internet Explorer 8. The great part is that they&amp;#8217;ve stuck it in the Windows Automatic Updates and they&amp;#8217;ve already started rolling it out Windows users. I damn near threw a party to celebrate.
Of course, we won&amp;#8217;t be seeing the real benefits for [...]</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 11.487 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BazWebDev?a=ccJgWf8zEkM:wiXBiAMDblk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BazWebDev?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=ccJgWf8zEkM:wiXBiAMDblk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=ccJgWf8zEkM:wiXBiAMDblk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=ccJgWf8zEkM:wiXBiAMDblk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=ccJgWf8zEkM:wiXBiAMDblk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=ccJgWf8zEkM:wiXBiAMDblk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=ccJgWf8zEkM:wiXBiAMDblk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=ccJgWf8zEkM:wiXBiAMDblk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=ccJgWf8zEkM:wiXBiAMDblk:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/ccJgWf8zEkM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/internet-explorer-8-drama-begins/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/internet-explorer-8-drama-begins/</feedburner:origLink></item>
		<item>
		<title>Gitting Started with Git – Quick and Dirty</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/hn8daT41JMs/</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>I&amp;#8217;m sure you guys have heard about Git. It&amp;#8217;s been making a lot of waves lately. It seems that I&amp;#8217;m always the last to jump on the bandwagon when it comes to things like that, but I&amp;#8217;m finally here.
Introduction
There are tons of Version Control Systems (VCS) out there: Source Safe (Microsoft&amp;#8217;s Baby, which sucks by [...]</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>&#8217;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/ajax-client-engine-ace-problems/" rel="bookmark" title="December 12, 2005">AJAX Client Engine (ACE) &#8211; Problems</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>
</ul><!-- Similar Posts took 12.814 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BazWebDev?a=hn8daT41JMs:EGEH3dSzF1Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BazWebDev?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=hn8daT41JMs:EGEH3dSzF1Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=hn8daT41JMs:EGEH3dSzF1Y:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=hn8daT41JMs:EGEH3dSzF1Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=hn8daT41JMs:EGEH3dSzF1Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=hn8daT41JMs:EGEH3dSzF1Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=hn8daT41JMs:EGEH3dSzF1Y:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BazWebDev?a=hn8daT41JMs:EGEH3dSzF1Y:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/BazWebDev?i=hn8daT41JMs:EGEH3dSzF1Y:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/hn8daT41JMs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/gitting-started-git/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/gitting-started-git/</feedburner:origLink></item>
		<item>
		<title>Web Development 2.0 Carnival – December 26, 2008</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/uEfx5k3LrDQ/</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>Welcome to the December 26, 2008 edition of Web Development 2.0. (Yeah, I know I&amp;#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, &amp;#8220;Marcus describes how [...]</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 11.810 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=DLSsMOc0"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=Hmz9uUfz"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=Hmz9uUfz" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=KcWNaGOO"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=KcWNaGOO" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=9EZa5Rt9"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=9EZa5Rt9" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=VIDIwMnW"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=VIDIwMnW" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/uEfx5k3LrDQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/</feedburner:origLink></item>
		<item>
		<title>Comment Relish Plugin + High CPU Usage – Fixed The Right Way</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/52SnByZOcOU/</link>
		<comments>http://www.webdevelopment2.com/wordpress-comment-relish-and-high-cpu-usage/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 12:00:25 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=461</guid>
		<description>How The Problem Started
Christmas Eve have just started at about 12:03 AM, when I logged on and saw that dreaded message:
Your Account Has Exceeded Its CPU Quota
So I did what all normal people do at first: I ignored it. Actually, I had a very good reason to at the time. Since it was 12:03 AM, [...]</description>
			<content:encoded><![CDATA[<h3>How The Problem Started</h3>
<p>Christmas Eve have just started at about 12:03 AM, when I logged on and saw that dreaded message:</p>
<blockquote><p>Your Account Has Exceeded Its CPU Quota</p></blockquote>
<p>So I did what all normal people do at first: I ignored it. Actually, I had a very good reason to at the time. Since it was 12:03 AM, I assumed that my nightly backup job (backup and compress files and databases) was causing the issue.</p>
<p>So after it happened the next day (a few times) I decided to do some investigation.</p>
<h3>The Culprit &#8211; Comment Relish</h3>
<p><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> does a good job of providing some helpful information that you can use to figure out these issues. I went to the directory: <em>cpu_exceeded_logs</em> and sure enough there was a file with today&#8217;s (and yesterday&#8217;s) date in there. I opened it up and so a ton of referrences to comments on a <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> Blog:</p>
<blockquote><p>
/ramdisk/bin/php5 /home1/user/public_html/domain.com/wp-comments-post.php
</p></blockquote>
<p>That narrowed things down a little bit. The other helpful directory was <em>mysql_slow_queries</em>. Here I found the following query over and over again:<br />
[code='sql']<br />
SELECT c.*, p.*<br />
  FROM wp__comments c<br />
  INNER JOIN wp__posts p ON p.ID = c.comment_post_ID<br />
  LEFT JOIN wp__cr_emailed e ON e.email = c.comment_author_email<br />
  WHERE e.email IS NULL AND c.comment_approved = '1'<br />
[/code]</p>
<p>It didn&#8217;t take too long to figure out that <em>cr</em> stood for <a href="http://www.justinshattuck.com/comment-relish/">Comment Relish</a>. </p>
<p>A little bit of Googling showed me that in some circles, it&#8217;s <a href="http://www.siteguide.us/2007/07/05/3-reasons-why-comment-relish-is-not-good-for-your-blog/">not a very well liked plugin</a>. Some more searching revealed something a bit <a href="http://www.chrisg.com/when-good-plugins-go-bad-comment-relish-considered-dangerous/">more technically helpful</a>.</p>
<p>So there you have it, disable Comment Relish and all is well with the world again.</p>
<h3>Best of Both Worlds &#8211; Proper Fix Instead of Disabling</h3>
<p>Now partly because this was <strong>a blog I was hosting for someone else</strong> and partly because <strong>I&#8217;m the type of person who&#8217;s never satisfied unless they have the answer to everything</strong>, I found a middle ground: Good server performance while still maintaining the functionality of the plugin.</p>
<p>So the main problem isn&#8217;t the query. Well maybe it is, but I didn&#8217;t want to go redesign the entire plugin. Wordpress performs tons of these queries all the time and they don&#8217;t seem to cause issues. The problem is with table indexes (or lack thereof).</p>
<p>Pulling up PHPMyAdmin showed me that there&#8217;s <strong>no indexes on cr_emailed.email or comments.comment_author_email</strong>; both of which are used above. So that&#8217;s a simple fix right? Actually, no. Adding an index to the comments table was simple enough; although some people rather not mess with the Wordpress core tables.</p>
<p>The problem is with the table used for Comment Relish: you <strong>can&#8217;t apply an index on wp__cr_emailed.email because it&#8217;s tinytext</strong>. Go ahead, try and there&#8217;s an error. I guess the author decided on tinytext because it would be smaller than varchar? Not sure if there&#8217;s a way arond this or not, but I really wasn&#8217;t in the mood to investigate. I&#8217;ve used varchar all my life and it&#8217;s served me well. So we simply get rid of it, then add the index:<br />
[code='sql']<br />
ALTER TABLE `cr_emailed` CHANGE `email` `email` varchar(255);<br />
ALTER TABLE wp_cr_emailed ADD INDEX ( email )<br />
[/code]</p>
<p>And voila!</p>
<h3>Do I Need This With The New Version?</h3>
<p><strong>The short answer is yes!</strong><br />
Since this problem has arisen there has been a new version of the plugin put out the combats this problem; there are still many problems with this however: </p>
<ol>
<li>Since this isn&#8217;t part of the official Wordpress Plugins, you don&#8217;t get the upgrade notice. So I didn&#8217;t even know I was running an old version.</li>
<li>The author has decided to use to very same 1.0 version number with the new version, so you can&#8217;t even tell if you running the old version without examining the code.</li>
<li>Although there has been a database fix that uses varchar instead of tinytext and applies an index, this fix is only for <em>creation</em> of a new database. So you won&#8217;t get the benefit is your table has already been created with the old code.</li>
</ol>
<p>Hope this helps you folks who are as curious as I was or those who&#8217;ve disabled this plugin because of its issues but secretly miss what it does.</p>
Similar Posts:<ul><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/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-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>

<li><a href="http://www.webdevelopment2.com/reward-regular-readers-skip-ads/" rel="bookmark" title="September 20, 2007">Reward Your Regular Readers &#8211; Skip The Ads</a></li>
</ul><!-- Similar Posts took 22.471 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=12QSCqCn"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=hOUPPq5Y"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=hOUPPq5Y" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=I53Np5QE"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=I53Np5QE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=Eh13zMGN"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=Eh13zMGN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=3ESq2kRV"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=3ESq2kRV" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/52SnByZOcOU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/wordpress-comment-relish-and-high-cpu-usage/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/wordpress-comment-relish-and-high-cpu-usage/</feedburner:origLink></item>
		<item>
		<title>Round Corners With jQuery and CSS</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/XUfAgXlm18U/</link>
		<comments>http://www.webdevelopment2.com/rounded-corners-jquery-css/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 12:25:04 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[jquery corners]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=435</guid>
		<description>Rounded Intro
So you&amp;#8217;re all grown up and want Rounded Corners on your site. There&amp;#8217;s just one small problem: the normal rounded corners implementation comes with tons of divs used for styles and you&amp;#8217;ve got your fellow web developers screaming down your neck about web semantics.
So what&amp;#8217;s this funky semantics thing? Basically, we&amp;#8217;re looking for a [...]</description>
			<content:encoded><![CDATA[<h3>Rounded Intro</h3>
<p>So you&#8217;re all grown up and want Rounded Corners on your site. There&#8217;s just one small problem: the <a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-borders.shtml">normal rounded corners implementation</a> comes with tons of divs used for styles and you&#8217;ve got your fellow web developers screaming down your neck about <a href="http://en.wikipedia.org/wiki/Semantic_Web">web semantics</a>.</p>
<p>So what&#8217;s this funky semantics thing? Basically, we&#8217;re looking for a separation of styles and data. We want to keep all the styles in the CSS style sheets and all the data in the XHTML files. Now, I&#8217;ve been known to be flexible on this a bit, however it is a great idea with a purpose and in this case, it actually helps us out a ton.</p>
<h3>Ignore Me &#8211; Take The Easy Way Out</h3>
<p>There are two <a href="http://www.JQuery.com"  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">jQuery</a> plugins that can do this instantly, aptly named <a href="http://www.atblabs.com/jquery.corners.html">jQuery Corners</a> and <a href="http://methvin.com/jquery/jq-corner.html">jQuery Corner</a>. Yeah, I know totally different, right? They vary slightly in terms of their capabilities (anti-aliasing, background images, etc.). So if you&#8217;re not up to the heavy lifting or your requirements are very light (just basic rounding) these plugins more than fit the bill.</p>
<h3>Classic Rounded Corners</h3>
<p>Now, if you&#8217;re looking for something that regular borders and the plugins above can&#8217;t manage, take a look <a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-borders.shtml">classic implementation of rounded corners</a>. We&#8217;re using images to make things look <em>exactly</em> like we want them to.</p>
<p>Essentially, we&#8217;re wrapping (if you think visually, it&#8217;s more layering actually) tons of divs in order to apply different background images. All these divs are needed because you can only apply one background image to an HTML element.</p>
<p>So a basic run down is that we need four (4) divs for the corners (top left, top right, bottom left, bottom right) and four (4) more for the sides (top, bottom, left, right). This allows us to add the four images in appropriate positions. Please note that all these divs gives us the option of having rounded divs that can be freely resized.</p>
<p>As mentioned about, the problem is that these are eight (8) huge divs, which are not very semantic; not to mention they add useless code  to the HTML download.</p>
<p>Some things to note:</p>
<ul>
<li>Side Divs First &#8211; Top, Bottom, Right, and Left divs must be on the outside of the corners. If not the effect may not come out right. I think it has something to do with transparency, but somethings are easier to fix than to diagnose.</li>
<li>Check Transparancy &#8211; Keep in mind that if your images are PNG you might need to apply some of the horrendous IE 6 hacks.</li>
<li>Padding and Margins &#8211; I don&#8217;t think the original article mentioned, however since we are <em>layering</em> divs, they shouldnt&#8217; have any margins. Divs don&#8217;t usually do, but depending on your current styles, you might need to reset.</li>
<li>Perfect Slices &#8211; Doesn&#8217;t really need much explanation, but your images need to be sliced perfectly so that everything lines up right.</li>
</ul>
<h3>Dynamic Divs</h3>
<p>Now, this is where the beauty of jQuery comes in. This is a modification of <a href="http://docs.jquery.com/Tutorials:Rounded_Corners">this tutorial</a>. We&#8217;re going to use javascript to inject these divs where we need them.</p>
<p>This is the markup we are aiming for:<br />
[code='html']</p>
<div class="rounded">
<div class="t">
<div class="r">
<div class="b">
<div class="l">
<div class="tl">
<div class="tr">
<div class="br">
<div class="bl inner">
									Stuff in here<br />
									should appear<br />
									perfectly rounded
								</div>
</p></div>
</p></div>
</p></div>
</p></div>
</p></div>
</p></div>
</p></div>
</div>
<p>[/code]</p>
<p>I know, messy right? Although the original article mentions wrapping these <em>around</em> your main div, but it works perfectly fine by putting them inside. Also, it enables us to do some fun stuff later on. Since all these guys have no padding, the <em>inner</em> class is needed to apply needed padding for contents. You could just apply these styles to <em>bl</em> however, I don&#8217;t want to have to remember which one of these is the inner one.</p>
<p>Here&#8217;s out basic CSS<br />
[code='css']<br />
.t  {background: url(t.png) 0 0 repeat-x;}<br />
.b  {background: url(b.png) 0 100% repeat-x}<br />
.l  {background: url(l.png) 0 0 repeat-y;}<br />
.r  {background: url(r.png) 100% 0 repeat-y;}<br />
.bl {background: url(bl.png) 0 100% no-repeat;}<br />
.br {background: url(br.png) 100% 100% no-repeat;}<br />
.tl {background: url(tl.png) 0 0 no-repeat;}<br />
.tr {background: url(tr.png) 100% 0 no-repeat;}<br />
[/code]</p>
<p>Notice we&#8217;re repeating the images used for the sides, so slice accordingly.</p>
<p>With jQuery, this is the only HTML that you need:<br />
[code='html']</p>
<div class="rounded">
	Stuff in here<br />
	should appear<br />
	perfectly rounded
</div>
<p>[/code]</p>
<p>Now, isn&#8217;t that much nicer?</p>
<p>Now, here&#8217;s the magical jQuery code:<br />
[code='javascript']<br />
$(document).ready(function() {<br />
	$(".rounded").wrapInner('
<div class="t">
<div class="r">
<div class="b">
<div class="l">
<div class="tl">
<div class="tr">
<div class="br">
<div class="bl inner"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p>');<br />
});<br />
[/code]</p>
<p>Now, I might have made a typo, so you may need to check. The <em>wrapInner( )</em> function does exactly what it says (sort of): it wraps your content with those nested divs, but on the inside.</p>
<p>Um, yeah, that&#8217;s about it. Cool huh?</p>
<h3>Yes, It&#8217;s Extensible</h3>
<p>Now you can use this and apply it to tons of different rounded corners on your site. Simply add the <em>rounded</em> class to the div in question. eg:<br />
[code='html']</p>
<div class="widget rounded">
	New stuff here
</div>
<p>[/code]</p>
<p>Then you modify your CSS to apply the new images:<br />
[code='css']<br />
.widget .t  {background: url(widget-t.png);}<br />
.widget .b  {background: url(widget-b.png);}<br />
.widget .l  {background: url(widget-l.png);}<br />
.widget .r  {background: url(widget-r.png);}<br />
.widget .bl {background: url(widget-bl.png);}<br />
.widget .br {background: url(widget-br.png);}<br />
.widget .tl {background: url(widget-tl.png);}<br />
.widget .tr {background: url(widget-tr.png);}<br />
[/code]</p>
<p>Now you see why we&#8217;re wrapping inside the div, instead of outside. That way, we can target different images for different divs on the site, without changing any javascript calls. Cool huh?</p>
<p>Now technically, we don&#8217;t need the images on the original divs, however I haven&#8217;t found a clean (shorthand) way of applying background positions and repeats without an image URL.</p>
<p>Hope you enjoyed and hope it works.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/the-lazy-developers-way-to-rounded-corners-in-css-rounded-corner-generators/" rel="bookmark" title="December 19, 2006">The Lazy Developer&#8217;s Way to Rounded Corners in CSS &#8211; Rounded Corner Generators</a></li>

<li><a href="http://www.webdevelopment2.com/create-3-column-css-layouts-web-design-god/" rel="bookmark" title="November 19, 2007">Create 3 Column CSS Layouts Like A CSS God!</a></li>

<li><a href="http://www.webdevelopment2.com/nifty-corners-rounded-corners-without-images/" rel="bookmark" title="November 2, 2006">Nifty Corners: Rounded Corners Without Images</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-widgets/" rel="bookmark" title="May 23, 2007">Wordpress Widgets</a></li>
</ul><!-- Similar Posts took 12.575 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=d7Uf5vuI"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=l1vGflpJ"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=l1vGflpJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=fMyYkNTF"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=fMyYkNTF" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=gLHL3Bop"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=gLHL3Bop" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=eG0RdwGk"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=eG0RdwGk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/XUfAgXlm18U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/rounded-corners-jquery-css/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/rounded-corners-jquery-css/</feedburner:origLink></item>
		<item>
		<title>Why My Wordpress 2.7 Install “Failed”</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/djz-Qts4CZw/</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>Now, it&amp;#8217;s no secret that I can be a moron sometimes, but I&amp;#8217;d like to put it on record that it was all me and not Wordpress 2.7 that had the issue.
So I&amp;#8217;m sitting here last night minding my own business and Chris Coyier sends out a tweet talking about how it took him 10 [...]</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/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/feedburner-google-search-cache-instant-blog-back-up/" rel="bookmark" title="May 10, 2007">FeedBurner + Google search cache =  Instant Blog Back Up</a></li>
</ul><!-- Similar Posts took 11.528 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=in0nXMuj"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=IpufyYkw"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=IpufyYkw" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=hWeMLcJ5"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=hWeMLcJ5" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=i2ZgK25z"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=i2ZgK25z" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=DRgMZksX"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=DRgMZksX" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/djz-Qts4CZw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/</feedburner:origLink></item>
		<item>
		<title>Web Development 2.0 Carnival – November 21, 2008</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/uvZpQ3qawe4/</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>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&amp;#8217;m more or less devoted to CakePHP as my PHP Frameowrk, it&amp;#8217;s also good to diversify sometimes. [...]</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 10.898 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=kCIG4kho"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=z0JFPkv7"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=z0JFPkv7" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=KCOKBfCy"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=KCOKBfCy" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=zvb3hHyu"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=zvb3hHyu" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=TYpOPXDQ"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=TYpOPXDQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/uvZpQ3qawe4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-20-carnival/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/web-development-20-carnival/</feedburner:origLink></item>
		<item>
		<title>A Bit On Open Source And Some Baz Background</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/bDg9ftAhpR8/</link>
		<comments>http://www.webdevelopment2.com/bit-open-source-baz-background/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:03:17 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=356</guid>
		<description>This has always been a touchy subject, especially in larger computer firms. But first, let me tell you how I got into Open Source. I started coding in Turbo Pascal 7.0, in about 1996 when I was in Grammar School. I took Turbo Pascal more as an introduction to Programming, instead of a product to [...]</description>
			<content:encoded><![CDATA[<p>This has always been a touchy subject, especially in larger computer firms. But first, let me tell you how I got into <a href="http://en.wikipedia.org/wiki/Open_source">Open Source</a>. I started coding in Turbo Pascal 7.0, in about 1996 when I was in Grammar School. I took Turbo Pascal more as an introduction to Programming, instead of a product to do something constructive in.</p>
<p>After Pascal, I was looking into something visual. Hence, I fell into Visual Basic 5.0. Yeah, I know, I&#8217;m sorry.</p>
<h3>Legal Issues</h3>
<p>Now this was my first step towards the open source community. I must admit, that I downloaded a pirated copy and ran with it for a while. Now, that was all well and good when I was sitting home playing around with stuff. But when it came to actually, to producing something for a market, you can&#8217;t (or should I say, shouldn&#8217;t) do that with pirated software.</p>
<p>After that, I got into web development. For this, there was a plethora of free tools available, for use. So I did that for a while. When I got back to college, I got into C++ (using Visual Studio, but still essentially free). That was a step in the right direction. However, as the semesters went on, we got more into using the .NET library. However, for my web development I never got into ASP.</p>
<h3>The First Real Plunge into Open Source &#8211; Enter PHP</h3>
<p>Bit by bit, web development gave way to web programming. This is where PHP came in. I got more familiar with PHP when I started working on different projects for clients. I chose PHP for a few main reasons:</p>
<ol>
<li><strong>Free Documentation:</strong> I could learn almost everything I needed through online documentation.</li>
<li><strong>Cost:</strong> My first problem was hosting. ASP hosts used to be almost twice as expensive as their Linux counterparts.</li>
</ol>
<h3>The Open Source Misconception</h3>
<p>One of the problems that people have with Open Source is that they think that it&#8217;s unsupported. People seem to think that open source software is written by a bunch of kids in basements or something. This is not the case, by any means.  For example, a lot of the Linux distributions are totally free and totally supported.  Wake up people; free doesn&#8217;t mean unsupported. The whole <em>&#8220;You get what you pay for&#8221;</em> isn&#8217;t always true.</p>
<h4>Why I Use Open Source Software</h4>
<p>For my personal web development, I run a very small team and we do work part time. This is no time to shell out $6,000 for a standard license of SQL Server 2005. MySQL server 5.0 is a very robust database server. It should be able to handle itself in a lot of the situations that people think they need to throw SQL Server at. Where, MySQL fails to deliver, PostgreSQL should be more than sufficient.</p>
<p>Open source software and products just make life easier. Take examples like, <a href="http://jquery.com/">jQuery</a> and <a href="http://www.cakephp.org/">CakePHP</a>. Would it be possible for an in-house team to come up with the same thing? Yes, sure? But why? Especially when a team (not just one guy) has put years into one special product. The price of the software does not dictate it&#8217;s quality.</p>
<h3>What Not To Do</h3>
<p>Now, one word of wisdom: All open source software isn&#8217;t the same. You need to do your research before diving into open source. Look up research about the product&#8217;s history, community support, and most importantly the support. If you run a very small shop, then almost anything will work for you; especially since you&#8217;re main goal would be to keep costs down.</p>
<p>However, a large company should not thumb their nose at open source software either. Unless you have a team dedicated to doing one task, and doing it well, why not utilise a tried and true method? Why do we always feel the need to reinvent the wheel? Seriously, your team may be extremely skilled, but can you guys really crank out a better Javascript Framework than <a href="http://www.JQuery.com"  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">jQuery</a>? I doubt it.</p>
<p>Take a hint from one of the largest; Microsoft has recenlty started <a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx">shipping jQuery</a> with their .NET 3.5 framework. They even have intellisense support for it in Visual Studio. Open source is the way of the future, as long as we learn to use it correctly.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/give-15-minutes-jquery-expert/" rel="bookmark" title="September 18, 2007">Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</a></li>

<li><a href="http://www.webdevelopment2.com/nail-in-the-coffin-mamboservercom-hacked/" rel="bookmark" title="November 22, 2005">Nail in The Coffin &#8211; Mamboserver.com Hacked</a></li>

<li><a href="http://www.webdevelopment2.com/qa-with-joomla-development-leader/" rel="bookmark" title="November 1, 2005">Q&#038;A With Joomla Development Leader</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>

<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 11.440 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=E6CrRPne"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=HzqA5H3n"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=HzqA5H3n" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=Vbh7Dtuq"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=Vbh7Dtuq" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=PaSnlwGW"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=PaSnlwGW" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=I5wmuvFe"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=I5wmuvFe" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/bDg9ftAhpR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/bit-open-source-baz-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/bit-open-source-baz-background/</feedburner:origLink></item>
		<item>
		<title>Password Requirements – Small Rant</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/LWxE4bhdsi0/</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>I&amp;#8217;m not sure how many of you guys share my views about passwords. Or maybe I just don&amp;#8217;t feel comfortable with other people telling me what to do. Yeah, I think that&amp;#8217;s it. If I decide that my password is going to be qwerty, password, letmein, or even 123; I think that&amp;#8217;s my business. Don&amp;#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 13.569 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=eWh4vAmS"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=KMZeLiOv"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=KMZeLiOv" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=bKRVGI0n"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=bKRVGI0n" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=gQ1MXwoR"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=gQ1MXwoR" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=ZUANkBda"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=ZUANkBda" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/LWxE4bhdsi0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/password-requirements-small/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/password-requirements-small/</feedburner:origLink></item>
		<item>
		<title>CakePHP Contact Form – Quick and Dirty</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/U2pQ9-xLXC0/</link>
		<comments>http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 13:22:43 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=343</guid>
		<description>I must say, this was a major hurdle for me when I first started out with CakePHP. If you&amp;#8217;re working with some data from a database, then it&amp;#8217;s all Model-View-Controller magic. Your forms are automatic: $form-&gt;input() is pretty much all you need. Why is this? That&amp;#8217;s because all the information about the fields (names, sizes, [...]</description>
			<content:encoded><![CDATA[<p>I must say, this was a major hurdle for me when I first started out with CakePHP. If you&#8217;re working with some data from a database, then it&#8217;s all Model-View-Controller magic. Your forms are automatic: $form->input() is pretty much all you need. Why is this? That&#8217;s because all the information about the fields (names, sizes, types, etc.) come straight from the database.</p>
<h3>You&#8217;re Out On Your Own</h3>
<p>The problem right now is that, you&#8217;re all on your own. You need to describe your data on your own. So, on with it:</p>
<p>Here&#8217;s your model code:<br />
[code='php']<br />
class Contact extends AppModel {<br />
	var $name = 'Contact';<br />
	var $useTable = false;  // Not using the database, of course.</p>
<p>	// All the fancy validation you could ever want.<br />
	var $validate = array(<br />
	    'name' => array(<br />
	        'rule' => '/.+/',<br />
			'allowEmpty' => false,<br />
	        'required' => true,<br />
	    ),<br />
		'subject' => array(<br />
	        'rule' => array('minLength', 5),<br />
			'message' => 'Subject must be 5 characters long'<br />
	    ),<br />
		'email' => array(<br />
	        'rule' => 'email',<br />
			'message' => 'Please enter a valid email address'<br />
	    ),<br />
	);</p>
<p>	// This is where the magic happens<br />
	function schema() {<br />
		return array (<br />
			'name' => array('type' => 'string', 'length' => 60),<br />
			'email' => array('type' => 'string', 'length' => 60),<br />
			'message' => array('type' => 'text', 'length' => 2000),<br />
			'subject' => array('type' => 'string', 'length' => 100),<br />
		);<br />
	}<br />
}<br />
[/code]</p>
<h3>What The User Sees</h3>
<p>I think the model&#8217;s the hardest part. The view is ridiculous:<br />
[code='php']<br />
	echo $form->create(null, array('action' => 'index'));<br />
	echo $form->input('name');<br />
	echo $form->input('email');<br />
	echo $form->input('subject');<br />
	echo $form->input('message');<br />
	echo $form->submit();<br />
	echo $form->end();<br />
[/code]<br />
I know; you&#8217;re disappointed right? Sorry.</p>
<h3>How Do We Control All This?</h3>
<p>So, here&#8217;s your controller. I was going to leave that up to you, but it&#8217;s so simple that I can&#8217;t help it:<br />
[code='php']<br />
class ContactController extends AppController<br />
{<br />
	var $name = 'Contact';<br />
	var $uses = 'Contact';<br />
	var $helpers = array('Html', 'Form', 'Javascript');<br />
	var $components = array('Email', 'Session');<br />
	function index(){<br />
		if(isset($this->data)) {<br />
			$this->Contact->create($this->data);<br />
			// There is no save(), so we need to validate manually.<br />
			if($this->Contact->validates()){<br />
				$this->Email->to = Configure::read('CONTACT_EMAIL');<br />
				$this->Email->replyTo = $this->data['Contact']['email'];<br />
				$this->Email->from = $this->data['Contact']['name'].' <'.$this->data['Contact']['email'].'>';<br />
				$this->Email->subject = 'Contact Form: '.$this->data['Contact']['subject'];<br />
				//$this->Email->delivery = 'debug';<br />
				if ($this->Email->send($this->data['Contact']['message'])) {<br />
					$this->Session->setFlash('Thank you for contacting us');<br />
					//$this->redirect('/');<br />
				} else {<br />
					$this->Session->setFlash('Mail Not Sent');<br />
				}<br />
				$this->redirect(array('action' => 'index'));<br />
			} else {<br />
				$this->Session->setFlash('Please Correct Errors');<br />
				//$this->redirect('/contacts');<br />
			}<br />
		}<br />
	}<br />
}<br />
[/code]</p>
<p>After I got halfway through this, I remembered that <a href="http://snook.ca/">Snook</a> had written <a href="http://snook.ca/archives/cakephp/contact_form_cakephp/">something very similar</a>, sorry J.</p>
<p>There&#8217;s one subtle difference that I&#8217;ve noticed, that I need to point out.<br />
<em>var $_schema</em> as apposed to <em>function schema()</em>. In the original CakePHP code, one of the major actions of <em>Model::function()</em> is to return <em>var Model::$_shema</em>. So, Tom-ay-to/Tom-a-to; it really doesn&#8217;t matter.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-3/" rel="bookmark" title="April 9, 2008">CakePHP Auth Component &#8211; Will You Remember Me Tomorrow?</a></li>

<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/phpbb-2018-released/" rel="bookmark" title="October 30, 2005">phpBB 2.0.18 released</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/8-reasons-html-emails-hurt-marketing/" rel="bookmark" title="October 31, 2006">8 Reasons HTML Emails Hurt Marketing</a></li>
</ul><!-- Similar Posts took 26.145 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=PSQGyEf5"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=jr0DMY3F"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=jr0DMY3F" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=XiNkAEaC"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=XiNkAEaC" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=MbhcoDFn"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=MbhcoDFn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=nDB0nP0V"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=nDB0nP0V" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/U2pQ9-xLXC0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/</feedburner:origLink></item>
		<item>
		<title>HSBC Direct Doesn’t Support Firefox 3.0 – Another Reason To Dump IE 6.0</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/cyxkDbzjLy4/</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>Before I start bashing Internet Explorer 6.0, I&amp;#8217;d like to share a story with you. I&amp;#8217;ve had a high yields savings account at HSBC Direct for some time now. Now I think I know why I haven&amp;#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>
<p>[sourcecode language='html']<script src="http://www.savethedevelopers.org/say.no.to.ie.6.js"></script>[/sourcecode]</p>
<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 12.979 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=w13YPzSq"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=k1cySMdr"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=k1cySMdr" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=a0PA9qQL"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=a0PA9qQL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=bI6OqaZS"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=bI6OqaZS" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=O4he1chM"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=O4he1chM" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/cyxkDbzjLy4" height="1" width="1"/>]]></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>3</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/hsbc-direct-doesnt-support-firefox-30-another-reason-to-dump-ie-60/</feedburner:origLink></item>
		<item>
		<title>Wordpress 2.5+ Upload Image Error – Finally Fixed!</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/pPu7u8c4X9k/</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>I know I&amp;#8217;ve mentioned it before, but I&amp;#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&amp;#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 14.730 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=MYBZ01a6"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=0Wp5lzsw"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=0Wp5lzsw" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=i5w8V1Np"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=i5w8V1Np" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=jaH1ZyuG"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=jaH1ZyuG" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=kz4qSDZW"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=kz4qSDZW" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/pPu7u8c4X9k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/wordpress-25-upload-image-error-finally-fixed/</feedburner:origLink></item>
		<item>
		<title>Blog Theme Designers Given Up on IE 6?</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/qJR0kyBVo_0/</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>Lately, I&amp;#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&#8217;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/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-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/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 11.471 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=uRkrNVcP"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=GlAZcEcl"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=GlAZcEcl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=kd0lMn71"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=kd0lMn71" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=HWbTp5yo"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=HWbTp5yo" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=A3AGuVwN"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=A3AGuVwN" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/qJR0kyBVo_0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/blog-theme-designers-given-up-on-ie-6/</feedburner:origLink></item>
		<item>
		<title>IE Hack: CSS Centering – Another Reason I Hate Internet Explorer</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/OfP_mOz9Aho/</link>
		<comments>http://www.webdevelopment2.com/ie-hack-css-centering/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 13:32:28 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=313</guid>
		<description>So here&amp;#8217;s another common Internet Explorer CSS hack that&amp;#8217;s pretty popular and not too ugly.
Here&amp;#8217;s The Problem
ie-css-min-height-hack
This is how normal people horizontally center block elements using CSS: You slap on a width (I mean, that should be obvious enough right?). Then you set the left and right margins to auto, and VoilÃ , centered!
[sourcecode language='css']
body #box [...]</description>
			<content:encoded><![CDATA[<p>So here&#8217;s another common <a title="CSS Hack" href="http://www.webdevelopment2.com/ie-css-min-height-hack">Internet Explorer CSS hack</a> that&#8217;s pretty popular and not too ugly.</p>
<h3>Here&#8217;s The Problem</h3>
<p>ie-css-min-height-hack<br />
This is how normal people horizontally center block elements using CSS: <strong>You slap on a width</strong> (I mean, that should be obvious enough right?). Then you <strong>set the left and right <em>margins</em> to auto</strong>, and VoilÃ , centered!<br />
[sourcecode language='css']<br />
body #box {<br />
	margin: 0 auto;<br />
	width: 780px;<br />
}<br />
[/sourcecode]</p>
<p>Well except in Internet Explorer and some older browsers.</p>
<h3>Fixing The Problem</h3>
<p>This one is a bit nicer than the <a href="http://www.webdevelopment2.com/ie-css-min-height-hack">CSS min-height hack</a>. You need to use the <em>text-align</em> property to center for the element above, because <strong>Internet Explorer sucks and doesn&#8217;t understand the auto margin</strong>. Now too fix this, you need to reset the text-align to left.</p>
<p>[sourcecode language='css']<br />
body {<br />
	text-align: center;<br />
}</p>
<p>body #box {<br />
	margin: 0 auto;<br />
	padding: 56px 0 20px;<br />
	width: 780px;<br />
	text-align: left;<br />
}<br />
[/sourcecode]</p>
<p>That&#8217;s it folks!</p>
Similar Posts:<ul><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/create-3-column-css-layouts-web-design-god/" rel="bookmark" title="November 19, 2007">Create 3 Column CSS Layouts Like A CSS God!</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/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/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>
</ul><!-- Similar Posts took 11.747 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=TN2Nv5gl"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=5mwzFx2f"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=5mwzFx2f" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=LAF39pD8"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=LAF39pD8" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=sGKGr3GK"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=sGKGr3GK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=nO2AzoGs"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=nO2AzoGs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/OfP_mOz9Aho" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ie-hack-css-centering/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/ie-hack-css-centering/</feedburner:origLink></item>
		<item>
		<title>Make Your Web Site Not Suck In Internet Explorer – IE CSS Min-Height Hack</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/b6hH6uGGrWY/</link>
		<comments>http://www.webdevelopment2.com/ie-css-min-height-hack/#comments</comments>
		<pubDate>Fri, 30 May 2008 13:22:06 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<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=312</guid>
		<description>Now it&amp;#8217;s not surprise to anyone out there that I hate Internet Explorer.  No I mean I really hate it! One of the reasons that I hate it so much is that it&amp;#8217;s buggy. Call it whatever you want, maybe it&amp;#8217;s too forgiving on bad HTML or CSS, but whatever their intentions are (forgiving [...]</description>
			<content:encoded><![CDATA[<p>Now it&#8217;s not surprise to anyone out there that <a href="http://www.webdevelopment2.com/hate-internet-explorer-passion/">I hate Internet Explorer</a>.  No I mean <a href="http://www.webdevelopment2.com/hate-internet-explorer-60/">I really hate it</a>! One of the reasons that I hate it so much is that it&#8217;s buggy. Call it whatever you want, maybe it&#8217;s too forgiving on bad HTML or CSS, but whatever their intentions are (forgiving sloppy code or just too lazy to interpret code right) it causes tons of problems.</p>
<h3>The Min-Height Problem</h3>
<p>I know a lot of you have had this problem in the past. It&#8217;s gotten so bad for me that, at one point, I&#8217;ve just stopped using them. Bottom line, Internet Explorer pretends it doesn&#8217;t see the min-height property. It uses the regular <em>height</em> property as a min-height. Confused? Let me make it a bit simpler:</p>
<h4>Firefox</h4>
<p>The <em>height</em> property is a fixed size. It doesn&#8217;t shrink and it doesn&#8217;t expand with content.</p>
<p>The <em>min-height</em> property is exactly what it says: it gives the element a minimum height, but it still expands with the content of the element. It&#8217;s perfect for if you have an element that will just look totally ugly if you it&#8217;s empty.</p>
<h4>Internet Explorer</h4>
<p>The <em>height</em> property is interpreted as a minimum height, funny enough. Doesn&#8217;t that suck?</p>
<h3>IE CSS Min-Height Hack</h3>
<p>But here&#8217;s the good news, there&#8217;s a <em>fix/hack</em>. Now mind you, there are tons of different ways to get around this issue. There&#8217;s conditional IE tags, there&#8217;s Javascript hacks, etc. I&#8217;ll focus on two, which I like. So here&#8217;s what we&#8217;re working with:<br />
[sourcecode language='css']<br />
#box {<br />
	min-height:100px;<br />
}<br />
[/sourcecode]</p>
<h4>Solution/Hack One</h4>
<p>Since, IE doesn&#8217;t understand min-height, we have to force a regular <em>height</em> on the element that the other browsers can&#8217;t see:<br />
[sourcecode language='css']<br />
#box {<br />
	min-height:100px;<br />
}<br />
/* mac hide \*/<br />
* html #box{height:500px}<br />
/* end hide */<br />
[/sourcecode]</p>
<p>To me personally, this <strong>feels right</strong> (because we&#8217;re doing something specifically for IE and hiding it from other browsers), except for one thing: it involves two hacks. As the comments suggest, IE 5 (I think) for MAC does implement the height property correctly. This just gets worse and worse, doesn&#8217;t it?</p>
<h4>Solution/Hack Two</h4>
<p>[sourcecode language='css']<br />
#box {<br />
	min-height:100px;<br />
	height: 100px;<br />
}</p>
<p>html > body #box {<br />
	height: auto;<br />
}<br />
[/sourcecode]</p>
<p>Here&#8217;s the explanation: We set <em>min-height</em> for Firefox (and other well behaved browsers), then we <strong>immediately set the height property so that IE can be happy</strong>. This has the effect of, essentially, defeating the purpose of min-height for the proper browser. We then use the CSS child selectors (which, conveniently IE can&#8217;t see), to set the height back to auto and make everyone happy.</p>
<p>There&#8217;s a slight problem when using 100% heights that <a href="http://www.search-this.com/2007/02/05/css-min-height-explained/">I don&#8217;t really want to get into</a>, but you can see a fix for it <a href="http://www.search-this.com/2007/02/05/css-min-height-explained/">here</a>.</p>
<p>Why I love this hack, is because it&#8217;s a little bit cleaner. But the <strong>really great part about this</strong> is that, because we only set height to auto as a fix, we can fix multiple elements all in one line:<br />
[sourcecode language='css']<br />
html > body #box,html > body #box2,html > body #box3,html > body #box4, html > body #etc {<br />
	height: auto;<br />
}<br />
[/sourcecode]</p>
<p>Well folks, there we have it. The nasty subject of CSS hacks. Hope this helps.</p>
Similar Posts:<ul><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/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/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/hate-internet-explorer-60/" rel="bookmark" title="October 21, 2007">I Hate Internet Explorer 6.0 Even More</a></li>
</ul><!-- Similar Posts took 11.799 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=2jmycaQ8"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=yBsT2O60"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=yBsT2O60" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=AzfD14nN"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=AzfD14nN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=fWvZ2NUL"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=fWvZ2NUL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=CYlYHMLE"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=CYlYHMLE" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/b6hH6uGGrWY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ie-css-min-height-hack/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/ie-css-min-height-hack/</feedburner:origLink></item>
		<item>
		<title>Stop Hating On PHP And Learn To Code Better</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/ah6WCe8lM8c/</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>So here we have the timely battle that PHP faces. Frankly, I&amp;#8217;m getting sick and tired of this. All in all, I&amp;#8217;d have to agree with Jeff on this one, to a certain extent.
They Say PHP Sucks
You&amp;#8217;ll hear the same claims every single time: &amp;#8220;Google PHP Sucks you&amp;#8217;ll see how much PHP sucks&amp;#8221;. Oh please! [...]</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:<br />
[sourcecode language='sql']<br />
select title, body, post_date from posts where id = 32<br />
[/sourcecode]</p>
<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 11.277 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=4Mefxlvv"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=TTTpVQWZ"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=TTTpVQWZ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=6QzEhIw5"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=6QzEhIw5" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=CdnYF1tQ"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=CdnYF1tQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=kibOk9Ir"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=kibOk9Ir" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/ah6WCe8lM8c" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/</feedburner:origLink></item>
		<item>
		<title>Bindable Behavior Now In CakePHP Core</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/SGgScWRcbuw/</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>It&amp;#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&amp;#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 [...]</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(&#8217;Comment&#8217;) now becomes<br />
$this->Article->contain(&#8217;Comment&#8217;)</li>
<li>$this->Article->find(&#8217;all&#8217;, array(&#8217;restrict&#8217; => array(&#8217;User&#8217;))); turns into<br />
$this->Article->find(&#8217;all&#8217;, array(&#8217;contain&#8217; => array(&#8217;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/dynamically-loading-css-files/" rel="bookmark" title="October 31, 2006">Dynamically Loading CSS Files</a></li>
</ul><!-- Similar Posts took 12.894 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=9pSBeq4V"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=RNhPk0VJ"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=RNhPk0VJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=uSu6K2ZN"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=uSu6K2ZN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=MPQ8CjsA"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=MPQ8CjsA" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=I2cUix5i"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=I2cUix5i" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/SGgScWRcbuw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/</feedburner:origLink></item>
		<item>
		<title>Qualtiy Website Design – 3HN Designs Review</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/139YiTbVt04/</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>So, you&amp;#8217;ve been reading this blog for a while and you&amp;#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 &amp;#8220;I&amp;#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 13.464 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=hCLeEhe7"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=2evwZU8D"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=2evwZU8D" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=pSTM8qVd"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=pSTM8qVd" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=4EtYqgr5"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=4EtYqgr5" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=d6NSc9sv"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=d6NSc9sv" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/139YiTbVt04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/qualtiy-website-design-3hn-designs-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/qualtiy-website-design-3hn-designs-review/</feedburner:origLink></item>
		<item>
		<title>Twitter to Bite the PHP Bullet?</title>
		<link>http://feedproxy.google.com/~r/BazWebDev/~3/hMVRpDUhTII/</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>One of the big things you&amp;#8217;ll hear about Ruby on Rails is that it&amp;#8217;s hard to scale. In my opinion, that&amp;#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&amp;#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 10.887 ms --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BazWebDev?a=5dpEScMh"><img src="http://feeds.feedburner.com/~f/BazWebDev?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=AHQC36H1"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=AHQC36H1" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=MeEGvmWD"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=MeEGvmWD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=TmRlfRjX"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=TmRlfRjX" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BazWebDev?a=ESK69F5c"><img src="http://feeds.feedburner.com/~f/BazWebDev?i=ESK69F5c" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BazWebDev/~4/hMVRpDUhTII" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/twitter-bite-php-bullet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.webdevelopment2.com/twitter-bite-php-bullet/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 2.602 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-09 13:02:49 --><!-- Compression = gzip -->
