<?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>VoxBlog &#187; Ajax</title>
	<atom:link href="http://voxblog.voxland.net/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://voxblog.voxland.net</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Fri, 12 Jun 2009 21:15:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I&#8217;m Officially Off the Flex Bandwagon</title>
		<link>http://voxblog.voxland.net/2008/11/im-officially-off-the-flex-bandwagon/</link>
		<comments>http://voxblog.voxland.net/2008/11/im-officially-off-the-flex-bandwagon/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 02:29:05 +0000</pubDate>
		<dc:creator>Nathan Voxland</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Interface Design]]></category>

		<guid isPermaLink="false">http://voxblog.voxland.net/?p=30</guid>
		<description><![CDATA[For the last year I have been a big Flex proponent.  There are a lot of things I really like about it, I have come to the realization that it should only play a minor role in favor of standard HTML and AJAX.
Pros Of Flex compared to AJAX

Cross-browser compatibility
Naively Object Oriented
Data binding
Nice built-in controls (tables, [...]]]></description>
			<content:encoded><![CDATA[<p>For the last year I have been a big Flex proponent.  There are a lot of things I really like about it, I have come to the realization that it should only play a minor role in favor of standard HTML and AJAX.</p>
<p><strong>Pros Of Flex compared to AJAX</strong></p>
<ul>
<li>Cross-browser compatibility</li>
<li>Naively Object Oriented</li>
<li>Data binding</li>
<li>Nice built-in controls (tables, trees, tabs, charts)</li>
<li>Ability to write modular controls</li>
</ul>
<p><strong>What I am starting to find</strong></p>
<ul>
<li>Debugging sucks.  I don’t think there is going to be a way around it for our application.  In both Flex Builder and InteliJ, the debugger expects to be given a .swf file to run, but I need to have my components run as part of a larger page, often times requiring a log-in page to be run first.  This breaks what the debugger expects.</li>
<li>You need to give your flex app a set height which wastes vertical real estate</li>
<li>Resizing the browser window often makes it act goofy</li>
<li>Flex steals Ctrl-T so you can’t open tabs like you would expect</li>
<li>Drop down boxes and other standard widgets don’t look native</li>
<li>Browser refresh doesn’t work as expected</li>
<li>Browser history doesn’t work as expected</li>
<li>There are <em>still</em> cross-browser differences, especially around networking (HTTPS issues, long polling issues, and more)</li>
<li>The .swf files are relatively large and take a while to load which makes for a bad user experience</li>
<li>EVERYTHING needs to be transferred via web service calls, even reference data</li>
</ul>
<p>Because of this, I now feel that piecemeal half Flex/half HTML applications are a bad fit.  My initial views of Flex was that it <em>should</em> make web development better, even if it was taking a while as I was getting up to speed with it.  Now that I am relatively proficient with it, however, development is still taking too long.</p>
<p>The lack of debugging in particular is making it very difficult to work with.   Having to make and manage REST APIs for everything adds a lot of complexity.  And it still isn’t really that pretty looking.  Despite a lot of early promise, the cons are definitly outweighing the pros.</p>
<p>In the end, I think JQuery will do as good of a job of abstracting browser differences as Flex does and will keep the app more browser-native and debuggable.</p>
]]></content:encoded>
			<wfw:commentRss>http://voxblog.voxland.net/2008/11/im-officially-off-the-flex-bandwagon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
