<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development 2.0: Web Design, CakePHP, Javascript &#187; Work</title>
	<atom:link href="http://www.webdevelopment2.com/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopment2.com</link>
	<description>Quick and Dirty Web Development for Web 2.0: CakePHP, Prototype, JQuery, and lots more.</description>
	<lastBuildDate>Sat, 23 Apr 2011 15:21:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Gitting Started with Git &#8211; Quick and Dirty</title>
		<link>http://www.webdevelopment2.com/gitting-started-git/</link>
		<comments>http://www.webdevelopment2.com/gitting-started-git/#comments</comments>
		<pubDate>Sat, 09 May 2009 09:12:27 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[tutorial]]></category>

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

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

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

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

<li><a href="http://www.webdevelopment2.com/finally-moved-dreamhost-quality-web-hosting/" rel="bookmark" title="October 4, 2007">Finally We&#8217;ve Moved To DreamHost &#8211; Quality Web Hosting</a></li>
</ul><!-- Similar Posts took 4.119 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/gitting-started-git/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I Hate Internet Explorer With A Passion</title>
		<link>http://www.webdevelopment2.com/hate-internet-explorer-passion/</link>
		<comments>http://www.webdevelopment2.com/hate-internet-explorer-passion/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 13:37:58 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.WebDevelopment2.com/hate-internet-explorer-passion/</guid>
		<description><![CDATA[I jsut realized that my brand new WordPress theme sucks in Internet Explorer 7. My footer doesn&#8217;t show up, and my sidebar is all the way to the bottom. I remember when I first started with this them, I went through the whole cross browser thing and everything looked fine. I tweaked everything to my [...]]]></description>
			<content:encoded><![CDATA[<p>I jsut realized that my brand new <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> theme sucks in Internet Explorer 7. My footer doesn&#8217;t show up, and my sidebar is all the way to the bottom.</p>
<p>I remember when I first started with this them, I went through the whole cross browser thing and everything looked fine. I tweaked everything to my liking and was satisfied. Now I have to go backwards, one element at a time and try to isolate which tweak, new content, post, or plugin that has caused this to happen.</p>
<p>Or I may just find a new theme. But in the mean while, I&#8217;ll continue hating IE. Why doesn&#8217;t stuff just work as it&#8217;s supposed to?</p>
<p>Ã‚ I realized this problem at the worst possible time, Monday morning at 1:41AM, so who knows when I&#8217;ll get to it.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/wordpress-25-vista-blog-platforms/" rel="bookmark" title="April 14, 2008">WordPress 2.5 &#8211; The Vista of Blog Platforms</a></li>

<li><a href="http://www.webdevelopment2.com/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/how-to-make-payperpost-and-google-adsense-play-nice-mightyadsense-plugin-hack/" rel="bookmark" title="June 24, 2007">How To Make PayPerPost and Google Adsense Play Nice &#8211; MightyAdsense Plugin Hack</a></li>

<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/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>
</ul><!-- Similar Posts took 4.541 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/hate-internet-explorer-passion/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>No Computer No Posts</title>
		<link>http://www.webdevelopment2.com/no-computer-no-posts/</link>
		<comments>http://www.webdevelopment2.com/no-computer-no-posts/#comments</comments>
		<pubDate>Sat, 17 Mar 2007 02:25:01 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2007/03/16/no-computer-no-posts.htm</guid>
		<description><![CDATA[I know a lot of you might be wondering what&#8217;s going on, but once again we&#8217;re gonna have to take a short break. I recently sold off my old computer so right now I&#8217;m paying for internet access and I don&#8217;t have a computer. OK, I&#8217;m not a total idiot. I did make a purchase [...]]]></description>
			<content:encoded><![CDATA[<p>I know a lot of you might be wondering what&#8217;s going on, but once again we&#8217;re gonna have to take a short break. I recently sold off my old computer so right now I&#8217;m paying for internet access and I don&#8217;t have a computer. OK, I&#8217;m not a total idiot. I did make a purchase recently. I ordered a bunch of computer parts, since I&#8217;m building the new one. Here&#8217;s the problem. Like an idiot, I forgot to get a heat sink and a fan for my CPU. So I&#8217;m waiting for these to arrive in the mail. It should be some time next week though. But this is where I am.Ã‚  The only other place I have internet access is of course at work, but seeing as I just started this job, I&#8217;m not trying to get yelled at so soon. So I guess it&#8217;s see you guys next week.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/my-apologies-for-the-downtime/" rel="bookmark" title="April 21, 2006">My Apologies for the Downtime</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/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/on-vacation-pt-2/" rel="bookmark" title="January 12, 2006">On Vacation pt 2</a></li>

<li><a href="http://www.webdevelopment2.com/importing-large-mysql-databases-when-phpmyadmin-lets-you-down-get-bigdump/" rel="bookmark" title="April 1, 2007">Importing Large MySQL Databases &#8211; When phpMyAdmin Let&#8217;s You Down &#8211; Get BigDump</a></li>
</ul><!-- Similar Posts took 3.989 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/no-computer-no-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Job Update &#8211; Part 1</title>
		<link>http://www.webdevelopment2.com/job-update-part-1/</link>
		<comments>http://www.webdevelopment2.com/job-update-part-1/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 02:24:57 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2007/02/14/job-update-part-1.htm</guid>
		<description><![CDATA[Introduction OK, now I did promise you some information about my new job, so here goes. First off we need a little background information. How It All Started Sometime back in October of 2006, during my last semester of school, a Software company came to my school to recruit programmers. They are situated in Texas [...]]]></description>
			<content:encoded><![CDATA[<h4>Introduction</h4>
<p>OK, now I did <a href="http://www.webdevelopment2.com/linkmania-january-18-2007/">promise you</a> some information about my new job, so here goes. First off we need a little background information.</p>
<h4>How It All Started</h4>
<p>Sometime back in October of 2006, during my last semester of school, a Software company came to my school to recruit programmers. They are situated in Texas and they provide a Software Package for companies in Texas. They have about 85% of the market cornered, so business is really good. Business is so good that they got a new client in the state of Washington. For this client, however, they were doing a complete rewrite of their software from Visual C++ 6.0 (with all that MFC stuff) to a .NET product written in C#. So they were looking for programmers to work on the new stuff. So they were going from university to university looking for some programmers to handle the new contract.</p>
<p>I was supposed to be one of these programmers, but things didn&#8217;t really work out that way. I went to the interview at my school, took a test, got another interview for a week later, and went to that interview. I thought everything was all falling into place, except I didn&#8217;t hear from them every again. About a month and a half later I decided to call to see what&#8217;s up. I was informed that all the positions were filled. Needless to say I was disappointed. About two days after that I got a phone call asking me whether I would be interested in a Visual C++ position. I said &#8220;sure, why not&#8221;. I did a telephone interview and got the job.</p>
<h4>Day One to Now</h4>
<p>I started work on January 16th. I must say, it was quite an experience. Prior to that day, I&#8217;ve only ever worked on small stuff for school (apart from a simple Visual Basic program years ago). I was not prepared for the magnitude of the product. It was just huge compared to what I&#8217;ve dealt with in the past. But I&#8217;m coping with it. The department I work in simply fixes bugs. We get a list of things that aren&#8217;t working right and we&#8217;re required to get things working again. My greatest problem isn&#8217;t with the code; it&#8217;s with understand what the product is supposed to be doing at any given point. Just trying to duplicate the errors sometimes takes hours. This is even before I load up the debugger or look at one line of code.</p>
<p>What can I say? We&#8217;ll see what happens in the long run. Oh, by the way, Happy Valentines Day!! Enjoy.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/bit-open-source-baz-background/" rel="bookmark" title="November 12, 2008">A Bit On Open Source And Some Baz Background</a></li>

<li><a href="http://www.webdevelopment2.com/finally-graduating-im-done/" rel="bookmark" title="December 15, 2006">Finally Graduating &#8211; I&#8217;m Done</a></li>

<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/chitika-revenue-dropping/" rel="bookmark" title="November 16, 2005">Chitika Revenue Dropping?</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-school-project-proof-concept/" rel="bookmark" title="November 30, 2007">Using CakePHP for A School Project &#8211; Proof of Concept</a></li>
</ul><!-- Similar Posts took 3.941 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/job-update-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Secret of Cancelling and Stopping Events using JavaScript</title>
		<link>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/</link>
		<comments>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/#comments</comments>
		<pubDate>Tue, 19 Dec 2006 19:20:41 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/12/19/the-secret-of-cancelling-and-stopping-events-using-javascript.htm</guid>
		<description><![CDATA[Introduction Back when I was doing my internship we had a major problem we were trying to solve. The project involved creating a web based terminal emulator using AJAX. Well, it was a little bit more specific than that. It was basically duplicating a specific application in the browser window. Problem Sounds all well and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong><br />
Back when I was doing my internship we had a major problem we were trying to solve. The project involved creating a web based terminal emulator using AJAX. Well, it was a little bit more specific than that. It was basically duplicating a specific application in the browser window.</p>
<p><strong>Problem</strong><br />
Sounds all well and good except that this application made heavy use of <em>F Keys</em>, e.g. (F10, F5, F1, etc). Needless to say this would not really be viable in a browser since F1 would call up help, F5 would refresh and F10 would send the cursor to the menu. We had already written a nice enough key handler that worked rather well, with the exception of these <em>F Keys</em>.</p>
<p><strong>JavaScript Solution</strong><br />
After a lot of hacking around I found a way to stop the browser from calling up and propagating those events. My code was, for lack of a better word, nasty; but it did work. It involved a lot of IE/Mozilla workarounds. I recently came across some cleaner code, so here you go:</p>
<pre class="brush: jscript; title: ;">function stopEvent(e) {
    if (!e) e = window.event;
    if (e.stopPropagation) {
        e.stopPropagation();
    } else {
        e.cancelBubble = true;
    }
}</pre>
<p>and</p>
<pre class="brush: jscript; title: ;">function cancelEvent(e) {
    if (!e) e = window.event;
    if (e.preventDefault) {
        e.preventDefault();
    } else {
        e.returnValue = false;
    }
}</pre>
<p><strong>Explanation</strong><br />
<em>stopEvent</em>, well stops the event. Seriously, it stops the event from being called by other background elements. Many elements may use the same event called by just one. So stopping it here ensures that it doesn&#8217;t propagate to the background elements. <em>cancelEvent </em> squashes the browser&#8217;s default behavior.</p>
<p><em>source <a href="http://ajaxcookbook.org/canceling-and-stopping-browser-events/">Ajax Cookbook</a></em></p>
<p>[tags]ajax, browser, firefox, ie, javascript[/tags]</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/debugging-ajax/" rel="bookmark" title="December 24, 2005">Debugging Ajax</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/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/enter-ajax/" rel="bookmark" title="October 19, 2005">Enter AJAX</a></li>

<li><a href="http://www.webdevelopment2.com/should-ajax-be-independent-of-the-server/" rel="bookmark" title="November 29, 2005">Should Ajax Be Independent of the Server?</a></li>
</ul><!-- Similar Posts took 4.149 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>One Down Two To Go</title>
		<link>http://www.webdevelopment2.com/one-down-two-to-go/</link>
		<comments>http://www.webdevelopment2.com/one-down-two-to-go/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 02:56:30 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/12/11/one-down-two-to-go.htm</guid>
		<description><![CDATA[OK, So I&#8217;ve just gotten done with my Algebraic Structures (Part 1) final exam. Yes, Part 1. It was supposedly designed to help us in that the in-class portion does not contain any proofs. The result is instead of having one normal sized test taking up just 2 hours, we have one in-class portion that [...]]]></description>
			<content:encoded><![CDATA[<p>OK, So I&#8217;ve just gotten done with my Algebraic Structures (Part 1) final exam. Yes, Part 1. It was supposedly designed to <em>help</em> us in that the in-class portion does not contain any proofs. The result is instead of having one normal sized test taking up just 2 hours, we have one in-class portion that was really difficult and took one and a half hours; and one take-home portion that is full of proofs that is going to take about eight hours. Yaaaaayyy. That&#8217;s what I always wanted.</p>
<p>Tomorrow I have Contemporary Programming Languages and I need to hand up my Numerical Analysis take home exam. That should be simple enough. On Wednesday I have to hand up Part 2 of Algebraic Structures and then that&#8217;s it. Did you hear me? That&#8217;s it. Well, that is after I graduate on Saturday. And I&#8217;ll be done with school for a while; a very long while. After this I have about one month before work starts. Yes, that&#8217;s a whole other story on it&#8217;s own, I got a JOB. I got to move and all that stuff. But hey, I&#8217;m just so psyched about finishing with school that I can barely contain myself. Again, this is a 10 minute break from my studies and I got to get back to it. I don&#8217;t want my GPA to take any other unnecessary dips before I&#8217;m all done. Rumor has it I&#8217;ll be graduating with honors. Let&#8217;s keep our fingers crossed.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/numerical-analysis-take-home-exam-ii/" rel="bookmark" title="November 2, 2006">Numerical Analysis &#8211; Take Home Exam II</a></li>

<li><a href="http://www.webdevelopment2.com/finally-graduating-im-done/" rel="bookmark" title="December 15, 2006">Finally Graduating &#8211; I&#8217;m Done</a></li>

<li><a href="http://www.webdevelopment2.com/job-update-part-1/" rel="bookmark" title="February 14, 2007">Job Update &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/making-javascript-rise-baking/" rel="bookmark" title="December 28, 2007">Making Sure Your Javascript Doesn&#8217;t Rise When Baking</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>
</ul><!-- Similar Posts took 4.142 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/one-down-two-to-go/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Time Breakdown for Web Designers</title>
		<link>http://www.webdevelopment2.com/time-breakdown-for-web-designers/</link>
		<comments>http://www.webdevelopment2.com/time-breakdown-for-web-designers/#comments</comments>
		<pubDate>Sat, 18 Nov 2006 20:10:30 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/11/18/time-breakdown-for-web-designers.htm</guid>
		<description><![CDATA[Funny as hell. I must admit, that part about Internet Explorer is so true, but what are you going to do? It&#8217;s all part of the job description. Similar Posts:I Hate Internet Explorer 6.0 Even More Make Your Web Site Not Suck In Internet Explorer &#8211; IE CSS Min-Height Hack JQuery, Prototype, and MooTools Benchmark [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdevelopment2.com/wp-content/uploads/modernwebdesign.png" onclick="ps_imagemanager_popup(this.href,'modernwebdesign.png','550','410');return false" onfocus="this.blur()"	 ><img src="/wp-content/uploads/.thumbs/.modernwebdesign.png" alt="modernwebdesign.png" title="modernwebdesign.png" width="400" height="298" border="0" /></a></p>
<p>Funny as hell.</p>
<p>I must admit, that part about Internet Explorer is so true, but what are you going to do? It&#8217;s all part of the job description.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/hate-internet-explorer-60/" rel="bookmark" title="October 21, 2007">I Hate Internet Explorer 6.0 Even More</a></li>

<li><a href="http://www.webdevelopment2.com/ie-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/jquery-prototype-mootools-benchmark-slickspeed/" rel="bookmark" title="January 28, 2008">JQuery, Prototype, and MooTools Benchmark &#8211; SlickSpeed</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-hack-css-centering/" rel="bookmark" title="June 9, 2008">IE Hack: CSS Centering &#8211; Another Reason I Hate Internet Explorer</a></li>
</ul><!-- Similar Posts took 3.686 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/time-breakdown-for-web-designers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spell Out a Detailed Contract</title>
		<link>http://www.webdevelopment2.com/spell-out-a-detailed-contract/</link>
		<comments>http://www.webdevelopment2.com/spell-out-a-detailed-contract/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 00:13:29 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Money]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/11/01/spell-out-a-detailed-contract.htm</guid>
		<description><![CDATA[In the world of web design you often come across people who don&#8217;t exactly know what they want. And that is usually a good thing for you because you can then charge them for the minimum and increase based on &#8220;added features&#8221;, which they should have seen up front, but they don&#8217;t always. This has [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" title="contract.jpg" alt="contract.jpg" src="http://www.webdevelopment2.com/wp-content/uploads/contract.jpg" />In the world of web design you often come across people who don&#8217;t exactly know what they want. And that is usually a good thing for you because you can then charge them for the minimum and increase based on &#8220;added features&#8221;, which they should have seen up front, but they don&#8217;t always. This has the slight problem of having a contract with an indefinite time period.</p>
<p><!--adsense-->A time period is usually scheduled for delivery of the product in the contract. This ensures the buyer that the product will be delivered in a reasonable time frame so that you don&#8217;t keep extending the job for not real reason. One thing I&#8217;ve learnt, however, is that you need to also specify a time frame that the user has to review the work and ensure that everything is to his liking. You absolutely need this if you&#8217;re not charging by the hour.</p>
<p>This is the problem I ran into a couple weeks ago and I&#8217;m still trying to get out of. I did a website for this guy a couple months ago. We agreed on a fixed price because it was supposed to be an easy enough job: a nice static layout, not much PHP, a Gallery, etc. A <a href="http://www.prototype.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">prototype</a> was done in about three days. He was amazed by the quality of the website and had nothing but praise. Everything is good right? Wrong. He now had to burden of supplying content for the website. To make a long story slightly less long, this took a couple of months, and he only supplied pictures for the gallery and content for one of the six pages (not the home page). Now you may be thinking what does that have to do with me if the guy&#8217;s website<br />
is empty, he paid for a design and that&#8217;s what he got right? Well I would agree with you there, but the problem was he had not yet paid the balance on his bill.</p>
<p>To make matters even more screwy, he passed on the website work to a colleague of his. Any my instructions were &#8220;do what ever <em>Jim</em> wants&#8221;. I&#8217;m like, &#8220;fine&#8221;. The problem is that Jim wants a whole lot of stuff that wasn&#8217;t in the original contract. And Jim knows absolutely nothing about web design or HTML or FTP for that matter. Let&#8217;s just say Jim is a classic Front Page guy. So now a web design job has turned into an HTML, FTP server, course because Jim can&#8217;t edit the website as he used to. Jim wants to hear nothing about the limitations of Front Page, Jim just knows that &#8220;that&#8217;s how I edit my other pages&#8221;. Fine Jim. At first the site was designed with the structure in PHP and the content to be added as static HTML <em>include</em> files. The only thing Jim would have to do is edit these files to his heart&#8217;s content.</p>
<p>Oh no, Jim doesn&#8217;t like that, because Jim can&#8217;t &#8220;see the entire page&#8221; when he&#8217;s editing. I ensured Jim that whatever changes he made to those files would show up in the big picture. We actually did a short demo. Jim&#8217;s response: &#8220;Well, I would really prefer it if I could see all he pictures&#8221;. *Sigh*, Jim gets what Jim wants right? I redid all the code to static HTML files so that Jim could &#8220;see all the pictures&#8221;. And of course, since Jim is a Front Page guy, Jim decides to open up one of these files in Front Page, change various styles, move around a couple <em>divs</em> and then saves. Jim then calls me up and asks me why does the site look funny? I said &#8220;Jim you screwed it up&#8221;. He replies that he only opened it and did nothing and closed it right back again.</p>
<p>So right now I&#8217;m wondering whether I should keep trying to work things out with Jim or just take my 50% down payment and cut my losses.</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/qualtiy-website-design-3hn-designs-review/" rel="bookmark" title="May 19, 2008">Qualtiy Website Design &#8211; 3HN Designs Review</a></li>

<li><a href="http://www.webdevelopment2.com/review-staticpagebuilder/" rel="bookmark" title="September 18, 2007">Review: StaticPageBuilder</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-image-editor-snipshot/" rel="bookmark" title="January 30, 2007">AJAX Image Editor &#8211; Snipshot</a></li>

<li><a href="http://www.webdevelopment2.com/picking-a-cms-part-1/" rel="bookmark" title="May 20, 2009">Reader Input: Picking A CMS &#8211; Part 1</a></li>
</ul><!-- Similar Posts took 4.003 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/spell-out-a-detailed-contract/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebTTY &#8211; Terminal Emulator</title>
		<link>http://www.webdevelopment2.com/webtty-terminal-emulator/</link>
		<comments>http://www.webdevelopment2.com/webtty-terminal-emulator/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 00:54:23 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/10/26/webtty.htm</guid>
		<description><![CDATA[WebTTY is an interesting package. During my internship I actually had to do something like this. My employer didn&#8217;t appreciate a pre-packaged solution though, so I had to produce all the code myself. The WebTTY package allows any Linux terminal processes to be controlled in a text area HTML element on a webpage. The output [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://testape.com/webtty_sample.php">WebTTY</a> is an interesting package. During my internship I actually had to do something like this. My employer didn&#8217;t appreciate a pre-packaged solution though, so I had to produce all the code myself.<a href="http://testape.com/webtty_sample.php"><br />
</a></p>
<blockquote><p>The WebTTY package allows any Linux terminal processes to be controlled in a text area HTML element on a webpage. The output from the server process is collected on server side, and is send to a text area element. Keypresses in textarea are collected on client side and send to the server process. WebTTY uses AJAX/DHTML patterns to achieve in-page updates without refreshing the entire page.</p></blockquote>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/ahah-asynchronous-html-and-http-or-aja/" rel="bookmark" title="November 26, 2005">AHAH: Asynchronous HTML and HTTP or AJA?</a></li>

<li><a href="http://www.webdevelopment2.com/octagate-sitetimer-web-page-load-time/" rel="bookmark" title="November 19, 2006">OctaGate SiteTimer &#8211; Web Page Load Time</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-coding-challenge-at-aboutcom/" rel="bookmark" title="October 24, 2006">Ajax Coding Challenge at About.com</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-based-periodic-table/" rel="bookmark" title="December 30, 2005">Ajax Based Periodic Table</a></li>

<li><a href="http://www.webdevelopment2.com/enter-ajax/" rel="bookmark" title="October 19, 2005">Enter AJAX</a></li>
</ul><!-- Similar Posts took 4.163 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/webtty-terminal-emulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL &amp; SQL Server Performance</title>
		<link>http://www.webdevelopment2.com/mysql-sql-server-performance/</link>
		<comments>http://www.webdevelopment2.com/mysql-sql-server-performance/#comments</comments>
		<pubDate>Wed, 25 Oct 2006 10:34:16 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/10/25/mysql-sql-server-performance.htm</guid>
		<description><![CDATA[I&#8217;ve actually been meaning to try this myself, well a variation of it. I would , however be comparing these speeds from a C# Application performing data access to the SQL Sever 2005 or MySQL backend. Based on these tests it seems that I&#8217;d be better off with an ASP.NET connection, since this will be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve actually been meaning to try this myself, well a variation of it.  I would , however be comparing  these speeds  from a C# Application performing data access to the SQL Sever 2005 or MySQL backend. Based on these tests it seems that I&#8217;d be better off  with an ASP.NET connection, since this will be running on a windows environment.</p>
<p>I will definitely take Karl&#8217;s tests into consideration as I perform my own.</p>
<p>Karl Write:</p>
<blockquote><p><a href="http://codebetter.com/blogs/karlseguin/archive/2006/10/24/Sidetracked-with-MySQL-_2600_-SQL-Server-Performance.aspx">Sidetracked with MySQL &#038; SQL Server Performance</a><br />
Here&#8217;s the short version:</p>
<p>1. This is only for inserting 500 rows into a 3 column table<br />
2. InnoDB  really seems screwed on Windows platforms running 5.x &#8211; Certainly don&#8217;t have anything conclusive, but I&#8217;d watch out<br />
3. For my very simple test, MySQL on Linux blew SQL Server 2005 on windows out of the water.<br />
4. On windows, ASP.NET&#8217;s connection to MySQL seems as fast as PHP&#8217;s</p></blockquote>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/joomla-template-tip-optional-modules/" rel="bookmark" title="December 1, 2005">Joomla Template Tip: Optional Modules</a></li>

<li><a href="http://www.webdevelopment2.com/xampp-lite-on-usb-disk-benchmark-php-and-mysql-by-slowing-down-your-server/" rel="bookmark" title="August 29, 2007">XAMPP Lite on USB Disk &#8211; Benchmark PHP and MySQL by Slowing Down Your Server</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/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/automate-mysql-database-backup-webcron-cron-jobs-problem-part-2/" rel="bookmark" title="October 28, 2007">Automate MySQL Database Backup With WebCron &#8211; No Cron Jobs? No Problem &#8211; Part 2</a></li>
</ul><!-- Similar Posts took 4.113 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/mysql-sql-server-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ajax vs. Ordinary Java</title>
		<link>http://www.webdevelopment2.com/ajax-vs-ordinary-java/</link>
		<comments>http://www.webdevelopment2.com/ajax-vs-ordinary-java/#comments</comments>
		<pubDate>Wed, 14 Dec 2005 01:03:46 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2005/12/13/ajax-vs-ordinary-java.htm</guid>
		<description><![CDATA[This article caught my eye and I'm including it simply for your perusal, but I disagree with him.  For people who have been developing Java Applets for the past um-teen years, then this argument holds a lot of ground, however for people like myself Ajax is the perfect answer.  The application that I am working on is primarily developed in C.  The whole web application portion of the program is an add-on and soon needs to be automatically generated by the C application.  Ajax opens the perfect door for this type of functionality.]]></description>
			<content:encoded><![CDATA[<p>Yakov Fain wrote an interesting article: <a href="http://de.sys-con.com/read/163229.htm">A Cup of AJAX? Nay, Just Regular Java Please</a> at <a href="http://de.sys-con.com/read/163229.htm">SYS-CON DEUTSCHLAND</a>.</p>
<blockquote><p>I can agree that big Internet guys [Google] can and should invest some serious dough into supporting screen-refresh-on-mouse-move in HTML-based screens. But when it comes to a regular Intranet business application,  when the users/browsers/platforms are known and  when the  cost of the project development matters, IÃ¢â‚¬â„¢d stay with a fat client written in Java, or (if you like a fancy GUI) Macromedia&#8217;s Flash or Flex.
</p></blockquote>
<p>This article caught my eye and I&#8217;m including it simply for your perusal, but I disagree with him.  For people who have been developing Java Applets for the past um-teen years, then this argument holds a lot of ground, however for people like myself Ajax is the perfect answer.  The application that I am working on is primarily developed in C.  The whole web application portion of the program is an add-on and soon needs to be automatically generated by the C application.  Ajax opens the perfect door for this type of functionality.</p>
<p>I&#8217;m curious to hear what you all think.  Java or Ajax?</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/ajax-things-to-keep-in-mind/" rel="bookmark" title="November 23, 2005">AJAX &#8211; Things To Keep In Mind</a></li>

<li><a href="http://www.webdevelopment2.com/start-the-year-off-right-developing-web-applications-with-ajax/" rel="bookmark" title="January 1, 2007">Start The Year Off Right &#8211; Developing Web Applications with AJAX</a></li>

<li><a href="http://www.webdevelopment2.com/a-step-by-step-tutorial-google-maps-and-ajax/" rel="bookmark" title="October 27, 2006">A Step By Step Tutorial &#8211; Google Maps and Ajax</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>

<li><a href="http://www.webdevelopment2.com/ajax-and-phishing/" rel="bookmark" title="December 18, 2005">Ajax and Phishing</a></li>
</ul><!-- Similar Posts took 11.675 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ajax-vs-ordinary-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AJAX Client Engine (ACE) &#8211; Problems</title>
		<link>http://www.webdevelopment2.com/ajax-client-engine-ace-problems/</link>
		<comments>http://www.webdevelopment2.com/ajax-client-engine-ace-problems/#comments</comments>
		<pubDate>Mon, 12 Dec 2005 23:33:24 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2005/12/12/ajax-client-engine-ace-problems.htm</guid>
		<description><![CDATA[I found this link somewhere, I can&#8217;t remember where. But Li Shen has packaged a nice AJAX wrapper called AJAX Client Engine (ACE). I downloaded it and took a look at it and I must say, it is quite functional. I took a look at his source code and found it to be relatively clean. [...]]]></description>
			<content:encoded><![CDATA[<p>I found this link somewhere, I can&#8217;t remember where.  But Li Shen has packaged a nice AJAX wrapper called <a href="http://www.lishen.name/">AJAX Client Engine (ACE)</a>.  I downloaded it and took a look at it and I must say, it is quite functional.  I took a look at his source code and found it to be relatively clean.  It&#8217;s not too bulky making it a nice thin wrapper and he made it very object oriented.  Here are a list of the properties.  Visit the <a href="http://www.lishen.name">site</a> to find one more about each of these:</p>
<ul>
<li>Object-oriented API.</li>
<li>Cross-browser support.</li>
<li>Request options.</li>
<li>Request parameter validation.</li>
<li>Callback arguments</li>
<li>Callback options.</li>
<li>Tracing service.</li>
<li>Caching service. </li>
<li>Polling service. </li>
<li>Common callbacks.</li>
<li>Exception handling.</li>
</ul>
<p>There are some things I just love about this client.  The tracing service:  When this is enabled, a text area element in a new window (or in the same window if specified) is opened up and a debug is written.  Basically, it tells you everything the AJAX client is doing.  You can just insert the &#8220;trace&#8221; function call at various places where you need to debug information like when a request it made, when the AJAX states change, when a call is completed, etc.  I must say, it is a very effective tool, one I should have come up with myself.</p>
<p>The polling service is a nice one.  He has a built in cancel event when polling is done.</p>
<p>I just have <strong>one</strong> major problem with this wrapper.  Firefox 1.07 under Linux, Fedora Core bugs a lot.  Even with the examples located on Li Shen&#8217;s website, the browser crashes when using the polling option with a time less than 1 second.  It starts out alright, then system resources quickly skyrocket until the browser crashes.  I have no idea what is going on here.  In the Mozilla based Konquorer, the script works fine.  I&#8217;m guessing this is a problem with Firefox.  Funny thing is this does not occur in Windows.  Does this mean that AJAX doesn&#8217;t quite work in Firefox under Linux?  Could be.  This is a serious problem for me, since Firefox under Fedora Core 4 is my main working platform.</p>
<p>If anyone of you all have had similar problems with frequent AJAX calls to the server from Firefox under Linux, I would love to hear how you fixed things.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/ajax-server-initiated-server-calls/" rel="bookmark" title="December 4, 2005">Ajax Server Initiated Server Calls</a></li>

<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/should-ajax-be-independent-of-the-server/" rel="bookmark" title="November 29, 2005">Should Ajax Be Independent of the Server?</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>

<li><a href="http://www.webdevelopment2.com/6-places-to-use-ajax/" rel="bookmark" title="December 2, 2005">6 Places to Use Ajax</a></li>
</ul><!-- Similar Posts took 4.798 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ajax-client-engine-ace-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ajax Server Initiated Server Calls</title>
		<link>http://www.webdevelopment2.com/ajax-server-initiated-server-calls/</link>
		<comments>http://www.webdevelopment2.com/ajax-server-initiated-server-calls/#comments</comments>
		<pubDate>Sun, 04 Dec 2005 21:00:06 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Fast CGI]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=41</guid>
		<description><![CDATA[I believe that I now need to rethink the Ajax sequence on the project I am working on for work. As it stands, I had to do some interesting tinkering to make things work and emulate the console side properly. A normal sequence of GETs and POSTs would have been sufficient, except I needed something [...]]]></description>
			<content:encoded><![CDATA[<p>I believe that I now need to rethink the Ajax sequence on the project I am working on for work.  As it stands, I had to do some interesting tinkering to make things work and emulate the console side properly.  A normal sequence of GETs and POSTs would have been sufficient, except I needed something to handle server pushes.  In the console application, there are some instances like popup boxes.  Eg.  After the client sends a request to the server, the server sends back a simple popup box, <em>sorting</em>.  After it is done sorting, the server sends back the information to the browser.  And this is the problem.  Normally, Ajax does not handle this.  This is where I had to implement a modified <a href="http://ajaxpatterns.org/Periodic_Refresh">polling </a>technique.</p>
<p>Basically, the client makes constant requests to the server.  Yes, yes, I know that this is very inefficient, but this is a rough draft.  Well, rough working draft.  The server sends back a NULL flag, which the browser reads and ignores,  or it sends back the requested data.  This works, but is very inefficient.  Normally, server initiated Ajax routines use a polling technique.  This involves the client basically pinging the server on regular intervals to request data.  I&#8217;m doing the same thing but without the time delay.</p>
<p>Everyone seems to be implementing this using some polling technique.  <a href="http://www.meebo.com">Meebo</a>, the now popular Ajax based Web Messenger, uses a polling technique.  <a href="http://anyterm.org/">Anyterm</a>, a terminal emulator, also uses polling.</p>
<p>Polling would work for me, however, it wouldn&#8217;t be much different from what I&#8217;m already doing.  There is an alternative though, <a href="http://ajaxpatterns.org/HTTP_Streaming">HTTP Streaming</a>, which I need to look into.  From the little I&#8217;ve read, though, it is riddled with complications.</p>
Similar Posts:<ul><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/6-places-to-use-ajax/" rel="bookmark" title="December 2, 2005">6 Places to Use Ajax</a></li>

<li><a href="http://www.webdevelopment2.com/should-ajax-be-independent-of-the-server/" rel="bookmark" title="November 29, 2005">Should Ajax Be Independent of the Server?</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-and-fast-cgi/" rel="bookmark" title="November 12, 2005">AJAX and Fast CGI</a></li>

<li><a href="http://www.webdevelopment2.com/ahah-asynchronous-html-and-http-or-aja/" rel="bookmark" title="November 26, 2005">AHAH: Asynchronous HTML and HTTP or AJA?</a></li>
</ul><!-- Similar Posts took 4.106 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ajax-server-initiated-server-calls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development vs. Desktop Development</title>
		<link>http://www.webdevelopment2.com/web-development-vs-desktop-development/</link>
		<comments>http://www.webdevelopment2.com/web-development-vs-desktop-development/#comments</comments>
		<pubDate>Wed, 30 Nov 2005 19:00:26 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=36</guid>
		<description><![CDATA[An interesting article from John Carroll &#124; ZDNet.com explores the differences between AJAX and desktop development. Ajax is rapidly growing into something a lot of developers did not expect. Web designers can now design flashier web pages (minus the Flash). Other web designers are bridging the gap between desktop applications and web applications. Users have [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting article from <a href="http://blogs.zdnet.com/carroll/index.php?p=1519">John Carroll | ZDNet.com</a> explores the differences between <a href="http://blogs.zdnet.com/carroll/index.php?p=1519">AJAX and desktop development</a>.</p>
<p>Ajax is rapidly growing into something a lot of developers did not expect.  Web designers can now design flashier web pages (minus the Flash).  Other web designers are bridging the gap between desktop applications and web applications.  Users have begun to take strong notice to this and are, in some cases, requesting such advances in web development.</p>
<blockquote><p>From a user perspective, though, AJAX applications &#8211; such as Google Maps or Microsoft&#8217;s Web Exchange client &#8211; are simply web applications that more closely approximate features normally associated with traditional, standalone desktop applications.</p></blockquote>
<p>All this is all well and good.  Ajax is a wonderful new technology, which we should all try to explore and exploit to its full capacity.  BUT, that JavaScript portion of Ajax is causing some problems, as John notes:</p>
<blockquote><p>The fact that you can write interactive web sites in Javascript, though, doesn&#8217;t make Javascript a great programming language for complex site development.</p></blockquote>
<p>I don&#8217;t even consider Javascript a programming language.  PHP, which everyone denounces as a mere scripting language, is more structured that Javascript, in my opinion.  Hunting through hundreds/thousands of lines of code just to find a simple typo with a variable name is insanity to me.  Variables need not be declared, so it happily accepts anything you give it.  There are objects, but they are cumbersome to implement.  Not to mention that there isn&#8217;t (at least I haven&#8217;t found)  a proper IDE to work with.  At work, the most I can do is edit my scripts from KDE under Fedora.</p>
<p>Microsoft is trying to change this:</p>
<blockquote><p>Microsoft, likewise, is turning the standard Windows development model upside down with its Windows Presentation Framework, slated for inclusion with Windows Vista and released as a separate library for Windows XP.</p></blockquote>
<p>Who knows what that will be like, and how much it will cost?  Something called XUL, is also in development for the Mozilla interface.  That&#8217;s going to be something interesting to look out for.</p>
<p>Web Development is definitely the way of the future.  One thing I hope they fix, though is the memory and CPU hungry browsers.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/can-ajax-completely-replace-pc-software/" rel="bookmark" title="December 7, 2005">Can AJAX Completely Replace PC Software?</a></li>

<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/microsoft-claims-ajax/" rel="bookmark" title="November 21, 2005">Microsoft Claims AJAX</a></li>

<li><a href="http://www.webdevelopment2.com/debugging-ajax/" rel="bookmark" title="December 24, 2005">Debugging Ajax</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>
</ul><!-- Similar Posts took 4.708 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-vs-desktop-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AHAH: Asynchronous HTML and HTTP or AJA?</title>
		<link>http://www.webdevelopment2.com/ahah-asynchronous-html-and-http-or-aja/</link>
		<comments>http://www.webdevelopment2.com/ahah-asynchronous-html-and-http-or-aja/#comments</comments>
		<pubDate>Sat, 26 Nov 2005 20:17:53 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2005/12/16/ahah-asynchronous-html-and-http-or-aja.htm</guid>
		<description><![CDATA[AHAH: Asynchronous HTML and HTTP. Or AJA, as I like to call it; Asyhcrhronous JavaScript And . :). Also known as AJAH: Asynchronous JavaScript and HTML. OK, so we re just throwing around terms here, b...]]></description>
			<content:encoded><![CDATA[<p>AHAH: Asynchronous HTML and HTTP.&nbsp; Or AJA, as I like to call it; Asyhcrhronous JavaScript And&hellip;. <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .&nbsp; Also known as AJAH: Asynchronous JavaScript and HTML.&nbsp; OK, so we&rsquo;re just throwing around terms here, but basically it boils down to Ajax without the XML component.</p>
<p>XML is the main communication method over the Internet.&nbsp; Many applications use XML to transmit data to and from servers and clients.&nbsp; But is it right for all of us?&nbsp; There was a nice article about this written at <a href="http://microformats.org/wiki/rest/ahah">Microformats</a>.&nbsp; They give nice code examples, but if you already have Ajax implemented, it&rsquo;s not a long stretch of the imagination.&nbsp; Before that, let me get into why some people may want to use it.</p>
<p>Whether we like to admit it or not, XML is still just text.&nbsp; There is no sort of data compression done to make it faster to transfer or anything.&nbsp; It&rsquo;s just text.&nbsp; The advantage, of course, is that it is highly structured.&nbsp; XML does have its place, but sometimes it is just overkill for simple things.&nbsp; For example, if the server simply needs to reply with a short &ldquo;YES&rdquo; or &ldquo;NO&rdquo;, then wrapping these in complex XML tags just packs on much more than is needed.&nbsp; Also, after being received on the client it, it needs to be decoded and handled.</p>
<p>If you are adding functionality to an existing Legacy Application, like what I&rsquo;m doing at work, then a plain text response is going to be ideal for you.&nbsp; Using XML in a case like this is just going to add extra code and processing to decode the XML data sent.&nbsp; On the server side, functionality also has to be added to send data in XML format.</p>
<p>A developer needs to analyze his particular needs and see whether or not XML data or plain text data is going to be preferable.&nbsp; Once you have made this decision, on to how you use it.&nbsp; If Ajax is already implemented, then switching to plain text is a breeze.&nbsp; When the data is being accessed on the client side, you simply use the responseText property instead of the responseXML.&nbsp; That&rsquo;s it.&nbsp; The response is just going to be a plain text string in whatever format that it was sent from the server.</p>
<p>This approach works perfectly for me, since I use Fast CGI as my backend and there is no native support for XML data.&nbsp; Also the Legacy Application that I&rsquo;m working on, works heavily with data formated as simply strings, sometimes delimited by different characters.&nbsp; If you need more information about plain text messages in Ajax, Ahah, Ajah, (whatever), pay a visit to <a href="http://www.ajaxpatterns.org/Plain-Text_Message">Ajax Patterns</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/should-ajax-be-independent-of-the-server/" rel="bookmark" title="November 29, 2005">Should Ajax Be Independent of the Server?</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-coding-challenge-at-aboutcom/" rel="bookmark" title="October 24, 2006">Ajax Coding Challenge at About.com</a></li>

<li><a href="http://www.webdevelopment2.com/webtty-terminal-emulator/" rel="bookmark" title="October 26, 2006">WebTTY &#8211; Terminal Emulator</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-server-initiated-server-calls/" rel="bookmark" title="December 4, 2005">Ajax Server Initiated Server Calls</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 6.838 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ahah-asynchronous-html-and-http-or-aja/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML, PHP, etc Code Editor</title>
		<link>http://www.webdevelopment2.com/html-php-etc-code-editor/</link>
		<comments>http://www.webdevelopment2.com/html-php-etc-code-editor/#comments</comments>
		<pubDate>Sat, 19 Nov 2005 08:01:06 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=11</guid>
		<description><![CDATA[This is where many web developers tend to disagree. We can never seem to settle on a good code editor, ever. I&#8217;m going to leave you with a few of my favorites and some that I hate. First off, I live and die by Macromedia Dreamweaver 8 Win/Mac. As a matter of fact, I also [...]]]></description>
			<content:encoded><![CDATA[<p>This is where many web developers tend to disagree.  We can never seem to settle on a good code editor, ever.  I&#8217;m going to leave you with a few of my favorites and some that I hate.</p>
<p>First off, I live and die by <a href="http://www.amazon.com/exec/obidos/redirect?tag=bazwebdevelop-20%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.com/gp/redirect.html%253fASIN=B000ALM5Y8%2526tag=bazwebdevelop-20%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B000ALM5Y8%25253FSubscriptionId=0EMV44A9A5YT1RVDGZ82" title="View product details at Amazon">Macromedia Dreamweaver 8 Win/Mac</a>.  As a matter of fact, I also use <a href="http://www.amazon.com/exec/obidos/redirect?tag=bazwebdevelop-20%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.com/gp/redirect.html%253fASIN=B000AP6J96%2526tag=bazwebdevelop-20%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B000AP6J96%25253FSubscriptionId=0EMV44A9A5YT1RVDGZ82" title="View product details at Amazon">Macromedia Fireworks 8</a>heavily for my web site designs.  I just think that they have done a good job and incorporating HTML and CSS together.  Especially with version 8.0.  But then again, you get what you pay for because it&#8217;s going to set you back quite a pretty penny ($399).  But it was a good investment for me.</p>
<p>On the other hand we have the Frontpage junkies.  I haven&#8217;t really looked at Frontpage much since early 2000.  I&#8217;ve opened up the version that comes with Office XP, but I was not impressed.  What I do remember is that back in the day it was horrible.  Frontpage used to dump a bunch of Microsoft specific &#8220;tags&#8221; into the code that it just served to bulk up the final output.  There is the small advance of using Frontpage Extensions, which enable things like site counters and other things (sorry, I really haven&#8217;t been looking into it), but the problem lies in the fact that Frontpage extensions on servers usually cost more and they are very limited, and simply I haven&#8217;t heard anything about Frontpage lately, so I&#8217;m staying away from it.</p>
<p>For PHP editing I use a simply text editor called emEditor.  One nice feature is tabbed editing.  It also has syntax highlighting.  Since I don&#8217;t write or compose very large PHP scripts, this is more than adequate for me.</p>
<p>When I&#8217;m at work and on Linux (Fedora) I stick to KDevelop.  Most likely, I would be doing some C programming anyways, so it is just convenient since it is already opened to just drag and drop scripts and HTML files in there.  I don&#8217;t, however, do any heavy HTML <strong>design</strong> on Linux though.  I haven&#8217;t found tools suitable for such yet.  There is something called <a href="http://www.nvu.com">NVU</a>, but it just doesn&#8217;t do enough for me to design a site from scratch using this.</p>
<p>Now comes to what really upsets me.  All the so-called HTML &#8220;<em>programmers</em>&#8221; out there h who live and die by Windows <strong>Notepad</strong>.  All I have to say to them is come on.  They claim that they have a true mastery of the language and that it doesn&#8217;t matter what editor they use.  Ok, but let&#8217;s examine why this is not a good argument.  HTML is a <em>Mark Up</em> language.  It&#8217;s basically scripting.  It&#8217;s not programming in the least sense of the word.  If you have to equate it to something, it&#8217;s going to be Word Processing.  Is there really something to brag about here?  I, personally, do not know very much HTML and I refuse to sit and learn HTML.  I mean, who really cares if you know HTML or not?  People come on, it is really nothing to brag about.</p>
<p>Now don&#8217;t get me wrong, knowing some HTML is crucial, but no one with any sense sites and does an entire site in Notepad.  No one <strong>designs</strong> a site in Notepad.  Designing includes images, layout, etc.  Designs are done in image programs such as Fireworks, <a href="http://www.amazon.com/exec/obidos/redirect?tag=bazwebdevelop-20%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.com/gp/redirect.html%253fASIN=B00081I76A%2526tag=bazwebdevelop-20%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B00081I76A%25253FSubscriptionId=0EMV44A9A5YT1RVDGZ82" title="View product details at Amazon">Adobe Photoshop</a>, or ImageReady.  They are then sliced in those programs and <strong>implemented</strong> using HTML.  The image programs do a lot of the HTML code themselves.  The only thing that is left to the webmaster is the addition of content.  Dreamweaver can sometimes be used for simpler designs.  Basically my point is if you&#8217;re designing, you need to see what you&#8217;re doing and an Image processor or a WYSIWYG editor is essential.</p>
<p>Now if I need to perform a small change to an already existing website, I&#8217;m not going to load up Dreamweaver to do so.  I&#8217;ll use a small text editor.  However, it will never be Notepad.  Notepad has no buttons for the addition of frequently used tags like comments, links, images, etc.  It also has no syntax highlighting.  Small errors and bugs are extremely difficult to catch.  Not to mention just the time wasted typing in all those ridiculous tags over and over again.</p>
<p>Some Notepad advocates claim that they control the HTML exactly how they want it and that no WYSIWYG editor &#8220;spoils&#8221; their code.  This argument could have been used back in the days of Frontpage in the late 90&#8242;s.  Right now, Dreamweaver&#8217;s code is XHTML compliant and any thing that is not needed can be excluded.  The code generated is very clean.  I would even support a plain text editor with some HTML capabilities, such as short cuts for tags like tables, images, links, bold, etc.</p>
<p>So, to the Notepad HTML &#8220;programmers&#8221; out there, I say this.  When you do step up your game, you&#8217;ll notice that HTML code has very little to do with designing and maintaining a proper website.  When you start to get into things like CSS, JavaScript, PHP, etc, then come talk to me about text editors.  And even then, Notepad with no syntax highlighting, is like owning a gun and shooting yourself in the foot.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/optmize-images-for-the-web/" rel="bookmark" title="November 18, 2006">Optmize Images for the Web</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/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/top-5-basic-seo-tips/" rel="bookmark" title="December 27, 2007">Top 5 Basic SEO Tips &#8211; You Can Do These Yourself</a></li>

<li><a href="http://www.webdevelopment2.com/dead-broke-and-no-dreamweaver-what-do-you-do-nvu/" rel="bookmark" title="July 3, 2007">Dead Broke and No Dreamweaver &#8211; What Do You Do? NVU!</a></li>
</ul><!-- Similar Posts took 4.765 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/html-php-etc-code-editor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fast CGI Installation</title>
		<link>http://www.webdevelopment2.com/fast-cgi-installation/</link>
		<comments>http://www.webdevelopment2.com/fast-cgi-installation/#comments</comments>
		<pubDate>Fri, 18 Nov 2005 22:32:30 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Fast CGI]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=9</guid>
		<description><![CDATA[After days of configuring and reconfiguring, I have finally gotten the sequence down for a Fast CGI installation. Please note, these instructions are specifically for a fresh install of Fedora Core 4. This is what I&#8217;ve been working with, for distribution purposes. You may generalize the instructions where applicable of course. And as always, proceed [...]]]></description>
			<content:encoded><![CDATA[<p>After days of configuring and reconfiguring, I have finally gotten the sequence down for a Fast CGI installation.  Please note, these instructions are specifically for a fresh install of Fedora Core 4.  This is what I&#8217;ve been working with, for distribution purposes.  You may generalize the instructions where applicable of course.  And as always, proceed at you own risk.  Here we go (<em>Italics</em> indicate my personal settings):</p>
<ol>
<li>Run the following command at the prompt:<br />
<code>yum -y install httpd-devel</code><br />
You may also download the RPM, or if you&#8217;re really adventurous, build it from the source.  This installs the httpd-devel package, which is needed for this installation.  Most systems may already have this installed, but a fresh default install of Fedora Core 4 does not.</li>
<li>Download the &#8220;mod_fastcgi&#8221; package from <a href="http://www.FastCGI.com">FastCGI.com</a> and unzip it to some directory of your choice.</li>
<li>Perform the following commands:<br />
<code>cd <em>mod_fastcgi.</em>..<br />
cp Makefile.AP2 Makefile<br />
make top_dir=<em>/etc/httpd</em><br />
make top_dir=<em>/etc/httpd install</em><br />
chown -R apache <em>/etc/httpd</em></code></p>
<p>The FastCGI Apache module has now been built.
</li>
<li>Add following lines to <em>/etc/httpd/conf/httpd.conf</em>:<br />
<code>LoadModule fastcgi_module modules/mod_fastcgi.so<br />
Alias <em>/fcgi-bin/ /var/www/fcgi-bin/</em><br />
&lt;directory <em>/var/www/fcgi-bin/</em>&gt;<br />
	SetHandler fastcgi-script<br />
	Options +ExecCGI<br />
&lt;/directory&gt;<br />
<em>FastCgiConfig</em> .... (if needed)<br />
</code></li>
<p>Now more commands:<br />
<code>mkdir <em>/var/www/fcgi-bin</em><br />
chmod -R 777 <em>/var/www/fcgi-bin/</em><br />
</code>
</ol>
<p>Now if you dump your FastCGI scripts to /var/www/fcgi-bin/ you should be able to access them by going to http://www.yourserver.com/fcgi-bin/script.fcgi.  Now anything in italics up above you should be able to freely change without screwing up too much.  Anything you don&#8217;t understand consult the FastCGI documentation and the Apache Configuration documentation.</p>
<p>Good luck guys.</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/linkmania-november-17-2006/" rel="bookmark" title="November 19, 2006">LinkMania November, 17 2006</a></li>

<li><a href="http://www.webdevelopment2.com/xampp-lite-on-usb-disk-benchmark-php-and-mysql-by-slowing-down-your-server/" rel="bookmark" title="August 29, 2007">XAMPP Lite on USB Disk &#8211; Benchmark PHP and MySQL by Slowing Down Your Server</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-and-fast-cgi/" rel="bookmark" title="November 12, 2005">AJAX and Fast CGI</a></li>

<li><a href="http://www.webdevelopment2.com/yahoo-using-fastcgi-for-moveable-type/" rel="bookmark" title="December 20, 2005">Yahoo Using FastCGI for Moveable Type</a></li>
</ul><!-- Similar Posts took 4.092 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/fast-cgi-installation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AJAX and Fast CGI</title>
		<link>http://www.webdevelopment2.com/ajax-and-fast-cgi/</link>
		<comments>http://www.webdevelopment2.com/ajax-and-fast-cgi/#comments</comments>
		<pubDate>Sun, 13 Nov 2005 04:34:41 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Fast CGI]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2005/11/17/ajax-and-fast-cgi.htm</guid>
		<description><![CDATA[Here&#8217;s a little intro what I&#8217;ve been working on at my Job for the past couple months. AJAX stands for Asynchronous JavaScript And XML for web development. Basically you use a some JavaScript to get down below the browser level and control HTTP &#8220;GET&#8221;s and &#8220;POST&#8221;s and stuff like that. It&#8217;s used by stuff like [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little intro what I&#8217;ve been working on at my Job for the past couple months.</p>
<p>AJAX stands for Asynchronous JavaScript And XML for web development.  Basically you use a some JavaScript to get down below the browser level and control HTTP &#8220;GET&#8221;s and &#8220;POST&#8221;s and stuff like that.  It&#8217;s used by stuff like Google Maps and Google Suggest and GMail.  What it enables is basically background activity without the user&#8217;s knowledge.  This means that you don&#8217;t have to do anything really for things to happen.  No need for clicks or form submissions and most importantly, no need to reload the entire page when processing data.  You can read more about it <a href="http://en.wikipedia.org/wiki/Ajax_%28programming%29">here</a>.</p>
<p>Now how does this tie in with my job?  For the past couple months I&#8217;ve been working at a company which runs a legacy program written in ANSI C.  The task I&#8217;ve been assigned is to enable web access to this program from a normal web browser.  On the server end we&#8217;re running FASTCGI.  This enables a process (the program) to be constantly running while being accessed from the web.  Normal CGI programs and PHP scripts are run only one time and then die.  FASTCGI avoids that problem.</p>
<p>Now where does AJAX fit in?  Communication between the two, of course.  So basically, that&#8217;s what I&#8217;m working on.  We made a slight breakthrough today.  We got the AJAX script to make repeated accesses to the server and the server to make repeated replies to the client.  One thing I&#8217;m not quite sure about yet is with speed.  It seems to be running rather slowly.  I know that this computer that I&#8217;m working on needs some work, so I hope that this is where the problem is originating from.</p>
<p>But fear not, all the bugs will be ironed out.  Just one quick note.  I have found absolutely no documentation of anyone trying to do exactly what we&#8217;re trying to do.  Yes, people use all this technology on other things or individually, but no one (I&#8217;ve found) uses both Fast CGI and AJAX together in the way we&#8217;re doing.  Is that a good thing?  Well, it means that we&#8217;re doing some revolutionary and unprecedented and that is always cool.  But on the other hand, there is very little documentation on this so we have nothing to fall back on or to work from, so we&#8217;re kind out flying blind.</p>
<p>But, keep posted for more.  It&#8217;s going to be a fun ride.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/fast-cgi-installation/" rel="bookmark" title="November 18, 2005">Fast CGI Installation</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-server-initiated-server-calls/" rel="bookmark" title="December 4, 2005">Ajax Server Initiated Server Calls</a></li>

<li><a href="http://www.webdevelopment2.com/yahoo-using-fastcgi-for-moveable-type/" rel="bookmark" title="December 20, 2005">Yahoo Using FastCGI for Moveable Type</a></li>

<li><a href="http://www.webdevelopment2.com/job-update-part-1/" rel="bookmark" title="February 14, 2007">Job Update &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/bit-open-source-baz-background/" rel="bookmark" title="November 12, 2008">A Bit On Open Source And Some Baz Background</a></li>
</ul><!-- Similar Posts took 4.049 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/ajax-and-fast-cgi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enter AJAX</title>
		<link>http://www.webdevelopment2.com/enter-ajax/</link>
		<comments>http://www.webdevelopment2.com/enter-ajax/#comments</comments>
		<pubDate>Thu, 20 Oct 2005 04:06:51 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=13</guid>
		<description><![CDATA[I first came across AJAX at my job. I was trying to give an application some Web capabilities and I realized that the normal way the browser works was very limited. In an article at News.com, Martin LaMonica has also realized the limits we are at: At the moment, Web pages are limited, compared with [...]]]></description>
			<content:encoded><![CDATA[<p>I first came across <a href="http://en.wikipedia.org/wiki/AJAX">AJAX </a>at my job.  I was trying to give an application some Web capabilities and I realized that the normal way the browser works was very limited.  In an article at <a href="http://news.com.com/AJAX+gives+software+a+fresh+look/2100-1007_3-5886709.html">News.com</a>, Martin LaMonica has also realized the limits we are at:</p>
<blockquote><p>At the moment, Web pages are limited, compared with most desktop applications. AJAX frees Web pages from the clunkiness they suffer from by making them more interactive and so more functional, Web developers say.</p></blockquote>
<p>Ajax stands for Asynchronous JavaScript and XML.  In my current application, I&#8217;m soft of ignoring the XML portion, but the ability to request information Asynchronously from the server is an insane advantage.  Google has been taking advantage of Ajax for a long while now.  We see it in <a href="http://www.gmail.com">GMail </a>and in <a href="http://maps.google.com">Google Maps</a>.  You can tell when Ajax is at work because a key effect of Ajax is new browser requests without the browser refreshing, sometimes without the user&#8217;s knowledge.  Take GMail for instance; your inbox is frequently refreshed in the background while the user is on the same page.  Or Google Maps; when the user moves around on the map, new map data is requested on the fly.  Lately <a href="http://www.yahoo.com">Yahoo</a> has also jumped on the Ajax train with their own <a href="http://news.com.com/Yahoo+goes+drag-and-drop+for+mapping/2100-1032_3-5929623.html">map service</a>.  A webmessenging service called <a href="http://www.meebo.com">Meebo</a> also uses Ajax beautifully.  Ajax is the way of the future and I am very happy that I&#8217;m going to be part of that.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/a-step-by-step-tutorial-google-maps-and-ajax/" rel="bookmark" title="October 27, 2006">A Step By Step Tutorial &#8211; Google Maps and Ajax</a></li>

<li><a href="http://www.webdevelopment2.com/google-leading/" rel="bookmark" title="November 25, 2005">Google Leading Web 2.0</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-and-fast-cgi/" rel="bookmark" title="November 12, 2005">AJAX and Fast CGI</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>

<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>
</ul><!-- Similar Posts took 4.474 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/enter-ajax/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

