<?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>Nobien &#187; Server Side Scripting</title>
	<atom:link href="http://blog.nobien.net/category/server-side-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobien.net</link>
	<description>A nerd blog about nerdy things by ... nerdy guys?</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:27:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Pretty Pleased with the SWFAddress Apache, mod_rewrite, and PHP SEO Implementation</title>
		<link>http://blog.nobien.net/2009/09/11/swfaddress-apache-mod_rewrite-php-seo-implementation/</link>
		<comments>http://blog.nobien.net/2009/09/11/swfaddress-apache-mod_rewrite-php-seo-implementation/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 19:30:07 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Server Side Scripting]]></category>

		<guid isPermaLink="false">http://blog.nobien.net/?p=162</guid>
		<description><![CDATA[The latest project I've been working on at Rokkan has been umbro.com. When the project first came to us there was quite a bit of discussion over what technology to use, specifically HTML vs. Flash. The client, naturally, was concerned about SEO but also wanted a nice "rich" experience. Sure, there's been a little bit [...]]]></description>
			<content:encoded><![CDATA[<p>The latest project I've been working on at Rokkan has been umbro.com. When the project first came to us there was quite a bit of discussion over what technology to use, specifically HTML vs. Flash. The client, naturally, was concerned about SEO but also wanted a nice "rich" experience. Sure, there's been a little bit of talk lately over the fact that Google can now index certain types of content with regards to SWF files and the files which they load, but its still sketchy at best. Not to mention you have to pay close attention to how you setup your text fields 'n such. Hell, when is the last time you searched on Google for something significant and got a result that takes you to a specific page of a Flash site/app? I honestly can't think of that every happening to me.</p>
<p><span id="more-162"></span></p>
<p>At any rate, after much debate we decided that the experience was a bit more important to us so we would focus on the Flash front end. Regardless of that decision, we also would create a text-only/HTML/SEO friendly version of the site for search engines to crawl using <a href="http://www.asual.com/swfaddress/" target="_blank">SWFAddress's SEO setup</a> that uses a little special JavaScript, Apache's mod_rewrite and PHP. If you haven't checked this out yet, I highly recommend it.</p>
<p>If you're too lazy to go check out the SWFAddress site, I'll summarize what it does for you. Essentially, with the combination of the aforementioned technologies, SWFAddress now ships with a simple rule-based URL rewriting engine to handle entry URLs that do not contain the SWFAddress hash mark (#). This allows us to display equivalent content under the same folder structure that the Flash site/app uses for users that do not have both JavaScript and the Flash Player. For example, if you have JavaScript enabled and the Flash Player installed and go to <a href="http://www.umbro.com/en_UK/about/" target="_blank">www.umbro.com/en_UK/about/</a> you will be redirected to the SWFAddress/Flash friendly URL <a href="http://www.umbro.com/en_UK/#/about/" target="_blank">www.umbro.com/en_UK/#/about/</a>. If you don't have JavaScript enabled or the Flash Player installed at all, mod_rewrite sends the folder path as a string to a PHP script. In this script you setup rules that determine what HTML content to display. Thus, you can display equivalent textual/semantic/SEO friendly content to anything that doesn't use JavaScript and Flash, eg: search engine spiders.</p>
<p>The only drawback I can see with this implementation at this point is the way in which users share URLs with each other. I'm guessing most users are more apt to simply copy and paste the URL from their browser's address bar than anything else. In this case they're grabbing the SWFAddress/Flash friendly URL with the hash (#) mark in it. Unfortunately if this is the URL that gets posted around the internet and shared via blogs, twitter, facebook, etc, then these pages aren't really going to increase in page rank all that much. However, in order to facilitate the sharing of the non-hash-marked URL, we've placed a "Share This" tool on as many pages within the Flash app as possible. This button uses the link sharing API's for a few social networks and passes in the SEO friendly URLs (without the hash mark) instead of whats in the address bar.</p>
<p>One thing I will say if you do decide to use this approach is to be aware of the amount of extra work that it will entail. You're essentially creating two sites, one in HTML and one in Flash. This can become rather time consuming depending on the scope fo the project and the amount of content. In the case of umbro.com we didn't really have that many pages to duplicate but we did have four markets/languages. On top of this, we initially created very bare-bones and unstyled HTML content that we knew would get indexed as long as it was being spidered. However, once a few people checked out umbro.com on their mobile devices and noticed that the "mobile" version was different than the version they saw on the desktops or laptops, those people suddenly thought that they were indeed seeing THE "mobile" version, not the version that anyone or anything that doesn't have JavaScript and Flash will see. So suddenly we had to pretty up that content with some nice images and CSS styles which required a bit more work than we had anticipated from the start.</p>
<p>I'm pretty happy with how things turned out with umbro.com, if you do some obvious Google searches such as '<a href="http://www.google.com/search?rlz=1C1GGLS_enUS291US304&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=about+umbro" target="_blank">about umbro</a>' or '<a href="http://www.google.com/search?hl=en&amp;rlz=1C1GGLS_enUS291US304&amp;q=where+to+buy+umbro&amp;aq=f&amp;oq=&amp;aqi=g10" target="_blank">where to buy umbro</a>' you can see that pages from umbro.com are appearing pretty high in the results right now and thats honestly good enough for me at this point as I've never built an entire site in Flash and had any sort of results show up in Google before. I'm also pretty curious as to who else out there has implemented this with good results, so if you or any other sites you know of that have gone with this solution please leave a comment and URL. Thanks in advance.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobien.net/2009/09/11/swfaddress-apache-mod_rewrite-php-seo-implementation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Everybody Likes CakePHP</title>
		<link>http://blog.nobien.net/2007/02/18/cakephp-and-cakeamfphp-will-make-your-flash-projects-delicious/</link>
		<comments>http://blog.nobien.net/2007/02/18/cakephp-and-cakeamfphp-will-make-your-flash-projects-delicious/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 00:34:47 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Server Side Scripting]]></category>

		<guid isPermaLink="false">http://blog.nobien.net/?p=11</guid>
		<description><![CDATA[So a few years ago I used to have to write PHP for a few projects I worked on at my old job. I wasn't very good at it and it was all procedural. Often it included some generated code from Dreamweaver, yuck. For the past year and a half I haven't written a single [...]]]></description>
			<content:encoded><![CDATA[<p>So a few years ago I used to have to write PHP for a few projects I worked on at my old job. I wasn't very good at it and it was all procedural. Often it included some generated code from Dreamweaver, yuck. For the past year and a half I haven't written a single line of server side code. Being able to say that is sort of nice in some respect, but at the same time I wish I was able to write object oriented PHP to supplement some personal projects. Whats a Flash guy to do? Perhaps learn to use <a href="http://www.cakephp.org" target="_blank">CakePHP</a>! From the CakePHP website:</p>
<blockquote><p>Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.</p></blockquote>
<p>My coworker recently used CakePHP for the entire backend of a Flash project which we worked on together. It handles the data, the form handling and even the remoting. The remoting is handled with a version of AMFPHP. Their community is very Flash friendly and even have a flash remoting example on the website. My coworker also lurks their IRC channel for help from time to time and he said its been very helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobien.net/2007/02/18/cakephp-and-cakeamfphp-will-make-your-flash-projects-delicious/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
