<?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/"
xmlns:series="http://unfoldingneurons.com/"
><channel><title>Larry Ullman &#187; Flex</title> <atom:link href="http://www.larryullman.com/tag/flex/feed/" rel="self" type="application/rss+xml" /><link>http://www.larryullman.com</link> <description>Translating Geek Into English</description> <lastBuildDate>Mon, 21 May 2012 11:03:07 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>My Next Book: Effortless Flex 4 Development</title><link>http://www.larryullman.com/2010/01/22/my-next-book/</link> <comments>http://www.larryullman.com/2010/01/22/my-next-book/#comments</comments> <pubDate>Fri, 22 Jan 2010 18:00:05 +0000</pubDate> <dc:creator>Larry</dc:creator> <category><![CDATA[Flex]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[book]]></category> <category><![CDATA[ria]]></category><guid
isPermaLink="false">http://www.larryullman.com/?p=876</guid> <description><![CDATA[I&#8217;ve just started writing my forthcoming Flex 4 book, tentatively titled Effortless Flex 4 Development. I&#8217;m happy to say that the first chapter is in the can, which is always a big hurdle to overcome. The book will be around 400 pages, released by New Riders, with an expected publication date later this Spring. I [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve just started writing my forthcoming Flex 4 book, tentatively titled <em>Effortless Flex 4 Development</em>. I&#8217;m happy to say that the first chapter is in the can, which is always a big hurdle to overcome. The book will be around 400 pages, released by New Riders, with an expected publication date later this Spring. I may post a more detailed table of contents in time, but the rough outline consists of three parts:</p><ol><li>The Fundamentals</li><li>Data and Communications</li><li>Application Development</li></ol><p>Each part will be roughly a third of the book. As no previous Flex knowledge is assumed, the first part covers the basics of Flex development. This includes the tools you&#8217;ll use, the user interface elements, an introduction to ActionScript, and a discussion of event handling. The second part of the book is especially important, I believe, as working with data and client-server communications are what give Rich Internet Applications their true power. Unlike the other Flex books that I&#8217;ve seen, I&#8217;ll be exclusively using PHP for my server-side code. This is in part because I&#8217;m a PHP guy at heart, in part because increased PHP support is a key addition to Flex 4, and in part because I want to present Flex development in a way that doesn&#8217;t require a huge amount of cash or server requirements. The last section of the book adds more advanced concepts, ties together what had been discussed to that point, and has more complete examples.</p><p>I&#8217;ll post more details in time. If you have any questions or comments, on my book or on Flex, please share them. Thanks!</p> ]]></content:encoded> <wfw:commentRss>http://www.larryullman.com/2010/01/22/my-next-book/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>My First Foray into Flex</title><link>http://www.larryullman.com/2009/01/24/my-first-foray-into-flex/</link> <comments>http://www.larryullman.com/2009/01/24/my-first-foray-into-flex/#comments</comments> <pubDate>Sat, 24 Jan 2009 15:37:06 +0000</pubDate> <dc:creator>Larry</dc:creator> <category><![CDATA[Adobe AIR]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Flex]]></category><guid
isPermaLink="false">http://www.larryullman.com/?p=206</guid> <description><![CDATA[One of my hopes for my (which is, tragically, starting to fill up with actual work) is to learn Flex. In case you&#8217;re not familiar with it, Flex is an open source framework created by Adobe, used to create Rich Internet Applications (RIA). Flex can be used to create SWF files that run through the [...]]]></description> <content:encoded><![CDATA[<p>One of my hopes for my  (which is, tragically, starting to fill up with actual work) is to learn <a
href="http://www.adobe.com/go/flex">Flex</a>. In case you&#8217;re not familiar with it, Flex is an open source framework created by Adobe, used to create Rich Internet Applications (RIA). Flex can be used to create SWF files that run through the <a
href="http://www.adobe.com/go/flash">Flash</a> engine in a Web browser or create AIR files that run through the <a
href="http://www.adobe.com/go/air">AIR</a> engine on the desktop. Simply put, Flex is Flash for programmers. As I have little to no graphical skills, it&#8217;s a much better candidate for me than Flash. Over the past week I&#8217;ve started to finally do something wth Flex, here are my thoughts thus far.<span
id="more-206"></span>An admission up front is that I don&#8217;t learn new things as perhaps I should. I always intend to sit down and deliberately learn something, going step by step through the progression of information. But I get antsy and want to start doing things. As a <a
href="http://dmcinsights.com/bk_pages/books.php">writer of books</a>, who would prefer that readers work through my books sequentially, absorbing every word, it&#8217;s a bit ironic that I don&#8217;t do this myself, but to be human is to be ironic.</p><p>I started by working my way through Adobe&#8217;s really nice <a
href="http://www.adobe.com/devnet/flex/videotraining/">Flex in a Week video training series</a>. And when I say &#8220;working my way through&#8221;, I really mean that I watched most of the videos for Day 1, Flex Basics. That&#8217;s it. I will watch the rest, because they are very good, but that&#8217;s all I got through before I started roaming into my own programming. I&#8217;ve also been reading the book <em>Getting Started with Flex 3</em>. It&#8217;s a short, introductory book, that both touches upon some of the features and concepts of Flex, as well as demonstrates some pratical uses of the technology.</p><p>As you can see, I haven&#8217;t really put a whole lot of time and effort into learning Flex, but I&#8217;m close to wrapping up my first AIR application. That&#8217;s pretty impressive. A lot of the credit goes to <a
href="http://www.adobe.com/go/flex">Flex Builder</a>, which is an Eclipse-based IDE. It&#8217;s not a cheap application but it seems to be well worth the money. (Flex, as of version 3, is open source, and you can build Flex applications without spending any money, but you can arguably build them faster by paying for the Flex Builder IDE.) Like any IDE, Flex Builder writes code for you when you drag and drop different widgets onto the page.</p><p>There are two initial ideas I&#8217;m playing with for using Flex. One is a Web-based contact system that should improve the interaction when people go to contact me. The hope is that the form will insure that I get the information I need when questions are asked and that the information is all accurate. More on this in another post. The second idea is an AIR application for managing some of my site&#8217;s content. Last summer I started writing one using HTML and JavaScript. It&#8217;s been my intention to finish that during my sabbatical, but since I wanted to learn Flex, it made for a good practice example. This is the application that I&#8217;ve almost finished, in just about four hours over a couple of days.</p><p>I&#8217;m still all for writing AIR applications in HTML and JavaScript (I&#8217;m a big fan of AIR, period), but Flex did make several things much easier. For example, my application has one area for managing site news and another for managing book errata. In the HTML version, I had to tap into the YUI JavaScript framework to create tabs. This took a little time and learning. In the Flex app, I just dragged in a TabNavigator control into the work area (see the image):</p><div
id="attachment_209" class="wp-caption aligncenter" style="width: 391px"><img
class="size-full wp-image-209" style="border: 0pt none; margin: 5px;" title="Application Tabs" src="http://cloudfront.larryullman.com/wp-content/uploads/2009/01/flex_foray1.png" alt="The application's two tabs." width="381" height="287" /><p
class="wp-caption-text">The application&#39;s two tabs.</p></div><p>The most important part of the application is the errata management. This is a multistep process. First I need to select the book involved, then I need to update the list of chapters for that book. I thought it&#8217;d also be a nice feature to show the current errata. For the HTML version of the application, I had already created a PHP script that sends the list of errata in XML format. I tied into this in my Flex version using an HTTPService object. Then a DataGrid object automatically turns the XML into a table. After editing one thing in the DataGrid&#8217;s configuration, this table immediately because sortable, which is a nice feature not easily added to the HTML version of the table I had previously made. Here&#8217;s what the errata management looks like:</p><p><a
href="http://cloudfront.larryullman.com/wp-content/uploads/2009/01/flex_foray21.png"><img
class="aligncenter size-medium wp-image-214" title="Errata Management" src="http://cloudfront.larryullman.com/wp-content/uploads/2009/01/flex_foray21-300x204.png" alt="Errata Management" width="300" height="204" /></a></p><p
style="text-align: center;"><p>As you can tell in the image, I haven&#8217;t done much to make the application look nice, but that&#8217;ll easily be tweaked later. You can tell from the single image, but when you select a new book from the top drop-down menu (a ComboBox object populated from an array), the drop-down menu of chapters and that DataGrid of current errata updates automatically. I&#8217;m pretty pleased and, again, it&#8217;s quite something to be able to put together in just a couple of hours.</p><p>I have a few more things to add to this, then I&#8217;ll finish actually learning Flex (because that&#8217;s the way I learn, apparently). I also need to read up on <a
href="http://www.adobe.com/devnet/flex/flex_php.html">Flex and PHP</a>, as I&#8217;m using the two technologies together.</p> ]]></content:encoded> <wfw:commentRss>http://www.larryullman.com/2009/01/24/my-first-foray-into-flex/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Served from: www.larryullman.com @ 2012-05-21 14:52:34 by W3 Total Cache -->
