<?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>html5 &#8211; Software, Fitness, and Gaming &#8211; Jesse Warden</title>
	<atom:link href="https://jessewarden.com/tag/html5/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Wed, 12 Sep 2012 19:59:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://jessewarden.com/wp-content/uploads/2016/08/cropped-Lambda2-32x32.png</url>
	<title>html5 &#8211; Software, Fitness, and Gaming &#8211; Jesse Warden</title>
	<link>https://jessewarden.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Facebook&#8217;s HTML5 Mistake</title>
		<link>https://jessewarden.com/2012/09/facebooks-html5-mistake.html</link>
					<comments>https://jessewarden.com/2012/09/facebooks-html5-mistake.html#comments</comments>
		
		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 15:13:36 +0000</pubDate>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">http://jessewarden.com/?p=3315</guid>

					<description><![CDATA[Laides &#38; Gentlemen, some key points to keep in mind when reading about Mark Zuckerberg&#8217;s latest statement about Facebook&#8217;s mobile strategy: &#8220;The biggest mistake we made as a company was betting too much on HTML5 instead of native&#8230; We burnt two years.&#8221; http://www.theverge.com/2012/9/11/3317230/mark-zuckerberg-betting-on-html5-for-mobile-was-a-mistake-hints-at I&#8217;ve seen some holes in a few of the blogs &#38; commentary [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Laides &amp; Gentlemen, some key points to keep in mind when reading about Mark Zuckerberg&#8217;s latest statement about Facebook&#8217;s mobile strategy:</p>
<p>&#8220;The biggest mistake we made as a company was betting too much on HTML5 instead of native&#8230; We burnt two years.&#8221;</p>
<p><a href="http://www.theverge.com/2012/9/11/3317230/mark-zuckerberg-betting-on-html5-for-mobile-was-a-mistake-hints-at">http://www.theverge.com/2012/9/11/3317230/mark-zuckerberg-betting-on-html5-for-mobile-was-a-mistake-hints-at</a></p>
<p>I&#8217;ve seen some holes in a few of the blogs &amp; commentary that I believe need plugging.<br />
<span id="more-3315"></span></p>
<h3>1. Companies have no choice, they have to have an HTML5 Strategy</h3>
<p>If customers access your website on a device, it needs to work. If that is simply 1 page that provides a link to your iOS app store or Android Play store app, fine. SOMEONE has to build that web page and ensure it works on that particular set of devices.</p>
<p>Alternatively, it could just be your existing website that you&#8217;ve ensured renders reasonably well on iPhone, iPad, and Android. That, or whatever your analytics are telling you. Remember, interpreting quantitative data is key; just because 1% access your website on iPad could mean because it doesn&#8217;t work, hence they stopped trying.</p>
<p>Metrics have shown that consumers do not like &#8220;Download our App&#8221; as whole screen, first pagers. Metrics have also shown that if you show that screen without an easy way to use the site, they leave.</p>
<p>Conversely, for larger web applications, it&#8217;s not as simple as using &#8220;responsive design&#8221; (yes, I said it, take a shot) and calling it a day. In large companies with larger web properties, you&#8217;re talking multi-month initiatives to get a 3rd party agencies to respond to an RFP/RFQ, pick one to pitch an analysis of the companies mobile needs, design it, and Directors to figure out if you convert your existing code base or start anew, not taking into account the different API needs that may arise on the server-side. Sometimes stop-gap plans are put in place to give the user SOMETHING so they can at least be productive and/or it ensures the brand isn&#8217;t significantly hurt whilst larger initiatives get underway.</p>
<p>Also, some apps can only be downloaded on wireless.</p>
<p>For these reasons: web only access, app incompatibility with device, user experience, and lack of wireless.</p>
<p>Notice NONE of the above has anything to do with cost, developers, or user experience. It&#8217;s a fact that users surf the web on web browsers on their devices and expect things to work without having to download an app. If they use it everyday, it&#8217;s proven they&#8217;re more likely to download an app.</p>
<p>Until iPhone, iPad, and Android remove their web browsers, companies HAVE to have a mobile web strategy, period.</p>
<p>Web applications are a completely different story.</p>
<h3>2. Web Application Cost Structure</h3>
<p>The marketing goes, &#8220;Use HTML5 because it is ubiquitous, and the majority of your code base can be reused between various devices using responsive design.&#8221;</p>
<p>That is simple statement that varies in truth depending on what you&#8217;re building. A simple website with text content? Sure. Anything more complex, and the question&#8217;s answer gets more complex. As you know in software development, complexity == time and money and risk.</p>
<p>For some companies, the increased opportunity mobile usage by consumers covers the cost of new or additional development. For them, native&#8217;s a shoe in, as is an HTML5 strategy along side the same teams, even if different companies. For others, they make bets on the technology stack for a variety of reasons. Maybe they only know Android developers. Maybe it&#8217;s hard hiring Objective C people in their area with their small hiring budget. For whatever reason, they have to make a cost analysis of the software stack. As Patton would say, this is a &#8220;calculated risk&#8221;.</p>
<p>Part of that risk assessment is eyeing the current landscape, seeing what was built with the existing stack already, comparing the end product with your current teams capabilities, and sallying forth with much gusto. For others, they don&#8217;t have time, they&#8217;ve been at this for so long that they know stack often times doesn&#8217;t matter. So they sally forth.</p>
<p>The problem with both of the above is that if you&#8217;ve done any startup work, you know you sometimes have to pivot. These cannot be predicted, they&#8217;re in direct response to both user/customer feedback, stakeholder input, and leadership judgement calls. Can your stack support enough leeway? THAT is hard to predict.</p>
<p>Even if you&#8217;ve done a great analysis of your market, your existing product portfolio, your customers&#8217; needs, your technology stacks&#8217; capabilities, your team&#8217;s capabilities, hiring prospects, you could still gloriously fail when you hit scalability problems you can&#8217;t quickly recover from, or client-side rendering/performance issues that make you re-think you&#8217;re entire architecture, even when you&#8217;re team has had a lot of sleep and is in a good state of mind to make such a reflective decision.</p>
<p>Just keep in mind not everyone can afford 5 development teams when they used to have 2, or keep 5 afloat and deliver the same expected capabilities form consumers. Everything has a price. Sometimes the increased opportunity pays for that, sometimes it doesn&#8217;t. Even if it does, there&#8217;s no guarantee you can deliver even with a great cost &amp; capability assessment.</p>
<h3>3. Even Great Developers Can Suck</h3>
<p>Back in 2006/2007, Yahoo, to compete with Google maps, re-did their maps in ActionScript 3. Right out of the gate, it had some massive performance lag on the server delivering map tiles compared to Google Maps. I also noticed they were not utilizing any of the Bitmap API&#8217;s that Flash Player provided for increasing performance of large and many bitmaps. I also knew one of the developers and knew he was great. The press didn&#8217;t see those things. AJAX developers didn&#8217;t see those things.</p>
<p>What they saw was Flash sucked, and Yahoo wasted their time and choose the wrong technology.</p>
<p>What we Flash Developers saw was Yahoo &#8220;doing it wrong&#8221;. Here was a golden opportunity for a flagship example to prove to all the haters they were wrong.</p>
<p>If you&#8217;ve been in software development awhile, you know a huge percentage of all of the failures are not the developer. They&#8217;re leadership and management. Basically people, not code. You get ANY of these dudes who&#8217;ve worked on high profile projects like that drunk, and ask them about the drama, it&#8217;s insane. It&#8217;s hard enough with the pressure, with the multi-team challenges, with the deadlines, let alone good old challenging software development&#8230; now you add drama on top?</p>
<p>We currently do not have transparency into how Facebook executed on their mobile app. What we do know is that many assume HTML5 is either:</p>
<p>A. still awesome and the Facebook developers suck and &#8220;did it wrong&#8221; despite proven hiring practices to the contrary</p>
<p>B. sucks, and I told you so, duh despite many HTML, not HTML5, apps that are wonderful and a staple of the online world today (Facebook, Gmail, Google+, Harvest, Freshbooks,etc).</p>
<p>If you&#8217;ve ever actually shipped software, you know it&#8217;s hard and it doesn&#8217;t always go exactly as you planned. Just because Facebook is Facebook doesn&#8217;t make them an alternate reality of software. No, for that, we have Google.</p>
<h3>Conclusions</h3>
<p>Users have web browsers on their phones and iPads and expect them to work.</p>
<p>Companies do not have scientific ways to ensure the technology stacks they choose are &#8220;correct&#8221;. Failures happen all the time. We&#8217;re just hearing about it more so because of all the hype for HTML5 + Facebook hiring who they hire + their falling IPO. The market is currently laser focused on this use case as some qualitative proof of some preconceived notion.</p>
<p>Unless you developed the Facebook app, you don&#8217;t know what really happened. You can do all the DOM vs. CSS rendering debating you want, but even if there were some leadership issues, a more likely scenario was #2; Facebook didn&#8217;t anticipate the amount of features users wanted and pushed the HTML5 envelope on mobile. Good for them. They have the capital to do cool things like that and re-invest into native mobile solutions. Not everyone does and we should be thankful they have continued to talk openly about their HTML journeys.</p>
<p>Regardless, native performs faster than HTML5, has more mature tooling, and better languages for larger applications. For consumer focused companies, you can actually monetize those without an existing platform.</p>
<p>That said, web browsers aren&#8217;t going anywhere, and people will continue to use them. HTML5 isn&#8217;t going away just because Facebook&#8217;s users wanted faster mobile apps.</p>
<p>I&#8217;d be lying if I didn&#8217;t admit it&#8217;s nice to see a large company have buyer&#8217;s remorse like all us cynical, bitter ex-Flashers said was going to happen. It&#8217;s lessened by maturity (yes, I&#8217;m getting there), and the fact that this was more user driven than HTML5&#8217;s fault.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jessewarden.com/2012/09/facebooks-html5-mistake.html/feed</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>RIA Unleashed 2011</title>
		<link>https://jessewarden.com/2011/10/ria-unleashed-2011.html</link>
					<comments>https://jessewarden.com/2011/10/ria-unleashed-2011.html#comments</comments>
		
		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 04:35:33 +0000</pubDate>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fitc]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[riaunleashed]]></category>
		<guid isPermaLink="false">http://jessewarden.com/?p=2966</guid>

					<description><![CDATA[Just wanted to give a post mortem on RIA Unleashed 2011, a conference up in Boston run by the FITC crew. Specifically I wanted to mention some thoughts on gaming, JavaScript, and leadership. I&#8217;m glad I went to RIA Unleashed this year. First year run by the FITC crew who always have their act together. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/fitc/6286634575/"><img fetchpriority="high" decoding="async" style="padding-right: 8px;" src="http://jessewarden.com/archives/blogentryimages/riaunleashed2011/fitc_mobile_gaming_corona_air_jesse_warden.jpg" alt="Mobile Gaming with Corona and Adobe AIR" width="320" height="320" align="left" /></a>Just wanted to give a post mortem on <a href="http://riaunleashed.com">RIA Unleashed</a> 2011, a conference up in Boston run by the <a href="http://fitc.ca">FITC</a> crew. Specifically I wanted to mention some thoughts on gaming, JavaScript, and leadership.</p>
<p>I&#8217;m glad I went to RIA Unleashed this year. First year run by the FITC crew who always have their act together. I always like the crowd in Boston. This year was different for a few reasons.</p>
<p><span id="more-2966"></span></p>
<p>&nbsp;</p>
<p><b>Corona</b></p>
<p>I gave a 4 hour work shop on <a href="http://www.fitc.ca/events/presentations/presentation.cfm?event=121&#038;presentation_id=1677">Corona SDK by Ansca Mobile and Adobe AIR for mobile gaming</a>. Some of the Flash Lite team members formed their own company and created Corona, a way to build games and simple applications for Android and iOS. Through a performant, built-in Box2D physics/collision engine, light weight language &#038; API, and partnerships with other social services it has scored a lot of points with people trying to hit the simple gaming &#038; app market for the Indie&#8217;s, those learning, and those looking to reduce complexity in their development stack.</p>
<p>The AIR part was a little frustrating because things are extremely in flux right now with Adobe&#8217;s stack. The future of Flex is mobile applications. The future of Flash Player is low level functionality to support as high end gaming as you can in browser. The future of the Flash IDE appears to be supporting this gaming &#038; mobile workflows. However, none of the gaming engines &#038; supporting frameworks are mature enough yet, most are browser focused vs. mobile, and Flash Player&#8217;s new GPU related display mechanisms aren&#8217;t in AIR 3 for devices yet. They will be soon, the landscape itself is in flux, and &#8220;learning&#8221; to develop &#8220;games in Adobe AIR for mobile&#8221; will be changing big time for the next 12 months as we wait for the tech to hit devices and the libraries/frameworks to morph/be created to mobile work flows.</p>
<p>I really REALLY enjoyed teaching the <a href="http://www.anscamobile.com/">Corona SDK</a>. It&#8217;s been a LONG time that I&#8217;ve gotten to speak on something I enjoyed and had ZERO to do with helping my fellow devs build their skill set for their career. This was, &#8220;Learn this, it&#8217;s fun!&#8221;. Granted, I tried to give an overview of the consumer business landscape regarding paid vs. ads vs. micro-payments.</p>
<p>The trend I&#8217;m seeing is those building games, once they see Corona, are blown away with how simple it is, and what you can produce with very little effort, regardless of their background.</p>
<p>Sitting in on some of <a href="http://www.fitc.ca/events/presentations/presentation.cfm?event=121&#038;presentation_id=1681">Jesse Freeman&#8217;s HTML5 gaming with ImpactJS session</a>, it&#8217;s also very clear there are some great minds working to ensure HTML5 is also a valid platform for gaming. It also pointed out some gaping holes of needs in AIR and Corona gaming with regards to helpful libraries and toolsets.</p>
<p>I may not see any money from this, but damn is it fun and great to be learning something development related that&#8217;s out of my comfort zone (&#8230;and that&#8217;s not Sales or Biz Dev related).</p>
<p><b>JavaScript</b></p>
<p>I met this kat named <a href="https://twitter.com/#!/dougneiner">Doug Neiner</a>. He&#8217;s part of the <a href="http://jquery.com/">jQuery</a> team and is the perfect example of what the negative detractors against Flash/Flex think we should be like. Naturally, I did everything in my power to screw with him and learn everything I could in the short time I spent with him.</p>
<p>In our first meeting at dinner, I spilt my beer all over myself and let him think he did it. He was overly gracious and apologetic. And sincere. We chatted about guns. Damn.</p>
<p>I even tried to screw with him regarding religion. He took that one in stride too. Not insecure. Damn.</p>
<p>So finally with more liquor in me we got into a long discussion regarding JS devs perceptions of Flash, misconceptions about what they get paid, and how they develop, what frameworks &#038; design patterns they use, the nomenclature, and basically every question I could possible think to ask with <a href="http://twitter.com/commadelimited">Andy</a> to help mediate. He did a bang up job considering our language barrier (I butcher and give no respect to true meanings of Design Patterns). He was very forthcoming with information, tactful, unapologetic, and sought to understand. I learned we have a TON in common. I mean like 90%. Damn.</p>
<p>I suggested we do a code review of some of the Flex projects I had worked on in the past. The next day we briefly did so. It was eye opening to see the code they wrote after our previous nights conversations. It + the techniques + the patterns + the lingo seemed very familiar.</p>
<p>They do all the same shit we do. Seriously. What&#8217;s truly different?</p>
<ol>
<li>Their display list is slow, ours is fast.</li>
<li>They thusly use CSS to not only off load display list redraw code, but save having to write a lot of JavaScript because of it. Most Flash/Flex devs don&#8217;t. Our CSS isn&#8217;t true CSS and doesn&#8217;t handle a lot of mouse/keyboard/touch events.</li>
<li>They have to remember what works in what browser on what platform, and remember the already created/solved fallbacks.</li>
<li>They are now creating, and getting paid to do so, some of the same types of browser based applications that we do.</li>
</ol>
<p>That&#8217;s it.</p>
<p>For those of you who bring up loose typing, let me just say every single person, me included, who&#8217;s gotten used to JavaScript and closures does just fine (doesn&#8217;t mean they love it). On smaller projects. Additionally, the amount of tools regarding code coverage, testing frameworks, and other language pre/post compilers out there for JavaScript is solving the problems they have.</p>
<p>I now understand why Flex is <a href="http://blogs.adobe.com/flex/2011/08/flex-where-were-headed.html">100% focused on mobile</a>. You can&#8217;t fight that encroachment, half being true, half being hype with real money behind it.</p>
<p>While the larger scale browser based applications may suffer from lack of a strongly typed language, it&#8217;s very clear the JavaScript community has enough resources behind it to &#8220;figure it out&#8221;. Even if that takes 5 years.</p>
<p>My short time with Doug was great. He&#8217;s a really nice guy, helpful, and is extremely hard to take the piss out of. We have much in common with our browser brethren.</p>
<p>What remains to be seen on the technical side is how they handle Enterprise sized applications. Most I&#8217;ve seen is coded on the server-side and the client is generated (Google&#8217;s GWT, Microsoft&#8217;s .NET, Oracle&#8217;s ADF, Python/Ruby HTML templates). This is not how these guys develop; they develop just like us. They&#8217;re deep into the client code and browser and design. They do the work we do.</p>
<p>What I could gather is most is currently offloaded to the server, but based on some of the projects Doug showed me, it&#8217;s very clear traditional Flash &#038; Flex applications (not websites nor widgets) are next in line.</p>
<p>It&#8217;s also very clear the jQuery team scored big time getting Doug on board. He is whip smart, passionate, and has good character.</p>
<p><a href="http://www.flickr.com/photos/fitc/6299487045/sizes/l/in/photostream/"><img decoding="async" style="padding-right: 8px;" src="http://jessewarden.com/archives/blogentryimages/riaunleashed2011/fitc_refactoring_jesse_warden.jpg" alt="Refactoring - Jesse Warden" width="320" height="214" align="left" /></a><b>Leadership</b></p>
<p>Which leads me to leadership. It was very clear a lot of people are lost. I&#8217;ve seen it online for awhile, but seeing it in person confirmed it. For 10+ years Macromedia &#038; Adobe have lead us technologically. Now they&#8217;re not. (paraphrasing Freeman here&#8230; or maybe I&#8217;m not&#8230; *ahem*) Many of our thought leaders have either left or haven&#8217;t recognized their responsibilities. In in the past, I&#8217;ve done my best to petition people like <a href="http://waxpraxis.tumblr.com/">Brandon Hall</a>, <a href="http://www.bit-101.com/blog/">Keith Peters</a>, and others to recognize what happens when they disappear or do certain things without context. Even normally secure people get the insecurity of the masses leaked upon them like spittle in a violent scuffle. This affects them.</p>
<p>It&#8217;s not just us. Microsoft is really taking some bold (crazy?) moves with Windows 8. While Apple recognizes some people drive trucks (Desktops and Laptops) and others cars (mobile) and thus made 2 OS&#8217;s for each platform, Microsoft is forcing both into the same OS. While Silverlight still has a lot of value and a future, it&#8217;s very clear where Microsoft is heading. Those who don&#8217;t wish to ride the Silverlight wave have left to other techs, or migrated back to the Win32 land.</p>
<p>Mobile development itself is still in it&#8217;s infancy. We have extreme hype continually thrown at us, yet the toolsets are still growing and changing. While some companies are making a lot of their revenue either partially or wholly from it, the &#8220;RIA&#8221; aspect doesn&#8217;t seem to have transitioned to the Flex and Flash world yet. Keep in mind, this could be because I&#8217;ve done zero marketing on what we&#8217;ve accomplished on mobile regarding our <a href="http://www.youtube.com/watch?v=wt9_75YjFLs">mobile Dashboard</a> and my <a href="http://www.youtube.com/watch?v=ZiZCHlJDPdc">mobile gaming</a> &#038; <a href="http://jessewarden.com/2011/08/corona-and-cocoonp2p-now-in-hd-jxltv-episode-10.html">mobile application</a> work. I&#8217;m starting to hear about (from FITC Toronto, email, and Twitter convo&#8217;s) more and more Agency mobile work. If the consumers are paying, and companies are paying agencies, then it&#8217;s only a matter of time before it gets into the Enterprises and startups wishing to fund applications for B2B.</p>
<p>Either way, it&#8217;s very clear a lot of people are either picking a path that seems safe, or one that pays the bills. Only a few are saying, &#8220;This is fun AND makes me money, I&#8217;m going here.&#8221; If they do, they don&#8217;t define if that money actually pays for their mortgage/rent.</p>
<p>It was clear that there is still a lot of uncertainty, about the tech, business, and political landscape both here in the states and internationally. Thus there is also a ton of opportunity. While I&#8217;m disappointed a lot of people I respect haven&#8217;t provided what I perceived as much needed guidance in these confusing times, I get why a lot of them don&#8217;t. It gets tiring justifying obvious things after awhile. I get tired of telling my 2 year old no, but it&#8217;s my responsibility as a parent. Others aren&#8217;t the &#8220;parents&#8221; of the industry, but the power of their words, insight, and confidence about the future really do soothe the masses in ways they may not fully understand. I swear I&#8217;m not projecting; I see the impact on people not having their thought leaders spout a direction.</p>
<p><b>Conclusions</b></p>
<p>RIA Unleashed is clearly in good hands, FITC did a bang up job. Work shops are fun, I&#8217;d love to do another, especially for a younger crowd at a local school or something. It&#8217;s very clear from my Refactoring preso I need more imagery to convey humanistic challenges in programming. The next consulting article I do, I&#8217;ll remedy that.</p>
<p>It&#8217;s also very clear there isn&#8217;t clarity the future yet, at least for Flash/Flex devs. If you want to do Ruby, Python, or Java on the server, you&#8217;re golden. If you want to do iOS or native Java for companies on B2B and some consumer offerings, you&#8217;re set. The Flash agency landscape is very confusing to me, I have no idea what&#8217;s going on. The Flex landscape is the same as it ever was. While Adobe&#8217;s mostly focused on mobile, there still seems to be a lot of people who aren&#8217;t using JavaScript/HTML/CSS on the client for large scale apps yet; if they are, it&#8217;s server-side generated. I&#8217;m not hearing anything yet for Flex 4 mobile work. I personally blame Adobe&#8217;s lack of hard marketing about how awesome it is to build mobile apps in Flex, Europe&#8217;s debt, and the USA&#8217;s budget woes. Maybe end of 2012 we&#8217;ll start to see a change when the bigger companies get balls to start targeting the growing demographic who wants apps vs. websites.</p>
<p>For HTML5, it seems the huge push is out west. While I occasionally hear about growing JavaScript/HTML/CSS application projects here on the east coast, it seems business as usual, and in California/the valley, business is unusual. i.e., we don&#8217;t care if this technology is inappropriate, if you say HTML5, we&#8217;ll give you tons of Series A funding. Mobile too? Here&#8217;s more.</p>
<p>&#8230;which, again, is I guess why Adobe is still pushing hard on Flex mobile. They know that once Android saturates the market more, the manufacturers will continue to screw up their browser implementations with crappy GPU&#8217;s, thus ensuring those who want highly branded applications with a lot of functionality will choose Flex. Or Flash. It&#8217;s strange, because I keep hearing about those who wish to do web deployments to prevent having to do the 3 development efforts (web, iOS, Android). I used to question and get concerned about what they are doing, but after using <a href="http://soundcloud.com">SoundCloud.com</a> on my iPhone&#8217;s browser vs. the SoundCloud applications for both Android and iOS, it&#8217;s very clear: those who want the best experience will go native. It remains to be seen if the right someone(s) see what Flex and AIR can really do on mobile, and go, &#8220;Man&#8230; this looks great, and can be developed in a shorter time frame&#8230; and be re-used across tons of devices with just design changes to handle the variety of resolutions and functionality changes with our existing design tools. Let&#8217;s do this!&#8221;</p>
<p>We&#8217;ll see. And that&#8217;s what sucks&#8230; this whole &#8220;we&#8217;ll see&#8221;. Remember when we KNEW the Ajax guys were full of shit? Now they&#8217;re taking some of our widget jobs. Yes, you could do &#8217;em over the weekend, but some of those were fun, man&#8230; and nice to have some money on the side of you weren&#8217;t a full time freelancer. Things were so certain then. The only certainty I have now is:</p>
<p>1. The AIR for Android and iOS is really compelling and no one who matters seems to know about it.<br />
2. The Flex in the Enterprise and mid-size software shops seems un-moveable. While the HTML5 hype is replacing a lot of Flex jobs, just like the iPad did for financial firms moving to HTML/native vs. Flex for some jobs, the HTML5 is mostly hype. That doesn&#8217;t mean you can ignore it; a lot of companies make decisions on a CTO&#8217;s whim, even if that decision is completely wrong technologically. Either way, you lose a gig. There still seem to be a lot of people who want to write a TON of ActionScript, quickly, and thus, Flex is still in demand.</p>
<p>#keepYourHeadsUp</p>
<p><a href="https://github.com/JesterXL/Corona-SDK---Adobe-AIR-Workshop-and-Refactoring-Presentation">Need the Presentations and Code from RIA Unleashed 2011?</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://jessewarden.com/2011/10/ria-unleashed-2011.html/feed</wfw:commentRss>
			<slash:comments>30</slash:comments>
		
		
			</item>
		<item>
		<title>Using Geolocation with Flex in the Browser</title>
		<link>https://jessewarden.com/2010/07/using-geolocation-with-flex-in-the-browser.html</link>
					<comments>https://jessewarden.com/2010/07/using-geolocation-with-flex-in-the-browser.html#comments</comments>
		
		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Tue, 06 Jul 2010 18:22:08 +0000</pubDate>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">http://jessewarden.com/?p=2263</guid>

					<description><![CDATA[I went to http://www.html5rocks.com, and some of the samples didn&#8217;t work. The one that did, however, was Geolocation. I thought it was neat because you didn&#8217;t need to utilize an iPhone/Android phone to get Geolocation data, and thus know where you are. I&#8217;ve read on Twitter that it&#8217;s not very accurate. Not sure how it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I went to <a href="http://www.html5rocks.com/">http://www.html5rocks.com</a>, and some of the samples didn&#8217;t work.  The one that did, however, was Geolocation.  I thought it was neat because you didn&#8217;t need to utilize an iPhone/Android phone to get Geolocation data, and thus know where you are.  I&#8217;ve read on <a href="http://twitter.com/jesterxl">Twitter</a> that it&#8217;s not very accurate.  Not sure how it works, but it&#8217;s been accurate for me.  The browser support, however, has been atrocious.  So far, the sample below only works in Chrome and Opera.  Safari and Firefox don&#8217;t seem to work for me.  Safari does pop up the permission dialogue, but just sits there; no error, no update.  Regardless, I wanted to see if I could integrate that location data into Flash.</p>
<p><span id="more-2263"></span>If you&#8217;re running in AIR2 or Flash Lite 4, there is already a native <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sensors/Geolocation.html?allClasses=1">Geolocation API</a> You can utilize straight from ActionScript 3.  If you&#8217;re in the browser on the desktop, however, it&#8217;s not available unless you tap into the browser API&#8217;s which I&#8217;ve done.</p>
<p>You expose the browser API&#8217;s you need via JavaScript, and just have Flex talk to JavaScript, and JavaScript talk to it.  This example below puts a marker on the map once it gets your location.  While not needed, if you want to utilize in your own applications, you&#8217;ll need a <a href="http://code.google.com/apis/maps/signup.html">Google Maps key</a>.</p>
<p><iframe src ="http://jessewarden.com/archives/flex/geolocation/index.html" width="400px" height="400px"></iframe></p>
<p>Flex Geolocation Example &#8211; <a href="http://jessewarden.com/archives/flex/geolocation/index.html">Larger View</a> | <a href="http://jessewarden.com/archives/flex/geolocation/srcview/Geolocation.zip">Source</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://jessewarden.com/2010/07/using-geolocation-with-flex-in-the-browser.html/feed</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Steve Jobs on Flash: Correcting the Lies</title>
		<link>https://jessewarden.com/2010/04/steve-jobs-on-flash-correcting-the-lies.html</link>
					<comments>https://jessewarden.com/2010/04/steve-jobs-on-flash-correcting-the-lies.html#comments</comments>
		
		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 29 Apr 2010 17:59:23 +0000</pubDate>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">http://jessewarden.com/?p=2178</guid>

					<description><![CDATA[Apple has posted Steve Jobs&#8217; &#8220;Thoughts on Flash&#8220;. There are a lot of lies and half truths. No one will care. The article has enough valid points that people won&#8217;t check up on them. That said, here&#8217;s my attempts to correct the lies. Lie Â #1: &#8220;Adobeâ€™s Flash products are 100% proprietary.&#8221; The Flash IDE, yes. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Apple has posted Steve Jobs&#8217; &#8220;<a href="http://www.apple.com/hotnews/thoughts-on-flash/">Thoughts on Flash</a>&#8220;.  There are a lot of lies and half truths. No one will care.  The article has enough valid points that people won&#8217;t check up on them.</p>
<p>That said, here&#8217;s my attempts to correct the lies.</p>
<p><span id="more-2178"></span><strong>Lie Â #1: &#8220;Adobeâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s Flash products are 100% proprietary.&#8221;</strong></p>
<p>The Flash IDE, yes. Â The Flash Player, no. Â Here is a list of technologies open sourced/published by Macromedia/Adobe that are in the Flash Player ecosystem:</p>
<ol>
<li>ActionScript 3 runtime, called <a href="http://www.mozilla.org/projects/tamarin/">Tamarin</a>. Â Given to Mozilla to hopefully utilize in future browsers.</li>
<li><a href="http://www.adobe.com/devnet/rtmp/">RTMP</a> (and it&#8217;s ilk), the protocol for real-time video &amp; audio streaming as well as data (AMF).Â  Yes, many want &#8220;more&#8221; open sourced.Â  <a href="http://red5.org/">Red5</a> and <a href="http://www.wowzamedia.com/">Wowza</a> seem to be doing just fine with what is there currently.</li>
<li>The SWF format itself, which is what Flash Player plays/runs, has most of it&#8217;s <a href="http://www.adobe.com/devnet/swf/">spec published</a> in case you want to generate SWF files.</li>
</ol>
<p>This street goes both ways, too.Â  Macromedia/Adobe has adopted open source technologies into Flash Player with the hopes of embracing standards, not just the de-facto ones.</p>
<ol>
<li>ActionScript 1, 2, and 3 are all based on <a href="http://www.ecma-international.org/">EMCAScript</a>.Â  Yes, it&#8217;s not as compliant as <a href="http://haxe.org/">many would like</a>.Â  Additionally, Adobe did participate in many ECMA Script discussions/debates.Â  Yes, 4 didn&#8217;t turn out so well for Adobe.</li>
<li>The XML parsing is based on <a href="http://www.ecma-international.org/publications/standards/Ecma-357.htm">E4X</a>, ECMA Script for XML.</li>
</ol>
<p>I&#8217;m not saying Adobe&#8217;s open sourced a lot of the Flash Player. Â There&#8217;s open source, there&#8217;s published, and then there is <a href="http://osflash.org/">open source</a>.</p>
<p>Regarding their products, he&#8217;s wrong there too. Â The <a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK;jsessionid=74ECE4D533197CC0E4172E9D61341504">Flex SDK</a>, one of the biggest boosts for the Flash Platform in the past 4 years, is also open source (yes, the real kind). Â Most utilize Flex Builder, built on top of the open source <a href="http://www.eclipse.org/">Eclipse</a>.</p>
<p>Using a blanket statement saying Adobe&#8217;s Flash products are 100%Â proprietaryÂ is a lie. Â It paints an incorrect &amp; negative picture over all the <a href="http://opensource.adobe.com/">wonderful things</a> Macromedia/Adobe have done in open source around their products.</p>
<p><strong>Lie #2: &#8220;HTML5 being adopted by Google&#8221;</strong></p>
<p>Google created the first browser to <a href="http://techcrunch.com/2010/03/30/flash-player-to-come-bundled-with-google-chrome-new-browser-plugin-api-coming/">fully integrate plugins</a>, and continues to work with Adobe to do so. Â Google also utilizes Flash Player in Gmail for both file uploading, andÂ configuringÂ your web cam. Â Google utilizes Flash Player in their online maps product for street view. Â Google Finance utilizes Flash Player for a lot of their charts. Â Their video site, YouTube, utilizes Flash Player for their videos.</p>
<p>Google didn&#8217;t start out with Flash. Â They started with text, AJAX, and later Flash. Â They&#8217;ve done a lot of forays into HTML5, yes, and will continue to do so. Â Saying they are &#8220;adopting&#8221; it, and only it and not Flash Player, is incorrect.</p>
<p><strong>Lie #3: &#8220;&#8230;75% of video on the web is in Flash. What they donâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t say is that almost all this video is also available in a more modern format, H.264, and viewable on iPhones, iPods and iPads&#8230;&#8221;</strong></p>
<p>Incorrect. Â If a video is H264, that doesn&#8217;t mean it can play on the iPhone. Â If you look at the <a href="http://www.apple.com/iphone/specs.html">iPhone specs</a>, you&#8217;ll see the only support a subset of what H264 offers, specifically 2 major components to quality video: Using a maximum of the Baseline profile, with Simple for higher bitrates/resolutions, as well as 2.5 for maximum (ish) bitrate.</p>
<p>Not all H264 videos conform to these specs. Â YouTube converted a lot of their Spark (Flash 6/7) videos to H264 to support iPhone because there was money to be gained in the large investment. Â Even so, not all YouTube videos work on the iPhone, in part because of the aforementioned reasons. Â There is a reason why when you upload a H264 video to YouTube, they&#8217;ll often re-encode it.</p>
<p>I&#8217;ve been in web video for 7 years. Â Getting video to work in the browser is the easy part. Â Setting up video encoding farms to support thousands/millions of users is not. Â It&#8217;s hard and expensive. Â Not everyone has the resources (read money and time) Google has, and that&#8217;s why companies like <a href="http://www.brightcove.com/en/video-platform/solutions/html5">Brightcove</a> are trying toÂ capitalizeÂ on this problem.</p>
<p>MostÂ importantly, HTML5 currently has no universal DRM solution. Â That is why Flash Player&#8217;s RTMPE, and soon HTTP Streaming via <a href="http://blogs.adobe.com/ktowes/2009/10/rtmp_rtmfp_and_http_the_multi-.html">Project Zeri</a>, are the de-facto standard today. Â Those who deploy video content they either own or license the rights to will not utilize HTML5 because it cannot be protected. Â There is a reason you rent videos in iTunes using their &lt;strike&gt;ACC&lt;/strike&gt; MP4 format vs. straight H264. Â Legally, those videos CANNOT be utilized via HTML5.</p>
<p>Also, <a href="http://hulu.com">Hulu.com</a> and others aren&#8217;t using H264, they&#8217;re using On2&#8217;s VP6.</p>
<p><strong>Lie #4: &#8220;users arenâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t missing much video.&#8221;</strong></p>
<p>Every time a user see&#8217;s a blue lego instead of the video they wanted to see, they are missing a video. Â There were so many people seeing the blue lego, including Steve Jobs himself on stage demoing the iPad, that they removed the blue lego as a PR effort to make it seem like there was something wrong with the website itself vs. the iPhone/iPad.</p>
<p>&#8230;thankfully, Grant Skinner <a href="http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html">added it back</a>.</p>
<p><strong>Lie #5: &#8220;&#8230;Flash has recently added support for H.264&#8230;&#8221;</strong></p>
<p>Incorrect. Â It&#8217;s been there since August of 2007. Â That&#8217;s almost 3 years. Â That&#8217;s a long time in technology.</p>
<p><strong>Lie #6: &#8220;&#8230;must be run in software&#8230;&#8221;</strong></p>
<p>Not entirely correct. Â Apple FINALLY gave Adobe and others access to <a href="http://developer.apple.com/mac/library/technotes/tn2010/tn2267.html">hardware</a> for desktop systems, which Adobe has recently <a href="http://blog.kaourantin.net/?p=89">utilized</a>. Â The #1 criticism for Mac&#8217;s &amp; Flash video is lack of hardware acceleration. Â This move by Apple will go a long way to improving video experiences, not just for Flash, for browser based video. Â Meaning, cooler Macs and more battery life.</p>
<p>For mobile, Safari/WebKit is using H264 hardware decoding just fine. Â They just won&#8217;t expose it, forcing yet again, Flash to utilize a sub par video experience for iPhone (having to launch a URL to utilize the iPhone&#8217;s default video player vs. incorporating the video into the experience).</p>
<p><strong>Lie #7: &#8220;&#8230;When websites re-encode their videos using H.264, they can offer them without using Flash at all&#8230;&#8221;</strong></p>
<p>See #3. Â Also, not all Flash video is just a video block on a page. Â Some are immersive experiences, games, or involved in compositing with other objects (alpha channels, easier particle systems, etc). Â HTML5 does not currently support some of these features.</p>
<p>Finally, not all video is pre-recorded and progressive. Â Live and streamed events are currently done using Flash Player and Silverlight. Â Yes, I&#8217;ve seen systems that can do live H264 via progressive with only seconds latency over CDN&#8217;s, regardless, they aren&#8217;t what&#8217;s being used en masse today. Â This includes DVR like functionality that both technologies offer, including Adative Streaming capabilities to ensure you can see un-interruptedÂ video regardless of your internet connections&#8217;s integrity.</p>
<p><strong>Lie #8: &#8220;&#8230;Flash was designed for PCs using mice, not for touch screens using fingers&#8230;&#8221;</strong></p>
<p>Incorrect. Â The whole reason Flash Player has continued to stay ahead of the curve is because Macromedia/Adobe innovates it. Â There are gesture &amp; touch API&#8217;s in the Flash Player; I and many others have <a href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/">used them</a> for the iPhone resulting in a 100+ apps on the App Store.</p>
<p><strong>Lie #9: &#8220;For example, many Flash websites rely on â€œrolloversâ€, which pop up menus or other elements when the mouse arrow hovers over a specific spot.&#8221;</strong></p>
<p>Incorrect. Â This was already discounted 2 months ago by <a href="http://www.mikechambers.com/blog/2010/02/22/flash-player-content-mouse-events-and-touch-input/">Mike Chambers</a>. Â Additionally, I tested both MouseEvent.CLICK, MouseEvent.MOUSE_DOWN, and MouseEvent.ROLL_OVER, and all 3 worked just fine on my iPhone. Â Additionally, I&#8217;ve seen <a href="http://www.youtube.com/user/flashstreamworks#p/u">video of a Nexus One</a> using the native Flash Player 10.1 that plays a Flex website I made just fine with no code changes to support touch.</p>
<p><strong>Lie #10: &#8220;Appleâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s revolutionary multi-touch interface doesnâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t use a mouse, and there is no concept of a rollover.&#8221;</strong></p>
<p>Incorrect. Â There are roll over states for buttons on the iPhone/iPad because you can click/touch on something, which shows the roll over state, but then drag off to not trigger the up, thusÂ cancelingÂ your button click if you didn&#8217;t meant to touch something. Â Works the exact same way as a mouse does.</p>
<p><strong>Lie #11: &#8220;Most Flash websites will need to be rewritten to support touch-based devices.&#8221;</strong></p>
<p>Incorrect, see Mike Chambers&#8217; post in #9.</p>
<p><strong>Lie #12: &#8220;If developers need to rewrite their Flash websites, why not use modern technologies like HTML5,Â CSSÂ and JavaScript?&#8221;</strong></p>
<p>Those same JavaScript Developers need to do the same work Flash Developers need to do: Nothing.</p>
<p>If both wish to utilize Gesture or Touch events, then BOTH need to re-write/adjust their content to support these events.</p>
<p><strong>Lie #13: &#8220;The avalanche of media outlets offering their content for Appleâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s mobile devices demonstrates that Flash is no longer necessary to watch video or consume any kind of web content.&#8221;</strong></p>
<p>Incorrect. Â See #3. Â Media companies will have to create players like Netflix did to support those devices; these aren&#8217;t HTML5, they&#8217;re Cocoa.</p>
<p><strong>Half-Truth #1: &#8220;Adobe was the last major third party developer to fully adopt Mac OS X.&#8221;</strong></p>
<p>iTunes, flagship Apple software product enabling the success of the iPod, selling over 1 billion songs, and empowering digital movie rentals, isn&#8217;t Cocoa.</p>
<p>Gruber, the same guy who <a href="http://www.taoeffect.com/blog/2010/04/steve-jobs-response-on-section-3-3-1/">Apple apparently used</a> as an example of why <a href="http://daringfireball.net/2010/04/why_apple_changed_section_331">Flash doesn&#8217;t belong on the iPhone</a>, was quoted, when referring to why Apple hasn&#8217;t ported <a href="http://daringfireball.net/2009/09/itunes_and_cocoa">iTunes to Cocoa</a>:</p>
<blockquote><p>What really matters are features and user experience, not the developer technologies used to make them.</p></blockquote>
<p><strong>Conclusions</strong></p>
<p>I agree with everything else the article says. Â While the spin is HTML5 is better than Flash, Apple wants you developing with Cocoa, not HTML5; that&#8217;s where the money and good user experiences are. Â While many have said that the PR person responsible for writing that article is doing Apple a disservice, I disagree. Â Yes, they do loseÂ creditabilityÂ writing that many lies, and yes, this just fuels the fire for many developers, not just Flash Devs, to focus on Android instead of iPhone.</p>
<p>However, iPhones and iPads still rock. Â While Apple is &#8220;only the 10th&#8221; largest phone manufacturer, they are the only mobile platform people care about right now in the USA (unless you&#8217;re a pissed off Flash/Flex Dev). Â Their app store, combined with the user experience, is un-matched.</p>
<p>Me? Â I&#8217;m still trying to learn Cocoa so I too can participate in building applications for these wonderful devices; devices whose sales won&#8217;t be hurt by that article. Â My colleagues in the industry? Â Most are heading towards <a href="http://www.mikechambers.com/blog/2010/04/20/on-adobe-flash-cs5-and-iphone-applications/">Android along with Adobe</a>. Â Those moonlighting in Flash &amp; iPhone development simultaneously don&#8217;t say much, beyond correcting &amp; helping me with my Objective C knowledge on Twitter (y&#8217;all rock!).</p>
<p>&#8230;oh yeah, and someone cast Cure 2 on Adobe.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jessewarden.com/2010/04/steve-jobs-on-flash-correcting-the-lies.html/feed</wfw:commentRss>
			<slash:comments>158</slash:comments>
		
		
			</item>
	</channel>
</rss>
