<?xml version="1.0"?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007">
   <channel>
      <title>Adobe Flex India Team Blogroll</title>
      <description>Pipes Output</description>
      <link>http://pipes.yahoo.com/pipes/pipe.info?_id=4sxHbmsP3RGJKdtT8TxBKg</link>
      <pubDate>Tue, 24 Nov 2009 03:17:52 -0800</pubDate>
      <generator>http://pipes.yahoo.com/pipes/</generator>
      <item>
         <title>LiveCycle Data Services (LCDS) 3 Released</title>
         <link>http://sujitreddyg.wordpress.com/2009/11/21/livecycle-data-services-lcds-3-released/</link>
         <description>LiveCycle Data Services 3.0 is released as part of LiveCycle ES 2 What&amp;#8217;s New Model driven development of Flex applications
Reliable Messaging
Throttling
Edge Server
Load test harness: Simulate Flex clients in Java Documentation:
LiveCycle Data Services ES2 Quick Starts &amp;#8211; http://www.adobe.com/go/learn_lcds3_modeling_howto
Other documentation &amp;#8211; http://help.adobe.com/en_US/livecycle/9.0/lc_ds_list.html
Download Developer Version
You can Download the trial or a free developer version to get started from this [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=988&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=988</guid>
         <pubDate>Fri, 20 Nov 2009 23:33:37 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>LiveCycle Data Services 3.0 is released as part of LiveCycle ES 2 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> <a rel="nofollow" target="_blank" href="http://anilchannappa.org/"><br />
</a></p>
<p><strong>What&#8217;s New</strong></p>
<ol>
<li>Model driven development of Flex applications</li>
<li>Reliable Messaging</li>
<li>Throttling</li>
<li>Edge Server</li>
<li>Load test harness: Simulate Flex clients in Java</li>
</ol>
<p><strong>Documentation:</strong></p>
<p>LiveCycle Data Services ES2 Quick Starts &#8211; <a rel="nofollow" target="_blank" href="http://www.adobe.com/go/learn_lcds3_modeling_howto">http://www.adobe.com/go/learn_lcds3_modeling_howto</a></p>
<p>Other documentation &#8211; <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/livecycle/9.0/lc_ds_list.html">http://help.adobe.com/en_US/livecycle/9.0/lc_ds_list.html</a></p>
<p><strong>Download Developer Version</strong></p>
<p>You can Download the trial or a free developer version to get started from this URL <a rel="nofollow" target="_blank" href="http://www.adobe.com/go/trylivecycle_dataservices">http://www.adobe.com/go/trylivecycle_dataservices</a></p>
<p>Please find more details regarding the announcement on Anil Channappa&#8217;s (Product Manager LCDS and BlazeDS) blog at this URL <a rel="nofollow" target="_blank" href="http://anilchannappa.org/2009/11/20/lcds-3-0-released/">http://anilchannappa.org/2009/11/20/lcds-3-0-released/</a></p>
<p>Congratulations to the entire LiveCycle Data Services team &#8230; LCDS team Rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/988/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/988/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/988/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/988/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/988/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/988/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/988/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/988/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/988/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/988/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=988&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
      </item>
      <item>
         <title>Adobe DevSummit 2009 in Chennai and Hyderabad (India)</title>
         <link>http://flexpearls.blogspot.com/2009/11/adobe-devsummit-2009-in-chennai-and.html</link>
         <description>Adobe is conducting a &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/home.html&quot;&gt;developer summit&lt;/a&gt; in Chennai and Hyderabad on Nov 24th and Dec 1st 2009. If you are a RIA developer and want to know more about features in upcoming release of Flash Builder 4 and also on how to connect to LiveCycle DS or Blaze DS be there !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-1681314801143548319?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-1681314801143548319</guid>
         <pubDate>Thu, 12 Nov 2009 22:00:00 -0800</pubDate>
      </item>
      <item>
         <title>iCheckBox – iPhone style Switch component for Flex</title>
         <link>http://srinivasannam.wordpress.com/2009/11/13/icheckbox-iphone-switch-for-flex/</link>
         <description>iCheckBox - iPhone style Switch component for Flex&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=171&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=171</guid>
         <pubDate>Fri, 13 Nov 2009 03:46:41 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>iPhone has revolutionized the way world looks at Smart Phones. Apart from that, it had also set a new standard for Usability on phones &amp; softwares in general.</p>
<p>I&#8217;m a huge fan of iPhone and I truly believe in it&#8217;s usability. Taking inspiration from it, I&#8217;m planning to port some of the iPhone components on to Flex and make it available for <span style="color:#ff6600;">FREE</span>.</p>
<p>Here is the first component in this series called <a rel="nofollow" title="Click here to download" target="_blank" href="http://toosweetvasu.googlepages.com/iCheckBox.zip"><strong><span style="color:#ff6600;">iCheckBox</span></strong></a>. Its an equivalent to &#8220;Switch&#8221; component iPhone with more flexibility for controlling Labels, Width &amp; Animation.</p>
<p>You can download the component,sample and source from <a rel="nofollow" title="Click here to download" target="_blank" href="http://toosweetvasu.googlepages.com/iCheckBox.zip"><span style="color:#ff6600;"><strong>here</strong></span></a></p>
<p><span style="color:#000000;">Let me know how you like it or request any other interesting components that you want.</span></p>
<p><span style="color:#ff6600;"> </span></p>
<p><a rel="nofollow" title="Click here to download" target="_blank" href="http://toosweetvasu.googlepages.com/iCheckBox.zip"><img class="aligncenter size-full wp-image-178" title="iCheckBox Preview" src="http://srinivasannam.files.wordpress.com/2009/11/icheckboxpreview.jpg?w=392&#038;h=229" alt="iCheckBox Component Preview" width="392" height="229"/></a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/171/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/171/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/171/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/171/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/171/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=171&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/11/icheckboxpreview.jpg" medium="image">
            <media:title>iCheckBox Preview</media:title>
         </media:content>
      </item>
      <item>
         <title>Speaking at Adobe devsummit Chennai and Hyderabad</title>
         <link>http://sujitreddyg.wordpress.com/2009/11/09/speaking-at-adobe-devsummit-chennai-and-hyderabad/</link>
         <description>I will be speaking on Data Centric Development on Adobe Flash Platform and also will be handling the Learn by doing &amp;#8211; Part 2: Integrate with server session along with Prashant Singh.
Summit attendees will get a complimentary Flex Builder 3 Professional License. Please find session abstracts and more details below Adobe devsummit is the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=975&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=975</guid>
         <pubDate>Mon, 09 Nov 2009 05:52:57 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I will be speaking on <strong>Data Centric Development on Adobe Flash Platform</strong> and also will be handling the <strong>Learn by doing &#8211; Part 2:</strong><strong> Integrate with server</strong> session along with <a rel="nofollow" target="_blank" href="http://prashants.wordpress.com/">Prashant Singh</a>.</p>
<p>Summit attendees will get a complimentary Flex Builder 3 Professional License. Please find session abstracts and more details below <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p><a rel="nofollow" target="_blank" href="http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/home.html"><img class="aligncenter" src="http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/Badges/Badge_speaker_hybd&amp;ch.jpg" alt="I am speaking at Adobe devsummit" width="200" height="260"/></a></p>
<p>Adobe devsummit is the biggest annual developer event focused on the Adobe Flash Platform. This event attracts a rich demographic mix spanning designers and developers in India. Adobe has consistently showcased path breaking technologies at devsummit.</p>
<p>For the first time Adobe devsummit is coming to <strong>Chennai</strong>, India (<strong>24<sup>th</sup> November</strong>, 2009) and <strong>Hyderabad</strong>, India (<strong>1<sup>st</sup> December</strong>, 2009). Please find more details on Adobe devsummit Chennai and Hyderabad and register at this URL <a rel="nofollow" target="_blank" href="http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/home.html">http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/home.html</a></p>
<p>Excited to meet the developers in Chennai and Hyderabad <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p><strong>Session Abstracts</strong></p>
<p><span style="text-decoration:underline;"><strong>Data Centric Development on Adobe Flash Platform</strong></span></p>
<p>See how to build an engaging Flex application for any server side technology productively. While application created with Flex and Flash already have ability to communicate with various back ends, see how data services can add power to a back end.</p>
<p>This session starts with showing how to use <strong>Data-Centric Development</strong> feature in <strong>Flash Builder 4</strong> to productively create Flex applications connecting to various server technologies. Next, see how the brand new <strong>model-driven development</strong> feature of <strong>LiveCycle Data Services ES</strong> allows you to build and maintain data-driven Flex applications with an unprecedented level of productivity and flexibility.</p>
<p><span style="text-decoration:underline;"><strong>Learn by doing &#8211; Part 2: Integrate with server</strong></span><strong> </strong></p>
<p>Learn how to connect your Flex application to servers for retrieving/storing data; and also deploy your application. We will demonstrate how you can connect to various server technologies like Java, .NET and PHP using remoting and web services. You will also learn how to use the Data-Centric development feature in Flash Builder 4 to develop Flex applications that connect with various server technologies.</p>
<p>If you are living in and around Chennai or Hyderabad, go ahead and register for the summit <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>Catch you all at the summit <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/975/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/975/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/975/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/975/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/975/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=975&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/Badges/Badge_speaker_hybd&amp;amp;ch.jpg" medium="image">
            <media:title>I am speaking at Adobe devsummit</media:title>
         </media:content>
      </item>
      <item>
         <title>Developing a Google Reader Client in Adobe AIR</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.11.04.html</link>
         <description>Google Reader does not have an official API. However, &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.niallkennedy.com/blog/2005/12/google-reader-api.html&quot;&gt;Nial&amp;#32;Kennedy&lt;/a&gt; and
the project &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI&quot;&gt;pyrfeed&lt;/a&gt; have excellent documentation on it. I had
developed a Google Reader client in python that the
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://readefine.anirudhsasikumar.net/&quot;&gt;web&amp;#32;version&amp;#32;of&amp;#32;Readefine&lt;/a&gt; uses. I needed to leverage the same AS3
code base and write an AS3 Google Reader client on top of it for the
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&amp;amp;offeringid=16744&amp;amp;marketplaceid=1&quot;&gt;desktop&amp;#32;version&lt;/a&gt;. I managed to do it in a day while ensuring a common
code-base for the AIR and Flex versions thanks to
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://anirudhs.chaosnet.org/blog/2008.08.25.html&quot;&gt;conditional&amp;#32;compilation&lt;/a&gt;. This article explains Google Reader's API
along with the AS3 implementation and how it merged in with the
web-version.
[...] (1051 Words, CategoryAIR)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.11.04.html</guid>
         <pubDate>Wed, 04 Nov 2009 05:23:53 -0800</pubDate>
      </item>
      <item>
         <title>GroupingCollection with improved performance</title>
         <link>http://techrays.wordpress.com/2009/11/04/groupingcollection-with-improved-performance/</link>
         <description>There were some concerns over the performance of GroupingCollection class while grouping and calculating summaries.
So, a new class GroupingCollection2 is introduced in the data visualization components.
The major improvements in GroupingCollection2 are -
1. Grouping performance improved.
2. Summary calculation performance improved. Now, instead of looping over the data again and again, summaries are calculated in a single [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=59&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=59</guid>
         <pubDate>Wed, 04 Nov 2009 04:55:40 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>There were some concerns over the performance of GroupingCollection class while grouping and calculating summaries.</p>
<p>So, a new class GroupingCollection2 is introduced in the data visualization components.</p>
<p>The major improvements in GroupingCollection2 are -<br />
1. Grouping performance improved.<br />
2. Summary calculation performance improved. Now, instead of looping over the data again and again, summaries are calculated in a single loop.<br />
3. When using async refresh, the summaries are calculated as soon as each Group is built. Earlier, the summaries were calculated only after all the Groups have been made.</p>
<p>What has changed -<br />
1. Introduced class GroupingCollection2 which replaces existing class GroupingCollection.<br />
2. Introduced class SummaryField2 which replaces existing class SummaryField.</p>
<p>No no, classes GroupingCollection and SummaryField are not removed.<br />
They will continue to exist to maintain backward compatibility.<br />
So, you can use either GroupingCollection or GroupingCollection2 and AdvancedDataGrid will continue to work <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>The difference between SummaryField and SummaryField2 is -<br />
SummaryField2 does not have &#8220;operation&#8221; and &#8220;summaryFunction&#8221; properties.<br />
A new property &#8220;summaryOperation&#8221; in added in SummaryField2. It is an Object which takes one of the following -<br />
* SUM, MIN, MAX, AVG or COUNT as String.<br />
OR<br />
* An implemtatation of mx.collections.ISummaryCalculator for calculating custom summaries.<br />
The default value is SUM.</p>
<p>API changes -<br />
1. Method refresh() has been changed in GroupingCollection2. The syntax now is &#8211; </p>
<pre>
function refresh(async:Boolean = false, dispatchCollectionEvents:Boolean = false):Boolean;
</pre>
<p>Code changes required to start using GroupingCollection2 -<br />
1. Use GroupingCollection2 instead of GroupingCollection.<br />
2. Use SummaryField2 instead of SummaryField.<br />
3. Replace operation/summaryFunction in SummaryField with summaryOperation in SummaryField2.</p>
<p>An example is shown here:<br />
With GroupingCollection &#8211; </p>
<pre>
&lt;mx:GroupingCollection id="gc" source="{arr}"&gt; &lt;mx:Grouping&gt; &lt;mx:GroupingField name="name" &gt; &lt;mx:SummaryRow&gt; &lt;mx:SummaryField dataField="sal" operation="MAX" /&gt; &lt;/mx:SummaryRow&gt; &lt;/mx:GroupingField&gt; &lt;/mx:Grouping&gt;
&lt;/mx:GroupingCollection&gt;
</pre>
<p>With GroupingCollection2 &#8211; </p>
<pre>
&lt;mx:GroupingCollection2 id="gc" source="{arr}"&gt; &lt;mx:Grouping&gt; &lt;mx:GroupingField name="name"&gt; &lt;mx:SummaryRow &gt; &lt;mx:SummaryField2 dataField="sal" summaryOperation="MAX" /&gt; &lt;/mx:SummaryRow&gt; &lt;/mx:GroupingField&gt; &lt;/mx:Grouping&gt;
&lt;/mx:GroupingCollection2&gt;
</pre>
<p>Try it and let us know your feedback.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/59/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/59/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/59/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/59/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/59/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=59&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Google Reader Readefined Plus Readefine Desktop</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.10.30.html</link>
         <description>I keep up with the incessant flow of articles on the internet via
Google Reader. It has the same set of problems when it comes to
reading text-heavy articles which &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://readefine.anirudhsasikumar.net/&quot;&gt;Readefine&lt;/a&gt; can help out with. I'm
quite happy to announce two things: Readefine can now be a quite
decent Google Reader client and it also comes as a &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://readefine.anirudhsasikumar.net/desktop.html&quot;&gt;desktop&amp;#32;application&lt;/a&gt;
(Adobe AIR application). Readefine's &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://anirudhsasikumar.net/examples/readefine/&quot;&gt;popularity&lt;/a&gt; was unexpected and
overwhelming. I want to thank all of you for your encouragement and
valuable feedback.
[...] (686 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.10.30.html</guid>
         <pubDate>Thu, 29 Oct 2009 12:37:01 -0700</pubDate>
      </item>
      <item>
         <title>serializationFilter in HTTPMultiService</title>
         <link>http://techrays.wordpress.com/2009/10/28/serializationfilter-in-httpmultiservice/</link>
         <description>HTTPService/HTTPMultiService have a cool concept of a Serialization Filter. This mechanism let&amp;#8217;s you configure and manipulate various aspects of the HTTP call like the request, response, etc..
A default implementation of SerializationFilter is provided in mx.rpc.http.SerializationFilter
Usage -
You can create a custom SerializationFilter by extending from the default implementation and set it on the HTTPService instance or [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=52&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=52</guid>
         <pubDate>Wed, 28 Oct 2009 04:04:27 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>HTTPService/HTTPMultiService have a cool concept of a Serialization Filter. This mechanism let&#8217;s you configure and manipulate various aspects of the HTTP call like the request, response, etc..<br />
A default implementation of SerializationFilter is provided in <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/Flex/4.0/langref/mx/rpc/http/SerializationFilter.html">mx.rpc.http.SerializationFilter</a></p>
<p>Usage -<br />
You can create a custom SerializationFilter by extending from the default implementation and set it on the HTTPService instance or the Operation instance.</p>
<p>A sample implementation can be as simple as processing the response from the service.<br />
For example, if your service returns a comma (,) separated list of values, you can convert it to an Array here.</p>
<pre>package
{
import mx.rpc.http.AbstractOperation;
import mx.rpc.http.SerializationFilter; public class CustomSerializationFilter extends SerializationFilter
{ override public function deserializeResult (operation:AbstractOperation, result:Object):Object { var arr:Array = []; if (result is String) { arr = String(result).split(','); } return arr; }
}
}</pre>
<p>And no, this is not all, there are other methods also which exposes more functionality.</p>
<p>For example, you can use the <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/Flex/4.0/langref/mx/rpc/http/SerializationFilter.html#serializeURL()">serializeURL()</a> method to process/modify the url which this service/operation is about to invoke.</p>
<p>Livedocs <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/Flex/4.0/langref/mx/rpc/http/HTTPService.html#serializationFilter">here</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/52/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/52/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/52/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/52/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/52/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=52&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>convertResultHandler in RemoteObject</title>
         <link>http://techrays.wordpress.com/2009/10/27/convertresulthandler-in-remoteobject/</link>
         <description>Many times, while using RemoteObject, instead of processing the result of a remote method invocation in every result handler, you may want a mechanism to process the result before all the result handlers are notified.
convertResultHandler is such a property which was introduced in RemoteObject to process the result before sending it across to all the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=42&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=42</guid>
         <pubDate>Tue, 27 Oct 2009 00:02:14 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Many times, while using RemoteObject, instead of processing the result of a remote method invocation in every result handler, you may want a mechanism to process the result before all the result handlers are notified.</p>
<p>convertResultHandler is such a property which was introduced in RemoteObject to process the result before sending it across to all the result handlers.</p>
<p>A sample implementation can be as simple as converting the result to ArrayCollection if its an Array -<br />
<code><br /> public function convertResultHandler(result:*, operation:AbstractOperation):*<br /> {<br /> // convert result to ArrayCollection<br /> if (result is Array)<br /> return new ArrayCollection(result as Array);</p>
<p> return result;<br /> }<br />
</code><br />
Livedocs <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/Flex/4.0/langref/mx/rpc/remoting/RemoteObject.html#convertResultHandler">here</a></p>
<p>A similar property exists for WebService also.<br />
Livedocs <a rel="nofollow" target="_blank" href="http://help.adobe.com/en_US/Flex/4.0/langref/mx/rpc/soap/AbstractWebService.html#convertResultHandler">here</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/42/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/42/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/42/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/42/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/42/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=42&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Call for sessions at Adobe DevSummit, Chennai and Hyderabad</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/22/call-for-sessions-at-adobe-devsummit-chennai-and-hyderabad/</link>
         <description>Adobe DevSummit is the biggest annual developer event focused on the Adobe Flash Platform. This event attracts a rich demographic mix spanning designers and developers in India. Adobe has consistently showcased path breaking technologies at DevSummit.
For the first time DevSummit is coming to Chennai and Hyderabad. DevSummit in Chennai will be on 24th November, 2009 [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=971&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=971</guid>
         <pubDate>Thu, 22 Oct 2009 05:56:29 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><img class="size-medium wp-image-972 aligncenter" title="Adobe DevSummit, 2009 Chennai and Hyderabad" src="http://sujitreddyg.files.wordpress.com/2009/10/adobe-devsummit.jpg?w=300&#038;h=33" alt="Adobe DevSummit, 2009 Chennai and Hyderabad" width="300" height="33"/></p>
<p>Adobe DevSummit is the biggest annual developer event focused on the Adobe Flash Platform. This event attracts a rich demographic mix spanning designers and developers in India. Adobe has consistently showcased path breaking technologies at DevSummit.</p>
<p>For the first time DevSummit is coming to Chennai and Hyderabad. DevSummit in <strong>Chennai </strong>will be on <strong>24th November</strong>, 2009 and in <strong>Hyderabad </strong>on <strong>1st December</strong>, 2009. We will be posting more details on the event and venue soon <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>We would love to have the experts from the Adobe developer community take the stage and share their knowledge and insights on Adobe Flash Platform. Please find more details and submit your session proposals at the URL below.</p>
<p><a rel="nofollow" target="_blank" href="http://flashahead.adobe.com/events/devsummitsessionproposals/">http://flashahead.adobe.com/events/devsummitsessionproposals/</a></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/971/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/971/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/971/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/971/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/971/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=971&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/adobe-devsummit.jpg?w=300" medium="image">
            <media:title>Adobe DevSummit, 2009 Chennai and Hyderabad</media:title>
         </media:content>
      </item>
      <item>
         <title>Building a CRUD application using Clojure and Flash Builder 4</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.10.13.html</link>
         <description>Lisp is a language that many developers shy away from. But I urge
everyone to try it out at least once, because it offers the
possibility of opening up doors in your mind that you know didn't
exist. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://clojure.org/&quot;&gt;Clojure&lt;/a&gt; is a modern Lisp dialect that runs on the JVM and is
designed for concurrency. In this article, I will build an end-to-end
CRUD application in Clojure which connects to a mysql database and has
a Flex UI as the front-end.
[...] (1806 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.10.13.html</guid>
         <pubDate>Tue, 13 Oct 2009 07:53:51 -0700</pubDate>
      </item>
      <item>
         <title>MAX Lab Session Material: Creating Data Centric Applications using Flash Builder and PHP</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/usoL3h3DPs8/</link>
         <description>Flash Builder 4 Beta 2
Lab handout and sql script.
The version of WAMP which was installed on the lab machines can be downloaded from here.
Finally, in case you have any queries please post them at the Adobe Labs Forums.
Other References
Tour De Flex
Flex Devnet
Flash Builder 4 Tutorials
Flash Builder 4 Beta 2 and Flex 4 Beta 2 training [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=172</guid>
         <pubDate>Tue, 13 Oct 2009 07:07:21 -0700</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">Flash Builder 4 Beta 2</a></p>
<p><a rel="nofollow" target="_blank" href="https://share.acrobat.com/adc/document.do?docid=08f6030f-70f1-4c23-9fcf-e404abd3ee74">Lab handout and sql script</a>.</p>
<p>The version of WAMP which was installed on the lab machines can be downloaded from <a rel="nofollow" target="_blank" href="http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.0/WampServer2.0c.exe/download">here</a>.</p>
<p>Finally, in case you have any queries please post them at the <a rel="nofollow" target="_blank" href="http://forums.adobe.com/community/labs/gumbo">Adobe Labs Forums</a>.</p>
<p>Other References<br />
<a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/tourdeflex/">Tour De Flex</a><br />
<a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/">Flex Devnet</a><br />
<a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/tutorials/">Flash Builder 4 Tutorials</a><br />
<a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/videotraining/flex4beta/">Flash Builder 4 Beta 2 and Flex 4 Beta 2 training videos</a></p>]]></content:encoded>
      </item>
      <item>
         <title>Ruby on Rails extension for Flash Builder 4</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/13/ruby-on-rails-extension-for-flash-builder-4/</link>
         <description>Adobe Flash Builder4 beta 2 is available on http://labs.adobe.com for downloading. One of the themes of Flash Builder 4 is to make data-centric development a lot more easier. You can find articles on developing Flex application for various server technologies using Flash Builder 4 at this URL http://sujitreddyg.wordpress.com/flash-builder-4
The Data Centric work flows in Flash [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=961&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=961</guid>
         <pubDate>Tue, 13 Oct 2009 00:26:47 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Adobe Flash Builder4 beta 2 is available on http://labs.adobe.com for downloading. One of the themes of Flash Builder 4 is to make data-centric development a lot more easier. You can find articles on developing Flex application for various server technologies using Flash Builder 4 at this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4">http://sujitreddyg.wordpress.com/flash-builder-4</a></p>
<p>The Data Centric work flows in Flash Builder 4 are designed to be extensible i.e. you can add a new plugin to Flash Builder by implementing the interfaces exposed by Flash Builder and add support for any back end of your choice.</p>
<p><a rel="nofollow" target="_blank" href="http://www.linkedin.com/pub/gaurav-priyadarshi/4/69b/71">Gaurav Priyadarshi</a> from Adobe Flex team extended to add support for consuming AMF(Remoting) based services running on a Ruby on Rails driven server.</p>
<p>You need Flash Builder 4 beta 2 to use this plugin, download and install Flash Builder 4 from this URL <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">http://labs.adobe.com/technologies/flashbuilder4/</a> and then follow instructions below to set up Ruby on Rails plugin.</p>
<p>Please download the plugin and install from this URL <a rel="nofollow" target="_blank" href="http://dcdror.riaforge.org/">http://dcdror.riaforge.org/</a></p>
<p>Details on installing the plugin and setting up Ruby on Rails project can be found at this URL <a rel="nofollow" target="_blank" href="http://dcdror.riaforge.org/blog/index.cfm/2009/10/9/Using-Ruby-On-Rails-plugin-for-DCD">http://dcdror.riaforge.org/blog/index.cfm/2009/10/9/Using-Ruby-On-Rails-plugin-for-DCD</a></p>
<p>Details on using the plugin can be found at this URL <a rel="nofollow" target="_blank" href="http://dcdror.riaforge.org/blog/index.cfm/2009/10/9/Using-the-plugin-from-FlashBuilder4">http://dcdror.riaforge.org/blog/index.cfm/2009/10/9/Using-the-plugin-from-FlashBuilder4</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/961/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/961/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/961/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/961/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/961/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/961/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/961/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/961/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/961/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/961/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=961&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
      </item>
      <item>
         <title>Building Flex and LCDS based CRUD application using Flash Builder 4</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/13/building-flex-and-lcds-based-crud-application-using-flash-builder-4/</link>
         <description>In this article we will create a CRUD application using Adobe Flex and LiveCycle Data Services. Flash Builder 4 allows developers to build Flex front end for LiveCycle Data Services (LCDS) Data management service destinations with just couple of clicks, so we will use Flash Builder 4 to develop this application.
Below are the steps we [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=926&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=926</guid>
         <pubDate>Mon, 12 Oct 2009 23:09:16 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this article we will create a CRUD application using Adobe Flex and LiveCycle Data Services. Flash Builder 4 allows developers to build Flex front end for LiveCycle Data Services (LCDS) Data management service destinations with just couple of clicks, so we will use Flash Builder 4 to develop this application.</p>
<p>Below are the steps we will follow to complete our application</p>
<ol>
<li>Set up LiveCycle Data Services</li>
<li>Use Flash Builder to generate Flex code to invoke methods in Java class on the server</li>
<li>Retrieve data from server and display in the application</li>
<li>Allow user to add/update/delete entries from the application</li>
</ol>
<p>In this article we will be building a Flex application for a Data Management service destination in the samples application called <em>lcds-samples</em> bundled with LiveCycle Data Services 3 Beta 3.</p>
<p>Article allows you to skip any of steps mentioned above and copy the code <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> Let’s get started <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>You can download the completed project from here <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD.zip">http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD.zip</a></p>
<p><strong>Install LCDS 3</strong></p>
<p>Download LiveCycle Data Services 3 from this URL <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/livecycle_dataservices3/">http://labs.adobe.com/technologies/livecycle_dataservices3/</a>. You will be downloading a file named<em> livecycle_dataservices3_b3_win_100509.exe</em>, execute this file to install. I have installed LCDS 3 with Tomcat to <em>C:&#92;lcds3beta3</em></p>
<p><strong>Enabling RDSDispatchServlet</strong></p>
<p>Flash Builder uses the <em>RDSDispatchServlet </em>(part of LCDS) to retrieve destinations information from the server. By default the <em>RDSDispatchServlet</em> is commented out in <em>web.xml</em>. Open <em>C:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds&#92;WEB-INF&#92;web.xml</em> using a text editor and remove comment around <em>RDSDispatchServlet </em>Servlet definition and the URL mapping as shown below. Also set the useAppserverSecurity parameter value to “false” as shown below.</p>
<p><em> &lt;servlet&gt;</em></p>
<p><em> &lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em></p>
<p><em> &lt;display-name&gt;RDSDispatchServlet&lt;/display-name&gt;</em></p>
<p><em> &lt;servlet-class&gt;flex.rds.server.servlet.FrontEndServlet&lt;/servlet-class&gt;</em></p>
<p><em> &lt;init-param&gt;</em></p>
<p><em> &lt;param-name&gt;useAppserverSecurity&lt;/param-name&gt;</em></p>
<p><em> &lt;param-value&gt;false&lt;/param-value&gt;</em></p>
<p><em> &lt;/init-param&gt; </em></p>
<p><em> &lt;load-on-startup&gt;10&lt;/load-on-startup&gt;</em></p>
<p><em> &lt;/servlet&gt;</em></p>
<p><em> &lt;servlet-mapping id=&#8221;RDS_DISPATCH_MAPPING&#8221;&gt;</em></p>
<p><em> &lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em></p>
<p><em> &lt;url-pattern&gt;/CFIDE/main/ide.cfm&lt;/url-pattern&gt;</em></p>
<p><em> &lt;/servlet-mapping&gt; </em></p>
<p><strong>Defining item class name</strong></p>
<p>Set the <em>item-class</em> property of the Data Management service destination in Data Management service configuration file (<em>C:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds-samples&#92;WEB-INF&#92;flex&#92;data-management-config.xml</em>) to the name of the object type which the assembler is expecting. Flash Builder 4 DCD requires this property to be set for the destinations you want to consume using DCD in Flash Builder. All the sample destinations in LCDS 3 beta 3 have this property set. Sample destination used in this article has <em>item-class</em> property set to <em>flex.samples.product.Product</em> class as shown below.</p>
<p><em> &lt;properties&gt;</em></p>
<p><em> &lt;source&gt;flex.samples.product.ProductAssembler&lt;/source&gt;</em></p>
<p><em> &lt;scope&gt;application&lt;/scope&gt;</em></p>
<p><em> &lt;item-class&gt;flex.samples.product.Product&lt;/item-class&gt;</em></p>
<p><em> &lt;metadata&gt;</em></p>
<p><em> &lt;identity property=&#8221;productId&#8221;/&gt;</em></p>
<p><em> &lt;/metadata&gt;</em></p>
<p><em> &lt;network&gt;</em></p>
<p><em> &lt;paging enabled=&#8221;false&#8221; pageSize=&#8221;10&#8243; /&gt;</em></p>
<p><em> &lt;/network&gt;</em></p>
<p><em> &lt;/properties&gt;</em></p>
<p><em> &lt;/destination&gt;</em></p>
<p><strong>Start LCDS server</strong></p>
<p>Start LCDS samples data base from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; LiveCycle Data Services ES 3.0 -&gt; Start Samples Database</em></p>
<p>Start LCDS server from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; LiveCycle Data Services ES 3.0 -&gt; Start LiveCycle Data Services Server</em></p>
<p>Please make sure both the database and the server are started.</p>
<p>We have everything ready to develop a Flex application for data management service destinations using Flash Builder 4.</p>
<p><strong>Create a Flex project</strong></p>
<p>Start Flash Builder 4 from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; Adobe Flash Builder Beta 2</em></p>
<p>Create a Flex project from the file menu. You will see a window launched with options to fill project properties as shown in the image below. Fill project properties as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/12.png"><img class="aligncenter size-medium wp-image-927" title="1" src="http://sujitreddyg.files.wordpress.com/2009/10/12.png?w=300&#038;h=181" alt="1" width="300" height="181"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set project name to <em>LCDSCRUD</em></li>
<li>Let the Application type be <em>Web</em></li>
<li>Set the SDK version to <em>3.4</em></li>
<li>Set the Application server type to <em>J2EE</em></li>
<li>Select <em>Use remote object access service </em>check box</li>
<li><em>6. </em>Select <em>LiveCycle Data Services ES</em></li>
<li><em>7. </em>Click next to continue<em> </em></li>
</ol>
<p>Now we need to set the server properties, you will see a screen with options to set the server properties as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/23.png"><img class="aligncenter size-medium wp-image-928" title="2" src="http://sujitreddyg.files.wordpress.com/2009/10/23.png?w=300&#038;h=181" alt="2" width="300" height="181"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set the Root folder to <em>c:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds-samples</em></li>
<li>Set the Root URL to <em>http://localhost:8400/lcds-samples</em></li>
<li>Set the Context root to <em>/lcds-samples</em></li>
<li>Leave the Output folder to default, which is on the server</li>
<li>Click finish to continue</li>
</ol>
<p>All we have to do now is to see how we can consume the service and create a Flex application. With Flash Builder 4 this is very simple, let’s see how Data centric Development (DCD) features in Flash Builder 4 lets us easily consume data management services and bind them to UI controls.</p>
<p><strong>Consuming data management services from Flash Builder 4</strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/31.png"><img class="aligncenter size-medium wp-image-929" title="3" src="http://sujitreddyg.files.wordpress.com/2009/10/31.png?w=300&#038;h=180" alt="3" width="300" height="180"/></a></p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” in the Data/Services window</li>
</ol>
<p>You will see a window launched with options to select the type of service as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/41.png"><img class="aligncenter size-medium wp-image-930" title="4" src="http://sujitreddyg.files.wordpress.com/2009/10/41.png?w=300&#038;h=180" alt="4" width="300" height="180"/></a></p>
<p>In this screen, select <em>LCDS</em> and click on Next to continue. You will be prompted for credentials, since we don’t have RDS authentication enabled, just select <em>No password required</em> check box and click OK to continue.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/51.png"><img class="aligncenter size-medium wp-image-931" title="5" src="http://sujitreddyg.files.wordpress.com/2009/10/51.png?w=300&#038;h=180" alt="5" width="300" height="180"/></a></p>
<p>Now Flash Builder will retrieve all the Remoting service and Data Management service destinations exposed by the web application and displays as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/61.png"><img class="aligncenter size-medium wp-image-932" title="6" src="http://sujitreddyg.files.wordpress.com/2009/10/61.png?w=300&#038;h=181" alt="6" width="300" height="181"/></a></p>
<p>Our server settings are configured to point to the sample application bundled with LCDS called <em>lcds-samples</em>. This web application has lots of destinations exposed as shown in the image above. Destinations whose <em>service-type</em> is <em>remoting-service</em> are the Remoting service destinations and the ones whose <em>service-type</em> is <em>data-service</em> are the Data Management service destinations. In this sample we will use the “inventory” data management service destination. Select the destination and click on Finish to continue.</p>
<p>Flash Builder will generate all code required to consume the service selected and will list the <em>Inventory </em>service in the services explorer as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/71.png"><img class="aligncenter size-medium wp-image-933" title="7" src="http://sujitreddyg.files.wordpress.com/2009/10/71.png?w=300&#038;h=180" alt="7" width="300" height="180"/></a></p>
<p>You can also see that the return types for the operations (functions/methods of assembler) are properly set. Now that we have the service created, let’s create UI.</p>
<p><strong>Creating UI</strong></p>
<p>Please copy the code from this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD_1.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD_1.mxml.txt</a> into your main application file (<em>LCDSCRUD.mxml</em> in this sample). Code in the URL will add UI controls required for this sample application. After copying the code, your Flash Builder design view should look as shown in the image below.</p>
<p><strong>Note:</strong> In this article to refer to a control, we will use value set for the id property of the controls.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/81.png"><img class="aligncenter size-medium wp-image-934" title="8" src="http://sujitreddyg.files.wordpress.com/2009/10/81.png?w=300&#038;h=180" alt="8" width="300" height="180"/></a></p>
<p><strong>Create Form for the Customer data type</strong></p>
<p>We will display the details of the product entry selected in the <em>listProducts</em> control (created in previous step) in <em>formSelected</em><em>Product</em>. Using Flash Builder you can bind a Form control to an entity instance. Right click on the <em>formSelectedProduct</em> and select “Bind to Data” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/91.png"><img class="aligncenter size-medium wp-image-935" title="9" src="http://sujitreddyg.files.wordpress.com/2009/10/91.png?w=300&#038;h=180" alt="9" width="300" height="180"/></a></p>
<p>Flash Builder will display window as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/101.png"><img class="aligncenter size-medium wp-image-936" title="10" src="http://sujitreddyg.files.wordpress.com/2009/10/101.png?w=300&#038;h=180" alt="10" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>We want the Form items to be generated based on a data type (<em>Product</em>) so select “Data type”</li>
<li>Select <em>Product</em> from the list of data types</li>
<li>We want the form to be editable, so select the “Make form editable” check box</li>
<li>Flash Builder will display the list of properties in the selected data type as shown in the image below. Flash Builder will also assign a UI control which it will use to display the property value as shown in the image below.</li>
</ol>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/112.png"><img class="aligncenter size-medium wp-image-937" title="11" src="http://sujitreddyg.files.wordpress.com/2009/10/112.png?w=300&#038;h=181" alt="11" width="300" height="181"/></a></p>
<p>In this window, you can select the items which you want to be included in the form and UI control in which you want the property value to be displayed. You can also arrange the controls in the order in which you want them to be displayed. Select, arrange the properties and modify the controls as shown in the image above.</p>
<p>Flash Builder will add FormItems to <em>formSelectedProduct</em> and binds the values of the controls under <em>formSelectedProduct</em> to <em>Product</em> instance. In this sample Flash Builder generated a <em>Product</em> instance with “product” as its id. So we will refer to the <em>Product</em> instance bound to the items in <em>formSelectedProduct</em> as p<em>roduct</em>.</p>
<p><strong>Binding data to UI Controls</strong></p>
<p>Now that we have our UI is ready, let’s get the data from the server and display it in the application.</p>
<p>Right click on the List and click on “Bind to Data ..” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/131.png"><img class="aligncenter size-medium wp-image-938" title="13" src="http://sujitreddyg.files.wordpress.com/2009/10/131.png?w=300&#038;h=180" alt="13" width="300" height="180"/></a></p>
<p>Flash Builder will display window as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/141.png"><img class="aligncenter size-medium wp-image-939" title="14" src="http://sujitreddyg.files.wordpress.com/2009/10/141.png?w=300&#038;h=180" alt="14" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select New service call</li>
<li>Set Service to <em>ProductService</em></li>
<li>Set Operation to <em>fill(): Product[]</em></li>
<li>Set Bing to field to <em>name</em></li>
<li>Click on OK to continue</li>
</ol>
<p>In previous step we bound the service call result to <em>listProducts</em> component, <em>listProducts</em> will send a request to the <em>fill()</em> function on the server and displays the result.</p>
<p><em>listProducts</em> is displaying only the name of the Product, so let’s display complete details of the product in <em>formSelectedProduct</em>. Right click on the <em>listProducts</em> and select “Generate Change Handler” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/151.png"><img class="aligncenter size-medium wp-image-940" title="15" src="http://sujitreddyg.files.wordpress.com/2009/10/151.png?w=300&#038;h=180" alt="15" width="300" height="180"/></a></p>
<p>Flash Builder will generate a function which will be invoked when user selects a different item in the <em>listProducts</em>. Flash Builder will also switch the view to Source view as shown in the image below, so that you can write code in the handler function generated.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/161.png"><img class="aligncenter size-medium wp-image-941" title="16" src="http://sujitreddyg.files.wordpress.com/2009/10/161.png?w=300&#038;h=180" alt="16" width="300" height="180"/></a></p>
<p>Add the code below to the generated change handler function as shown in the image above.</p>
<p><em>product = listProducts.selectedItem as Product;</em></p>
<p>In the code snippet above, p<em>roduct</em> is the instance of <em>Product</em> which was bound to the <em>formSelectedProduct</em>. In the code above, we are passing the reference of the selected <em>Product</em> instance in <em>listProducts</em> to the <em>Product</em> instance bound to <em>formSelectedProduct</em>. This line of code will populate <em>formSelectedProduct</em> with details of the selected product in <em>listProducts</em> control.</p>
<p>Now, let’s keep <em>formSelectedProduct</em> populated with values of the first Product entry in <em>listProducts</em> as soon as the product data is loaded from the server.</p>
<p><strong>Understanding the CallResponder</strong></p>
<p>How will you know when the data is returned from the server? For each service call generated in the application there will be a <em>CallResponder</em> class instance associated with it. CallResponder dispatches <em>result</em> event when the call to the service is successful and the data returned from the server can be accessed using a property called <em>lastResult </em>in<em> CallResponder</em> instance. To map the <em>CallResponder</em> instance with the service call, you have to pass the reference of the <em>AsyncToken</em> returned by the service call to the <em>token </em>property of the <em>CallResponder</em>. You can see service call <em>AsyncToken</em> reference passed to the <em>CallResponder</em> in <em>listProducts_creationCompleteHandler</em> function as shown below.</p>
<p><em>protected function listProducts_creationCompleteHandler(event:FlexEvent):void</em></p>
<p><em>{</em></p>
<p><em> fillResult.token = productService.fill();</em></p>
<p><em>}</em></p>
<p><em>CallResponder</em> class will dispatch <em>result</em> event when the data is retrieved successfully from the server. You can add a handler to the <em>result</em> event to perform any logic when the server response is successful. In our case we will keep the first product in the <em>listProducts</em> to be selected and its value to be displayed in <em>formSelectedProduct</em> as soon as the data from the server is loaded on to the client.</p>
<p>Add a result event handler to the <em>fillResult</em> CallResponder as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/18.png"><img class="aligncenter size-medium wp-image-942" title="18" src="http://sujitreddyg.files.wordpress.com/2009/10/18.png?w=300&#038;h=181" alt="18" width="300" height="181"/></a></p>
<p>In the generated result handler add the following code. In the code below list is the List instance added in previous steps.</p>
<p><em>protected function fillResult_resultHandler(event:ResultEvent):void</em></p>
<p><em>{</em></p>
<p><em> if(listProducts != null)</em></p>
<p><em> {</em></p>
<p><em> listProducts.selectedIndex = 0;</em></p>
<p><em> product = listProducts.selectedItem as Product;</em></p>
<p><em> }</em></p>
<p><em>}</em></p>
<p>You can see the LCDSCRUD.mxml file with code till this step at this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD_2.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD_2.mxml.txt</a></p>
<p>At this point you can save and run the application. Application will launch in a browser and displays the data retrieved from the server as shown in the image below. You can view details of the products by selecting them from the list.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/191.png"><img class="aligncenter size-medium wp-image-943" title="19" src="http://sujitreddyg.files.wordpress.com/2009/10/191.png?w=300&#038;h=180" alt="19" width="300" height="180"/></a></p>
<p><strong>Performing Add/Update/Delete operations</strong></p>
<p>Any data retrieved from a Data Management service destinations are managed on the client i.e. any changes made to the objects on the client will reflect on the server immediately. Since we want to commit changes to the server only on user interaction, let’s turn off the <em>autoCommit</em> property to false. Add the code below to <em>listProducts_creationCompleteHandler</em> function to turn off auto commit as shown in the image below.</p>
<p><em>productService.serviceControl.autoCommit = false;</em></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/201.png"><img class="aligncenter size-medium wp-image-944" title="20" src="http://sujitreddyg.files.wordpress.com/2009/10/201.png?w=300&#038;h=180" alt="20" width="300" height="180"/></a></p>
<p>Let’s invoke functions in the <em>productService</em> AS3 class when user clicks on Add/Update/Delete buttons created earlier.</p>
<p>Right click on the button labeled “Add” (id = “btnAdd”) and select “Generate Service Call ..” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/213.png"><img class="aligncenter size-medium wp-image-945" title="21" src="http://sujitreddyg.files.wordpress.com/2009/10/213.png?w=300&#038;h=181" alt="21" width="300" height="181"/></a></p>
<p>Flash Builder displays window as shown in the image below, in which you can select the service call which you want to invoke when user clicks on the Button.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/221.png"><img class="aligncenter size-medium wp-image-946" title="22" src="http://sujitreddyg.files.wordpress.com/2009/10/221.png?w=300&#038;h=180" alt="22" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set the Service to <em>ProductService</em></li>
<li>Set the Operation to <em>createProduct(arg0:Product)</em></li>
<li>Click on OK to continue</li>
</ol>
<p>The <em>createProduct</em> function selected expects an argument of the type <em>Product</em>. So Flash Builder 4 will switch to the source view and lets you enter the argument as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/231.png"><img class="aligncenter size-medium wp-image-947" title="23" src="http://sujitreddyg.files.wordpress.com/2009/10/231.png?w=300&#038;h=180" alt="23" width="300" height="180"/></a></p>
<p>We are creating a new instance of<em> Product </em>with default values to few properties and pass the reference to <em>createProduct </em>function. We pass the newly created Product instance reference to <em>product</em> so that user can modify the values of newly created product from <em>formSelectedProduct</em> control.</p>
<p>Code in the button click handler function will look as shown below. In the code snippet below we are also passing the <em>AsyncToken</em> returned by <em>createProduct</em> function to <em>createProductResult</em>, so that <em>createProductResult</em> object will dispatch <em>result</em> event when the service call is successful.</p>
<p><em>protected function btnAdd_clickHandler(event:MouseEvent):void</em></p>
<p><em>{</em></p>
<p><em> var newProduct:Product = new Product();</em></p>
<p><em> newProduct.category = &#8220;Enter category&#8221;;</em></p>
<p><em> newProduct.description = &#8220;Product description&#8221;;</em></p>
<p><em> newProduct.name = &#8220;Enter Name&#8221;;</em></p>
<p><em> newProduct.price = 0;</em></p>
<p><em> newProduct.qtyInStock = 0;</em></p>
<p><em> product = newProduct;</em></p>
<p><em> createProductResult.token = productService.createProduct(newProduct); </em></p>
<p><em>}</em></p>
<p>If you remember we turned off auto commit, so we need to call when user clicks the <em>btnCommit. </em>We also need to make sure the <em>btnCommit</em> is enabled only if there are any changes to the data on the client and that’s very simple just bind the <em>btnCommit</em> enabled property to <em>commitRequired</em> property as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/26.png"><img class="aligncenter size-medium wp-image-948" title="26" src="http://sujitreddyg.files.wordpress.com/2009/10/26.png?w=300&#038;h=181" alt="26" width="300" height="181"/></a></p>
<p>In the btnCommit_clickHandler function add the code below to commit all changes to the server.</p>
<p><em>protected function btnCommit_clickHandler(event:MouseEvent):void</em></p>
<p><em>{</em></p>
<p><em> productService.serviceControl.commit();</em></p>
<p><em>}</em></p>
<p>Similarly generate service calls for Update and Delete buttons, select <em>updateProduct</em> and <em>deleteProduct</em> operations respectively and pass the same <em>product</em> object as argument. You can view/copy the completed LCDSCRUD.mxml file at this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/LCDSCRUD.mxml.txt</a></p>
<p>Save and run your application. You will see your application launched in a browser and ready for performing CRUD operations on the database entries.</p>
<p>More articles on how to use Flash Builder 4 are available at this URL <a rel="nofollow">http://sujitreddyg.wordpress.com/flash-builder-4/</a></p>
<p>We developed a complete CRUD application for Data Management service destination in just few minutes. Flash Builder 4 and LCDS rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/926/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/926/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/926/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/926/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/926/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=926&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/12.png?w=300" medium="image">
            <media:title>1</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/23.png?w=300" medium="image">
            <media:title>2</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/31.png?w=300" medium="image">
            <media:title>3</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/41.png?w=300" medium="image">
            <media:title>4</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/51.png?w=300" medium="image">
            <media:title>5</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/61.png?w=300" medium="image">
            <media:title>6</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/71.png?w=300" medium="image">
            <media:title>7</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/81.png?w=300" medium="image">
            <media:title>8</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/91.png?w=300" medium="image">
            <media:title>9</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/101.png?w=300" medium="image">
            <media:title>10</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/112.png?w=300" medium="image">
            <media:title>11</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/131.png?w=300" medium="image">
            <media:title>13</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/141.png?w=300" medium="image">
            <media:title>14</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/151.png?w=300" medium="image">
            <media:title>15</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/161.png?w=300" medium="image">
            <media:title>16</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/18.png?w=300" medium="image">
            <media:title>18</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/191.png?w=300" medium="image">
            <media:title>19</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/201.png?w=300" medium="image">
            <media:title>20</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/213.png?w=300" medium="image">
            <media:title>21</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/221.png?w=300" medium="image">
            <media:title>22</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/231.png?w=300" medium="image">
            <media:title>23</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/26.png?w=300" medium="image">
            <media:title>26</media:title>
         </media:content>
      </item>
      <item>
         <title>Building a CRUD application using Java 6 Web Services and Flash Builder 4</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.10.12.html</link>
         <description>&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://java.sun.com/javase/downloads/ea.jsp&quot;&gt;Java&amp;#32;SE&amp;#32;6&lt;/a&gt; has built-in support for web services thanks to &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://java.sun.com/webservices/jaxws/index.jsp&quot;&gt;JAX-WS&amp;#32;2.0&lt;/a&gt;.
Armed with nothing more than JDK 6, you can easily publish or consume
a web service. This makes it really easy for a developer to
prototype and quickly get started with web services. Using the
data-centric features in Flash Builder 4, a web service can be easily
introspected and accessed. In this article, I will build an end-to-end
simple CRUD application in Java and Flex 4, where the Java methods are
exposed as web service operations.
[...] (1124 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.10.12.html</guid>
         <pubDate>Mon, 12 Oct 2009 04:59:28 -0700</pubDate>
      </item>
      <item>
         <title>Building Flex and Java based CRUD application using Flash Builder 4</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/12/building-flex-and-java-based-crud-application-using-flash-builder-4/</link>
         <description>In this article we will create a CRUD application using Adobe Flex and Java. Flash Builder 4 allows you to build Flex front end for Java classes on the server with just couple of clicks, so we will use Flash Builder 4 to develop the application.
BlazeDS is a Java based server technology from Adobe which [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=899&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=899</guid>
         <pubDate>Mon, 12 Oct 2009 00:17:10 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this article we will create a CRUD application using Adobe Flex and Java. Flash Builder 4 allows you to build Flex front end for Java classes on the server with just couple of clicks, so we will use Flash Builder 4 to develop the application.</p>
<p>BlazeDS is a Java based server technology from Adobe which lets you invoke methods in Java class on server from your Flex applications. BlazeDS is the best solution for integrating Flex with Java so obviously we will use this in our sample project.</p>
<p>Below are the steps we will follow to complete our application</p>
<ol>
<li>Set up BlazeDS (copying files <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> )</li>
<li>Expose Java class as Remoting service destination</li>
<li>Use Flash Builder to generate Flex code to invoke methods in Java class on the server</li>
<li>Retrieve data from server and display in the application</li>
<li>Allow user to add/update/delete entries in a database table from the application</li>
</ol>
<p>Article allows you to skip any of steps mentioned above and copy the code <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> Let’s get started <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>You can download the completed project from here <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD.zip">http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD.zip</a></p>
<p><strong>Set up BlazeDS</strong></p>
<p>Download BlazeDS from this URL <a rel="nofollow" target="_blank" href="http://flexorg.wip3.adobe.com/blazeds/trunk/11835/blazeds-bin-4.0.0.11835.zip">http://flexorg.wip3.adobe.com/blazeds/trunk/11835/blazeds-bin-4.0.0.11835.zip</a> follow instructions at this URL to setup BlazeDS <a rel="nofollow">http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/</a></p>
<p>Once BlazeDS is setup you need to expose the Java class as Remoting destination, visit this URL to know how to expose a Java class as Remoting destination <a rel="nofollow">http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/</a></p>
<p>After exposing your Java class as Remoting destination using BlazeDS, follow steps below to build the Flex application.</p>
<p>In this sample we will expose <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/SimpleCustomerService.java.txt">SimpleCustomerService.Java</a> as Remoting destination. <em>SimpleCustomerService</em> communicates with database and returns <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/SimpleCustomer.java.txt">SimpleCustomer</a> objects.</p>
<p><strong>Setting up BlazeDS RDSDispatchServlet</strong></p>
<p>After setting up BlazeDS, you have to enable RDSDisptachServlet, which is used by Flash Builder 4 to get destination details. This is disabled by default. It’s very simple all you have to do is to un-comment/add the Servlet mapping in the web.xml.</p>
<p>Copy the Servlet URL mapping and declaration for the RDSDispatchServlet below and copy it into your web application web.xml under &lt;web-app&gt; node.</p>
<p><em>&lt;servlet&gt;</em><br />
<em>&lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em><br />
<em>&lt;display-name&gt;RDSDispatchServlet&lt;/display-name&gt;</em><br />
<em>&lt;servlet-class&gt;flex.rds.server.servlet.FrontEndServlet&lt;/servlet-class&gt;</em><br />
<em>&lt;init-param&gt;</em><br />
<em>&lt;param-name&gt;useAppserverSecurity&lt;/param-name&gt;</em><br />
<em>&lt;param-value&gt;false&lt;/param-value&gt;</em><br />
<em>&lt;/init-param&gt;</em><br />
<em>&lt;load-on-startup&gt;10&lt;/load-on-startup&gt;</em><br />
<em>&lt;/servlet&gt;</em><br />
<em>&lt;servlet-mapping id=”RDS_DISPATCH_MAPPING”&gt;</em><br />
<em>&lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em><br />
<em>&lt;url-pattern&gt;/CFIDE/main/ide.cfm&lt;/url-pattern&gt;</em><br />
<em>&lt;/servlet-mapping&gt;</em></p>
<p><strong>Install Flash Builder 4</strong></p>
<p>Download and install Flash Builder 4 from this URL <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">http://labs.adobe.com/technologies/flashbuilder4/</a></p>
<p><strong>Creating new Flex project with BlazeDS server configurations</strong></p>
<p><strong>Create new Flex project</strong></p>
<p>Create a new Flex project from the File menu and enter project details as shown below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/11.png"><img class="aligncenter size-medium wp-image-902" title="1" src="http://sujitreddyg.files.wordpress.com/2009/10/11.png?w=300&#038;h=180" alt="1" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Enter project name</li>
<li>set “Web (runs in Adobe Flash Player)” as the application type</li>
<li>Set the Flex SDK to Flex 3.4</li>
<li>Set the application server type to J2EE</li>
<li>Select BlazeDS</li>
<li>Click on Next to continue</li>
</ol>
<p><strong>Configure J2EE server settings</strong></p>
<p style="text-align:center;"><strong><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/21.png"><img class="aligncenter size-medium wp-image-903" title="2" src="http://sujitreddyg.files.wordpress.com/2009/10/21.png?w=300&#038;h=180" alt="2" width="300" height="180"/></a><br />
</strong></p>
<p>In this screen:</p>
<ol>
<li>Set the <em>Root folder</em> to the root folder of your web application with BlazeDS configured. Its <em>C:&#92;Program Files&#92;Apache Software Foundation&#92;Tomcat 6.0&#92;webapps&#92;demo</em> in this sample</li>
<li>Set the <em>Root URL</em> to root URL of your BlazeDS enabled web application</li>
<li>Set the <em>Context root</em> to context root of your BlazeDS enabled web application</li>
<li>Leave the output folder to default value</li>
<li>Click on validate configuration button</li>
<li>Click finish to continue</li>
</ol>
<p><strong>Using DCD feature to connect to consume Remoting Service</strong></p>
<p>DCD or Data-Centric Development is one of the advancements to the Flash Builder 4 which lets you develop data centric applications very easily. In this sample we will see how to create a Flex application which consumes BlazeDS Remoting service. Same steps can be followed for LCDS Remoting services also.</p>
<p><strong>Creating Service using DCD</strong></p>
<p style="text-align:center;"><strong><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/3.png"><img class="aligncenter size-medium wp-image-904" title="3" src="http://sujitreddyg.files.wordpress.com/2009/10/3.png?w=300&#038;h=180" alt="3" width="300" height="180"/></a><br />
</strong></p>
<p><strong> </strong></p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” in the Data/Services window</li>
<li>Window as shown in the image below will be launched</li>
</ol>
<p><strong> </strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/4.png"><img class="aligncenter size-medium wp-image-905" title="4" src="http://sujitreddyg.files.wordpress.com/2009/10/4.png?w=300&#038;h=181" alt="4" width="300" height="181"/></a></p>
<p>Select BlazeDS and click on Next. Flash Builder will display a window asking for RDS credentials. Since we turned off security for our RDSServlet in the web.xml, select “No password required” and click on OK to continue.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/5.png"><img class="aligncenter size-medium wp-image-906" title="5" src="http://sujitreddyg.files.wordpress.com/2009/10/5.png?w=300&#038;h=181" alt="5" width="300" height="181"/></a></p>
<p><strong>Selecting Remoting destination</strong></p>
<p>You can see that Flash Builder listed all service destinations exposed from your web application as shown in the screen below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/6.png"><img class="aligncenter size-medium wp-image-907" title="6" src="http://sujitreddyg.files.wordpress.com/2009/10/6.png?w=300&#038;h=181" alt="6" width="300" height="181"/></a></p>
<p>In this screen we are selecting the destination the newly created service should use. Select a destination (<em>SimpleCustomerServiceDestination</em> in this sample) and click on Finish to continue.</p>
<p>Code for invoking the Remoting service will be generated, you can see the service and its operations (methods exposed by the Java class) being displayed in the “Data/Services” window and in the package explorer.</p>
<p><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/7.png"><img class="aligncenter size-medium wp-image-908" title="7" src="http://sujitreddyg.files.wordpress.com/2009/10/7.png?w=300&#038;h=180" alt="7" width="300" height="180"/></a></p>
<p>Flash Builder 4 introspects return types for the Java class methods and creates AS3 classes for any custom Java classes. We have the service class ready, let’s create UI.</p>
<p><strong>Creating UI</strong></p>
<p>Please copy the code from this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_1.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_1.mxml.txt</a> into your main application file (<em>BlazeDSCRUD.mxml</em> in this sample). Code in the URL will add UI controls required for this sample application. After copying the code, your Flash Builder design view should look as shown in the image below.</p>
<p><strong>Note:</strong> In this article to refer to a control, we will use value set for the id property of the controls.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/8.png"><img class="aligncenter size-medium wp-image-909" title="8" src="http://sujitreddyg.files.wordpress.com/2009/10/8.png?w=300&#038;h=180" alt="8" width="300" height="180"/></a></p>
<p><em> </em></p>
<p><strong>Create Form for the Customer data type</strong></p>
<p>We will display the details of the customer entry selected in the <em>listCustomers</em> control (created in previous step) in <em>formSelectedCustomer</em>. Using Flash Builder you can bind a Form control to an entity instance. Right click on the <em>formSelectedCustomer</em> and select “Bind to Data” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/9.png"><img class="aligncenter size-medium wp-image-910" title="9" src="http://sujitreddyg.files.wordpress.com/2009/10/9.png?w=300&#038;h=180" alt="9" width="300" height="180"/></a></p>
<p>Flash Builder will display window as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/10.png"><img class="aligncenter size-medium wp-image-911" title="10" src="http://sujitreddyg.files.wordpress.com/2009/10/10.png?w=300&#038;h=180" alt="10" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>We want the Form items to be generated based on a data type (<em>SimpleCustomer</em>) so select “Data type”</li>
<li>Select <em>SimpleCustomer</em> from the list of data types</li>
<li>We want the form to be editable, so select the “Make form editable” check box</li>
<li>Flash Builder will display the list of properties in the selected data type as shown in the image below. Flash Builder will also assign a UI control which it will use to display the property value as shown in the image below.</li>
</ol>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/111.png"><img class="aligncenter size-medium wp-image-912" title="11" src="http://sujitreddyg.files.wordpress.com/2009/10/111.png?w=300&#038;h=180" alt="11" width="300" height="180"/></a></p>
<p>In this window, you can select the items which you want to be included in the form and UI control in which you want the property value to be displayed. You can also arrange the controls in the order in which you want them to be displayed. Arrange the properties and modify the controls as shown in the image above.</p>
<p>Flash Builder will add FormItems to <em>formSelectedCustomer</em> and binds the values of the controls under <em>formSelectedCustomer</em> to <em>SimpleCustomer</em> instance. In this sample Flash Builder generated a <em>SimpleCustomer</em> instance with “simpleCustomer” as its id. So we will refer to the <em>SimpleCustomer</em> instance bound to the items in <em>formSelectedCustomer</em> as <em>simpleCustomer</em>.</p>
<p><strong>Binding data to UI Controls</strong></p>
<p>Now that we have our UI is ready, let’s get the data from the server and display it in the application.</p>
<p>Right click on the List and click on “Bind to Data ..” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/13.png"><img class="aligncenter size-medium wp-image-913" title="13" src="http://sujitreddyg.files.wordpress.com/2009/10/13.png?w=300&#038;h=180" alt="13" width="300" height="180"/></a></p>
<p>Flash Builder will display window as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/14.png"><img class="aligncenter size-medium wp-image-914" title="14" src="http://sujitreddyg.files.wordpress.com/2009/10/14.png?w=300&#038;h=181" alt="14" width="300" height="181"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select New service call</li>
<li>Set Service to <em>SimpleCustomerServiceDestination</em></li>
<li>Set Operation to <em>getAllCustomers(): SimpleCustomer[]</em></li>
<li>Set Bing to field to <em>customerName</em></li>
<li>Click on OK to continue</li>
</ol>
<p>In previous step we bound the service call result to <em>listCustomers</em> component, <em>listCustomers</em> will send a request to the <em>getAllCustomers()</em> function on the server and displays the result.</p>
<p><em>listCustomers</em> is displaying only the name of the customer, so let’s display complete details of the customer in <em>formSelectedCustomer</em>. Right click on the <em>listCustomers</em> and select “Generate Change Handler” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/15.png"><img class="aligncenter size-medium wp-image-915" title="15" src="http://sujitreddyg.files.wordpress.com/2009/10/15.png?w=300&#038;h=181" alt="15" width="300" height="181"/></a></p>
<p>Flash Builder will generate a function which will be invoked when user selects a different item in the <em>listCustomers</em>. Flash Builder will also switch the view to Source view as shown in the image below, so that you can write code in the handler function generated.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/16.png"><img class="aligncenter size-medium wp-image-916" title="16" src="http://sujitreddyg.files.wordpress.com/2009/10/16.png?w=300&#038;h=180" alt="16" width="300" height="180"/></a></p>
<p>Add the code below to the generated change handler function as shown in the image above.</p>
<p><em>simpleCustomer = listCustomers.selectedItem as SimpleCustomer;</em></p>
<p>In the code snippet above, <em>simpleCustomer</em> is the instance of <em>SimpleCustomer</em> which was bound to the <em>formSelectedCustomer</em>. In the code above, we are passing the reference of the selected <em>SimpleCustomer</em> instance in <em>listCustomers</em> to the <em>SimpleCustomer</em> instance bound to <em>formSelectedCustomer</em>. This line of code will populate <em>formSelectedCustomer</em> with details of the selected customer in <em>listCustomers</em> control.</p>
<p>Now, let’s keep <em>formSelectedCustomer</em> populated with values of the first customer entry in <em>listCustomers</em> as soon as the customer data is loaded from the server.</p>
<p><strong>Understanding the CallResponder</strong></p>
<p>How will you know when the data is returned from the server? For each service call generated in the application there will be a <em>CallResponder</em> class instance associated with it. CallResponder dispatches <em>result</em> event when the call to the service is successful and the data returned from the server can be accessed using a property called <em>lastResult </em>in<em> CallResponder</em> instance. To map the <em>CallResponder</em> instance with the service call, you have to pass the reference of the <em>AsyncToken</em> returned by the service call to the <em>token </em>property of the <em>CallResponder</em>. You can see service call <em>AsyncToken</em> reference passed to the <em>CallResponder</em> in <em>listCustomers_creationCompleteHandler</em> function as shown below.</p>
<p><em>protected function listCustomers_creationCompleteHandler(event:FlexEvent):void</em></p>
<p><em>{</em></p>
<p><em> getAllCustomersResult.token = simpleCustomerServiceDestination.getAllCustomers();</em></p>
<p><em>}</em></p>
<p><em>CallResponder</em> class will dispatch <em>result</em> event when the data is retrieved successfully from the server. You can add a handler to the <em>result</em> event to perform any logic when the server response is successful. In our case we will keep the first Customer in the <em>listCustomers</em> to be selected and its value to be displayed in <em>formSelectedCustomer</em> as soon as the data from the server is loaded on to the client.</p>
<p>Add a result event handler to the <em>getAllCustomersResult</em> CallResponder as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/17.png"><img class="aligncenter size-medium wp-image-917" title="17" src="http://sujitreddyg.files.wordpress.com/2009/10/17.png?w=300&#038;h=180" alt="17" width="300" height="180"/></a></p>
<p>In the generated result handler add the following code. In the code below list is the List instance added in previous steps.</p>
<p><em>if(listCustomers != null)</em></p>
<p><em>{</em></p>
<p><em>listCustomers.selectedIndex = 0;</em></p>
<p><em> simpleCustomer = listCustomers.selectedItem as SimpleCustomer;</em></p>
<p><em>}</em></p>
<p>You can see the BlazeDSCRUD.mxml file with code till this step at this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_2.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_2.mxml.txt</a></p>
<p>At this point you can save and run the application. Application will launch in a browser and displays the data retrieved from the server as shown in the image below. You can view details of the customs by selecting them from the list.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/19.png"><img class="aligncenter size-medium wp-image-918" title="19" src="http://sujitreddyg.files.wordpress.com/2009/10/19.png?w=300&#038;h=181" alt="19" width="300" height="181"/></a></p>
<p><strong>Performing Add/Update/Delete operations</strong></p>
<p>In the <em>SimpleCustomerService</em> Java class on the server we have methods which can perform Add/Update/Delete operations in the database. If you observe Flash Builder generated AS3 functions in <em>SimpleCustomerServiceDestination.as</em> class for each public method of the selected Remoting destination including the addCustomer() , updateCustomer() and deleteCustomer(). We just have to invoke these AS3 function in order to invoke corresponding Java method on the server.</p>
<p>Let’s invoke functions in the <em>SimpleCustomerDestination</em> AS3 class when user clicks on Add/Update/Delete buttons created earlier.</p>
<p>Right click on the button labeled “Add” (id = “btnAdd”) and select “Generate Service Call ..” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/20.png"><img class="aligncenter size-medium wp-image-920" title="20" src="http://sujitreddyg.files.wordpress.com/2009/10/20.png?w=300&#038;h=180" alt="20" width="300" height="180"/></a></p>
<p>Flash Builder displays window as shown in the image below, in which you can select the service call which you want to invoke when user clicks on the Button.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/212.png"><img class="aligncenter size-medium wp-image-921" title="21" src="http://sujitreddyg.files.wordpress.com/2009/10/212.png?w=300&#038;h=181" alt="21" width="300" height="181"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set the Service to <em>SimpleCustomerServiceDestination</em></li>
<li>Set the Operation to <em>addCustomer(arg0:SimpleCustomer)</em></li>
<li>Click on OK to continue</li>
</ol>
<p>The <em>addCustomer</em> function selected expects an argument of the type <em>SimpleCustomer</em> . So Flash Builder 4 will switch to the source view and lets you enter the argument as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/22.png"><img class="aligncenter size-medium wp-image-922" title="22" src="http://sujitreddyg.files.wordpress.com/2009/10/22.png?w=300&#038;h=181" alt="22" width="300" height="181"/></a></p>
<p><em>simpleCustomer</em> is the object which is bound to <em>formSelectedCustomer</em> and so any changes made by the user in <em>formSelectedCustomer</em> control will reflect in the <em>simpleCustomer</em> instance so pass <em>simpleCustomer</em> as an argument to the <em>addCustomer</em> function as shown in the image above. Code in the button click handler function will look as shown below. In the code snippet below we are passing the <em>AsyncToken</em> returned by <em>addCustomer</em> function to <em>addCustomerResult</em>, so that <em>addCustomerResult</em> object will dispatch <em>result</em> event when the service call is successful.</p>
<p><em>protected function btnAdd_clickHandler(event:MouseEvent):void</em></p>
<p><em>{</em></p>
<p><em> addCustomerResult.token = simpleCustomerServiceDestination.addCustomer(simpleCustomer);</em></p>
<p><em>} </em></p>
<p>Similarly generate service calls for Update and Delete buttons, select <em>updateCustomer</em> and <em>deleteCustomer</em> operations respectively and pass the same <em>simpleCustomer</em> object as argument. After generating service calls for other two buttons your application code in this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_3.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD_3.mxml.txt</a></p>
<p>Clicking on the Add/Update/Delete buttons will reflect the changes on the server. Let’s get the updated collection of customers from the server by invoking <em>getAllCustomers</em> function of the <em>SimpleCustomerServiceDestination</em> class if the Add/Update/Delete operations are successful.</p>
<p>You will have <em>CallResponder</em> instances created for Add, Update and Delete service calls in the application, invoke <em>getAllCustomers()</em> function in the result event of these call responders so that we will get updated customers list after Add, Update and Delete operation are performed successfully.</p>
<p>You can view/copy the completed BlazeDSCRUD.mxml file at this URL <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD.mxml.txt">http://sujitreddyg.com/fb4articles/beta2/BlazeDSCRUD.mxml.txt</a></p>
<p>Save and run your application. You will see your application launched in a browser and ready for performing CRUD operations on the database entries.</p>
<p>Data centric applications can be developed very easily and effectively using Data Centric Development features in Flash Builder 4. Try enabling client side data management and client side data paging for the service used in this article, you can find the articles at the URL below. Please find more articles on using features in Flash Builder 4 at this URL <a rel="nofollow">http://sujitreddyg.wordpress.com/flash-builder-4/</a></p>
<p>Adobe Rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/899/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/899/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/899/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/899/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/899/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=899&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/11.png?w=300" medium="image">
            <media:title>1</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/21.png?w=300" medium="image">
            <media:title>2</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/3.png?w=300" medium="image">
            <media:title>3</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/4.png?w=300" medium="image">
            <media:title>4</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/5.png?w=300" medium="image">
            <media:title>5</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/6.png?w=300" medium="image">
            <media:title>6</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/7.png?w=300" medium="image">
            <media:title>7</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/8.png?w=300" medium="image">
            <media:title>8</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/9.png?w=300" medium="image">
            <media:title>9</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/10.png?w=300" medium="image">
            <media:title>10</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/111.png?w=300" medium="image">
            <media:title>11</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/13.png?w=300" medium="image">
            <media:title>13</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/14.png?w=300" medium="image">
            <media:title>14</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/15.png?w=300" medium="image">
            <media:title>15</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/16.png?w=300" medium="image">
            <media:title>16</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/17.png?w=300" medium="image">
            <media:title>17</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/19.png?w=300" medium="image">
            <media:title>19</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/20.png?w=300" medium="image">
            <media:title>20</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/212.png?w=300" medium="image">
            <media:title>21</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/22.png?w=300" medium="image">
            <media:title>22</media:title>
         </media:content>
      </item>
      <item>
         <title>Working with raw data and objects in FlashBuilder</title>
         <link>http://sunban.wordpress.com/2009/10/12/working-with-raw-data-and-objects-in-flash-builder/</link>
         <description>FlashBuilder 4 Beta 2 was released as part of MAX 2009 and with it a new set of features for data centric development (DCD). Sujit has a series of posts on DCD at http://sujitreddyg.wordpress.com.
One of the goals of DCD is to enable the developer to work with data in an object oriented way irrespective of [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&amp;blog=1168757&amp;post=28&amp;subd=sunban&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sunban.wordpress.com/?p=28</guid>
         <pubDate>Mon, 12 Oct 2009 00:13:52 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>FlashBuilder 4 Beta 2 was released as part of MAX 2009 and with it a new set of features for data centric development (DCD). Sujit has a series of posts on DCD at <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/">http://sujitreddyg.wordpress.com.</a></p>
<p>One of the goals of DCD is to enable the developer to work with data in an object oriented way irrespective of the data format (XML, JSON, AMF) or the data exchange protocol (HTTPService, SOAP) with the back end.</p>
<p>The classes in Flex 4 sdk through which data could be got are HTTPService, HTTPMultiService, WebService and RemoteObject</p>
<p><strong>HTTPMultiService</strong></p>
<p>HTTPMultiService is a new class that is added to the flex sdk and supports serialization of data through a property called serializationFilter &#8211; you can find more info <a rel="nofollow" target="_blank" href="http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/SerializationFilter.html">here </a>. This enables one to convert the HTTP response which could be XML or JSON to a ActionScript class. This is accomplished by the default XML and JSON serializers that are there as part of serializers.swc that comes as part of the FlashBuilder project when you use the Data Menu to define a service this swc gets added as part of your build path.</p>
<p>The serializers are</p>
<ul>
<li>com.adobe.serializers.xml.XMLSerializationFilter</li>
<li>com.adobe.serializers.json.JSONSerializationFilter</li>
</ul>
<p>Also, one could plugin their own serializers or override the functions of the default serializers to add custom behaviors while decoding or encoding XML / JSON data in a flex project.</p>
<p>Note: One could still continue to use E4X as the means to access XML responses, but working with strong types and AS classes gives much more flexibility and results in more maintainable code.</p>
<p><strong>WebService</strong></p>
<p>WebService class has not changed much since Flex 3, where one can use the the schemaregistry to convert the result SOAP response to AS classes. Check the section &#8220;Customizing web service type mapping&#8221; in the link <a rel="nofollow" target="_blank" href="http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_3.html">http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_3.html</a>. Though sometimes, the response itself will not be indicative enough of what is being returned (check this <a rel="nofollow" target="_blank" href="http://www.webservicex.net/uszip.asmx?wsdl">http://www.webservicex.net/uszip.asmx?wsdl</a>) which tells the result is of type &#8220;any&#8221; and we cannot use the schemaregistry to register a class also for this so that the webservice class converts this to a appropriate AS class (check the bug <a rel="nofollow" target="_blank" href="https://bugs.adobe.com/jira/browse/SDK-22574">https://bugs.adobe.com/jira/browse/SDK-22574 )</a></p>
<p>This has subsequently been resolved by providing a convertResultHandler property in WebService which could be set to a function which can there by convert the returned result to any AS class that the developer wants. The signature of convertResultHandler is</p>
<p><span style="color:#993300;">public static function convertResultHandler(result:*, operation:AbstractOperation):*<br />
{</span></p>
<p><span style="color:#993300;">}</span></p>
<p><span style="color:#993300;"><span style="color:#000000;">Notice that this could be used across operations and based on the operation one can convert the result which is sent as the parameter and to an AS class that could be referenced in the resultHandlers of those operations.</span></span></p>
<p><strong><span style="color:#993300;"><span style="color:#000000;">RemoteObject</span></span></strong></p>
<p><span style="color:#993300;"><span style="color:#000000;">Most PHP, CF developers love their platform because of the flexibility it provides with respect to typing of objects and they have a choice to use strong types i.e. PHP classes or CFC components or just work without classes. FlashBuilder provides a unique way to work with weak types on the server and can convert them to strong types on the client without the developer having to do anything on the client side (ofcourse you might have to invoke a wizard and type in a name for the strong type, which is not hard <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley'/> , compared to writing your own client side data layer and doing all the conversions of data yourself )</span></span></p>
<p><span style="color:#993300;"><span style="color:#000000;">Check the &#8220;</span></span>Configuring return type&#8221; section in <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/2009/10/05/building-flex-applications-for-java-based-http-services-using-flash-builder-4/">http://sujitreddyg.wordpress.com/2009/10/05/building-flex-applications-for-java-based-http-services-using-flash-builder-4/</a></p>
<p>This will set you up with a return type for your data returned from PHP or CF.</p>
<p>But you feel that you might need additional massaging of the data returned by the server or change the type of a particular property. You can customize again by using the convertResultHandler which is again used for converting a RemoteObject response to a strong type.</p>
<p>you can find this in the _super_* class file&#8217;s constructor generated by FlashBuilder in the following piece of code</p>
<p><span style="color:#993300;">_serviceControl.convertResultHandler = TypeUtility.convertResultHandler;</span></p>
<p>TypeUtility is a utility class defined in serializers.swc.</p>
<p>The message here is that</p>
<ul>
<li>FlashBuilder has a robust framework to work with weak data types in a object oriented way</li>
<li>There is a good customization mechanism to override and extend the default conversion mechanisms</li>
</ul> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sunban.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sunban.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sunban.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sunban.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sunban.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sunban.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sunban.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sunban.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sunban.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sunban.wordpress.com/28/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&blog=1168757&post=28&subd=sunban&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/6e00301b94f851dee3a4afa6a7d82405?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sunban</media:title>
         </media:content>
         <category>Flex</category>
      </item>
      <item>
         <title>Ruby on Rails extension for FlashBuilder4</title>
         <link>http://flexpearls.blogspot.com/2009/10/ruby-on-rails-extension-for.html</link>
         <description>The DCD (Data Centric Development) feature of Flash Builder 4 is an extensible feature. What I mean by that is that developers can add a new plugin to FB which implements certain extension points available in FB and add support for any back end of their choice. Once added all the DCD features would work with the back end similar to other supported back ends like PHP, CF etc. &lt;p&gt;Gaurav has worked on a plugin to add support for &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://dcdror.riaforge.org/&quot;&gt;Ruby&lt;/a&gt;.
&lt;p&gt; Give it a try !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-983895959363820065?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-983895959363820065</guid>
         <pubDate>Sun, 11 Oct 2009 15:06:00 -0700</pubDate>
      </item>
      <item>
         <title>Accessing a Coldfusion Data Source from Flash Builder 4 without writing Code</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.10.07.html</link>
         <description>In the second beta of Adobe Flash Builder 4, there is this gem of a
feature that helps developers get started without writing a single
line of code. Flash Builder 4 can take a ColdFusion data source
as input and output server &amp; client side code to read/modify the
database. Simply point to your ColdFusion server, choose a data
source and Flash Builder 4 will : Introspect it, generate server side
code (CFC) to access the selected table, and also, create a Service in
Flash Builder whose CRUD methods you can drag and drop on to Flex
components.
[...] (858 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.10.07.html</guid>
         <pubDate>Wed, 07 Oct 2009 00:15:42 -0700</pubDate>
      </item>
      <item>
         <title>Building Flex application for LCDS Data Management services using Flash Builder 4</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/06/building-flex-application-for-lcds-data-management-services-using-flash-builder-4/</link>
         <description>Data Centric Development (DCD) in Flash Builder 4 allows developers to build Flex front end for LiveCycle Data Services (LCDS) Data management service destinations with just couple of clicks. Continue reading to see how Flash Builder and LCDS are improving J2EE developer productivity.
In this article we will be building a Flex application for a Data [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=864&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=864</guid>
         <pubDate>Tue, 06 Oct 2009 05:35:00 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Data Centric Development (DCD) in Flash Builder 4 allows developers to build Flex front end for LiveCycle Data Services (LCDS) Data management service destinations with just couple of clicks. Continue reading to see how Flash Builder and LCDS are improving J2EE developer productivity.</p>
<p>In this article we will be building a Flex application for a Data Management service destination in the samples application called <em>lcds-samples</em> bundled with LiveCycle Data Services 3 Beta 3.</p>
<p><strong>Install LCDS 3</strong></p>
<p>Download LiveCycle Data Services 3 from this URL <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/livecycle_dataservices3/">http://labs.adobe.com/technologies/livecycle_dataservices3/</a>. You will be downloading a file named<em> livecycle_dataservices3_b3_win_100509.exe</em>, execute this file to install. I have installed LCDS 3 with Tomcat to <em>C:&#92;lcds3beta3</em></p>
<p><strong>Enabling RDSDispatchServlet</strong></p>
<p>Flash Builder uses the <em>RDSDispatchServlet </em>(part of LCDS) to retrieve destinations information from the server. By default the <em>RDSDispatchServlet</em> is commented out in <em>web.xml</em>. Open <em>C:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds&#92;WEB-INF&#92;web.xml</em> using a text editor and remove comment around <em>RDSDispatchServlet </em>Servlet definition and the URL mapping as shown below. Also set the useAppserverSecurity parameter value to “false” as shown below.</p>
<p><em> &lt;servlet&gt;</em></p>
<p><em> &lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em></p>
<p><em> &lt;display-name&gt;RDSDispatchServlet&lt;/display-name&gt;</em></p>
<p><em> &lt;servlet-class&gt;flex.rds.server.servlet.FrontEndServlet&lt;/servlet-class&gt;</em></p>
<p><em> &lt;init-param&gt;</em></p>
<p><em> &lt;param-name&gt;useAppserverSecurity&lt;/param-name&gt;</em></p>
<p><em> &lt;param-value&gt;false&lt;/param-value&gt;</em></p>
<p><em> &lt;/init-param&gt; </em></p>
<p><em> &lt;load-on-startup&gt;10&lt;/load-on-startup&gt;</em></p>
<p><em> &lt;/servlet&gt;</em></p>
<p><em> &lt;servlet-mapping id=&#8221;RDS_DISPATCH_MAPPING&#8221;&gt;</em></p>
<p><em> &lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em></p>
<p><em> &lt;url-pattern&gt;/CFIDE/main/ide.cfm&lt;/url-pattern&gt;</em></p>
<p><em> &lt;/servlet-mapping&gt; </em></p>
<p><strong>Defining item class name<br />
</strong></p>
<p>Set the <em>item-class</em> property of the Data Management service destination to the name of the object type which the assembler is expecting. Flash Builder 4 DCD requires this property to be set for the destinations you want to consume using DCD in Flash Builder. All the sample destinations in LCDS 3 beta 3 have this property set. Sample destination used in this article has <em>item-class</em> property set to <em>flex.samples.product.Product</em> class as shown below.</p>
<p>XML Snippet below is from <em>C:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds&#92;WEB-INF&#92;flex&#92;</em><em>data-management-config.xml</em></p>
<p>&lt;destination id=&#8221;inventory&#8221;&gt;<br />
<em> &lt;properties&gt;<br />
&lt;source&gt;flex.samples.product.ProductAssembler&lt;/source&gt;<br />
&lt;scope&gt;application&lt;/scope&gt;<br />
<strong>&lt;item-class&gt;flex.samples.product.Product&lt;/item-class&gt;</strong><br />
&lt;metadata&gt;<br />
&lt;identity property=&#8221;productId&#8221;/&gt;<br />
&lt;/metadata&gt;<br />
&lt;network&gt;<br />
&lt;paging enabled=&#8221;false&#8221; pageSize=&#8221;10&#8243; /&gt;<br />
&lt;/network&gt;<br />
&lt;/properties&gt;<br />
&lt;/destination&gt;</em></p>
<p><strong>Start LCDS server</strong></p>
<p>Start LCDS samples data base from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; LiveCycle Data Services ES 3.0 -&gt; Start Samples Database</em></p>
<p>Start LCDS server from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; LiveCycle Data Services ES 3.0 -&gt; Start LiveCycle Data Services Server</em></p>
<p>Please make sure both the database and the server are started.</p>
<p>We have everything ready to develop a Flex application for data management service destinations using Flash Builder 4.</p>
<p><strong>Create a Flex project</strong></p>
<p>Start Flash Builder 4 from the start menu, <em>start -&gt; All Programs -&gt; Adobe -&gt; Adobe Flash Builder Beta 2</em></p>
<p>Create a Flex project from the file menu. You will see a window launched with options to fill project properties as shown in the image below. Fill project properties as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/16.jpg"><img class="aligncenter size-medium wp-image-865" title="1" src="http://sujitreddyg.files.wordpress.com/2009/10/16.jpg?w=300&#038;h=232" alt="1" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set project name to <em>LCDSSampleProject</em></li>
<li>Let the Application type be <em>Web</em></li>
<li>Set the SDK version to <em>3.4</em></li>
<li>Set the Application server type to <em>J2EE</em></li>
<li>Select <em>Use remote object access service </em>check box</li>
<li><em>6. </em>Select <em>LiveCycle Data Services ES</em></li>
<li><em>7. </em>Click next to continue<em> </em></li>
</ol>
<p>Now we need to set the server properties, you will see a screen with options to set the server properties as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/21.jpg"><img class="aligncenter size-medium wp-image-866" title="2" src="http://sujitreddyg.files.wordpress.com/2009/10/21.jpg?w=300&#038;h=232" alt="2" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set the Root folder to <em>c:&#92;lcds3beta3&#92;tomcat&#92;webapps&#92;lcds-samples</em></li>
<li>Set the Root URL to <em>http://localhost:8400/lcds-samples</em></li>
<li>Set the Context root to <em>/lcds-samples</em></li>
<li>Leave the Output folder to default, which is on the server</li>
<li>Click finish to continue</li>
</ol>
<p>All we have to do now is to see how we can consume the service and create a Flex application. With Flash Builder 4 this is very simple, Data centric Development (DCD) features in Flash Builder 4 lets us easily consume data management services and bind them to UI controls.</p>
<p><strong>Consuming data management services from Flash Builder 4</strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/31.jpg"><img class="aligncenter size-medium wp-image-867" title="3" src="http://sujitreddyg.files.wordpress.com/2009/10/31.jpg?w=300&#038;h=232" alt="3" width="300" height="232"/></a></p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” in the Data/Services window</li>
</ol>
<p>You will see a window launched with options to select the type of service as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/41.jpg"><img class="aligncenter size-medium wp-image-868" title="4" src="http://sujitreddyg.files.wordpress.com/2009/10/41.jpg?w=300&#038;h=232" alt="4" width="300" height="232"/></a></p>
<p>In this screen, select <em>LCDS</em> and click on Next to continue. You will be prompted for credentials, since we don’t have RDS authentication enabled, just select <em>No password required</em> check box and click OK to continue.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/51.jpg"><img class="aligncenter size-medium wp-image-869" title="5" src="http://sujitreddyg.files.wordpress.com/2009/10/51.jpg?w=300&#038;h=232" alt="5" width="300" height="232"/></a></p>
<p>Now Flash Builder will retrieve all the Remoting and Data Management destinations exposed by the web application and displays as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/61.jpg"><img class="aligncenter size-medium wp-image-870" title="6" src="http://sujitreddyg.files.wordpress.com/2009/10/61.jpg?w=300&#038;h=232" alt="6" width="300" height="232"/></a></p>
<p>Our server settings are configured to point to the sample application bundled with LCDS called lcds-samples. This web application has lots of destinations exposed as shown in the image above. Destinations whose <em>service-type</em> is <em>remoting-service</em> are the Remoting destinations and the ones whose <em>service-type</em> is <em>data-service</em> are the Data Management service destinations. In this sample we will use the “inventory” data management service destination. Select the &#8220;inventory&#8221; destination and click on Finish to continue.</p>
<p>Flash Builder will generate all code required to consume the service selected and will list the <em>Inventory </em>service in the services explorer as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/71.jpg"><img class="aligncenter size-medium wp-image-871" title="7" src="http://sujitreddyg.files.wordpress.com/2009/10/71.jpg?w=300&#038;h=232" alt="7" width="300" height="232"/></a></p>
<p>You can also see that the return types for the operations (functions/methods of assembler) are properly set. Now that we have the service created, let’s bind the data to a UI control. Switch to design view as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/81.jpg"><img class="aligncenter size-medium wp-image-872" title="8" src="http://sujitreddyg.files.wordpress.com/2009/10/81.jpg?w=300&#038;h=232" alt="8" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Set the layout of the Application to vertical</li>
<li>Drag and drop a DataGrid on to the design view</li>
<li>Set the width of the DataGrid to 100% and height to 50%</li>
</ol>
<p>Now let’s bind the data to DataGrid.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/91.jpg"><img class="aligncenter size-medium wp-image-873" title="9" src="http://sujitreddyg.files.wordpress.com/2009/10/91.jpg?w=300&#038;h=232" alt="9" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select the <em>DataGrid</em></li>
<li>Right click on the <em>DataGrid</em></li>
<li>Select <em>Bind To Data</em></li>
</ol>
<p>You will a window launched with options to select the service.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/101.jpg"><img class="aligncenter size-medium wp-image-874" title="10" src="http://sujitreddyg.files.wordpress.com/2009/10/101.jpg?w=300&#038;h=232" alt="10" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select New service call</li>
<li>Set the Service to ProductService</li>
<li>Set the Operation to fill(): Product[]</li>
<li>Click on OK to continue</li>
</ol>
<p>You will see that the DataGrid will change its columns in the design view to reflect the properties of the Product entity.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/111.jpg"><img class="aligncenter size-medium wp-image-875" title="11" src="http://sujitreddyg.files.wordpress.com/2009/10/111.jpg?w=300&#038;h=232" alt="11" width="300" height="232"/></a></p>
<p><strong>Configuring DataGrid columns</strong></p>
<p>Flash Builder 4 has an excellent feature which allows developers to configure columns. Select the DataGrid. Right click on the DataGrid and select “Configure Columns …” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/131.jpg"><img class="aligncenter size-medium wp-image-876" title="13" src="http://sujitreddyg.files.wordpress.com/2009/10/131.jpg?w=300&#038;h=232" alt="13" width="300" height="232"/></a></p>
<p>A window with options to configure the columns for the DataGrid will be launched as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/141.jpg"><img class="aligncenter size-medium wp-image-877" title="14" src="http://sujitreddyg.files.wordpress.com/2009/10/141.jpg?w=300&#038;h=232" alt="14" width="300" height="232"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select “productId” column and move it to top</li>
<li>Similarly re-arrange columns as shown in the image above</li>
<li>Click on OK</li>
</ol>
<p>Save and run the application. Application will launch in the browser. You can observe the application sending request to the server and displaying the response in the DataGrid as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/152.jpg"><img class="aligncenter size-medium wp-image-878" title="15" src="http://sujitreddyg.files.wordpress.com/2009/10/152.jpg?w=300&#038;h=232" alt="15" width="300" height="232"/></a></p>
<p>More articles on how to use Flash Builder 4 are available at this URL <a rel="nofollow">http://sujitreddyg.wordpress.com/flash-builder-4/</a></p>
<p>We developed a Flex front end for Data Management service destination in just few minutes. Flash Builder 4 and LCDS rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/864/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/864/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/864/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/864/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/864/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=864&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/16.jpg?w=300" medium="image">
            <media:title>1</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/21.jpg?w=300" medium="image">
            <media:title>2</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/31.jpg?w=300" medium="image">
            <media:title>3</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/41.jpg?w=300" medium="image">
            <media:title>4</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/51.jpg?w=300" medium="image">
            <media:title>5</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/61.jpg?w=300" medium="image">
            <media:title>6</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/71.jpg?w=300" medium="image">
            <media:title>7</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/81.jpg?w=300" medium="image">
            <media:title>8</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/91.jpg?w=300" medium="image">
            <media:title>9</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/101.jpg?w=300" medium="image">
            <media:title>10</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/111.jpg?w=300" medium="image">
            <media:title>11</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/131.jpg?w=300" medium="image">
            <media:title>13</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/141.jpg?w=300" medium="image">
            <media:title>14</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/152.jpg?w=300" medium="image">
            <media:title>15</media:title>
         </media:content>
      </item>
      <item>
         <title>Building Flex applications for Java based HTTP Services using Flash Builder 4</title>
         <link>http://sujitreddyg.wordpress.com/2009/10/05/building-flex-applications-for-java-based-http-services-using-flash-builder-4/</link>
         <description>Have a J2EE application and want to create Adobe Flex front end? With Data Centric Development feature in Flash Builder 4 it’s very simple. This article explains communicating with Java classes on the server using HTTP Service. Since its HTTP Service you will create a JSP/Sevlet which will invoke the required Java class and returns [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=797&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=797</guid>
         <pubDate>Mon, 05 Oct 2009 06:31:46 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Have a J2EE application and want to create Adobe Flex front end? With Data Centric Development feature in Flash Builder 4 it’s very simple. This article explains communicating with Java classes on the server using HTTP Service. Since its HTTP Service you will create a JSP/Sevlet which will invoke the required Java class and returns the data as either XML or JSON.</p>
<p>You can also invoke methods in Java classes on the server from Flex application and get objects as response instead of invoking a JSP/Servlet which returns XML/JSON. Please find more details on invoking Java methods from Flex application at this URL <a rel="nofollow">http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/</a></p>
<p>In this article we will be using <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/getallcustomers.jsp.txt">getallcustomers.jsp</a> file which will invoke <a rel="nofollow" target="_blank" href="http://sujitreddyg.com/fb4articles/beta2/SimpleCustomerService.java.txt">SimpleCustomerService.java</a> class and returns the entries in the database in XML format. We will use Flash Builder DCD to create a Flex application which will consume the XML data returned by the server.</p>
<p><strong> </strong></p>
<p><strong>Install Flash Builder 4</strong></p>
<p>Download and install Flash Builder 4 from this URL <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">http://labs.adobe.com/technologies/flashbuilder4/</a></p>
<p><strong>Create a new Flex project</strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/1.jpg"><img class="aligncenter size-medium wp-image-799" title="1" src="http://sujitreddyg.files.wordpress.com/2009/10/1.jpg?w=300&#038;h=180" alt="1" width="300" height="180"/></a></p>
<p>Create a new Flex project as shown in the image above and explained below.</p>
<p>In this screen:</p>
<ol>
<li>Set the project name to “SampleHTTPJavaProject”</li>
<li>Set the Application type to “web (run in Adobe Flash Player)”</li>
<li>Set the Flex SDK to “Flex 3.4”</li>
<li>Click on finish to continue</li>
</ol>
<p><strong> </strong></p>
<p><strong>Using DCD to consume data returned by the server</strong></p>
<p>Data-Centric Development (DCD) is one of the advancements to the Flash Builder 4. Let’s see how DCD is making developers productive. We will use Flash Builder DCD to consume the data from the Java server.</p>
<p><strong>Creating a service</strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/2.jpg"><img class="aligncenter size-medium wp-image-800" title="2" src="http://sujitreddyg.files.wordpress.com/2009/10/2.jpg?w=300&#038;h=180" alt="2" width="300" height="180"/></a></p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” in the Data/Services window</li>
<li>Window as shown in the image below will be launched</li>
</ol>
<p><strong>Selecting service type</strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/3.jpg"><img class="aligncenter size-medium wp-image-801" title="3" src="http://sujitreddyg.files.wordpress.com/2009/10/3.jpg?w=300&#038;h=180" alt="3" width="300" height="180"/></a></p>
<p>Since we are using HTTP Service to communicate with the server, select HTTPService from the options and click on next button to continue.</p>
<p><strong>Setting service properties</strong></p>
<p>A service can have any number of operations. Each service will be a class and each operation of a service will be a function inside the class. Each operation has an URL associated with it, when the operation is invoked a HTTP request is sent to the corresponding URL. We will create a service and an operation to consume the data from the getallcustomers.jsp.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/4.jpg"><img class="aligncenter size-medium wp-image-802" title="4" src="http://sujitreddyg.files.wordpress.com/2009/10/4.jpg?w=300&#038;h=180" alt="4" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Change the operation name to “getAllCustomers”</li>
<li>Set the URL of the operation to http://&lt;server-name&gt;:&lt;server-port&gt;/&lt;webapp-context&gt;/getallcustomers.jsp in this sample it is http://localhost:9191/demo/getallcustomers.jsp</li>
<li>Since we are not expecting any parameters in the JSP file we will skip the parameters section</li>
<li>Set the service name to “CustomerService”</li>
<li>Click on finish button to create the service</li>
</ol>
<p>Service will be created and listed in the services explorer as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/5.jpg"><img class="aligncenter size-medium wp-image-803" title="5" src="http://sujitreddyg.files.wordpress.com/2009/10/5.jpg?w=300&#038;h=181" alt="5" width="300" height="181"/></a></p>
<p><strong> </strong></p>
<p><strong>Configuring return type</strong></p>
<p>We will configure service to create an AS3 VO class based on nodes in the XML data returned by the JSP file. The VO class will be the return type for the operation. This will make coding easier, since it is easier to deal with strong typed objects than parsing the XML data.</p>
<p>Right click on the “getAllCustomers” operation and select “Configure return type” as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/6.jpg"><img class="aligncenter size-medium wp-image-804" title="6" src="http://sujitreddyg.files.wordpress.com/2009/10/6.jpg?w=300&#038;h=181" alt="6" width="300" height="181"/></a></p>
<p>A window as shown in the image below will be launched with options to configure the return type. You can chose an existing data type or let the Flash Builder generate VO classes based on the response from the server. Let’s leave it to the Flash Builder to generate required VO classes based on the server response as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/7.jpg"><img class="aligncenter size-medium wp-image-805" title="7" src="http://sujitreddyg.files.wordpress.com/2009/10/7.jpg?w=300&#038;h=180" alt="7" width="300" height="180"/></a></p>
<p><strong>Entering parameters required by the server</strong></p>
<p><strong> </strong></p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/8.jpg"><img class="aligncenter size-medium wp-image-806" title="8" src="http://sujitreddyg.files.wordpress.com/2009/10/8.jpg?w=300&#038;h=180" alt="8" width="300" height="180"/></a></p>
<p>Our JSP file is not expecting any parameters, so we don’t have to pass any parameters in this step.</p>
<p>Flash Builder also allows you to give sample response rather than sending a request to the server to get the data. This will be useful when the server side code is not ready but you want to continue creating the Flex application without waiting for the server. Since we have the server ready in our case, let’s send a request to the server and configure return type. Click on next to continue.</p>
<p>Flash Builder parses the XML data returned by the server and displays the same as shown in the image below. You can select the XML node based on which you want the return type AS3 class to be generated. In this step, you can choose to create a new data type or merge the properties to existing AS3 class.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/9.jpg"><img class="aligncenter size-medium wp-image-807" title="9" src="http://sujitreddyg.files.wordpress.com/2009/10/9.jpg?w=300&#038;h=180" alt="9" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Select the “customer” node</li>
<li>Click on finish to continue</li>
</ol>
<p>You can see the return type of the operation in the “data/services” panel changed as shown in the image below. When we invoke the “getAllCustomers” operation, response will be object of the type “Customer” will be created based on the response from the server and returned.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/10.jpg"><img class="aligncenter size-medium wp-image-808" title="10" src="http://sujitreddyg.files.wordpress.com/2009/10/10.jpg?w=300&#038;h=180" alt="10" width="300" height="180"/></a></p>
<p><strong>Binding data/service to UI controls</strong></p>
<p>We usually write code to display the response from the service in a DataGrid or any other control. Flash Builder 4 has an awesome option which allows you to just bind a service response to a control.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/11.jpg"><img class="aligncenter size-medium wp-image-809" title="11" src="http://sujitreddyg.files.wordpress.com/2009/10/11.jpg?w=300&#038;h=180" alt="11" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>Switch to design view</li>
<li>Change the Application layout to “vertical” using the properties panel</li>
<li>Drag and drop a “DataGrid” from the “components” panel on to the design area</li>
<li>Set the width and height properties of the “DataGrid” to 100%</li>
</ol>
<p>Right click on the DataGrid and select “Bind to Data …” as shown in the image below</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/12.jpg"><img class="aligncenter size-medium wp-image-810" title="12" src="http://sujitreddyg.files.wordpress.com/2009/10/12.jpg?w=300&#038;h=181" alt="12" width="300" height="181"/></a></p>
<p>A window as shown in the image below will be launched.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/13.jpg"><img class="aligncenter size-medium wp-image-811" title="13" src="http://sujitreddyg.files.wordpress.com/2009/10/13.jpg?w=300&#038;h=180" alt="13" width="300" height="180"/></a></p>
<p>In this screen:</p>
<ol>
<li>We select a “New service call” because there are no existing services in the current application.</li>
<li>Select the “CustomerService”</li>
<li>Select “getAllCustomers():Customer[]” from the operations list</li>
<li>Click OK</li>
</ol>
<p>You can see the DataGrid in the design updated with properties of the Customer object as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/14.jpg"><img class="aligncenter size-medium wp-image-812" title="14" src="http://sujitreddyg.files.wordpress.com/2009/10/14.jpg?w=300&#038;h=180" alt="14" width="300" height="180"/></a></p>
<p>Save and run the application, you can see the data retrieved from the Remoting service and displayed in the DataGrid as shown in the image below.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.files.wordpress.com/2009/10/151.jpg"><img class="aligncenter size-medium wp-image-830" title="15" src="http://sujitreddyg.files.wordpress.com/2009/10/151.jpg?w=300&#038;h=232" alt="15" width="300" height="232"/></a></p>
<p>More article on using Flash Builder 4 <a rel="nofollow">http://sujitreddyg.wordpress.com/flash-builder-4/</a></p>
<p>That’s it we created a Flex UI for a JSP file using DCD features in Flash Builder. Flash Builder 4 rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/797/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/797/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/797/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/797/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/797/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=797&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/1.jpg?w=300" medium="image">
            <media:title>1</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/2.jpg?w=300" medium="image">
            <media:title>2</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/3.jpg?w=300" medium="image">
            <media:title>3</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/4.jpg?w=300" medium="image">
            <media:title>4</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/5.jpg?w=300" medium="image">
            <media:title>5</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/6.jpg?w=300" medium="image">
            <media:title>6</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/7.jpg?w=300" medium="image">
            <media:title>7</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/8.jpg?w=300" medium="image">
            <media:title>8</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/9.jpg?w=300" medium="image">
            <media:title>9</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/10.jpg?w=300" medium="image">
            <media:title>10</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/11.jpg?w=300" medium="image">
            <media:title>11</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/12.jpg?w=300" medium="image">
            <media:title>12</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/13.jpg?w=300" medium="image">
            <media:title>13</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/14.jpg?w=300" medium="image">
            <media:title>14</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/10/151.jpg?w=300" medium="image">
            <media:title>15</media:title>
         </media:content>
      </item>
      <item>
         <title>Finally, a worthy Google Reader replacement</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/4_gOvtJ3tn8/</link>
         <description>Anirudh has developed a cool reader app (http://readefine.anirudhsasikumar.net/). Its based on the Text Layout Framework of Adobe Flash.
Two mins. of seeing and using the app, I’m in love with it and for the first time I think I have found a worthy replacement of Google Reader. Hopefully one day it’ll have OPML support so that [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=169</guid>
         <pubDate>Wed, 02 Sep 2009 18:13:41 -0700</pubDate>
         <content:encoded><![CDATA[<p>Anirudh has developed a cool reader app (http://readefine.anirudhsasikumar.net/). Its based on the Text Layout Framework of Adobe Flash.</p>
<p>Two mins. of seeing and using the app, I’m in love with it and for the first time I think I have found a worthy replacement of Google Reader. Hopefully one day it’ll have OPML support so that I can move all my feeds from reader to this app :).</p>
<p>Excellent work Anirudh!</p>]]></content:encoded>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>Beautiful Reading via Flex 4</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.09.01.html</link>
         <description>I spend a lot of time reading articles on the web. Somehow, I miss the
lack of typesetting and pagination especially when the article is
captivating as well as long. This is my attempt at making reading
content on the web (and the computer to a certain extent) more
beautiful. With a lot of help from Flex 4, &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://readefine.anirudhsasikumar.net/&quot;&gt;Readefine&lt;/a&gt; beautifies text,
RSS and HTML content for easier reading. Text is laid out in multiple
columns, sanitized of stray newlines and paragraphs and a nice font is
applied.
[...] (411 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.09.01.html</guid>
         <pubDate>Tue, 01 Sep 2009 10:06:25 -0700</pubDate>
      </item>
      <item>
         <title>BlazeMonster V2 with support for Spring BlazeDS</title>
         <link>http://sujitreddyg.wordpress.com/2009/08/26/blazemonster-v2-with-support-for-spring-blazeds/</link>
         <description>Thank you very much for the overwhelming support. I added few new features and fixed couple of issues I am sorry I couldn’t add all features requested. I will add pending requested features and more to the next version and publish as soon as possible.
Following are the changes incorporated in BlazeMonster version 2: Added [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=599&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=599</guid>
         <pubDate>Wed, 26 Aug 2009 01:11:43 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Thank you very much for the overwhelming support. I added few new features and fixed couple of issues <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> I am sorry I couldn’t add all features requested. I will add pending requested features and more to the next version and publish as soon as possible.</p>
<p>Following are the changes incorporated in BlazeMonster version 2:</p>
<ol>
<li>Added support for <a rel="nofollow" target="_blank" href="http://www.springsource.org/spring-flex">Spring BlazeDS</a> i.e. BlazeMonster can now generate code for Remoting destinations exposed using Spring BlazeDS.</li>
<li>AS3 VO class generation now supports nested custom data types</li>
<li>You can save generated code into files on a button click</li>
<li>Added AS3 data types mappings for all Java data types for code generation</li>
<li>Web application root URL and AMF endpoint values are now persisted</li>
<li>And couple of minor fixes.</li>
</ol>
<p>Please download and install latest version from this URL <a rel="nofollow">http://sujitreddyg.wordpress.com/blazemonster/</a></p>
<p>Adobe Rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/599/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/599/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/599/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/599/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/599/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=599&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
      </item>
      <item>
         <title>Goodbye</title>
         <link>http://raghuonflex.wordpress.com/2009/08/25/goodbye/</link>
         <description>This is my last blog post on this blog. The last 4 years have been an amazing journey. From being fresh out of college into Macromedia to the Adobe-Macromedia acquisition, from working on Flex 1.5,2,3 to being a full time evangelist was as good a career I could have dreamed of.
I worked with a great [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=459&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=459</guid>
         <pubDate>Tue, 25 Aug 2009 06:02:15 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is my last blog post on this blog. The last 4 years have been an amazing journey. From being fresh out of college into Macromedia to the Adobe-Macromedia acquisition, from working on Flex 1.5,2,3 to being a full time evangelist was as good a career I could have dreamed of.</p>
<p>I worked with a great team, right from the Flex QE team to the most awesome India Evangelism. People were always supportive and encouraging and taught me a great lot of things. </p>
<p>The most thanks goes out to my dear friend and evangelist Harish, my mentor Ramesh, the ever supporting Ananth (Director Flex &amp; CF Engineering India), Ben Forta. Special thanks to Lauren for being the best manager I ever had and for encouraging me to follow what I wanted to do.</p>
<p>Cheers to the India Evangelism team, the best team I ever had&#8230; You guys are great.</p>
<p>But its time for me to move on and follow my aspirations. Today, I am starting my MBA at Ross School of Business, University of Michigan, Ann Arbor. If things turn out as I hope it would, I might continue on this blog in 2 years.</p>
<p>I will blog about my MBA experience here -<a rel="nofollow" target="_blank" href="http://raghuformba.wordpress.com/">http://raghuformba.wordpress.com/</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/459/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/459/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/459/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/459/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/459/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=459&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>Adobe India Evangelism Team launches a challenge in Flex</title>
         <link>http://flexpearls.blogspot.com/2009/08/adobe-india-evangelism-team-launches.html</link>
         <description>&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flashahead.adobe.com/challenges&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;img style=&quot;display:block;margin:0px auto 10px;text-align:center;cursor:pointer;cursor:hand;width:150px;height:190px;&quot; src=&quot;http://1.bp.blogspot.com/_sh8W7P3dJgY/SoPUU7W0SJI/AAAAAAAAACc/UB9N6FEp15U/s400/SreenivasR.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5369368636751628434&quot;
 alt=&quot;hackrchallenges badge&quot;/&gt;&lt;/div&gt;&lt;/a&gt;
&lt;p&gt; You can also own a badge like this one ! &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flashahead.adobe.com/challenges&quot;&gt;Try it&lt;/a&gt; !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-2923038230150607358?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-2923038230150607358</guid>
         <pubDate>Wed, 12 Aug 2009 18:51:00 -0700</pubDate>
         <media:thumbnail width="72" url="http://1.bp.blogspot.com/_sh8W7P3dJgY/SoPUU7W0SJI/AAAAAAAAACc/UB9N6FEp15U/s72-c/SreenivasR.png" height="72" xmlns:media="http://search.yahoo.com/mrss/"/>
      </item>
      <item>
         <title>Flex 4 Component - Slanted Button Bar</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.08.10.html</link>
         <description>Ah, the joys of working with Flex 4. I built this small component in
Flex 4 that has slanted or hatched buttons. Each button is a
parallelogram and two sides along with the label are at an angle of 35
degrees. They look pretty good when coupled with a viewstack right
under it.
[...] (209 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.08.10.html</guid>
         <pubDate>Mon, 10 Aug 2009 06:40:23 -0700</pubDate>
      </item>
      <item>
         <title>hackrchallenges – Flex in a Week challenge</title>
         <link>http://sujitreddyg.wordpress.com/2009/08/07/hackrchalleges-flex-in-a-week-challenge/</link>
         <description>I am a bit late in blogging about this. Flex in a Week challenge was launched on 5th August, 2009 and is already being attempted by 210 users Flex in a Week video training is one of the best resources to start learning Flex. India Platform Evangelism team has given more reasons to learn [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=580&amp;subd=sujitreddyg&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=580</guid>
         <pubDate>Thu, 06 Aug 2009 23:07:49 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am a bit late in blogging about this. Flex in a Week challenge was launched on 5<sup>th</sup> August, 2009 and is already being <strong>attempted</strong> by 210 users <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p><a rel="nofollow" target="_blank" href="http://flashahead.adobe.com/challenges"><img class="aligncenter size-full wp-image-585" title="hackrchallenges" src="http://sujitreddyg.files.wordpress.com/2009/08/hackrchallengesicon_dark.png?w=211&#038;h=65" alt="hackrchallenges" width="211" height="65"/></a></p>
<p><a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/videotraining/">Flex in a Week video training</a> is one of the best resources to start learning Flex. <a rel="nofollow" target="_blank" href="http://flashahead.adobe.com/">India Platform Evangelism</a> team has given more reasons to learn Flex in a week by going through this video training course.</p>
<p>Go through the course and complete the Flex in a Week Challenge, you can get a cool badge you can sport on your website, blog or any other place where you think it will be useful. There are tee shirts also to be won by top 25 scorers and the first 25 users who clear the challenge.</p>
<p>If you already know Flex, take Flex in a Week challenge and get a badge for yourself and sport it to everyone <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>Please find more details at this URL <a rel="nofollow" target="_blank" href="http://flashahead.adobe.com/challenges/">http://flashahead.adobe.com/challenges/</a></p>
<p>India Platform Evangelism team also took couple of initiatives to communicate with the community easily. You can follow any of the following to get updates from the team and information about the various events and activities</p>
<p><strong>Portal </strong>– <a rel="nofollow" target="_blank" href="http://flashahead.adobe.com/">http://flashahead.adobe.com</a></p>
<p><strong>Blog </strong>– <a rel="nofollow" target="_blank" href="http://flashahead.wordpress.com/">http://flashahead.wordpress.com</a></p>
<p><strong>Twitter </strong>- <a rel="nofollow" target="_blank" href="http://twitter.com/flashahead">http://twitter.com/flashahead</a></p>
<p>Adobe Rocks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/580/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/580/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/580/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/580/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/580/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&blog=2430943&post=580&subd=sujitreddyg&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="" medium="image">
            <media:title>SujitReddyG</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/08/hackrchallengesicon_dark.png" medium="image">
            <media:title>hackrchallenges</media:title>
         </media:content>
      </item>
      <item>
         <title>Flex India Evangelism Team’s Website Launched</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/4rpl68jEeJU/</link>
         <description>The Flex India Evangelism Team has created their home page (http://flashahead.adobe.com). Their blog is available at http://flashahead.wordpress.com.
Watch the two spaces for the latest news from them&amp;#8230;</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=163</guid>
         <pubDate>Tue, 04 Aug 2009 23:47:49 -0700</pubDate>
         <content:encoded><![CDATA[<p>The Flex India Evangelism Team has created their home page (<a rel="nofollow" target="_blank" href="http://flashahead.adobe.com">http://flashahead.adobe.com</a>). Their blog is available at <a rel="nofollow" target="_blank" href="http://flashahead.adobe.com">http://flashahead.wordpress.com</a>.</p>
<p>Watch the two spaces for the latest news from them&#8230;</p>]]></content:encoded>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>Adobe Dev Summit 2009 - Bangalore</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/VRjTBUu5X3s/</link>
         <description>Adobe Dev Summit is back to present you the latest happenings of Adobe Flash Platform. Don’t miss this unique opportunity to hear from the experts about the power &amp;#38; awesomeness of Adobe Flash Platform &amp;#38; Flash Builder 4.
Date : 4th August 2009, Tuesday
Time : 9 AM to 6 PM
Where : Lalit Ashok, Bangalore
Highlights See the new, [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=158</guid>
         <pubDate>Mon, 27 Jul 2009 01:26:09 -0700</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/07/devsummit2009.jpg"><img class="aligncenter size-full wp-image-159" title="devsummit2009" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/07/devsummit2009.jpg" alt="" width="436" height="209"/></a></p>
<p>Adobe Dev Summit is back to present you the latest happenings of Adobe Flash Platform. Don’t miss this unique opportunity to hear from the experts about the power &amp; awesomeness of Adobe Flash Platform &amp; Flash Builder 4.</p>
<p><strong>Date : 4th August 2009, Tuesday<br />
Time : 9 AM to 6 PM<br />
Where : Lalit Ashok, Bangalore</strong></p>
<p><span style="text-decoration:underline;"><strong>Highlights</strong></span></p>
<ul>
<li>See the new, improved and rocking <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/livecycle_dataservices3/"><strong>LiveCycle Data Services 3</strong></a> in action! If you are a <strong>Java</strong> developer, you wouldn’t want to miss this one!</li>
<li>If you are a <strong>PHP/Java</strong> developer, get on the RIA expressway using the new Data Centric Development features on <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/"><strong>Adobe Flash Builder 4</strong></a></li>
<li>If you’re into enterprise-wide RIA development, things have just got hot! Check out the brand new version of <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/coldfusion9/"><strong>ColdFusion</strong></a> with the sparkling new developer IDE – <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/coldfusionbuilder/"><strong>ColdFusion Builder</strong></a>.</li>
<li>User Interfaces are a thing of the past now. Build User Experiences of tomorrow with <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashcatalyst/"><strong>Adobe Flash Catalyst</strong></a>. Quicker than ever!</li>
</ul>
<p>You can attend this event for <strong>FREE </strong>using <strong>Gold Pass</strong> or signup for the <strong>Platinum pass </strong>and <strong>get a Flex Builder 3 Professional license worth </strong><strong>USD 699 FREE</strong><strong>!!!</strong>.</p>
<p>You can get more details about the event and register <a rel="nofollow" target="_blank" href="http://www.endtoend.in/ete2009/adobe/devsummit/mailer.html">here</a>.</p>
<p>Come, be there to experience the awesomeness.</p>]]></content:encoded>
      </item>
      <item>
         <title>Adobe Dev Summit 2009 – Bangalore</title>
         <link>http://srinivasannam.wordpress.com/2009/07/22/adobe-dev-summit-2009-bangalore/</link>
         <description>Its back and its bigger than ever.
Adobe Dev Summit is back to present you the latest happenings of Adobe Flash Platform. Don’t miss this unique opportunity to hear from the experts about the power &amp;#38; awesomeness of Adobe Flash Platform &amp;#38; Flash Builder 4.
Date : 4th August 2009, Tuesday
Time : 9 AM to 6 PM
Where : [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=158&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=158</guid>
         <pubDate>Wed, 22 Jul 2009 06:06:29 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><img title="Dev Summit 2009" src="http://srinivasannam.files.wordpress.com/2009/07/devsummit2009.jpg?w=436&#038;h=209" alt="Dev Summit 2009" width="436" height="209"/></p>
<p>Its back and its bigger than ever.</p>
<p>Adobe Dev Summit is back to present you the latest happenings of Adobe Flash Platform. Don’t miss this unique opportunity to hear from the experts about the power &amp; awesomeness of Adobe Flash Platform &amp; Flash Builder 4.</p>
<p><strong>Date : 4th August 2009, Tuesday</strong></p>
<p><strong>Time : 9 AM to 6 PM</strong></p>
<p><strong>Where : Lalit Ashok, Bangalore</strong></p>
<p>What more ? You can attend this event for <span style="color:#ff6600;"><strong><span style="text-decoration:underline;">FREE</span></strong></span> using <strong>Gold Pass</strong> or pay nominal fee of Rs. 3000/- ( or Rs. 2500/- before 24th July 2009 ) for <strong>Platinum pass</strong> and get a <strong><span style="color:#ff6600;">Flex Builder 3 Professional license for</span> <span style="color:#ff6600;">FREE</span></strong>.</p>
<p>You can get more details about the event and register<span style="color:#ff6600;"> </span><a rel="nofollow" title="Adobe Dev Summit 2009" target="_blank" href="http://www.endtoend.in/ete2009/adobe/devsummit/mailer.html"><span style="color:#ff6600;">here</span></a></p>
<p>Come, be there to experience the awesomeness.</p>
<p><a rel="nofollow" target="_blank" href="http://www.endtoend.in/ete2009/adobe/devsummit/mailer.html"><span style="color:#ff6600;">http://www.endtoend.in/ete2009/adobe/devsummit/mailer.html</span></a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/158/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/158/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/158/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/158/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/158/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=158&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/07/devsummit2009.jpg" medium="image">
            <media:title>Dev Summit 2009</media:title>
         </media:content>
      </item>
      <item>
         <title>Fixing Sony Reader Bug with USB Driver</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.07.15.html</link>
         <description>For some strange reason, my &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10551&amp;amp;storeId=10151&amp;amp;langId=-1&amp;amp;productId=8198552921665562069&quot;&gt;Sony&amp;#32;Reader&lt;/a&gt; (PRS-700BC) would not get
detected when plugged in. The USB device page reports that the &quot;Device
cannot be started.&quot; The Reader works fine when connected to my desktop
and for some months it was working properly on my laptop as well.
Thankfully, I was able to fix this. Here's how if you encounter the
same problem.
[...] (218 Words, CategoryGeneral)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.07.15.html</guid>
         <pubDate>Wed, 15 Jul 2009 02:20:51 -0700</pubDate>
      </item>
      <item>
         <title>Tweaking OLAPCell and OLAPDataGrid to display custom formatted values</title>
         <link>http://flexpearls.blogspot.com/2009/06/tweaking-olapcell-and-olapdatagrid-to.html</link>
         <description>Displaying custom formatted data in OLAPDataGrid is a bit tricky because OLAPDataGrid doesn't use the OLAPCell.formattedValue at all due to a bug in its implementation. &lt;p&gt;
However the tweaks I am going to mention are simple and can be used to get this to work. After the tweaks don't forget to build the datavisualization.swc using the steps I have described in one of the earlier posts. &lt;p&gt;
Modifing OLAPCell.as file : Modify the constructor to set a formatted value into the _formattedValue property &lt;p&gt;
public function OLAPCell(value:Number, formattedValue:String=null)
&lt;p&gt;
{
&lt;p&gt;
&lt;p&gt;
_value = value;
&lt;p&gt;
_formattedValue = insert any custom formatting logic using value ;
&lt;p&gt;
}
&lt;p&gt;
&lt;p&gt; Modify OLAPDataGrid.as : Somewhere around line 769 we can find the following line &lt;p&gt;
label = cell &amp;&amp; !isNaN(cell.value) ? String(cell.value) : defaultCellString; &lt;p&gt;&lt;p&gt;
Modify this to read as follows
&lt;p&gt;
label = cell &amp;&amp; !isNaN(cell.value) ? String(cell.formattedValue) : defaultCellString;
&lt;p&gt;&lt;p&gt; Build the swc and use it in your app to get custom formatting. Of-course some more tweaking it required to make this generic and supply a Flex formatter directly to OLAPDataGrid. I am sure it can be easily figured out !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-2115671403425627315?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-2115671403425627315</guid>
         <pubDate>Fri, 19 Jun 2009 12:01:00 -0700</pubDate>
      </item>
      <item>
         <title>Speaking at the Flash Platform &amp; CF pre-Launch event in Chennai</title>
         <link>http://raghuonflex.wordpress.com/2009/06/19/speaking-at-the-flash-platform-cf-pre-launch-event-in-chennai/</link>
         <description>On the 27th June 2009, The CF &amp;#38; Flex User Groups in Chennai are collaborating to conduct a Flash Platform &amp;#38; CF pre-Launch event at Hotel Dee Cee Manor in Chennai. It is a full day event with ColdFusion and Flash Platform Sessions followed by Hands-on experience using Flash Builder and ColdFusion. Bring your laptops [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=433&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=433</guid>
         <pubDate>Fri, 19 Jun 2009 00:01:04 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignleft" title="cfug1" src="http://www.akbarsait.com/blog/unbound/images//ChennaiCFUG1.gif" alt="" width="150" height="150"/><img title="cfug2" src="http://www.akbarsait.com/blog/images//PrelaunchV2_250.jpg" alt="" width="150" height="150"/></p>
<p>On the 27th June 2009, The CF &amp; Flex User Groups in Chennai are collaborating to conduct a Flash Platform &amp; CF pre-Launch event at Hotel Dee Cee Manor in Chennai. It is a full day event with ColdFusion and Flash Platform Sessions followed by Hands-on experience using Flash Builder and ColdFusion. Bring your laptops so that you can experience the software yourselves.</p>
<p>I will be there from Adobe along with <a rel="nofollow" target="_blank" href="http://www.manjukiran.net/">Manju Kiran</a>, a Sr.Lead Software Engineer Adobe ColdFusion team and will show exciting new features of the next generation of CF &amp; Flash Platform.</p>
<p>It is a free event. <a rel="nofollow" target="_blank" href="http://chennaicfugcoldfusionflashplatformpreview.eventbrite.com/">Register here</a>&#8230; Seats limited! See you all in Chennai on the 27th</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/433/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/433/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/433/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/433/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/433/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=433&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://www.akbarsait.com/blog/unbound/images//ChennaiCFUG1.gif" medium="image">
            <media:title>cfug1</media:title>
         </media:content>
         <media:content url="http://www.akbarsait.com/blog/images//PrelaunchV2_250.jpg" medium="image">
            <media:title>cfug2</media:title>
         </media:content>
      </item>
      <item>
         <title>Howto: Setup PDT &amp; Flash Builder</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/oEzcxa7Y-c8/</link>
         <description>This setup allows you to edit and debug you PHP files along with your flex application in the same instance of eclipse. All features of PDT like PHP code coloring, auto complete will be available in addition to the wonderful features that Flash Builder 4 providesJ.
1. Download Eclipse 3.4.2 based PDT All-in-One bundle a. Windows [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=140</guid>
         <pubDate>Fri, 12 Jun 2009 21:39:18 -0700</pubDate>
         <content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/phpini.png"></a></p>
<p>This setup allows you to edit and debug you PHP files along with your flex application in the same instance of eclipse. All features of PDT like PHP code coloring, auto complete will be available in addition to the wonderful features that Flash Builder 4 providesJ.</p>
<p>1. Download Eclipse 3.4.2 based PDT All-in-One bundle<br /> a. <a rel="nofollow" target="_blank" href="http://www.eclipse.org/downloads/download.php?file=/tools/pdt/downloads/drops/2.0.1/R200904281148/pdt-all-in-one-win32-2.0.1.zip">Windows<br />
</a> b. <a rel="nofollow" target="_blank" href="http://www.eclipse.org/downloads/download.php?file=/tools/pdt/downloads/drops/2.0.1/R200904281148/pdt-all-in-one-macosx-carbon-2.0.1.tar.gz">Mac OSX Carbon</a></p>
<p>2. Extract it to a location of your choice. (say C:&#92;opt&#92;eclipse)</p>
<p>3. Download XDebug dll from <a rel="nofollow" target="_blank" href="http://xdebug.org/download.php">http://xdebug.org/download.php</a>. For the purposes of this tutorial I downloaded and used <a rel="nofollow" target="_blank" href="http://xdebug.org/files/php_xdebug-2.0.4-5.2.8.dll">http://xdebug.org/files/php_xdebug-2.0.4-5.2.8.dll</a> </p>
<p>4. Place this dll at any location accessible by your php installation, the PHP home directory itself is a good location.</p>
<p>5. Add the following entries to your php.ini file:</p>
<pre class="brush:php">;
; Changes to enable XDebug
; zend_extension_ts="C:/opt/php526/php_xdebug-2.0.4-5.2.8.dll"
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.profiler_output_dir="C:/temp"
xdebug.remote_enable=On
xdebug.remote_autostart=On
xdebug.remote_host=127.0.0.1
xdebug.remote_mode=req
xdebug.remote_log="C:/temp"
</pre>
<p>You need to be extra careful while editing the php.ini file as installations like WAMP tend to have a php.ini file inside the php folder and another one inside the apache/bin folder. The one under apache/bin is used. So a good way to figure out which php.ini file is being used by your PHP installation run phpinfo() and check the value of “Loaded Configuration File”</p>
<p><img class="aligncenter size-medium wp-image-142" title="phpini" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/phpini-300x182.png" alt="" width="300" height="182"/></p>
<p>6. Restart your web server and view the phpinfo() output. XDebug should be listed there. If you don’t have a phpinfo() file, you can create one by putting the text below in a php file and saving it under your webroot. Then load the file in your browser.</p>
<pre class="brush:php">&lt;?php phpinfo();
?&gt;
</pre>
<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/xdebug-phpinfo.png"><img class="aligncenter size-medium wp-image-143" title="xdebug-phpinfo" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/xdebug-phpinfo-300x182.png" alt="" width="300" height="182"/></a></p>
<p>7. Now download the plug-in version of Flash Builder and install it. When prompted to select the host eclipse, choose the “Plug into another copy of Eclipse” option and enter the path of the eclipse installed in Step 2 – “C:&#92;opt&#92;eclipse”</p>
<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/fb-installer.png"><img class="aligncenter size-medium wp-image-144" title="fb-installer" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/fb-installer-300x213.png" alt="" width="300" height="213"/></a></p>
<p>8. Start eclipse and create a new Flex Project with server type PHP</p>
<p>9. Create/Import a new PHP service the flex project</p>
<p>10. Click on the filters icon at the top of the flex package explorer and uncheck some .* &amp; .project</p>
<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/filters.png"><img class="aligncenter size-medium wp-image-145" title="filters" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/filters-197x300.png" alt="" width="197" height="300"/></a></p>
<p>11. Create a .buildpath file right under the Flex Project and add the following content to it, take care not to overwrite the text in <strong>BOLD </strong>in your .project file:</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;</p>
<p>&lt;buildpath&gt;</p>
<p> &lt;buildpathentry kind=&#8221;src&#8221; path=&#8221;services&#8221;/&gt;</p>
<p> &lt;buildpathentry kind=&#8221;con&#8221; path=&#8221;org.eclipse.php.core.LANGUAGE&#8221;/&gt;</p>
<p>&lt;/buildpath&gt;</p>
<p>12. Update your project’s .project file to look like this:<br />
&lt;?xml version=<em>&#8220;1.0&#8243;</em> encoding=<em>&#8220;UTF-8&#8243;</em>?&gt;</p>
<p>&lt;projectDescription&gt;</p>
<p> &lt;name&gt;PdtFlexTest&lt;/name&gt;</p>
<p> &lt;comment&gt;&lt;/comment&gt;</p>
<p> &lt;projects&gt;</p>
<p> &lt;/projects&gt;</p>
<p> &lt;buildSpec&gt;</p>
<p> &lt;buildCommand&gt;</p>
<p> &lt;name&gt;org.eclipse.wst.validation.validationbuilder&lt;/name&gt;</p>
<p> &lt;arguments&gt;</p>
<p> &lt;/arguments&gt;</p>
<p> &lt;/buildCommand&gt;</p>
<p> &lt;buildCommand&gt;</p>
<p> &lt;name&gt;org.eclipse.dltk.core.scriptbuilder&lt;/name&gt;</p>
<p> &lt;arguments&gt;</p>
<p> &lt;/arguments&gt;</p>
<p> &lt;/buildCommand&gt;</p>
<p> &lt;buildCommand&gt;</p>
<p> &lt;name&gt;com.adobe.flexbuilder.project.flexbuilder&lt;/name&gt;</p>
<p> &lt;arguments&gt;</p>
<p> &lt;/arguments&gt;</p>
<p> &lt;/buildCommand&gt;</p>
<p> &lt;/buildSpec&gt;</p>
<p> &lt;natures&gt;</p>
<p> &lt;nature&gt;com.adobe.flexbuilder.project.flexnature&lt;/nature&gt;</p>
<p> &lt;nature&gt;com.adobe.flexbuilder.project.actionscriptnature&lt;/nature&gt;</p>
<p> &lt;nature&gt;org.eclipse.php.core.PHPNature&lt;/nature&gt;</p>
<p> &lt;/natures&gt;</p>
<p><strong>&lt;linkedResources&gt;</strong></p>
<p><strong>&lt;link&gt;</strong></p>
<p><strong>&lt;name&gt;bin-debug&lt;/name&gt;</strong></p>
<p><strong>&lt;type&gt;2&lt;/type&gt;</strong></p>
<p><strong>&lt;location&gt;C:/projects/www/htdocs/PdtFlexTest-debug&lt;/location&gt;</strong></p>
<p><strong>&lt;/link&gt;</strong></p>
<p><strong>&lt;link&gt;</strong></p>
<p><strong>&lt;name&gt;services/TestService.php&lt;/name&gt;</strong></p>
<p><strong>&lt;type&gt;1&lt;/type&gt;</strong></p>
<p><strong>&lt;location&gt;C:/projects/www/htdocs/PdtFlexTest-debug/services/TestService.php&lt;/location&gt;</strong></p>
<p><strong>&lt;/link&gt;</strong></p>
<p><strong>&lt;/linkedResources&gt;</strong></p>
<p>&lt;/projectDescription&gt;</p>
<p>13. Now click on the Debug menu and go to Debug configurations, create a new “PHP Web Page” debug configuration.</p>
<p><a rel="nofollow" target="_blank" href="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/pdt-debug-config.png"><img class="aligncenter size-medium wp-image-146" title="pdt-debug-config" src="http://www.geekzguru.net/blog/wp-content/uploads/2009/06/pdt-debug-config-300x224.png" alt="" width="300" height="224"/></a></p>
<p>14. Click on debug, the browser will open and this debug session in PDT will wait for the service class to be invoked.</p>
<p>15. Now launch your flex application which uses this services, the PDT debugger should break at the first line of gateway.php. In case you would like the debugger to break on a breakpoint in the service class, uncheck the “Break at First Line” option in the Debug launch configuration and place a break point on the exact line in the service file where you would like the debugger to stop.</p>
<p>That’s all there is to it J. You can now edit your PHP code and Flex code in the same instance of eclipse. Full coloring, autocomplete and other PDT feature support for editing your PHP file in addition to all the awesome features of Flash Builder for editing you Flex applications J.</p>
<p>Enjoyyy!!!</p>]]></content:encoded>
      </item>
      <item>
         <title>Loading SVG content in Flex Apps</title>
         <link>http://raghuonflex.wordpress.com/2009/06/10/loading-svg-content-in-flex-apps/</link>
         <description>This is a question that is often asked to me. A lot of people have complex graphics done in SVG and want to leverage it in their Flex apps. Its actually quite simple.
Like any asset used in your app, copy the svg files into your project structure. You can use the Image control (mx.controls.Image) to [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=424&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=424</guid>
         <pubDate>Wed, 10 Jun 2009 04:19:08 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is a question that is often asked to me. A lot of people have complex graphics done in SVG and want to leverage it in their Flex apps. Its actually quite simple.</p>
<p>Like any asset used in your app, copy the svg files into your project structure. You can use the <em>Image </em>control (<em>mx.controls.Image</em>) to draw SVG content. Just that the source has to pointed to classes containing the SVG content instead of the images as you do with JPG and PNG assets. Here is a small bit of code that generated the following result</p>
<p><strong><span style="text-decoration:underline;">Code</span></strong></p>
<blockquote><p><em>&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; backgroundColor=&#8221;0xffffff&#8221; layout=&#8221;horizontal&#8221;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
[Embed(source="assets/bird.svg")]<br />
[Bindable]<br />
public var bird:Class;</em></p>
<p><em>[Embed(source="assets/tux.svg")]<br />
[Bindable]<br />
public var tux:Class;</em></p>
<p><em>]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:Image source=&#8221;{tux}&#8221;/&gt;<br />
&lt;mx:Image source=&#8221;{bird}&#8221;/&gt;<br />
&lt;/mx:Application&gt;</em></p></blockquote>
<p><span style="text-decoration:underline;"><strong>Result</strong></span></p>
<p style="text-align:center;">
<img class="aligncenter" src="http://farm4.static.flickr.com/3339/3612984115_b9fb062688.jpg" alt="" width="439" height="313"/></p>
<p style="text-align:left;">The SVGs I have used can be found here:</p>
<ul>
<li><a rel="nofollow" target="_blank" href="http://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg">Tux SVG</a></li>
<li><a rel="nofollow" target="_blank" href="http://upload.wikimedia.org/wikipedia/commons/c/cf/Caligrafia_arabe_pajaro.svg">Bird SVG</a></li>
</ul> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/424/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/424/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/424/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/424/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/424/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=424&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://farm4.static.flickr.com/3339/3612984115_b9fb062688.jpg" medium="image"/>
      </item>
      <item>
         <title>How Service calls work in Flex</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/aaKuWmnOM9E/</link>
         <description>Nice explanation by Tom Lane about the inherent async nature of all service calls in flex and how call responders help a user work with the results returned by such services calls.
&amp;#60;snip url=&amp;#8221;http://forums.adobe.com/message/2017154#2017154&amp;#8243;&amp;#62;
Let me take a shot at explaining asynchronous calls. Most PHP/CF/web developers are used to calling functions in one way only: synchronously. In [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=135</guid>
         <pubDate>Tue, 09 Jun 2009 01:48:00 -0700</pubDate>
         <content:encoded><![CDATA[<p>Nice explanation by Tom Lane about the inherent async nature of all service calls in flex and how call responders help a user work with the results returned by such services calls.</p>
<p>&lt;snip url=&#8221;http://forums.adobe.com/message/2017154#2017154&#8243;&gt;</p>
<p>Let me take a shot at explaining asynchronous calls. Most PHP/CF/web developers are used to calling functions in one way only: synchronously. In ActionScript a sychronous function call looks like this:</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>var stuff = getStuff();</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>Pretty straightforward. It&#8217;s how you expect functions to work: you call them, and then immediately on line #2 of this example you have a value in the stuff variable to work with.</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>But when it comes to calling remote functions on services sitting on a server somewhere, Flex calls them asynchronously. This is so that the Flex client can continue working while the request is pending. An aync call looks more like this (at least, the first part):</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>responder.token = getStuffFromService();</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>What this means is, &#8220;stuff&#8221; does not come back right away as the result of the function. Instead, what it returns is a kind of ticket. Sort of like ordering some food from a lunch counter and getting a receipt with a number on it. You don&#8217;t get your food right away. Instead, you go hang out or do some other stuff while your order is pending, and then your number is called when it&#8217;s ready. And then you &#8220;respond&#8221; to your number.</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>Well, that&#8217;s what a CallResponder is. When you &#8220;place your order&#8221;, you hook up a CallResponder to it. When your order is ready (data comes back from the service call), the responder kicks into action. It fires a result event (or a fault if something went wrong), and it updates its bindable lastResult property.</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>So, if you want to work with data from an async call, you can&#8217;t simply do it on line #2 of the above snippet. You have to wait until the CallResponder for that call gets its result. If you create a databinding to lastResult, that will automatically update when the result is ready. But since you want to run some script on the result, you have to trigger that script from the CallResponder&#8217;s result event handler.</p>
<p style="padding:0px;min-height:8pt;height:8pt;">
<p>Does that help? Async is definitely a new concept for many web developers to wrap their heads around. But it lets you build some interesting UIs once you get the hang of it.</p>
<p>&lt;/snip&gt;</p>
<p>Hope this helps &#8230;</p>
<p>Enjoyyy !!!</p>]]></content:encoded>
      </item>
      <item>
         <title>CallResponders explained..</title>
         <link>http://flexpearls.blogspot.com/2009/06/callresponders-explained.html</link>
         <description>Here is some explanation about CallResponders by &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://labs.adobe.com/technologies/flash/videos/flashcamp/lane/&quot;&gt;Tom Lane&lt;/a&gt;. I thought this would be useful to many developers who want to understand more about them so that it becomes easy to work with them. &lt;p&gt;
&quot;Let me take a shot at explaining asynchronous calls. Most PHP developers are used to calling functions in one way only: synchronously. In ActionScript a sychronous function call looks like this: &lt;p&gt;
var stuff = getStuff(); &lt;p&gt;Pretty straightforward. It's how you expect functions to work: you call them, and then immediately on line #2 of this example you have a value in the stuff variable to work with. &lt;p&gt;But when it comes to calling remote functions on services sitting on a server somewhere, Flex calls them asynchronously. This is so that the Flex client can continue working while the request is pending. An aync call looks more like this (at least, the first part): &lt;p&gt;responder.token = getStuffFromService(); &lt;p&gt;&lt;p&gt;What this means is, &quot;stuff&quot; does not come back right away as the result of the function. Instead, what it returns is a kind of ticket. Sort of like ordering some food from a lunch counter and getting a receipt with a number on it. You don't get your food right away. Instead, you go hang out or do some other stuff while your order is pending, and then your number is called when it's ready. And then you &quot;respond&quot; to your number. &lt;p&gt;Well, that's what a CallResponder is. When you &quot;place your order&quot;, you hook up a CallResponder to it. When your order is ready (data comes back from the service call), the responder kicks into action. It fires a result event (or a fault if something went wrong), and it updates its bindable lastResult property. &lt;p&gt;So, if you want to work with data from an async call, you can't simply do it on line #2 of the above snippet. You have to wait until the CallResponder for that call gets its result. If you create a databinding to lastResult, that will automatically update when the result is ready. But since you want to run some script on the result, you have to trigger that script from the CallResponder's result event handler. &lt;p&gt;Hope this helps!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-328205419788862798?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-328205419788862798</guid>
         <pubDate>Mon, 08 Jun 2009 13:44:00 -0700</pubDate>
      </item>
      <item>
         <title>Showing different icons in each cell of OLAPDataGrid based on the cell value</title>
         <link>http://flexpearls.blogspot.com/2009/06/showing-different-icons-in-each-cell-of.html</link>
         <description>I have been getting few queries on how to show different icons based on the cell value in a OLAPDataGrid. &lt;p&gt;
Here is a screen shot of how it looks:
&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://4.bp.blogspot.com/_sh8W7P3dJgY/SiszVSU1yKI/AAAAAAAAACU/1IuA8WuSqtY/s1600-h/OLAPColors.PNG&quot;&gt;&lt;img style=&quot;display:block;margin:0px auto 10px;text-align:center;cursor:pointer;cursor:hand;width:400px;height:219px;&quot; src=&quot;http://4.bp.blogspot.com/_sh8W7P3dJgY/SiszVSU1yKI/AAAAAAAAACU/1IuA8WuSqtY/s400/OLAPColors.PNG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5344421823594743970&quot;/&gt;&lt;/a&gt;
&lt;p&gt; Here are the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPColorTest.zip&quot;&gt;source&lt;/a&gt; files. &lt;p&gt;
The technique is simple. Create a custom itemRenderer which can display a icon and text or anything to suite your needs. Make sure it implements the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/IDropInListItemRenderer.html&quot;&gt;IDropInListItemRenderer&lt;/a&gt; interface. In the setter of listData add the logic to change the icon based on the value. Set this as itemRenderer of the OLAPDataGrid. &lt;p&gt;The sample shows this using a renderer derived from Canvas with a image control and embedded image files. You can use other light weight techniques like coloring a sprite and using UIComponent as base. If you are adventurous you can try tweaking or deriving from OLAPDataGridItemRenderer itself.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-6890378855716368673?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-6890378855716368673</guid>
         <pubDate>Sat, 06 Jun 2009 13:08:00 -0700</pubDate>
         <media:thumbnail width="72" url="http://4.bp.blogspot.com/_sh8W7P3dJgY/SiszVSU1yKI/AAAAAAAAACU/1IuA8WuSqtY/s72-c/OLAPColors.PNG" height="72" xmlns:media="http://search.yahoo.com/mrss/"/>
      </item>
      <item>
         <title>Blogs on Data Centric Development workflows in FlashBuilder 4 for PHP, HTTPService, ColdFusion and WebService</title>
         <link>http://flexpearls.blogspot.com/2009/06/blogs-on-data-centric-development.html</link>
         <description>Here are some great blogs on how to use DCD feature in FlashBuilder 4: &lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.geekzguru.net/howto-connect-a-flex-application-to-database-for-php-developers/&quot;&gt;Howto: Connect a flex application to database (for PHP developers)&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.geekzguru.net/howto-use-createitem-method-of-the-generated-sample-php-file/&quot;&gt;Howto: Use createItem method of the generated sample PHP file&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.geekzguru.net/howto-use-the-update-and-delete-methods-of-the-generated-sample-code/&quot;&gt;Howto: Use the update and delete methods of the generated sample code&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.geekzguru.net/howto-enable-automatic-paging-support-for-any-server-technology/&quot;&gt;Howto: Enable Automatic Paging in Flex Applications for Any Kind of Service&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sujitreddyg.wordpress.com/flash-builder-4/&quot;&gt;A list of many articles on Sujit's blog&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://balajisridhar.wordpress.com/2009/06/06/flash-builder-4-makes-a-new-marriage-proposal-between-flex-and-java/&quot;&gt;BlazeDS support&lt;/a&gt;
&lt;p&gt;&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://srinivasannam.wordpress.com/2009/06/03/using-webservice-dcd/&quot;&gt;Using web-services with DCD workflow&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-504606365226631161?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-504606365226631161</guid>
         <pubDate>Sat, 06 Jun 2009 11:46:00 -0700</pubDate>
      </item>
      <item>
         <title>Howto: Use the update and delete methods of the generated sample code</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/IFh2xDlHRxA/</link>
         <description>Related posts:
1. Howto: Connect a flex application to database (for PHP developers)
2. Howto: Use createItem method of the generated sample PHP file
The following video shows how simple it is to connect the PHP sample&amp;#8217;s update and delete methods to your flex application.
http://my.adobe.acrobat.com/p77178814/
Now we have a fully functional CRUD application.
The next post will discuss how client [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=132</guid>
         <pubDate>Sat, 06 Jun 2009 11:06:03 -0700</pubDate>
         <content:encoded><![CDATA[<p>Related posts:</p>
<p><a rel="nofollow">1. Howto: Connect a flex application to database (for PHP developers)</a><br />
<a rel="nofollow">2. Howto: Use createItem method of the generated sample PHP file</a></p>
<p>The following video shows how simple it is to connect the PHP sample&#8217;s update and delete methods to your flex application.</p>
<p><a rel="nofollow" class="jive-link-external-small" target="_blank" href="http://my.adobe.acrobat.com/p77178814/">http://my.adobe.acrobat.com/p77178814/</a></p>
<p>Now we have a fully functional CRUD application.</p>
<p>The next post will discuss how client side data management can take this CRUD application to the next level :).</p>
<p>Enjoyyy!!!</p>]]></content:encoded>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>Howto: Use createItem method of the generated sample PHP file</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/_Gj0hgNlWNs/</link>
         <description>The generated sample PHP in FB has 5 methods/functions: getAllItems()
getItem($itemID)
createItem($item)
updateItem($item)
count()
getItems_paged($startIndex, $numItems) These methods help you easily use the client side data management functionalities of FB. Before we reach the final goal of using client side data management, we&amp;#8217;ll explore how these methods would be used conventionally.
My previous post explained how you can connect to the getAllItems() method [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=127</guid>
         <pubDate>Sat, 06 Jun 2009 08:48:40 -0700</pubDate>
         <content:encoded><![CDATA[<p>The generated <a rel="nofollow" target="_blank" href="http://www.geekzguru.net/howto-connect-a-flex-application-to-database-for-php-developers/">sample PHP</a> in FB has 5 methods/functions:</p>
<ul>
<li>getAllItems()</li>
<li>getItem($itemID)</li>
<li>createItem($item)</li>
<li>updateItem($item)</li>
<li>count()</li>
<li>getItems_paged($startIndex, $numItems)</li>
</ul>
<p>These methods help you easily use the client side data management functionalities of FB. Before we reach the final goal of using client side data management, we&#8217;ll explore how these methods would be used conventionally.</p>
<p>My <a rel="nofollow" target="_blank" href="http://www.geekzguru.net/howto-connect-a-flex-application-to-database-for-php-developers/">previous post</a> explained how you can connect to the getAllItems() method of the generated file. This post I&#8217;ll explain how to configure and use the createItem method.</p>
<p>Video - <a rel="nofollow" target="_blank" href="http://my.adobe.acrobat.com/p15003296/">http://my.adobe.acrobat.com/p15003296/</a><a rel="nofollow" target="_blank" href="http://my.adobe.acrobat.com/p81877975/"></a></p>
<p>Next post I&#8217;ll cover delete and update.</p>
<p>Enjoyyy!!!</p>]]></content:encoded>
      </item>
      <item>
         <title>Loads of new features in Flash Builder 4…</title>
         <link>http://techrays.wordpress.com/2009/06/06/loads-of-new-features-in-flash-builder-4/</link>
         <description>The new Flash Builder 4 (formerly Flex Builder) is out in its Beta. It has loads of new features. Some of them are -
Developer Productivity &amp;#8211; Event Handler generation, Getter/setter generation code indentation, file templates, etc..
Debugging &amp;#8211; Contitional Breakpoint, Run to line, etc..
Working with data in a brand new way (Data Centric Development) &amp;#8211; Connecting [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=32&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=32</guid>
         <pubDate>Sat, 06 Jun 2009 03:03:15 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>The new Flash Builder 4 (formerly Flex Builder) is out in its Beta. It has loads of new features. Some of them are -<br />
Developer Productivity &#8211; Event Handler generation, Getter/setter generation code indentation, file templates, etc..<br />
Debugging &#8211; Contitional Breakpoint, Run to line, etc..<br />
Working with data in a brand new way (Data Centric Development) &#8211; Connecting to HTTPService, WEBService, PHP, ColdFusion, BlazeDS, LCDS has been made so easy.<br />
Flex Unit Support.<br />
and many more&#8230;.</p>
<p>Useful links -<br />
Download &#8211; <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">http://labs.adobe.com/technologies/flashbuilder4/</a><br />
What&#8217;s new &#8211; <a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html">http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html</a><br />
List of Articles &#8211; <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4/">http://sujitreddyg.wordpress.com/flash-builder-4/</a><br />
Don&#8217;t forget to log the issues/enhancement you encounter in the bug-base here &#8211; <a rel="nofollow" target="_blank" href="http://bugs.adobe.com/flex">http://bugs.adobe.com/flex</a></p>
<p>Go ahead, download it and give us feedback to make it better.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/32/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=32&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Using WebServices with Data Centric Development in Flash Builder 4</title>
         <link>http://srinivasannam.wordpress.com/2009/06/03/using-webservice-dcd/</link>
         <description>As promised, here is my first post on how to use WebServices with Data Centric Development workflows in Flash Builder 4.
Links Introduction to Data Centric Development in Flash Builder 4 (Gumbo)
http://en.wikipedia.org/wiki/Webservice In this tutorial, We are going to create a Flex application which uses Zenfolio WebService to search &amp;#38; display images. Below is the final output of this [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=115&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=115</guid>
         <pubDate>Wed, 03 Jun 2009 03:18:01 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>As promised, here is my first post on how to use WebServices with Data Centric Development workflows in Flash Builder 4.</p>
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Links</span></span></strong></h4>
<ul>
<li><a rel="nofollow" target="_blank" href="http://srinivasannam.wordpress.com/2009/06/01/introduction_to_dcd/"><span style="color:#ff6600;">Introduction to Data Centric Development in Flash Builder 4 (Gumbo)</span></a></li>
<li><a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Webservice"><span style="color:#ff6600;">http://en.wikipedia.org/wiki/Webservice</span></a></li>
</ul>
<p>In this tutorial, We are going to create a Flex application which uses Zenfolio WebService to search &amp; display images. Below is the final output of this tutorial</p>
<p><img class="aligncenter size-full wp-image-130" title="FinalApplication" src="http://srinivasannam.files.wordpress.com/2009/06/finalapplication.jpg?w=430&#038;h=397" alt="FinalApplication" width="430" height="397"/></p>
<p>You can download the source of this entire project from <a rel="nofollow" target="_blank" href="http://toosweetvasu.googlepages.com/ZenFolioProject.fxp"><span style="color:#ff6600;">here</span></a></p>
<p>So, lets get started with the tutorial now.</p>
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Step 1 : Import WebService</span></span></strong></h4>
<p><strong><span style="text-decoration:underline;"><br />
</span></strong></p>
<p><strong><span style="text-decoration:underline;"><img class="aligncenter size-full wp-image-126" title="ConnectToWebservice" src="http://srinivasannam.files.wordpress.com/2009/06/connecttowebservice.jpg?w=400&#038;h=445" alt="ConnectToWebservice" width="400" height="445"/></span></strong></p>
<p><strong><span style="text-decoration:underline;"><br />
</span></strong></p>
<ul>
<li>Create a new Flex project and go to &#8220;Data-&gt;Connect to WebService&#8221; menu item.</li>
<li>Enter some name for your Service say &#8220;<strong>ZenfolioService&#8221; </strong>without quotes. You can enter any name and this will be used to uniquely refer your WebService inside your project</li>
<li>Enter the URL of your WebService. I&#8217;m going to Zenfolio&#8217;s WebService i.e. <a rel="nofollow" target="_blank" href="http://www.zenfolio.com/api/1.0/zfapi.asmx?WSDL">http://www.zenfolio.com/api/1.0/zfapi.asmx?WSDL</a></li>
<li>You can click &#8220;Next&#8221; &amp; choose &#8220;ZfApiSoap&#8221; from port combo box. This would automatically be selected for most of the WebServices.</li>
<li>Click &#8220;Select All&#8221; button to select all operations or optionally you could also select only few operations that you are going to use in this project.</li>
<li>Click on &#8220;Finish&#8221; button.</li>
</ul>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Step 2 : Explore WebService</span></span></strong></h4>
<p><strong><span style="text-decoration:underline;"><br />
</span></strong></p>
<p><strong><span style="text-decoration:underline;"><img class="aligncenter size-full wp-image-127" title="DataServicePanel" src="http://srinivasannam.files.wordpress.com/2009/06/dataservicepanel.jpg?w=380&#038;h=278" alt="DataServicePanel" width="380" height="278"/><br />
</span></strong></p>
<ul>
<li>Have a look at &#8220;Data/Services&#8221; panel placed next to &#8220;Problems&#8221; view or Choose &#8220;Window-&gt;Data/Services&#8221; if the view is not available already.</li>
<li>You can see that the WebService is introspected and all the Data types &amp; Operations/Methods/Functions inside your WebService along with its signatures are displayed under your service name i.e. &#8220;ZenfolioService&#8221;.</li>
<li>Thats the beauty of Data Centric Development. It makes your life a lot easier while working with your backends.</li>
<li>We are going to use a method/operation called &#8220;GetPopularPhotos&#8221; which is available inside this WebService and as you can see in the &#8220;Data/Services&#8221; panel, this operation is taking two parameters namely &#8220;offset&#8221; &amp; &#8220;limit&#8221; and returning an array of &#8220;Photo&#8221; objects as output.</li>
</ul>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Step 3 : Bind Components to Data</span></span></strong></h4>
<p><strong><span style="text-decoration:underline;"><img class="aligncenter size-full wp-image-129" title="ZenfolioDesignView" src="http://srinivasannam.files.wordpress.com/2009/06/zenfoliodesignview.jpg?w=430&#038;h=286" alt="ZenfolioDesignView" width="430" height="286"/><br />
</span></strong></p>
<ul>
<li>As shown in the screenshot, place a &#8220;Label&#8221; on top as header, &#8220;List&#8221; component on the left side and an &#8220;Image&#8221; component to the right of &#8220;List&#8221;.</li>
<li>Enter the &#8220;ID&#8221; for Image component as &#8220;imgPhoto&#8221;</li>
<li>Now, we need to bind the response of &#8220;GetPopularPhotos&#8221; to the &#8220;List&#8221; component in our UI. So, select the List in Design View and choose &#8220;Bind to data&#8221; in context-menu that comes when you right-click on this component.</li>
<li>Select &#8220;GetPopularPhotos&#8221; operation from &#8220;Operation&#8221; combo that appears in &#8220;Bind to Data&#8221; dialog and select &#8220;Title&#8221; from &#8220;Bind to field&#8221; combo box.</li>
<li>As &#8220;GetPopularPhotos&#8221; operation is expecting two arguments, you will automatically be taken to Code view where you need to enter values for arguments for example &#8220;1,50&#8243;. So, your final call would look something like below</li>
</ul>
<p style="padding-left:30px;"><span style="font-family:Monaco;line-height:normal;font-size:11px;"><strong>GetPopularPhotosResult.token = zenfolioService.GetPopularPhotos(1,50);</strong></span></p>
<p style="font:normal normal normal 11px/normal Monaco;padding-left:90px;margin:0;"><span style="text-decoration:underline;"><br />
</span></p>
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Step 4 : Display image on selection</span></span></strong></h4>
<p><strong><span style="text-decoration:underline;"><span style="color:#000000;"><br />
</span></span></strong></p>
<ul>
<li>Select the &#8220;List&#8221; component in Design View, right-click on it and choose &#8220;Generate SelectionChanged handler&#8221;</li>
<li>An event handler function is automatically generated for you and this function will automatically be called when user selects an item from List at runtime.</li>
<li>Type below like in the event handler function that got generated.</li>
</ul>
<p style="padding-left:30px;"><strong>imgPhoto.source = &#8220;http://www.zenfolio.com&#8221; + list.selectedItem.UrlCore + &#8221;-4.jpg&#8221;</strong>;</p>
<h4><strong><span style="text-decoration:underline;"><span style="color:#000000;">Step 5 : Beautification</span></span></strong></h4>
<p><strong><span style="font-weight:normal;"><br />
</span></strong></p>
<ul>
<li>I added a rectangle using the new &#8220;&lt;s:Rect&gt;&#8221; component.</li>
<li>I added an &#8220;ItemRenderer&#8221; to display thumbnail image instead of text in List.</li>
<li>You could get the code for above two beautifications from the project source posted here</li>
</ul>
<p style="padding-left:30px;"><img class="aligncenter size-full wp-image-130" title="FinalApplication" src="http://srinivasannam.files.wordpress.com/2009/06/finalapplication.jpg?w=430&#038;h=397" alt="FinalApplication" width="430" height="397"/></p>
<p>You can download the source of this entire project from <a rel="nofollow" target="_blank" href="http://toosweetvasu.googlepages.com/ZenFolioProject.fxp"><span style="color:#ff6600;">here</span></a></p>
<p>I hope that you all enjoyed this tutorial. Please feel free to mail me back on your Comments/Feedback/Questions that you may have.</p>
<p>More articles on Flash Builder 4 can be found <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4/"><span style="color:#ff6600;">here</span></a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/115/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/115/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/115/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/115/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/115/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=115&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/finalapplication.jpg" medium="image">
            <media:title>FinalApplication</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/connecttowebservice.jpg" medium="image">
            <media:title>ConnectToWebservice</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/dataservicepanel.jpg" medium="image">
            <media:title>DataServicePanel</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/zenfoliodesignview.jpg" medium="image">
            <media:title>ZenfolioDesignView</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/finalapplication.jpg" medium="image">
            <media:title>FinalApplication</media:title>
         </media:content>
      </item>
      <item>
         <title>Howto: Enable Automatic Paging in Flex Applications for Any Kind of Service</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/8ZTvnRgKwmk/</link>
         <description>Nice post from Sujit -&amp;#62; http://sujitreddyg.wordpress.com/2009/06/03/built-in-data-paging-using-flash-builder-4/
The post takes PHP as a sample service, the same workflow holds good for all services in Flash Builder. One of the cool benefits of using Services and DCD workflow in Flash Builder 4.
One point to note while trying to enable paging for functions you write on your own. For [...]</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=115</guid>
         <pubDate>Tue, 02 Jun 2009 23:28:54 -0700</pubDate>
         <content:encoded><![CDATA[<p>Nice post from Sujit -&gt; <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/2009/06/03/built-in-data-paging-using-flash-builder-4/">http://sujitreddyg.wordpress.com/2009/06/03/built-in-data-paging-using-flash-builder-4/</a></p>
<p>The post takes PHP as a sample service, the same workflow holds good for all services in Flash Builder. One of the cool benefits of using Services and DCD workflow in Flash Builder 4.</p>
<p>One point to note while trying to enable paging for functions you write on your own. For PHP &amp; CF, the operation should contain two parameters startIndex and numItems as the last two parameters of the operation. Their types should be number/int.</p>
<pre style="white-space:pre-wrap;">getItems_paged($startIndex, $numItems)</pre>
<p>For Java the name restriction is relaxed, but the type of the last two parameters should be int.</p>
<p>Once paging is enabled for an operation, the data will be paged automatically by the flex controls! How cool is that :). Paging enabled operations can then be bound to data-driven controls like datagrid, list controls, combo box, advanced data grid and tree. These controls take care of asking of invoking the paging enabled operation to fetch the required data.</p>
<p>Short video (<a rel="nofollow" target="_blank" href="http://my.adobe.acrobat.com/p27433395/">http://my.adobe.acrobat.com/p27433395/</a>) showing the paging enabled operation working with a tree :).</p>
<p>Enjoyyy!!!</p>]]></content:encoded>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>[Bookmark This Page] Aggregation of Flash Builder 4 Blog Posts</title>
         <link>http://feedproxy.google.com/~r/geekzguru/~3/TujD4EeaJqE/</link>
         <description>My colleague and good friend, Sujit is aggreagating some of the very cool tutorials, articles and feature walk-through posts by the Flash Builder &amp;#38; Evangelism teams. Be sure you book mark it. You can see it here:
http://sujitreddyg.wordpress.com/flash-builder-4/</description>
         <guid isPermaLink="false">http://www.geekzguru.net/?p=113</guid>
         <pubDate>Tue, 02 Jun 2009 20:46:05 -0700</pubDate>
         <content:encoded><![CDATA[<p>My colleague and good friend, Sujit is aggreagating some of the very cool tutorials, articles and feature walk-through posts by the Flash Builder &amp; Evangelism teams. Be sure you book mark it. You can see it here:</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4/"><strong>http://sujitreddyg.wordpress.com/flash-builder-4/</strong></a></p>]]></content:encoded>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>[Bookmark This Page] Aggregation of Flash Builder 4 Blog Posts</title>
         <link>http://raghuonflex.wordpress.com/2009/06/01/bookmark-this-page-aggregation-of-flash-builder-4-blog-posts/</link>
         <description>My colleague and good friend, Sujit is aggreagating some of the very cool tutorials, articles and feature walk-through posts by the Flash Builder &amp;#38; Evangelism teams. Be sure you book mark it. You can see it here:
http://sujitreddyg.wordpress.com/flash-builder-4/ &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=415&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=415</guid>
         <pubDate>Mon, 01 Jun 2009 05:19:08 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>My colleague and good friend, Sujit is aggreagating some of the very cool tutorials, articles and feature walk-through posts by the Flash Builder &amp; Evangelism teams. Be sure you book mark it. You can see it here:</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4/"><strong>http://sujitreddyg.wordpress.com/flash-builder-4/</strong></a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/415/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/415/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/415/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/415/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/415/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=415&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
      </item>
      <item>
         <title>Connecting to WebServices with the Data Centric Development (DCD) feature in Flash Builder 4 – Part 3</title>
         <link>http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-3/</link>
         <description>This is Part 3 of a 3 part series: Part 1 &amp;#8211; Importing the Service
Part 2 &amp;#8211; Integrating the Service with UI Part 3 &amp;#8211; Complete Screen cast of the work flow This is a continuation posts about working with Web Services in Flash Builder 4. Here you can see the screen cast of the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=388&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=388</guid>
         <pubDate>Mon, 01 Jun 2009 04:53:14 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><em>This is Part 3 of a 3 part series:</em></strong></p>
<ul>
<li><strong> <em>Part 1 &#8211; </em></strong><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/"><strong><em>Importing the Service</em></strong></a></li>
<li><strong><em>Part 2 &#8211; <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/">Integrating the Service with UI</a></em></strong></li>
<li><strong> <em>Part 3 &#8211; </em></strong><strong><em><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-3/">Complete Screen cast of the work flow</a><br />
</em></strong></li>
</ul>
<p><strong> </strong></p>
<p>This is a continuation posts about working with Web Services in Flash Builder 4. Here you can see the screen cast of the whole work flow that I described in the other 2 parts. To view the screen cast, click on the image below or <a rel="nofollow" target="_blank" href="http://rrao.host.adobe.com/screencasts/DCD_WS.swf">download it here</a> (right-click and select Save-As) <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://rrao.host.adobe.com/screencasts/DCD_WS.swf"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/screencast.PNG" alt="" width="427" height="355"/></a></p>
<p style="text-align:center;"><em>Click on the image above to see the screen cast</em></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/388/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/388/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/388/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/388/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/388/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=388&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/screencast.PNG" medium="image"/>
      </item>
      <item>
         <title>Connecting to WebServices with the Data Centric Development (DCD) feature in Flash Builder 4 – Part 2</title>
         <link>http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/</link>
         <description>This is Part 2 of a 3 part series: Part 1 &amp;#8211; Importing the Service
Part 2 &amp;#8211; Integrating the Service with UI Part 3 &amp;#8211; Complete Screen cast of the work flow This is a continuation of my Web Services import which was discussed in Part 1. Once you have imported the Web Service it’s [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=381&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=381</guid>
         <pubDate>Mon, 01 Jun 2009 04:53:03 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><em>This is Part 2 of a 3 part series:</em></strong></p>
<ul>
<li><strong> <em>Part 1 &#8211; </em></strong><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/"><strong><em>Importing the Service</em></strong></a></li>
<li><strong><em>Part 2 &#8211; <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/">Integrating the Service with UI</a></em></strong></li>
<li><strong> <em>Part 3 &#8211; </em></strong><strong><em><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-3/">Complete Screen cast of the work flow</a></em></strong></li>
</ul>
<p><strong> </strong></p>
<p>This is a continuation of my <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/">Web Services import which was discussed in Part 1</a>. Once you have imported the Web Service it’s time to build the UI and bind the service to it.</p>
<p><strong><span style="text-decoration:underline;">Step 3 – Building the UI</span></strong></p>
<p>Go to the design view and drag and drop a ComboBox. Right click and click on “<em>Bind to Data</em>”.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_1.PNG" alt="" width="451" height="496"/></p>
<p>This throws a wizard where you can choose the service you want to bind it to, which in this case is <em>getCountries().</em></p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_2.PNG" alt="" width="367" height="339"/></p>
<p>Click &#8220;OK&#8221; and run the application. You should see the following</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_3.PNG" alt="" width="274" height="163"/></p>
<p>Now lets get the population details for a selected item on the combobox. This is simple. Click on the ComboBox and click “Generate Details Form”</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_4.PNG" alt="" width="374" height="415"/></p>
<p>This throws a pop-up where you can choose which operation to call on change and what to display.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_5.PNG" alt="" width="451" height="496"/></p>
<p>It automatically redirects to the code view and ask you to provide the parameter for the <em>getPopulation()</em> method.</p>
<p align="center">So change</p>
<p>protected function comboBox_changeHandler(event:ListEvent):void</p>
<p>{ getPopulationResult.token = populationService.getPopulation(<strong><em>strCountry</em></strong>);}</p>
<p align="center">To</p>
<p>protected function comboBox_changeHandler(event:ListEvent):void</p>
<p>{getPopulationResult.token = populationService.getPopulation(<strong><em>comboBox.selectedItem.toString()</em></strong>);}</p>
<p>Now go to design view, reposition the generated Form and run the app and we have a fully functional application served by a webservice. Just to make it pretty, I added a prompt to the ComboBox.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_6.PNG" alt="" width="276" height="178"/></p>
<p style="text-align:left;">In <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-3/">the next part</a>, you can see a screencast of the workflow that was defined in <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/">Part 1</a> &amp; <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/">Part 2</a>.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/381/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/381/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/381/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/381/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/381/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=381&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_1.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_2.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_3.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_4.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_5.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part2_6.PNG" medium="image"/>
      </item>
      <item>
         <title>Connecting to WebServices with the Data Centric Development (DCD) feature in Flash Builder 4 – Part 1</title>
         <link>http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/</link>
         <description>This is Part 1 of a 3 part series: Part 1 &amp;#8211; Importing the Service
Part 2 &amp;#8211; Integrating the Service with UI Part 3 &amp;#8211; Complete Screen cast of the work flow Web Services are an integral part of the SOA infrastructure and also a preferred way of exposing services, especially in the Enterprise. The new [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=372&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=372</guid>
         <pubDate>Mon, 01 Jun 2009 04:52:26 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><em>This is Part 1 of a 3 part series:</em></strong></p>
<ul>
<li><strong> <em>Part 1 &#8211; </em></strong><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-1/"><strong><em>Importing the Service</em></strong></a></li>
<li><strong><em>Part 2 &#8211; <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/">Integrating the Service with UI</a></em></strong></li>
<li><strong> <em>Part 3 &#8211; </em></strong><strong><em><a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-3/">Complete Screen cast of the work flow</a></em></strong></li>
</ul>
<p><strong></strong><br />
<a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Web_service">Web Services</a> are an integral part of the SOA infrastructure and also a preferred way of exposing services, especially in the Enterprise. The new Services Wizards feature in Flash Builder 4 makes it extremely simple to work with Web Services.</p>
<p>To work with the Services Wizard which is part of the Data Centric Design feature in Flash Builder 4 ( for connecting to HTTPService, Web Services or Remoting using any back-end technologies like Java, PHP, CF… etc) you need to do the following:</p>
<ol>
<li>Add the service</li>
<li>Configure Return Type (create client-side Model classes by inspecting the service)</li>
<li>Call the service and bind it to UI Controls</li>
</ol>
<p>Before I start to explain how to access Web Service (WS) from Flash Builder, let me discuss some aspects of the WS Architecture. A <a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Web_Services_Description_Language">WSDL(Web Service Description Language) Document</a> is what signify how a WS is exposed. On a high-level, each WS has the following:</p>
<ul>
<li>Elements</li>
<li>Complex-types</li>
<li>Messages</li>
<li>Operations</li>
</ul>
<p>Each operation will have an input &amp; output message and each message may be built with an element or complex-types. We will be using <a rel="nofollow" target="_blank" href="http://www.abundanttech.com/WebServices/Population/population.asmx?WSDL">this Population WS</a> (click to see the WSDL file) for serving data to our application. We will use the following operations:</p>
<ul>
<li>getCountries – to get the various countries for which data is available.</li>
<li>getPopulation – for getting the population of a selected country.</li>
</ul>
<p>Let’s get started:</p>
<p><strong><span style="text-decoration:underline;">Step 1: Create Project</span></strong></p>
<p>Begin by creating a new Project [File&gt;New&gt;Flex Project]. Type a name and press finish…</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_1.PNG" alt="" width="451" height="496"/></p>
<p><strong><span style="text-decoration:underline;">Step 2: Import the Service</span></strong></p>
<p>In your Flash Builder 4 environment, you will see the new Data/Services Tab like below:</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_2.PNG" alt="" width="632" height="505"/></p>
<p>Click on “Connect to Data/ Service” and choose WebService from the pop-up</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_3.PNG" alt="" width="457" height="459"/></p>
<p>In the next screen, enter the Service Name (that you want it to be called in your Flex application) and path to WSDL file, which in this case is &#8211; [<a rel="nofollow" target="_blank" href="http://www.abundanttech.com/WebServices/Population/population.asmx?WSDL">http://www.abundanttech.com/WebServices/Population/population.asmx?WSDL</a>]</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_4.PNG" alt="" width="465" height="466"/></p>
<p>If your WSDL is SOAP 1.1 protocol compliant, it will directly show the operations screen (the screenshot after the one below). Otherwise, it will ask you to choose the appropriate SOAP port as below. Remember this screen will only appear if your WDSL is not WSDL1.1 compliant.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_5.PNG" alt="" width="461" height="461"/></p>
<p>Then you can choose the operations that you are interested in. You can either choose just the operations you are interested in or press Select All and press “Finish”.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_6.PNG" alt="" width="460" height="462"/></p>
<p>This will give you a Data/Services tab with all the operations imported and configured…</p>
<p style="text-align:center;"><img class="aligncenter" src="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_7.PNG" alt=""/></p>
<p>A moment to explain the above operation&#8230;</p>
<p>Flash Builder introspects the WSDL and the selected operations and generates the required classes. But you will notice that while the return type for <em>getPopulation()</em> is created as a client side model class called <em>Population,</em> <em>getWorldPopulation()</em> has a return type of <em>Object</em>. The introspecter does the following:</p>
<ul>
<li>If the operation is well formed Flash Builder 4 creates the required classes (as in the case of <em>getPopulation()</em> method it creates a Population Class)</li>
<li>If the operation is not well formed then Flash Builder 4 keeps the return type as Object (as in the case of <em>getWorldPopulation() </em>Method)</li>
</ul>
<p>Since WSDL itself defines the input and output types, it will create the required classes provided the operations are well formed.</p>
<p>The <a rel="nofollow" target="_blank" href="http://raghuonflex.wordpress.com/2009/06/01/connecting-to-webservices-with-the-data-centric-development-dcd-feature-in-flash-builder-4-part-2/">Part 2 of this series</a> will deal with binding this service to UI and creating an application.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/372/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/372/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/372/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/372/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/372/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=372&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_1.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_2.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_3.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_4.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_5.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_6.PNG" medium="image"/>
         <media:content url="http://rrao.host.adobe.com/images/DCD_Blogs/WS/Part1_7.PNG" medium="image"/>
      </item>
      <item>
         <title>FlashBuilder (FlexBuilder renamed) 4 Beta is out</title>
         <link>http://flexpearls.blogspot.com/2009/06/flashbuilder-flexbuilder-renamed-4-beta.html</link>
         <description>FlexBuilder has been renamed to FlashBuilder and version 4.0 Beta is out. &lt;p&gt;
Rather than say the same thing over and over...here are the links which give detailed information: &lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://labs.adobe.com/technologies/flashbuilder4/&quot;&gt;The Beta site&lt;/a&gt;
&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://srinivasannam.wordpress.com/2009/06/01/introduction_to_dc/&quot;&gt;Srinivas Annam talking about Data Centric Development (DCD) &lt;/a&gt;
&lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://exploringflex.wordpress.com/2009/06/01/flash-builder-4-data-centric-development-dcd-introduction/&quot;&gt;How to use DCD work flows explained using flow charts&lt;/a&gt; &lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/&quot;&gt;Sujit explains DCD workflows with BlazeDS&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-7792314775085836440?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-7792314775085836440</guid>
         <pubDate>Sun, 31 May 2009 21:13:00 -0700</pubDate>
      </item>
      <item>
         <title>Introduction to Data Centric Development in Flash Builder 4 (Gumbo)</title>
         <link>http://srinivasannam.wordpress.com/2009/06/01/introduction_to_dcd/</link>
         <description>As a part of &amp;#8220;Adobe Flash Platform&amp;#8221; branding strategy, &amp;#8220;Flex Builder&amp;#8221; is now renamed to &amp;#8220;Flash Builder&amp;#8221;.
Flash Builder Beta build can be downloaded for Free from http://labs.adobe.com/technologies/flashbuilder4/
Links
Using WebServices with Data Centric Development in Flash Builder 4
__
Data Centric Development (DCD) is an exciting new Rapid Application Development feature in Flash Builder 4 which helps traditional web developers [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=81&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=81</guid>
         <pubDate>Mon, 01 Jun 2009 03:46:13 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>As a part of &#8220;Adobe Flash Platform&#8221; branding strategy, &#8220;Flex Builder&#8221; is now renamed to &#8220;Flash Builder&#8221;.</p>
<p>Flash Builder Beta build can be downloaded for Free from <a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/"><span style="color:#ff6600;">http://labs.adobe.com/technologies/flashbuilder4/</span></a></p>
<p><span style="color:#000000;"><strong><span style="text-decoration:underline;">Links</span></strong></span></p>
<p><span style="color:#ff6600;"><a rel="nofollow" target="_blank" href="http://srinivasannam.wordpress.com/2009/06/03/using-webservice-dcd/"><span style="color:#ff6600;">Using WebServices with Data Centric Development in Flash Builder 4</span></a></span></p>
<p><span style="color:#ffffff;">__</span></p>
<p>Data Centric Development (DCD) is an exciting new Rapid Application Development feature in Flash Builder 4 which helps traditional web developers to quickly build Flex applications that talk and fetch data from various backends like ColdFusion, PHP, BlazeDS, LCDS, WebService &amp; HTTPService.</p>
<div class="mceTemp mceIEcenter"><img class="aligncenter size-full wp-image-87" title="DCD Service List" src="http://srinivasannam.files.wordpress.com/2009/06/dcd_servicelist1.png?w=436&#038;h=259" alt="DCD Service List" width="436" height="259"/></div>
<p>This feature provides an easy-to-use unified workflow to import Services, see them inside Flash Builder &amp; bind UI elements in your application to data coming from server.</p>
<p><strong>Below are some of the compelling features offered as a part of Data Centric Development workflows:</strong></p>
<ul style="padding-left:30px;">
<li>Import existing ColdFusion/PHP/BlazeDS/LCDS/HTTP/WSDL services using very easy to use &#8220;Connet to Data/Service &#8220;wizard</li>
<li>Generate sample code for ColdFusion/PHP service</li>
<li>View all functions &amp; data types of your Service inside Flex Builder IDE using &#8220;Data/Services&#8221; panel</li>
<li>Test &amp; Configure the output return type of your server side function/operation inside Flex Builder using &#8220;Configure Return Type&#8221;</li>
<li>Easily invoke &amp; show the data from services using simple Drag &amp; Drop and other gestures</li>
<li>Automatic client side Paging</li>
<li>Automatic client side Data Management</li>
<li>Automatic Input &amp; Output Form Generation</li>
<li>Automatic Master-Detail view generation</li>
</ul>
<p style="padding-left:30px;"><strong>Whole of this workflow can be categorized into 4 important steps. They are:</strong></p>
<p><strong> </strong></p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-98" title="DCD Workflow" src="http://srinivasannam.files.wordpress.com/2009/06/dcd_workflow1.png?w=316&#038;h=400" alt="DCD Workflow" width="316" height="400"/></p>
<p><strong> </strong></p>
<p><strong>1. Connect to Data/Service</strong></p>
<p>In this step, user is supposed to Import existing service by providing File path (for ColdFusion/PHP) or URL (for HTTPService/WebService) or Destination name (for BlazeDS/LCDS) to the service or generate a new service (for ColdFusion/PHP only). This step can be done using &#8220;Data-&gt;Connect to Data/Service&#8221; menu item.</p>
<p><strong>2. Explore Service</strong></p>
<p>Once the service is imported or created, all the available functions/methods along with its signatures from your backend service would appear in &#8220;Data/Services&#8221; panel inside Flash Builder.</p>
<p><strong>3. Configure Return Type</strong></p>
<p>In most of the cases, Flash Builder automatically identifies the data type of input arguments and return type of the operations by introspecting your server code &amp; metadata. But, in some cases, Flash Builder would need to invoke the operation, introspect the output returned by the operation and create client-side ActionScript VOs if required.</p>
<p><strong>4. Bind Components to Data</strong></p>
<p>Once Flash Builder knows the Input argument types or Return types of the operation, you can start binding the output returned by these operations to UI elements like DataGrid, List, Button, ComboBox, Form, Charts etc..</p>
<p><strong> </strong></p>
<p><strong><span style="color:#ff6600;">Over the next few days, I will be explaining in detail about each of these wizards and backend specific workflows to make your life exciting with DCD.</span></strong></p>
<p>More articles on Flash Builder 4 can be found <a rel="nofollow" target="_blank" href="http://sujitreddyg.wordpress.com/flash-builder-4/"><span style="color:#ff6600;">here</span></a></p>
<p style="padding-left:30px;"><strong><span style="color:#ff6600;"> </span></strong></p>
<p><strong><span style="color:#ff6600;"> </span></strong></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/81/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=81&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/dcd_servicelist1.png" medium="image">
            <media:title>DCD Service List</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2009/06/dcd_workflow1.png" medium="image">
            <media:title>DCD Workflow</media:title>
         </media:content>
      </item>
      <item>
         <title>Network Monitor in Flash Builder 4</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.06.01.html</link>
         <description>Developers bank a lot on their IDE. Any minor improvement to the
environment that aids them in building applications is always welcome.
Flex developers, rejoice! A public beta of the next version of Flex
Builder called Adobe Flash Builder 4 is out with a long list of new
features and improvements over existing ones.
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://labs.adobe.com/technologies/flashbuilder4/&quot;&gt;Adobe&amp;#32;Flash&amp;#32;Builder&amp;#32;4&amp;#32;Beta&lt;/a&gt; (formerly called Flex Builder) is out at
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://labs.adobe.com/&quot;&gt;Adobe&amp;#32;Labs&lt;/a&gt;. In this post, I will take a detailed look at Network
Monitor, which allows you to inspect the HTTP traffic between your
Flex application and the server.
[...] (921 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.06.01.html</guid>
         <pubDate>Mon, 01 Jun 2009 02:00:16 -0700</pubDate>
      </item>
      <item>
         <title>Announcing public beta of Flash Builder 4 &amp; Flash Catalyst</title>
         <link>http://raghuonflex.wordpress.com/2009/06/01/announcing-public-beta-of-flash-builder-4-flash-catalyst/</link>
         <description>Here is the day you have all been waiting for. Flex Builder has got a redesign and power packed with new features and titled Flash Builder 4 and one of the most awaited software from the Adobe stable Flash Catalyst is finally available for the public&amp;#8230; Go ahead and check it out&amp;#8230; Here are some [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=366&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=366</guid>
         <pubDate>Mon, 01 Jun 2009 00:01:16 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is the day you have all been waiting for. Flex Builder has got a redesign and power packed with new features and titled Flash Builder 4 and one of the most awaited software from the Adobe stable Flash Catalyst is finally available for the public&#8230;</p>
<p style="text-align:center;"><img class="aligncenter" src="http://www.adobe.com/devnet/images/58x43/flashbuilder.jpg" alt=""/><img src="http://www.adobe.com/devnet/images/58x43/flex_58x43.jpg" alt=""/> <img src="http://profile.ak.facebook.com/object3/1639/49/q42186390807_3714.jpg" alt="" width="42" height="42"/></p>
<p>Go ahead and check it out&#8230; Here are some links to get you started:</p>
<ul>
<li><a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashbuilder4/">Flash Builder 4 page on Adobe Labs</a></li>
<li><a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flashcatalyst/">Flash Catalyst on Adobe Labs</a></li>
<li><a rel="nofollow" target="_blank" href="http://labs.adobe.com/technologies/flash/videos/">Flash Builder 4 &amp; Flash Catalyst demo Videos </a></li>
<li><a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/articles/flex4sdk_whatsnew.html">What&#8217;s new in Flex 4 SDK an article by Matt</a></li>
<li><a rel="nofollow" target="_blank" href="http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html">Differences in Flex 3 SDK &amp; Flex 4 SDK, an article by Joan</a></li>
</ul>
<p>And watch this space for more videos, tutorials, and sneek peaks into Flash Builder 4 &amp; all the new additions to the Flash Platform. From now on, I will tag all those posts as &#8220;Flash Platform&#8221;&#8230;</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/366/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/366/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/366/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/366/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/366/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=366&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://www.adobe.com/devnet/images/58x43/flashbuilder.jpg" medium="image"/>
         <media:content url="http://www.adobe.com/devnet/images/58x43/flex_58x43.jpg" medium="image"/>
         <media:content url="http://profile.ak.facebook.com/object3/1639/49/q42186390807_3714.jpg" medium="image"/>
      </item>
      <item>
         <title>Announcing Adobe Flash Platform Tools Preview – 3rd June 2009</title>
         <link>http://raghuonflex.wordpress.com/2009/05/25/announcing-adobe-flash-platform-tools-preview-3rd-june-2009/</link>
         <description>I am sure you have all been hearing about the new and exciting tools that we at Adobe have been building. We will preview many of these new innovations - Adobe Flash Builder (formerly known as Flex Builder), Adobe Flash Catalyst, upcoming versions of LiveCycle and BlazeDS at the “Adobe Flash Platform Tools Preview” to [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=361&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=361</guid>
         <pubDate>Mon, 25 May 2009 10:40:42 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am sure you have all been hearing about the new and exciting tools that we at Adobe have been building. We will preview many of these new innovations -<strong> Adobe Flash Builder</strong> (formerly known as Flex Builder), <strong>Adobe Flash Catalyst</strong>, upcoming versions of <strong>LiveCycle</strong> and <strong>BlazeDS</strong> at the “<strong><span style="color:#ff0000;">Adobe</span> Flash Platform Tools Preview</strong>” to be held on <strong>3rd June 2009 at Taj Residency in Bangalore</strong>. You can read more about the event by visiting <a rel="nofollow" title="flashahead.adobe.com" target="_blank" href="http://flashahead.adobe.com/events/2009/toolspreview06/"><strong>our website</strong></a>.</p>
<p>Entry to this event is by invitation only. <span style="text-decoration:line-through;">If you would like to join us for this event (it is an evening event with dinner:) drop me an email with your name, company, designation and contact number to <strong> rrao (at) adobe (dot) com</strong> and I will send you an invite. Seats availabe on a FCFS basis.</span> <span style="color:#ff0000;"><strong>SOLD OUT! </strong></span>See you on June 3rd <img class="wp-smiley" src="http://blog.flexgeek.in/wp-includes/images/smilies/icon_smile.gif" alt=":)"/></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/361/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/361/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/361/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/361/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/361/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=361&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://blog.flexgeek.in/wp-includes/images/smilies/icon_smile.gif" medium="image">
            <media:title>:)</media:title>
         </media:content>
      </item>
      <item>
         <title>I am busy !</title>
         <link>http://flexpearls.blogspot.com/2009/05/i-am-busy.html</link>
         <description>Hi All, &lt;p&gt;
I have been busy at work for few months now and will continue to be so for some more time. That is the reason I have not been able to respond to mails/comments on my posts. I know some of them might have been very urgent issues but due to my own work deadlines I have not been able to respond to them. &lt;p&gt;
Will try to address them as and when I get time. &lt;p&gt;
&lt;b&gt;Thanks for your patience&lt;/b&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-256778880192697573?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-256778880192697573</guid>
         <pubDate>Tue, 12 May 2009 20:56:00 -0700</pubDate>
      </item>
      <item>
         <title>Emacs Plugin for Eclipse Ganymede</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.05.01.html</link>
         <description>Eclipse is good. But as a die hard Emacs fan, Emacs is the IDE for me.
I needed a better way to quickly switch back and forth between Emacs
and Eclipse. So I cooked up an Eclipse plugin that does exactly that.
Click a button in the toolbar and the current active window in Eclipse
will open in Emacs. It will also try to position the cursor at the
same place it was in the Eclipse window. Also, you can configure the
plug-in to execute any lisp code after doing this.
[...] (400 Words, CategoryEmacs)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.05.01.html</guid>
         <pubDate>Fri, 01 May 2009 07:01:27 -0700</pubDate>
      </item>
      <item>
         <title>Thanks for Voting. Adobe Rocks GIDS!</title>
         <link>http://raghuonflex.wordpress.com/2009/04/27/thanks-for-voting-adobe-rocks-gids/</link>
         <description>Adobe swept the &amp;#8220;Great Indian Developer Awards &amp;#8211; II&amp;#8221;. Thanks to all who voted. We increased our tally from 1 last year to 3 this year and was the company with the most number of awards&amp;#8230; w00t!
Adobe swept the stage in 3 categories: Best Collaboration Solution &amp;#8211; Adobe Acrobat Connect Professional (nominated along with WebEx, MS [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&amp;blog=919721&amp;post=357&amp;subd=raghuonflex&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://raghuonflex.wordpress.com/?p=357</guid>
         <pubDate>Mon, 27 Apr 2009 00:58:28 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="aligncenter" title="gidsawards" src="http://sujitreddyg.files.wordpress.com/2009/04/gids2009-238-small.jpg?w=300&amp;h=225" alt=""/></p>
<p>Adobe swept the &#8220;Great Indian Developer Awards &#8211; II&#8221;. Thanks to all who voted. We increased our tally from 1 last year to 3 this year and was the company with the most number of awards&#8230; w00t!</p>
<p>Adobe swept the stage in 3 categories:</p>
<ul>
<li>Best Collaboration Solution &#8211; <strong>Adobe Acrobat Connect Professional</strong> (nominated along with WebEx, MS Office Online.. etc)</li>
<li>Best Web Development Platform &#8211; <strong>Adobe ColdFusion 8 </strong>(nominated along with ASP.NET, DOJO&#8230; etc)</li>
<li>Best Framework &#8211; <strong>Adobe Flex</strong> (nominated along with .NET framework, Sprint &amp; Struts)</li>
</ul> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/raghuonflex.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raghuonflex.wordpress.com/357/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/raghuonflex.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raghuonflex.wordpress.com/357/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/raghuonflex.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raghuonflex.wordpress.com/357/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/raghuonflex.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raghuonflex.wordpress.com/357/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/raghuonflex.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raghuonflex.wordpress.com/357/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raghuonflex.wordpress.com&blog=919721&post=357&subd=raghuonflex&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c35cb478dd9bff7afc7ac1755dbcd680?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>Raghu</media:title>
         </media:content>
         <media:content url="http://sujitreddyg.files.wordpress.com/2009/04/gids2009-238-small.jpg?w=300&amp;amp;h=225" medium="image">
            <media:title>gidsawards</media:title>
         </media:content>
      </item>
      <item>
         <title>Developing a Rich Internet Google App Engine Application using Adobe Flex</title>
         <link>http://ananth.info/2009/04/26/developing-a-rich-internet-google-app-engine-application-using-adobe-flex.aspx?ref=rss</link>
         <description>&lt;p&gt;Google App Engine (GAE) is a Cloud Computing platform where a developer can build a cloud application and host it on Google servers. GAE at this point of writing supports Python and Java programming models and offers a set of services.The Getting Started documentation of GAE provides several examples to build a GAE application. However these applications are HTML based and do not provide details of building a Adobe Flex based Rich Internet Application client. Hence my intent in this series of posts is to discuss the details of building a GAE application with Flex as the client application providing a number of examples. In this post let us examine the key concepts behind building a Flex based RIA for Google App Engine. &lt;br&gt;&lt;br&gt;I will discuss the examples using Python as the backend programming language and will assume Windows XP or Vista client machine.&lt;br&gt;&lt;br&gt;Let us consider a simple problem as below:&lt;br&gt;&lt;br&gt;1. In the server side logic we will authenticate a user with Google Accounts&lt;br&gt;2. Depending on success or failure of authentication we will display a suitable message in the Flex application&lt;br&gt;&lt;br&gt;To implement the solution to this problem, we will:&lt;br&gt;&lt;br&gt;1. Develop the server code in Python that performs&amp;nbsp;some function using the&amp;nbsp;Services offered by GAE SDK&lt;br&gt;2. Develop the client code in MXML using Adobe Flex Builder 3.0&lt;br&gt;3. Test the application using the localhost server, bundled with GAE SDK&lt;br&gt;4. On successful local testing, deploy the application (both client side and server side) on GAE&lt;br&gt;5. Test the final deployed application&lt;br&gt;&lt;br&gt;As a first step, set up the development environment as below:&lt;br&gt;&lt;br&gt;1. Obtain a GAE application ID by signing up - see &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://code.google.com/appengine/&quot;&gt;http://code.google.com/appengine/&lt;/a&gt;&lt;br&gt;2. Download the GAE SDK for Python&lt;br&gt;3. Make sure you already have Python 2.5. If not download from &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://python.org/&quot;&gt;http://python.org/&lt;/a&gt;&amp;nbsp;Since GAE supports Python 2.5, it is better to download the same version though higher versions may be available from &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://python.org&quot;&gt;http://python.org&lt;/a&gt; site&lt;br&gt;4. Make sure you have the Flex Biulder 3.0 installed in your system. If you do not have one, you can download a trial version from Adobe web site. For students Flex Biulder is free.&lt;br&gt;&lt;br&gt;Before we begin, it is useful to review how Flex connects to a server application.&lt;br&gt;&lt;br&gt;The earlier generations of Web applications were server centric. The business logic (in this example, &quot;Authentication&quot;) executed on server and in addition to this, the presentation content was also generated in the server. You may review the examples provided under &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://code.google.com/appengine/docs/python/gettingstarted/&quot;&gt;Getting Started section of GAE&lt;/a&gt; where this point becomes very obvious. &lt;br&gt;&lt;br&gt;&lt;span class=&quot;pun&quot;&gt;&lt;font face=&quot;Arial&quot;&gt;We may note that the&amp;nbsp;sample code in Google Getting Started documentation&amp;nbsp;has a get method that emits the necessary HTTP headers and also the HTML content for the display. This is in line with typical HTML based applications that often have a page based metaphor than an application metaphor.&lt;br&gt;&lt;br&gt;Since the Flex applications run on the client and are responsible for handling the presentation, they do not require HTML to be generated from the server. Instead, Flex applications just need the data from the server and they can render the data and manage them on the client. Flex applications interact with the server through well defined, standard SOA model. Broadly, three major protocols are supported:&lt;br&gt;&lt;br&gt;1. SOAP/WSDL based web services&lt;br&gt;2. REST based services&lt;br&gt;3. Remote Object protocol that uses Adobe's AMF binary format&lt;br&gt;&lt;br&gt;In my next post, I will show how to build the client and server applications for Flex/GAE.&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description>
         <guid isPermaLink="false">f9370ad9-c4b8-4b81-9f93-41974a95ad8e</guid>
         <pubDate>Sun, 26 Apr 2009 10:18:00 -0700</pubDate>
      </item>
      <item>
         <title>Flex OLAP aggregating strings.</title>
         <link>http://flexpearls.blogspot.com/2009/03/flex-olap-aggregating-strings.html</link>
         <description>I recently got many queries about support for String aggregation in Flex OLAP. The current implementation available out of the box doesn't support this. &lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPStringAgg.zip&quot;&gt;Here&lt;/a&gt; are the changes to source files required to support this. The files need to be unzipped into the fbpro directory and the datavisulization.swc needs to be build using the steps mentioned &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexpearls.blogspot.com/2009/01/how-to-build-datavisualizationswc-from.html&quot;&gt;here&lt;/a&gt;. &lt;p&gt;
The result would look something like this. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://2.bp.blogspot.com/_sh8W7P3dJgY/SbC438AwNFI/AAAAAAAAACM/ziFSGX2l8k4/s1600-h/OLAPString.JPG&quot;&gt;&lt;img style=&quot;display:block;margin:0px auto 10px;text-align:center;cursor:pointer;cursor:hand;width:400px;height:115px;&quot; src=&quot;http://2.bp.blogspot.com/_sh8W7P3dJgY/SbC438AwNFI/AAAAAAAAACM/ziFSGX2l8k4/s400/OLAPString.JPG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5309947231811417170&quot;/&gt;&lt;/a&gt; &lt;p&gt;
The sample project has a StringAggreator implementation which can be used as a starting point to build your own logic into the StringAggregator. The sample one appends the strings to each other. &lt;p&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPStringTest.zip&quot;&gt;Here is the sample project&lt;/a&gt;. &lt;p&gt;
Of-course I might have missed something while testing. So let me know if you find any bugs !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-24922531048497476?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-24922531048497476</guid>
         <pubDate>Thu, 05 Mar 2009 13:42:00 -0800</pubDate>
         <media:thumbnail width="72" url="http://2.bp.blogspot.com/_sh8W7P3dJgY/SbC438AwNFI/AAAAAAAAACM/ziFSGX2l8k4/s72-c/OLAPString.JPG" height="72" xmlns:media="http://search.yahoo.com/mrss/"/>
      </item>
      <item>
         <title>Flex Datamap Control</title>
         <link>http://anirudhs.chaosnet.org/blog/2009.03.02.html</link>
         <description>Imagine if you could use the same data provider you use for your
DataGrid or TileList on a component and it would plot that
data on a map based on a &quot;Location&quot; / customizable field. Clicking
each item would pop up an item renderer that shows the object
associated with that location. Now imagine if changes to your data
provider were automatically tracked; you could hold down Control to
box select multiple items; you could freely draw on the map with the
drawing scaling up and down with the zoom level and you could also
save and restore the drawing. Stop imagining. This is exactly what the
Flex Datamap control does.
[...] (760 Words, CategoryFlex)</description>
         <guid isPermaLink="false">http://anirudhs.chaosnet.org/blog/2009.03.02.html</guid>
         <pubDate>Mon, 02 Mar 2009 04:12:27 -0800</pubDate>
      </item>
      <item>
         <title>Moving to http://blog.flexgeek.in</title>
         <link>http://flexgeek.wordpress.com/2009/02/10/moving-to-httpblogflexgeekin/</link>
         <description>This has been in my mind for quite a while. I have had serious problems with my hosting of files and examples in the past. I was also considering moving to my own domain name (http://flexgeek.in).
After a lot of deliberation (yeah &amp;#8211; compromising the page rank, getting all my readers book mark the new address, [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=112&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=112</guid>
         <pubDate>Tue, 10 Feb 2009 06:55:15 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><a rel="nofollow" target="_blank" href="http://blog.flexgeek.in"><img class="alignnone size-full wp-image-120" title="banner3" src="http://flexgeek.files.wordpress.com/2009/02/banner3.png?w=480&#038;h=94" alt="banner3" width="480" height="94"/></a></p>
<p>This has been in my mind for quite a while. I have had serious problems with my hosting of files and examples in the past. I was also considering moving to my own domain name (<a rel="nofollow" target="_blank" href="http://www.flexgeek.in">http://flexgeek.in</a>).</p>
<p>After a lot of deliberation (yeah &#8211; compromising the page rank, getting all my readers book mark the new address, mxna aggregation&#8230;) I have finally decided to transition my blog to <a rel="nofollow" target="_blank" href="http://blog.flexgeek.in"><strong>http://blog.flexgeek.in</strong></a>. Please update the link in your RSS readers and bookmarks. For some time I will continue to post in both the locations, but I aim to discontinue this blog soon.</p>
<p>What that would mean is that many of my readers who have been *extremely* pissed with the broken links and my not fixing them have a reason to be a little less angry at me. I have re-instated all the examples and source code into my new blog. A good reason to update your bookmarks to <a rel="nofollow" target="_blank" href="http://blog.flexgeek.in"><strong>http://blog.flexgeek.in</strong></a> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<p>I have had this blog on wordpress for about 2 years now, its time to part and move on.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/112/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/112/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/112/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/112/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/112/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=112&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/02/banner3.png" medium="image">
            <media:title>banner3</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>First Preview – colrful desktop</title>
         <link>http://flexgeek.wordpress.com/2009/01/28/first-preview-colrful-desktop/</link>
         <description>I have been toying with the idea of building an AIR app that would do something more than the usual flickr photo searching. That&amp;#8217;s when I came across this cool application from Idée labs .
I just spent a couple of days to something similar using Adobe AIR and Flex as a desktop app. In the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=90&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=90</guid>
         <pubDate>Wed, 28 Jan 2009 10:05:39 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been toying with the idea of building an AIR app that would do something more than the usual flickr photo searching. That&#8217;s when I came across this cool application from Idée labs .</p>
<p>I just spent a couple of days to something similar using Adobe AIR and Flex as a desktop app. In the process I also got the <a rel="nofollow" target="_blank" href="http://kuler.adobe.com">Adobe Kuler</a> APIs tied in to this application. I call this experiment <strong><span style="color:#499cde;">colr</span>ful</strong> desktop.</p>
<p>Feel free to test drive this application and tell me what you think. There are plenty of bugs in it, since I have spent very little (read that as nothing) effort in testing this out. Its a fun app, so go ahead, play with some colors, find images and save them to your desktop. All in a seamless work flow.</p>
<p><strong>Features at a glance</strong></p>
<ol>
<li>Select colors from the palette and search. You will get images matching that color (Results restricted to 25 in the preview build)</li>
<li>Search for themes in Adobe Kuler, select a theme and you will get search results matching that theme.</li>
<li>Paste the URL of your favorite image in the web and colrful will look up similar images from the web <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </li>
<li>Preview the image of your choice from the search results and download it to your desktop. Just a couple of clicks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </li>
</ol>
<p><strong>Coming soon:</strong></p>
<p>A whole lot of offline stuff, which I am currently working on.<strong><br />
</strong></p>
<p>I haven&#8217;t gotten a whole lot of time setting up install badge for this one (and wordpress wont let me embed it here anyways. grrr)</p>
<p>A special word of thanks goes to my colleague and sr evangelist<strong> Ramesh Srinivasaraghavan</strong> for all the value added features. He is the ultimate idea machine!</p>
<h2>You need Adobe AIR runtime to use colrful. If you dont have AIR, <a rel="nofollow" target="_blank" href="http://get.adobe.com/air/"><strong>get it here</strong></a></h2>
<h2>Download and Install <strong><span style="color:#499cde;">colr</span>ful desktop</strong> from <a rel="nofollow" target="_blank" href="http://hsivaramakrishnan.googlepages.com/colrful.air"><strong>here</strong></a></h2>
<h1><strong>Stay colrful!<br />
</strong></h1>
<p><img class="alignnone size-medium wp-image-91" title="Start" src="http://flexgeek.files.wordpress.com/2009/01/screen1.png?w=178&#038;h=300" alt="Start" width="178" height="300"/> <img class="alignnone size-medium wp-image-92" title="kuler" src="http://flexgeek.files.wordpress.com/2009/01/screen1_1.png?w=176&#038;h=300" alt="kuler" width="176" height="300"/></p>
<p><img class="alignnone size-medium wp-image-94" title="results" src="http://flexgeek.files.wordpress.com/2009/01/screen2.png?w=300&#038;h=188" alt="results" width="300" height="188"/></p>
<p><img class="alignnone size-medium wp-image-96" title="alike" src="http://flexgeek.files.wordpress.com/2009/01/screen41.png?w=300&#038;h=186" alt="alike" width="300" height="186"/></p>
<p><img class="alignnone size-medium wp-image-97" title="view" src="http://flexgeek.files.wordpress.com/2009/01/screen3.png?w=300&#038;h=186" alt="view" width="300" height="186"/></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/90/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/90/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/90/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/90/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/90/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=90&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/01/screen1.png?w=178" medium="image">
            <media:title>Start</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/01/screen1_1.png?w=176" medium="image">
            <media:title>kuler</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/01/screen2.png?w=300" medium="image">
            <media:title>results</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/01/screen41.png?w=300" medium="image">
            <media:title>alike</media:title>
         </media:content>
         <media:content url="http://flexgeek.files.wordpress.com/2009/01/screen3.png?w=300" medium="image">
            <media:title>view</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>How to build datavisualization.swc from the source ?</title>
         <link>http://flexpearls.blogspot.com/2009/01/how-to-build-datavisualizationswc-from.html</link>
         <description>Here are steps to build datavisualization.swc from the source that gets unzipped into a fbpro directory in FlexBuilder when a valid license is provided. &lt;p&gt;
&lt;b&gt;Setup&lt;/b&gt;
&lt;p&gt;
1. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://ant.apache.org/&quot;&gt;Download ant1.7.0&lt;/a&gt;.
&lt;p&gt;2. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://java.sun.com&quot;&gt;Download a version of jdk 1.6&lt;/a&gt;. &lt;p&gt;3. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.cygwin.com/mirrors.html&quot;&gt;Download cygwin&lt;/a&gt;, an open source unix shell for Windows. &lt;p&gt;4. Set environment variables. Go to Control Panels &amp;gt; System &amp;gt; Advanced &amp;gt; Environment Variables &lt;p&gt;• Set JAVA_HOME to the path to the jdk directory. Add path of ant1.7 to PATH. For example, C:&amp;#92;ant1.7.0&amp;#92;bin (you will already have a PATH, multiple entries are separated by semicolons) &lt;p&gt;• Add path of cygwin to PATH. For example, C:&amp;#92;cygwin&amp;#92;bin &lt;p&gt;
&lt;b&gt;Steps:&lt;/b&gt;
&lt;p&gt;1. Add files build.properties and build.xml(attached) to location of datavisualization directory. For example, C:&amp;#92;Program Files&amp;#92;Adobe&amp;#92;Flex Builder 3&amp;#92;sdks&amp;#92;3.2.0&amp;#92;fbpro&amp;#92;projects. &lt;p&gt;2. Add the flex builder license to build.xml file (location: C:&amp;#92;Program Files&amp;#92;Adobe&amp;#92;Flex Builder 3&amp;#92;sdks&amp;#92;3.2.0&amp;#92;fbpro&amp;#92;projects&amp;#92;build.xml) . Replace  by license key.
&lt;p&gt;3. Unzip inside_ datavisualization.zip. The build.xml and build.properties files should be copied inside datavisualization folder.For example, C:&amp;#92;Program Files&amp;#92;Adobe&amp;#92;Flex Builder 3&amp;#92;sdks&amp;#92;3.2.0&amp;#92;fbpro&amp;#92;projects&amp;#92;datavisualization. &lt;p&gt;4. Make changes regarding location of sdk and output swcs to files build.properties and datavisualization&amp;#92;build.properties. &lt;p&gt;5. At the cygwin prompt, go to the datavisualization. For example C:&amp;#92;Program Files&amp;#92;Adobe&amp;#92;Flex Builder 3&amp;#92;sdks&amp;#92;3.2.0&amp;#92;fbpro&amp;#92;projects&amp;#92; datavisualization. &lt;p&gt;6. Run ant main to build datavisualisation.swc and datavisualization_rb.swc for en_US .
&lt;p&gt;7. Run ant main_with_ja_JP to build datavisualisation.swc and datavisualization_rb.swc for en_US and ja_JP.
&lt;p&gt;
&lt;b&gt;Note: Place the datavisualization.swc at sdk&amp;#92;frameworks&amp;#92;libs and datavisualization_rb.swc at sdk&amp;#92;frameworks&amp;#92;locale.&lt;/b&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-5455285254553515663?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-5455285254553515663</guid>
         <pubDate>Mon, 19 Jan 2009 12:59:00 -0800</pubDate>
      </item>
      <item>
         <title>Adobe Flash Ahead -&amp;gt; 12 hours to go!</title>
         <link>http://flexgeek.wordpress.com/2009/01/16/adobe-flash-ahead-12-hours-to-go/</link>
         <description>I just finished my presentation and demo for my talk on gumbo. Just got to see the shortlisted submissions for the riathon as well! The apps just rock. I can&amp;#8217;t wait to see the showdown at riathon finals @ flash ahead tomorrow. Its going to be one hell of a finals, I am sure.
If you [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=88&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/2009/01/16/adobe-flash-ahead-12-hours-to-go/</guid>
         <pubDate>Fri, 16 Jan 2009 08:48:07 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just finished my presentation and demo for my talk on gumbo. Just got to see the shortlisted submissions for the riathon as well! The apps just rock. I can&#8217;t wait to see the showdown at riathon finals @ flash ahead tomorrow. Its going to be one hell of a finals, I am sure.</p>
<p>If you are going to be in bangalore tomorrow and want to attend Flash ahead tomorrow, I still have about 10 invites left with me. If you haven&#8217;t signed up, just come to Lalit Ashok, Bangalore tomorrow and ask for me. For all those coming, See you all tomorrow. </p>
<p>Flash Ahead! Its gonnabe fun!</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/88/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/88/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/88/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/88/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/88/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=88&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
      </item>
      <item>
         <title>Adobe Flash Ahead: Few seats left! Sign up or be left out.</title>
         <link>http://flexgeek.wordpress.com/2009/01/16/adobe-flash-ahead-few-seats-left-sign-up-or-be-left-out/</link>
         <description>Woah! The response has been overwhelming. We have the last few seats left for Flash Ahead. Sign up now to get a glimpse of all that&amp;#8217;s new and smoking in Adobe Flash Platform.
http://adoberiathon.wordpress.com &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=87&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/2009/01/16/adobe-flash-ahead-few-seats-left-sign-up-or-be-left-out/</guid>
         <pubDate>Thu, 15 Jan 2009 22:46:01 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Woah! The response has been overwhelming. We have the last few seats left for Flash Ahead. Sign up now to get a glimpse of all that&#8217;s new and smoking in Adobe Flash Platform.</p>
<p>http://adoberiathon.wordpress.com</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/87/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/87/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/87/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/87/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/87/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=87&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
      </item>
      <item>
         <title>Flash Ahead Conference on 17th Jan. Sign up today!</title>
         <link>http://flexgeek.wordpress.com/2009/01/13/flash-ahead-conference-on-17th-jan-sign-up-today/</link>
         <description>Here&amp;#8217;s announcing Flash Ahead&amp;#8230; The event that will showcase the future of the Flash platform to the Indian audience for the first time. Date: 17th January, 2009
Venue: Lalit Ashok (erstwhile Grand Ashok), Bangalore
Time: 09:00 to 18:00 At Flash Ahead we are going to announce the selected finalists of riathon&amp;#8217;08 and they will battle it out in an [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=84&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=84</guid>
         <pubDate>Mon, 12 Jan 2009 23:09:51 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="aligncenter" title="flash ahead" src="http://rrao.host.adobe.com/images/flash_ahead_logo.png" alt="" width="354" height="250"/></p>
<p>Here&#8217;s announcing <strong><span style="color:#000000;">Flash </span><span style="color:#ff0000;">Ahead</span></strong>&#8230; The event that will showcase the future of the Flash platform to the Indian audience for the first time.</p>
<blockquote>
<h3><strong>Date</strong>: 17th January, 2009</h3>
<h3><strong>Venue</strong>: Lalit Ashok (erstwhile Grand Ashok), Bangalore</h3>
<h3><strong>Time</strong>: 09:00 to 18:00</h3>
</blockquote>
<p><span style="color:#000000;">At </span><strong><span style="color:#000000;">Flash </span><span style="color:#ff0000;">Ahead</span></strong> we are going to announce the selected finalists of riathon&#8217;08 and they will battle it out in an on-stage showdown of application, in front of the crowd and judges. Later in the day, the results will be announced and prizes will be distributed. You will also get to see the latest technologies on the Adobe Flash Platform.</p>
<p>For more info and event details, visit: <a rel="nofollow" target="_blank" href="http://adoberiathon.wordpress.com">http://adoberiathon.wordpress.com</a></p>
<p>Register here: <a rel="nofollow" target="_blank" href="http://endtoend.in/apps/forms/adobe/flash/adobe.htm">http://endtoend.in/apps/forms/adobe/flash/adobe.htm</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/84/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/84/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/84/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/84/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/84/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=84&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <media:content url="http://rrao.host.adobe.com/images/flash_ahead_logo.png" medium="image">
            <media:title>flash ahead</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>Does Cloud Computing and SaaS complicate an ISV world?</title>
         <link>http://ananth.info/2009/01/10/does-cloud-computing-and-saas-complicate-an-isv-world.aspx?ref=rss</link>
         <description>I was one of the panel speakers in a Panel Discussion organized by Headstart as a part of a Cloud Computing conference at Bangalore during Jan 9th and 10th. The conference agenda is at &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://headstart.in/Agenda/&quot;&gt;headstart.in/Agenda/&lt;/a&gt; &lt;br&gt;&lt;br&gt;The panel met on an interesting topic: &quot;Software-as-a-Service delivered from Clouds&quot;. I spoke on how the cloud computing paradigm changes the ISV world. The cloud paradigm has caught the attention over the last 1 year with several major ISVs making their offering and some of the businesses that leverage this paradigm reporting major growth. &lt;br&gt;&lt;br&gt;The value proposition of cloud to businesses is strong - the need for any capital investment is minimal or zero and the cloud infrastructure allows scaling and is elastic as the needs grow. However, to make a product as a cloud offering, one encounters the following challenges at a broad level:&lt;br&gt;&lt;br&gt;1. Architecting the application for the Cloud: Delivery considerations&lt;br&gt;2. Developing rich internet access models that access the cloud applications: Cloud Client development considerations&lt;br&gt;3. Business Models: What challenges the traditional&amp;nbsp; ISV's need to address to make revenue out of cloud?&lt;br&gt;4. Development methodologies: How does a developer build cloud applications? What options exist? What are the considerations?&lt;br&gt;&lt;br&gt;I am planning to write a series of posts to share my thoughts with the first post (this one) describing the intersection of Rich Internet Applications and Cloud computing.&lt;br&gt;&lt;br&gt;Before we go deep in to RIA and cloud, let me describe the cloud computing through an architectural model. At a broad level, we may categorize the cloud application environment in to the following layers:&lt;br&gt;&lt;br&gt;1. Infrastructure &lt;br&gt;&lt;br&gt;This layer represents the utility computing or on-demand computing model that are typically offered by hardware system vendors, such as HP, IBM, EMC. The compute servers and storage servers are made available through data center hosting as a virtual environment. The user of this layer will be able to run his applications on the compute servers or store data in the storage servers receiving these services as a utility. Amazon is a good example of an ISV who operates in this layer with its offerings such as Amazon EZ2 elastic cloud.&lt;br&gt;&lt;br&gt;2. Software &lt;br&gt;&lt;br&gt;The Software layer typically hosts cloud scalable databases, application servers, frameworks and other standard software typically used in web application environment. For example, Oracle partners with Amazon to make available its database products as a hosted application.&lt;br&gt;&lt;br&gt;3. Services&lt;br&gt;&lt;br&gt;There are many providers who make utility services available on the cloud. These services typically web services based and are invoked through the client program. Often a client application may invoke one or more services from different providers and combine these to offer unique benefits. These are mash up applications. Examples of services are map based services, image and video services etc. &lt;br&gt;&lt;br&gt;4. Application&lt;br&gt;&lt;br&gt;Many hosted applications are emerging. These include office applications like word processing applications (for example, Adobe Buzzword), Customer Relationship Management applications (such as those from Salesforce.com) etc. &lt;br&gt;&lt;br&gt;It is possible for someone to write an application (application layer) that mashes up services from different service providers (service layer), use the databases (from Software layer) and be hosted on the compute and storage servers (Infrastructure layer). In a generic sense, it is possible that the vendors who provide each of the services listed above can be different - that is, an application may be executed on a compute server hosted by Amazon, the data stored in a EMC server and application services may come from servers that may be owned by some other vendors.&lt;br&gt;&lt;br&gt;For us to understand the role of RIA in Cloud computing environment, let us think through what happens if we are required to use our popular word processing application that we run in our desktop from the web?&lt;br&gt;&lt;br&gt;As a user, we might face the following issues:&lt;br&gt;&lt;br&gt;a) Since the data and application are served from the web that we typically invoke these through the browser, the user experience may be poorer. This may happen due to:&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- Poor network bandwidth&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- The choice of client technology. For example, if the presentation content&amp;nbsp; is a&amp;nbsp;HTML page in the Web 1.0 style (Synchronous communication with the server with page refreshes), the user experience may not be all that great.&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- The application architecture and design&lt;br&gt;&lt;br&gt;b) There may be reliability issues if the providers of the services/utility do not guarentee certain Quality Of Service. Hence, potentially one may expect situations where the server may be down or services may be unavailable online.&lt;br&gt;&lt;br&gt;c) Trust and Security concerns that arise due to the fact that the hosting infrastructure is not owned by the user.&lt;br&gt;&lt;br&gt;d) Typically, pay as you go mode of payment as against upfront purchase of a software product&lt;br&gt;&lt;br&gt;The RIAs help to address the issue (a) as above. Since we are looking at an example where we are using our popular desktop software as a web hosted application, it is fair to have an expectation that the user experience over web remains the same, if not better, than the desktop experience. Here is where RIA's with their ability to deliver desktop experience on web play a key role. Adobe's premier RIA platforms: Flash, Flex and AIR provide a great user experience to the web applications. Adobe Flex, with its comprehensive repertoire of user interface controls, provide a web experience that comes close to the desktop experience. Since the RIA's leverage the computing power in the client, the load on the server can be reduced, thus enabling a faster response from the server.&lt;br&gt;&lt;br&gt;Often it is necessary to access the cloud applications from non PC clients such as cell phones. Adobe Flash technologies support such application models.&lt;br&gt;&lt;br&gt;Some cloud applications may be peer to peer based. In such situations there is a need for data synchronization between different clients that are peer devices. Often, one may also need to support different access protocols such as Publish/Subscribe besides the traditional Request/Response protocols. In such situations, the Adobe Livecycle Data Services (LCDS) or the open source BlazeDS technologies would be very handy.&lt;br&gt;&lt;br&gt;Thus, the Adobe Flash/Flex/AIR technologies for the client side and the Livecycle technologies for the server side make Adobe products a very compelling product suite for the development of cloud applications.&lt;br&gt;&lt;br&gt;I intend&amp;nbsp;to write more on this topic and so will stop here for now &lt;img src=&quot;http://ananth.info/emoticons/smile.png&quot; border=&quot;0&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
         <guid isPermaLink="false">4dff471c-f47d-43ef-9547-0c726027de34</guid>
         <pubDate>Sat, 10 Jan 2009 07:17:00 -0800</pubDate>
      </item>
      <item>
         <title>Synergies in SOA and Web 2.0 Trends</title>
         <link>http://ananth.info/2009/01/04/synergies-in-soa-and-web-20-trends.aspx?ref=rss</link>
         <description>&lt;p&gt;I&amp;nbsp;delivered an&amp;nbsp;invited key note speech at the Service Oriented Engineering and Optimization (SENOPT 08) workshop which was conducted as a part of High Performance Computing (HiPC) conference in Bangalore, India. This talk asserts that over the last 7 years, 2 key trends have emerged: SOA on the services front and Web 2.0 that greatly influences the client side. These two trends are not independent of each other and in fact support one another's adoption. The presentation brings out the synergies and enumerates several Adobe case studies that support this theme. I enjoyed doing this presentation to the research community and am immensely thankful to my colleague, Duane Nickull.&amp;nbsp;He is the senior evangelist at Adobe and also the chair for&amp;nbsp;&amp;nbsp;the &lt;span class=&quot;caps&quot;&gt;OASIS&lt;/span&gt; Service Oriented Architecture Reference Model Technical Committee (SOA-RM TC). &lt;br&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://ananth.info/files/54923-48191/SOA_And_Web2_0Keynote16Dec2008_Abridged.pdf&quot;&gt;Here are the abridged version of slides&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="false">d064b3d2-abb9-4e8e-95f7-39e403e630dc</guid>
         <pubDate>Sun, 04 Jan 2009 04:21:00 -0800</pubDate>
      </item>
      <item>
         <title>Adobe Flex and AIR training material</title>
         <link>http://ananth.info/2008/12/06/adobe-flex-and-air-training-material.aspx?ref=rss</link>
         <description>Duane Nickull, Adobe Senior Evangelist has made available excellent material that provide insights in to Adobe RIA technologies, Flex and AIR and how to connect different backends with RIA clients. The training material has 8 hours worth of content ranging from Hello World to more advanced topics of using remoting and WSDL introspection. This is a free download, have a look at:&lt;br&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://technoracle.blogspot.com/2008/12/building-service-clients-with-flex-and.html&quot;&gt;http://technoracle.blogspot.com/2008/12/building-service-clients-with-flex-and.html&lt;/a&gt;</description>
         <guid isPermaLink="false">e45dbbba-16c6-4338-85dc-8d971f35da9c</guid>
         <pubDate>Fri, 05 Dec 2008 22:04:00 -0800</pubDate>
      </item>
      <item>
         <title>Adobe riathon’08 – Bangalore, India</title>
         <link>http://srinivasannam.wordpress.com/2008/11/20/adobe-riathon08-bangalore-india/</link>
         <description>If you are a Flex/Flash/AIR developer and think you can be the one behind the coolest of all RIAs, you cannot afford to miss this event! Put on your RIA development shoes, build the coolest app that you can imagine and send it to us on or before 26th November 2008. If your application catches [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=72&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=72</guid>
         <pubDate>Thu, 20 Nov 2008 05:27:01 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://srinivasannam.files.wordpress.com/2008/11/riathon.jpg"><img class="size-full wp-image-73 aligncenter" title="Adobe riathon'08" src="http://srinivasannam.files.wordpress.com/2008/11/riathon.jpg?w=400&#038;h=114" alt="Adobe riathon'08" width="400" height="114"/></a></p>
<p>If you are a Flex/Flash/AIR developer and think you can be the one behind the coolest of all RIAs, you cannot afford to miss this event! Put on your RIA development shoes, build the coolest app that you can imagine and send it to us on or before 26th November 2008. If your application catches our attention, you will be invited to a very special event on the 29th of November at Grand Ashok, Bangalore where the top applications will go on stage for a demo showdown! This is your chance to Flash your design skills, Flex your coding muscles and AIR your demos in front of an elite judge panel &amp; the Adobe community.</p>
<p>The Grand winner / winning team will walk away with a groovy Apple IPhone.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://srinivasannam.files.wordpress.com/2008/11/appleiphone3g.jpg"><img class="size-full wp-image-75 aligncenter" title="Apple iPhone 3G" src="http://srinivasannam.files.wordpress.com/2008/11/appleiphone3g.jpg?w=200&#038;h=241" alt="Apple iPhone 3G" width="200" height="241"/></a><a rel="nofollow" target="_blank" href="http://srinivasannam.files.wordpress.com/2008/11/apple-iphone-3g.jpg"></a></p>
<p>The runners up will take home with them a Sony home theater system.</p>
<p>What’s more, there are loads of IPod Nano’s, shuffles and Adobe branded goodies to be won.</p>
<p>This event also brings to you an exclusive preview on the new developments in the Adobe Flash Platform. Experience the Flash Catalyst (code name Thermo), Gumbo(code name for the upcoming version of Flex) ,FXG and Flash Player 10.</p>
<p>Register today at <a rel="nofollow" target="_blank" href="http://adoberiathon.eventbrite.com">http://adoberiathon.eventbrite.com</a></p>
<p>Rules &amp; Regulations <a rel="nofollow" target="_blank" href="http://adoberiathon.wordpress.com/rules-regulations/">http://adoberiathon.wordpress.com/rules-regulations/</a></p>
<p>Terms &amp; Conditions <a rel="nofollow" target="_blank" href="http://adoberiathon.wordpress.com/terms-and-conditions/">http://adoberiathon.wordpress.com/terms-and-conditions/</a></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/72/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/72/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/72/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/72/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/72/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=72&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/11/riathon.jpg" medium="image">
            <media:title>Adobe riathon'08</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/11/appleiphone3g.jpg" medium="image">
            <media:title>Apple iPhone 3G</media:title>
         </media:content>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>Mac Dashboard Style Calendar control in Flex</title>
         <link>http://srinivasannam.wordpress.com/2008/11/20/mac-dashboard-style-calendar-control-in-flex/</link>
         <description>Hello People, Welcome back.
Its good to start blogging again after many days. I was very busy working on the next version of Flex i.e. Gumbo. I&amp;#8217;m kinda free now after releasing the MAX Preview release of Gumbo. So, here I&amp;#8217;m starting to share interesting stuff again.
Demos, Tutorials, Videos, Interesting applications and lots of other cool stuff [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=69&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=69</guid>
         <pubDate>Thu, 20 Nov 2008 05:01:39 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello People, Welcome back.</p>
<p>Its good to start blogging again after many days. I was very busy working on the next version of Flex i.e. Gumbo. I&#8217;m kinda free now after releasing the MAX Preview release of Gumbo. So, here I&#8217;m starting to share interesting stuff again.</p>
<p>Demos, Tutorials, Videos, Interesting applications and lots of other cool stuff to show you all. So, stay tuned to this blog to see all these</p>
<p>And, Thanks a ton for your all your comments and feedback on my earlier post on &#8220;Refreshingly new Flex Calendar controls&#8221; that really encouraged me to add one more to the list i.e MAC Dashboard style calendar along with source.</p>
<p style="text-align:center;"><a rel="nofollow" target="_blank" href="http://srinivasannam.files.wordpress.com/2008/11/macstyleflexcalendar.png"><img class="size-full wp-image-70 aligncenter" title="MAC Style Flex Calendar" src="http://srinivasannam.files.wordpress.com/2008/11/macstyleflexcalendar.png?w=347&#038;h=280" alt="MAC Style Flex Calendar" width="347" height="280"/></a></p>
<p><span style="color:#ff6600;"><strong><span style="text-decoration:underline;"><a rel="nofollow" title="Click here to download component / source" target="_blank" href="http://toosweetvasu.googlepages.com/RefreshingCalendarControlsSrc.zip"><span style="color:#ff6600;">Click here to download Component / Source</span></a></span></strong></span></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/69/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/69/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/69/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/69/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/69/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=69&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/11/macstyleflexcalendar.png" medium="image">
            <media:title>MAC Style Flex Calendar</media:title>
         </media:content>
      </item>
      <item>
         <title>Adobe riathon ‘08 – Register Today!</title>
         <link>http://flexgeek.wordpress.com/2008/11/20/adobe-riathon-08-register-today/</link>
         <description>If you are a Flex/ Flash / AIR developer in India and think you can be the one behind the coolest of all RIAs, you cannot afford to miss this event! Put on your RIA development shoes, build the coolest app that you can imagine and send it to us on or before 26th November [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=81&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=81</guid>
         <pubDate>Thu, 20 Nov 2008 01:30:25 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are a Flex/ Flash / AIR developer in India and think you can be the one behind the coolest of all RIAs, you cannot afford to miss this event! Put on your RIA development shoes, build the coolest app that you can imagine and send it to us on or before <strong>26<sup>th</sup> November 2008</strong>. If your application catches our attention, you will be invited to a very special event on the <strong>29<sup>th</sup> of November</strong> at <strong>Grand Ashok, Bangalore</strong> where the top applications will go on stage for a demo showdown! This is your chance to <strong><span style="font-size:14pt;color:red;">Flash</span></strong> your design skills, <strong><span style="font-size:14pt;color:#595959;">Flex</span></strong> your coding muscles and <strong><span style="font-size:14pt;color:#c00000;">AIR</span></strong> your demos in front of an elite judge panel &amp; the Adobe community.</p>
<p class="MsoNormal">
<blockquote>
<p class="MsoNormal"><strong>The Grand winner / winning team will walk away with a groovy Apple IPhone. </strong></p>
<p class="MsoNormal"><strong>The runners up will take home with them a Sony home theater system.</strong></p>
</blockquote>
<p class="MsoNormal">
<p class="MsoNormal">What’s more, there are loads of <strong>IPod Nano’s, shuffles and Adobe branded goodies</strong> to be won.</p>
<p class="MsoNormal">This event also brings to you an exclusive preview on the new developments in the <strong><span style="color:#c00000;">Adobe</span></strong> <strong>Flash Platform</strong>. Experience the <strong>Flash Catalyst (code name Thermo), Gumbo(code name for the upcoming version of Flex) ,FXG and Flash Player 10</strong>.</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Register today at</strong> <strong><a rel="nofollow" target="_blank" href="http://adoberiathon.eventbrite.com/">http://adoberiathon.eventbrite.com</a></strong></p>
<p class="MsoNormal">For more information and contest rules &amp; regulations, please visit <strong><a rel="nofollow" target="_blank" href="http://adoberiathon.wordpress.com/">http://adoberiathon.wordpress.com</a></strong></p>
<p><img class="alignnone" title="riathon logo" src="http://adoberiathon.files.wordpress.com/2008/11/riathon_logo.png?w=358&amp;h=132&#038;h=132" alt="" width="358" height="132"/></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/81/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/81/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=81&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <media:content url="http://adoberiathon.files.wordpress.com/2008/11/riathon_logo.png?w=358&amp;amp;h=132" medium="image">
            <media:title>riathon logo</media:title>
         </media:content>
      </item>
      <item>
         <title>Preserving the open nodes in AdvancedDataGrid after re-grouping</title>
         <link>http://techrays.wordpress.com/2008/11/19/preserving-the-open-nodes-in-advanceddatagrid-after-re-grouping/</link>
         <description>Consider a scenario in which you want to group some data and display it in an AdvancedDataGrid. Now, you open some nodes. And you want to add summaries to the data. Adding summaries means to re-group the data by calling GroupingCollection.refresh(). But the state of open nodes will be lost as new Objects are created [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=22&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=22</guid>
         <pubDate>Wed, 19 Nov 2008 08:10:19 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Consider a scenario in which you want to group some data and display it in an AdvancedDataGrid. Now, you open some nodes. And you want to add summaries to the data. Adding summaries means to re-group the data by calling GroupingCollection.refresh(). But the state of open nodes will be lost as new Objects are created for the group nodes while re-grouping.</p>
<p>I&#8217;m posting a sample in which the open nodes are preserved.</p>
<p><a rel="nofollow" title="Sample" target="_blank" href="http://prosameer.googlepages.com/PreserveNodesADG.html">Sample here</a>.</p>
<p><a rel="nofollow" title="Source" target="_blank" href="http://prosameer.googlepages.com/PreserveNodesADG.mxml">Source here</a>.</p>
<p>Open the sample, click on Group data, open some nodes and then click on Add Summary. The nodes which are open will remain open.</p>
<p>Basically, here I&#8217;m giving the same UID for the group nodes as they were before (re-grouping). That&#8217;s why, the open state is maintained.</p>
<p><strong>Note: This sample will work only if the grouping fields are same for both groupings. It&#8217;ll need some tweaking in case the grouping fields are changed.</strong></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/22/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/22/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/22/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/22/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/22/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=22&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Memory Leak – Changing ColumnSeries itemRenderer at runtime – FLEXDMV-1882</title>
         <link>http://sunban.wordpress.com/2008/11/10/memory-leak-changing-columnseries-itemrenderer-at-runtime-flexdmv-1882/</link>
         <description>I wanted to post this small fix that I tried out for fixing the memory leak when changing itemRenderers for a flex chart.
The sample files for the bug mentioned in http://bugs.adobe.com/jira/browse/FLEXDMV-1882 are used to illustrate the fix.
The fix done was, to set the instance cache of the itemRenderer in ColumnSeries to be removed when not [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&amp;blog=1168757&amp;post=24&amp;subd=sunban&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sunban.wordpress.com/?p=24</guid>
         <pubDate>Mon, 10 Nov 2008 02:50:42 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted to post this small fix that I tried out for fixing the memory leak when changing itemRenderers for a flex chart.</p>
<p>The sample files for the bug mentioned in <a rel="nofollow" title="Changing columnseries renderer at runtime" target="_blank" href="http://bugs.adobe.com/jira/browse/FLEXDMV-1882">http://bugs.adobe.com/jira/browse/FLEXDMV-1882</a> are used to illustrate the fix.</p>
<p>The fix done was, to set the instance cache of the itemRenderer in ColumnSeries to be removed when not being used. Specifically the following needs to be done.</p>
<p>1. Goto this function in ColumnSeries.as which is part of your DMV source at src&#92;mx&#92;charts&#92;series&#92;ColumnSeries.as</p>
<p>override public function styleChanged(styleProp : String) : void</p>
<p>2. For the condition &#8211; else if(styleProp == &#8220;itemRenderer&#8221;)</p>
<p>Have the following code</p>
<p>_instanceCache.discard = true;<br />
_instanceCache.remove = true;<br />
_instanceCache.count = 0;<br />
_instanceCache.remove = false;<br />
_instanceCache.discard = false;</p>
<p>This should take care of removing unwanted instances when the itemRenderer gets changed.</p>
<p>I ran the sample without and with the changes for 1 minute by changing the itemRenderer every 5 seconds. Here is the result of that, i.e. the itemRenderers that needed to get updated at that given time. Notice the number of itemRenderers that existed after the change is far fewer than the one without the change.</p>
<p><strong>With Change</strong></p>
<p>itemRenderer2 : 47<br />
itemRenderer1 : 59</p>
<p><strong>Without Change</strong></p>
<p>itemRenderer2 : 391<br />
itemRenderer1 : 451</p>
<p>This fix is only for ColumnSeries, if you want it for any other series make sure to make similar changes in that file as well.</p>
<p>Let me know if this fixes the memory leak on changing of item renderers as well as some of the real-time flex charting itemRenderer related memory leaks.</p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sunban.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sunban.wordpress.com/24/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sunban.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sunban.wordpress.com/24/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sunban.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sunban.wordpress.com/24/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sunban.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sunban.wordpress.com/24/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sunban.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sunban.wordpress.com/24/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&blog=1168757&post=24&subd=sunban&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/6e00301b94f851dee3a4afa6a7d82405?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sunban</media:title>
         </media:content>
         <category>Flex</category>
      </item>
      <item>
         <title>Coming Soon – Adobe</title>
         <link>http://flexgeek.wordpress.com/2008/10/23/coming-soon-adobe/</link>
         <description>&amp;#60;riathon&amp;#62; :: hack . play . win &amp;#8211; the Adobe way.
Calling all the RIA developers, designers &amp;#38; User experience geeks from all over India for an 8 hour long RIA hackathon. Here is your chance to build the coolest RIA ever and walk away with some seriously kick ass prizes (Will post more on the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=73&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=73</guid>
         <pubDate>Thu, 23 Oct 2008 01:51:31 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-family:trebuchet ms, geneva;"><span style="font-size:x-large;"><span>&lt;<span style="color:#ff6600;">ria</span>thon&gt; <span style="color:#3366ff;">::</span> hack<span style="color:#ff00ff;"> .</span> play <span style="color:#ff6600;">.</span> win &#8211; the <span style="color:#ff0000;">Adobe </span>way.</span></span></span></p>
<p>Calling all the <strong>RIA developers, designers &amp; User experience geeks from all over India </strong>for an 8 hour long RIA hackathon. Here is your chance to build the coolest RIA ever and walk away with some seriously kick ass prizes (Will post more on the prizes later, but trust me there are really, really BIG prizes to be won!) Come to hack, play, get famous and most importantly walk away with the prizes!</p>
<p>Register here -<span style="color:#ff0000;"> <a rel="nofollow" target="_blank" href="http://adoberiathon.eventbrite.com/">http://adoberiathon.eventbrite.com/</a></span> and we will tell you more!.</p>
<p><strong>Where: Bangalore<br />
When: Coming Soon</strong></p>
<p>Also, watch this place for more info.</p>
<p><strong>Get ready to hack</strong><strong><span style="color:#ff00ff;">.</span></strong><strong>play</strong><strong><span style="color:#ff9900;">.</span></strong><strong>win</strong></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/73/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/73/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/73/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/73/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/73/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=73&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>Flex Automation issue reporting – QTP log enabling</title>
         <link>http://ranikumar.wordpress.com/2008/09/29/flex-automation-issue-reporting-qtp-log-enabling/</link>
         <description>This section is for a user of flex automation with the following details.
1. You are a flex automaiton user .
2. You are using QTP as the testing tool
3. You are facing some issue with the automaiton and you would like to know the details of QTP calls or you would like take the help [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&amp;blog=2984667&amp;post=8&amp;subd=ranikumar&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://ranikumar.wordpress.com/?p=8</guid>
         <pubDate>Sun, 28 Sep 2008 22:40:56 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>This section is for a user of flex automation with the following details.</strong></p>
<p>1. You are a flex automaiton user .</p>
<p>2. You are using QTP as the testing tool</p>
<p>3. You are facing some issue with the automaiton and you would like to know the details of QTP calls or you would like take the help of Adobe Flex Automation team for resolving your issue.</p>
<p><span style="text-decoration:underline;"><strong>If you like to inform Adobe about your issue &#8211; What you need to do?</strong></span></p>
<p>1. File an issue in JIRA &#8211; the open Adobe bug base. http://bugs.adobe.com/jira Project FLEXENT</p>
<p>2. Have a log file related to QTP interaction and provide the log file also as a part of the bug details.</p>
<p>The steps below describes how to enabling the logging for QTP 9.2 (or lesser versions)</p>
<p><span style="text-decoration:underline;"><strong>Steps to enable QTP logging.</strong></span></p>
<p><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;">1. Go to the mercury installation/bin directory say: &#8220;C:&#92;Program Files&#92;Mercury Interactive&#92;QuickTest Professional&#92;bin&#8221; and run MicLogSetting.exe</span></span></p>
<p><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"><br />
2. Select the log settings as:<br />
Level: MicLogLevelDebug2<br />
Folder:C:&#92;Program Files&#92;Mercury Interactive&#92;QuickTest Professional&#92;<br />
Selected Categories:LogCatPackTEA</span></span></p>
<p>Ensure the max size of the file is reasonably high (else once the size reaches the maximum limit another file is created. So please ensure that all newly created files are identified)</p>
<p>Note: Please zip these files before uploading them to bug base.</p>
<p><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"><br />
3. Run QTP and repeat the operation which is found non functioning (please try to have minimum steps in your application recorded or executed and those are related to the issue. Else the log file can be huge )</span></span></p>
<p><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"><br />
4. A log file would have been generated like C:&#92;Program Files&#92;Mercury Interactive&#92;QuickTest Professional&#92;MicLogFile_QTPro_pid1912_11_32_32.html<br />
</span></span></p> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/ranikumar.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranikumar.wordpress.com/8/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/ranikumar.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranikumar.wordpress.com/8/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/ranikumar.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranikumar.wordpress.com/8/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/ranikumar.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranikumar.wordpress.com/8/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/ranikumar.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranikumar.wordpress.com/8/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&blog=2984667&post=8&subd=ranikumar&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c06644f7b92b2b159591d2e1ee5fa396?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>ranikumar</media:title>
         </media:content>
      </item>
      <item>
         <title>Broken links in my site – UPDATE</title>
         <link>http://flexgeek.wordpress.com/2008/09/01/broken-links-in-my-site-update/</link>
         <description>Dear All:
The links to the examples and source code of most of my applications in this blog has been broken for a very long time and I have had a lot of folks mail / comment me pointing this out. I apologize for not having gotten back to many of you in the past weeks [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=65&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=65</guid>
         <pubDate>Mon, 01 Sep 2008 07:35:25 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Dear All:</p>
<p>The links to the examples and source code of most of my applications in this blog has been broken for a very long time and I have had a lot of folks mail / comment me pointing this out. I apologize for not having gotten back to many of you in the past weeks primarly because I was absolutely busy with my official commitments which is taking quite a bit of my bandwidth. I am changing my hosting provider and I will have all the examples and source code back up for download. In the meanwhile, I will also try and send the source of my applications to whoever has requested it in the coming days. I might be a little slow in responding, apologize for that.</p>
<p>Thank you once again for hitting this space, Things will be back, up and running really quick.</p>
<p>Thanks<br />
Vodka.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexgeek.wordpress.com/65/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexgeek.wordpress.com/65/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/65/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/65/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/65/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/65/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/65/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=65&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>Academic Conference - Web 2.0, AIR and Flex presentation by Ananth</title>
         <link>http://ananth.info/2008/08/16/academic-conference--web-20-air-and-flex-presentation-by-ananth.aspx?ref=rss</link>
         <description>
&lt;div id=&quot;PutWidgetHere&quot;&gt;Adobe Systems India&amp;nbsp;conducted a workshop for academia on 12 Aug 2008 at Hyderabad. I gave an overview of Web 2.0 and the Adobe products Flex/AIR that help build Rich Internet Applications in the context of Web 2.0 - &amp;nbsp;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://ananth.info/files/54923-48191/Web2RIA_Overview12Aug2008_blog_version.pdf&quot;&gt;presentation in PDF&lt;/a&gt; &lt;/div&gt;
&lt;p&gt;If you want to add this as a widget in your page (iGoogle, etc) you can grab this&lt;/p&gt;
</description>
         <guid isPermaLink="false">3215a71c-c1c4-4633-89ff-ba4f143d0518</guid>
         <pubDate>Sat, 16 Aug 2008 07:51:00 -0700</pubDate>
      </item>
      <item>
         <title>SWFMyScreen – Screensaver like application in AIR with source</title>
         <link>http://srinivasannam.wordpress.com/2008/08/01/swymyscreen/</link>
         <description>AIR APIs are very robust and powerful. Along with platform independence, They also offer many exciting new possibilities for Flash, Flex &amp;#38; other Web developers.
So, I made this funny simple Screensaver like application named &amp;#8220;SWFMyScreen&amp;#8221; to demostrate some of the cool features of the AIR. Using this application, user will be able to set any Local [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=45&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=45</guid>
         <pubDate>Fri, 01 Aug 2008 03:51:11 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><img class="size-full wp-image-59 aligncenter" src="http://srinivasannam.files.wordpress.com/2008/08/swfmyscreen2.png?w=202&#038;h=202" alt="SWFMyScreen" width="202" height="202"/></p>
<p>AIR APIs are very robust and powerful. Along with platform independence, They also offer many exciting new possibilities for Flash, Flex &amp; other Web developers.</p>
<p>So, I made this funny simple Screensaver like application named <strong><span style="color:#ff6600;">&#8220;SWFMyScreen&#8221;</span></strong> to demostrate some of the cool features of the AIR. Using this application, user will be able to set any Local or Remote SWF as Screensaver which will be displayed in fullscreen after given number of idle minutes.</p>
<p style="text-align:center;"><img class="size-full wp-image-65 aligncenter" src="http://srinivasannam.files.wordpress.com/2008/08/newswfmyscreenscreenshot.jpg?w=466&#038;h=329" alt="SWFMyScreen Screenshot" width="466" height="329"/></p>
<p><span style="text-decoration:underline;"><strong><span style="color:#ff6600;">Features:</span></strong></span></p>
<p>1) Chosee your favourite SWF Photo albums or any other SWF animations as your Screensaver</p>
<p>2) Set the idle time-out to display Screensaver</p>
<p>3) Configure the background color</p>
<p> -&gt; <a rel="nofollow" title="Click here to download application" target="_blank" href="http://toosweetvasu.googlepages.com/SWFMyScreen.air"><span style="color:#ff6600;">Click here to download application</span></a></p>
<p> -&gt; <a rel="nofollow" title="Click here to download source" target="_blank" href="http://toosweetvasu.googlepages.com/SWFMyScreenSource.zip"><span style="color:#ff6600;">Click here to download source</span></a></p>
<p> -&gt; <a rel="nofollow" title="Click here to install Adobe AIT" target="_blank" href="http://get.adobe.com/air/"><span style="color:#ff6600;">Click here to install AIR ( Adobe Integrated Runtime )</span></a></p>
<p> <strong><span style="text-decoration:underline;"><span style="color:#ff6600;">AIR Features demonstrated in this application:</span></span></strong></p>
<p>1) Tracking user presense</p>
<p>2) Automatic login during system start-up</p>
<p>3) System tray icon with context menu</p>
<p>4) Full screen AIR application</p>
<p>5) Transparent window with custom chrome</p>
<p>6) Drag a window that does not have title bar</p>
<p>7) Browse dialog for file selection</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/srinivasannam.wordpress.com/45/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/srinivasannam.wordpress.com/45/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/45/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/45/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/45/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/45/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/45/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=45&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/08/swfmyscreen2.png" medium="image">
            <media:title>SWFMyScreen</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/08/newswfmyscreenscreenshot.jpg" medium="image">
            <media:title>SWFMyScreen Screenshot</media:title>
         </media:content>
      </item>
      <item>
         <title>UPDATE: mojaveexperiment.com- No silver, No light! Its all Flash baby!</title>
         <link>http://flexgeek.wordpress.com/2008/07/30/mojaveexperimentcom-no-silver-no-light-its-all-flash-baby/</link>
         <description>Oh yeah, They have now done this in silverlight &amp;#8211; The kind of stuff we used to do back in Flash 4 days! (Stop embarassing yourself, MSFT! Do it in Flash &amp;#8211; there isn&amp;#8217;t any other way to do this. Ever.)
Check out http://www.mojaveexperiment.com/ . This is a campaign for Windows vista and is done Entirely [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=55&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=55</guid>
         <pubDate>Wed, 30 Jul 2008 03:31:42 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Oh yeah, They have now done this in silverlight &#8211; The kind of stuff we used to do back in Flash 4 days! (Stop embarassing yourself, MSFT! Do it in Flash &#8211; there isn&#8217;t any other way to do this. Ever.)</strong></p>
<p>Check out <a rel="nofollow" target="_blank" href="http://www.mojaveexperiment.com/">http://www.mojaveexperiment.com/</a> . This is a campaign for Windows vista and is done <strong>Entirely in Flash</strong>.</p>
<p>I am extremely impressed by seeing Microsoft&#8217;s confidence (or the lack of it) on their own platform when it comes to building their own applications. (or may be they know there isn&#8217;t a better way (there can&#8217;t be one!) of doing this other than doing this in Flash! That&#8217;s more like it!)</p>
<p>The application looks great nevertheless! Good work, Microsoft <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley'/> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexgeek.wordpress.com/55/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexgeek.wordpress.com/55/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/55/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/55/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/55/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/55/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/55/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=55&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>broken download links :(</title>
         <link>http://flexgeek.wordpress.com/2008/07/18/broken-download-links/</link>
         <description>My hosting provider screwed up bigtime $#@#@% &amp;#8211; Still working to get the site back up, Apologies for the broken download links. Will be back up soon.
-vodka. &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&amp;blog=866973&amp;post=53&amp;subd=flexgeek&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexgeek.wordpress.com/?p=53</guid>
         <pubDate>Fri, 18 Jul 2008 13:20:28 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>My hosting provider screwed up bigtime $#@#@% &#8211; Still working to get the site back up, Apologies for the broken download links. Will be back up soon.</p>
<p>-vodka.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexgeek.wordpress.com/53/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexgeek.wordpress.com/53/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexgeek.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexgeek.wordpress.com/53/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexgeek.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexgeek.wordpress.com/53/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexgeek.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexgeek.wordpress.com/53/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexgeek.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexgeek.wordpress.com/53/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexgeek.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexgeek.wordpress.com/53/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexgeek.wordpress.com&blog=866973&post=53&subd=flexgeek&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/f1f4a35131a18af20f0604a5e833dc68?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>vodka</media:title>
         </media:content>
         <category>flex</category>
      </item>
      <item>
         <title>Refreshingly new Flex Calendar controls</title>
         <link>http://srinivasannam.wordpress.com/2008/07/01/new-flex-calendar-controls/</link>
         <description>Flex is a very flexible language and I&amp;#8217;m here to prove it again.
Today, I&amp;#8217;m posting these two new cute flex calendar controls which uses inbuilt &amp;#8220;CalendarLayout&amp;#8221; class for functionality and has a completely new layout and interface defined in MXML.
I&amp;#8217;m open sourcing these components and you are allowed to edit / use them in your [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=41&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=41</guid>
         <pubDate>Tue, 01 Jul 2008 05:24:20 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Flex is a very flexible language and I&#8217;m here to prove it again.</p>
<p>Today, I&#8217;m posting these two new cute flex calendar controls which uses inbuilt &#8220;CalendarLayout&#8221; class for functionality and has a completely new layout and interface defined in MXML.</p>
<p>I&#8217;m open sourcing these components and you are allowed to edit / use them in your projects with no restrictions.</p>
<p>So, go a head, have fun with these components and unleash your creativity bring out more cooler calendars.</p>
<p style="text-align:center;"><a rel="nofollow" title="Download Component / Source" target="_blank" href="http://toosweetvasu.googlepages.com/RefreshingCalendarControls.zip"><img class="size-full wp-image-42 aligncenter" src="http://srinivasannam.files.wordpress.com/2008/07/newcalendarsample.jpg?w=406&#038;h=220" alt="Refreshing Flex Calendar Controls" width="406" height="220"/></a></p>
<p><a rel="nofollow" title="Download Component / Source" target="_blank" href="http://toosweetvasu.googlepages.com/RefreshingCalendarControls.zip"><span style="color:#ff6600;"><span style="text-decoration:underline;"><strong>Click here to Download Component / Source</strong></span></span></a></p>
<p>Dear Readers, Please feel free to send me your Feedback / New Component Requests through comments or email.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/srinivasannam.wordpress.com/41/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/srinivasannam.wordpress.com/41/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/41/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/41/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/41/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/41/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/41/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=41&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/07/newcalendarsample.jpg" medium="image">
            <media:title>Refreshing Flex Calendar Controls</media:title>
         </media:content>
      </item>
      <item>
         <title>Remove sort icon on the header of AdvancedDataGrid</title>
         <link>http://flexvenom.wordpress.com/2008/06/16/remove-sort-icon-on-the-header-of-advanceddatagrid/</link>
         <description>Venom Ponders :
I am wondering how UI programming can have so many use cases which I never felt when I was working on Solaris long back . Nah! Too much indigestion .
The undo feature in ADG header for the sorting has been pretty sought after for a while now . As a matter of [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&amp;blog=1192506&amp;post=32&amp;subd=flexvenom&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexvenom.wordpress.com/?p=32</guid>
         <pubDate>Mon, 16 Jun 2008 02:17:41 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><h3>Venom Ponders :</h3>
<p>I am wondering how UI programming can have so many use cases which I never felt when I was working on Solaris long back . Nah! Too much indigestion .</p>
<p>The undo feature in ADG header for the sorting has been pretty sought after for a while now . As a matter of fact, undo feature in everything is a good practice. So I thought I will just build it voila here it is ! I have extended it from a previous renderer I built from scratch modelled on the AdvancedDataGrid cos it had a few things I would want to be assigned a protected modifier rather than a private modifier .</p>
<h4>The approach :</h4>
<p>Nothing much to write here . Put an image and spliced out the elements from the sort.fields of the grid instance based on the listData. Thats it and good to go . But yeah ! placement needs to be managed .</p>
<h3>Take it!!</h3>
<p>You can check out the app <a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/RemoveSortExample.html"><strong>here</strong></a></p>
<p>You can grab the source from <a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/RemoveSortSource.zip"><strong>here</strong></a> .</p>
<p><span style="text-decoration:underline;">Screenshot </span>:</p>
<p><img src="http://kaashif.ahmed.googlepages.com/RemoveSort.JPG" alt=""/></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexvenom.wordpress.com/32/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexvenom.wordpress.com/32/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexvenom.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexvenom.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexvenom.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexvenom.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexvenom.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexvenom.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexvenom.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexvenom.wordpress.com/32/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexvenom.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexvenom.wordpress.com/32/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&blog=1192506&post=32&subd=flexvenom&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/a932dbd769bbb6b47335f39d9a10286c?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>venomeffect</media:title>
         </media:content>
         <media:content url="http://kaashif.ahmed.googlepages.com/RemoveSort.JPG" medium="image"/>
         <category>Extensions</category>
      </item>
      <item>
         <title>CalculatedMeasures in Flex OLAP</title>
         <link>http://flexpearls.blogspot.com/2008/06/calculatedmeasures-in-flex-olap.html</link>
         <description>I wrote a small sample which shows how a Custom Aggregator can be written and used to simulate a Calculated measure in Flex OLAP. Of-course, this solution may not work for all requirements but can be used atleast in some scenarios. The source is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/CalculatedMeasure.zip&quot;&gt;here&lt;/a&gt;.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-1675539627124309153?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-1675539627124309153</guid>
         <pubDate>Mon, 09 Jun 2008 20:40:00 -0700</pubDate>
      </item>
      <item>
         <title>Cool Cricket View Application on Adobe AIR</title>
         <link>http://srpsblog.blogspot.com/2008/06/cool-cricket-view-application-on-adobe.html</link>
         <description>If you are cricket savvy and are not happy with the performance or the UI of the crickinfo and other online cricket score informing application, then you ought to look at the new Adobe AIR application which is launched at &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.cricketnirvana.com/&quot;&gt;cricketnirvana.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Try out and this a really a cool app!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;See &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://srinivasannam.wordpress.com/category/adobe-air/&quot;&gt;http://srinivasannam.wordpress.com/category/adobe-air/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;for more details.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1219189014831900673-6509934557553279694?l=srpsblog.blogspot.com'/&gt;&lt;/div&gt;</description>
         <author>Prakash (SRP)</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1219189014831900673.post-6509934557553279694</guid>
         <pubDate>Mon, 09 Jun 2008 16:56:00 -0700</pubDate>
      </item>
      <item>
         <title>CricketCentre – Cricket on your desktop</title>
         <link>http://srinivasannam.wordpress.com/2008/06/09/cricketcentre-cricket-on-your-desktop/</link>
         <description>Although Cricket is played by a few countries in the world, it is a religion in the Indian sub-continent and followed by millions in India alone.
Thanks to Twenty20 cricket &amp;#38; IPL tournament, the craze has increased lot more in the recent days and added lot more glamour to the game.
Even though we are Web 2.0 [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=34&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=34</guid>
         <pubDate>Mon, 09 Jun 2008 08:08:42 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Although Cricket is played by a few countries in the world, it is a religion in the Indian sub-continent and followed by millions in India alone.</p>
<p>Thanks to Twenty20 cricket &amp; IPL tournament, the craze has increased lot more in the recent days and added lot more glamour to the game.</p>
<p>Even though we are Web 2.0 world, people watching cricket match through internet portals miss the excitement of game due to plain vanilla interface.</p>
<p>However this can be changed using RIA technologies and many aspects of watching a match live such as chatting with friends, participating in contests, enjoying charts and graphics can all be brought to user following through internet as well.</p>
<p>So, <a rel="nofollow" title="Cricket Centre" target="_blank" href="http://www.cricketnirvana.com/CricketCentreWeb/CricketCentre.html"><span style="color:#ff9900;">CricketNirvana.com</span></a> brings you &#8220;CricketCentre&#8221;, the next generation of Cricketing experience to your desktop through Adobe AIR. This is a Rich Internet Application developed using Adobe Flex and runs on your desktop using Adobe AIR.</p>
<p><strong><span style="color:#000000;">Home Page -</span></strong><a rel="nofollow" target="_blank" href="http://www.cricketnirvana.com/CricketCentreWeb/CricketCentre.html"><span style="color:#ff9900;">http://www.cricketnirvana.com/CricketCentreWeb/CricketCentre.html</span></a></p>
<p><strong><span style="color:#000000;">Feature Demo &#8211; </span></strong><a rel="nofollow" target="_blank" href="http://www.cricketnirvana.com/CricketCentreWeb/FeatureDemo.html"><span style="color:#ff9900;">http://www.cricketnirvana.com/CricketCentreWeb/FeatureDemo.html</span></a></p>
<p> <a rel="nofollow" target="_blank" href="http://srinivasannam.files.wordpress.com/2008/06/cricketcentre.jpg"><img class="size-full wp-image-35" src="http://srinivasannam.files.wordpress.com/2008/06/cricketcentre.jpg?w=436&#038;h=316" alt="CricketCentre Screenshot" width="436" height="316"/></a></p>
<p> <span style="color:#ff9900;"><strong><span style="text-decoration:underline;">Features</span></strong></span></p>
<p>1) Realtime ball-by-ball score updates</p>
<p>2) Full &amp; Mini-Scorecards</p>
<p>3) System tray &amp; Pop-up notifications</p>
<p>4) Live Analytics &amp; Statistics</p>
<p>5) Player profiles</p>
<p>6) Express Emotions</p>
<p>7) Gossip with friends</p>
<p>8 ) Watch Videos, News and lot more&#8230;</p>
<p>So, go a head and experience it&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/srinivasannam.wordpress.com/34/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/srinivasannam.wordpress.com/34/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/34/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/34/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/34/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/34/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/34/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=34&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
         <media:content url="http://srinivasannam.files.wordpress.com/2008/06/cricketcentre.jpg" medium="image">
            <media:title>CricketCentre Screenshot</media:title>
         </media:content>
      </item>
      <item>
         <title>Here is a GroupingCollection with good performance !</title>
         <link>http://flexpearls.blogspot.com/2008/06/groupingcollection-with-some-better.html</link>
         <description>I created a new GroupingCollection2 (by tweaking the default implemenation) which has better performance compared to the GroupingCollection. Please find the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/grouping.swc&quot;&gt;swc&lt;/a&gt; here. &lt;p&gt;Replace the GroupingCollection instance in any application with GroupingCollection2 and check the performance. When I tested it with 8K records with 4 grouping fields it was able to group in 5 seconds which seems to be good (in comparsion). &lt;p&gt;Please note this has not gone through extensive testing. I would be glad to fix any bugs found. &lt;p&gt;If you are one of those who doesn't have patience to build and test an app, &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/improveGrouping.swf&quot;&gt;here&lt;/a&gt; is the one I built. Here is the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/improveGrouping.mxml&quot;&gt;source&lt;/a&gt;. &lt;p&gt;If you think it is worth your time drop a note about your findings !!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-5812728370168171427?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-5812728370168171427</guid>
         <pubDate>Sat, 31 May 2008 18:57:00 -0700</pubDate>
      </item>
      <item>
         <title>HOWTO: Set different group heights for different rows and depths in Advanced DataGrid</title>
         <link>http://flexvenom.wordpress.com/2008/05/30/howto-set-different-group-heights-for-different-rows-and-depths-in-advanced-datagrid/</link>
         <description>It&amp;#8217;s been a long time since I wrote anything . Promise to be more regular. You heard that right. It is a promise.
So venom is back and this is what he is pondering for now :
Sometimes it is so obvious that you wonder why we dint put somethings into the component which you would assume [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&amp;blog=1192506&amp;post=31&amp;subd=flexvenom&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexvenom.wordpress.com/?p=31</guid>
         <pubDate>Fri, 30 May 2008 06:38:05 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s been a long time since I wrote anything . Promise to be more regular. You heard that right. It is a promise.</p>
<p>So venom is back and this is what he is <strong>pondering </strong>for now :</p>
<p>Sometimes it is so obvious that you wonder why we dint put somethings into the component which you would assume to be there for granted . What can we say , the use and popularity of the component outgrows its features at times. One such use case which many users have encountered but not been able to get around to is the limitation of custom row heights at different levels of a group when the data provider of tree type is set to the Advanced Data Grid.</p>
<p>This is a very common need especially in financial analysis and when heavy use of item renderers is used for representing the data in a more methodical manner. In fact , a little bit of tweaking to the AdvancedDataGrid component has enabled me to meet this need. Probably you can add on to it whatever you might feel fit to meet your needs.</p>
<h3>The two use cases:</h3>
<p>I believe the need to set different row heights at different levels of a tree display can be two fold : one being that I would like every row at one particular depth to have a particular height with everything else being the same and the other being that I would want different rows to have different heights to avoid a lot of layout fiasco .</p>
<h3>The approach :</h3>
<p>There are two additions to the code here here :</p>
<ul>
<li>Property by the name depthForCustomHeight to which the depth needs to be set . When this value is set ( default being -1) , then this will take the groupRowheight value and set it only to the corresponding depth mentioned.</li>
<li>A depth array can be passed to the component which will specify which height needs to be set to which depth. This array should be an array of objects with each object being of the signature :</li>
</ul>
<p><em> <strong> </strong></em><strong>{depth:2,height:100}</strong></p>
<p>This array will specify the height mentioned in the object to depth mentioned. Note that the depthArray is overridden when the depthForCustomHeight variable is set ( as it should be ) and the latter takes precedence over the former. So , under all circumstances before specifying depthArray, we have to ensure that depthForCustomHeight is of default value -1 .</p>
<p>Enough with the gyaan now. You can check out the app <a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/VariableGroupRowHeight.html">here </a>:</p>
<p>Here are some screenshots of the feature :</p>
<p><em>When the depthForCustomHeight variable is set to a depth</em></p>
<p><img style="vertical-align:baseline;" src="http://kaashif.ahmed.googlepages.com/depthForCustomHeight.JPG" alt="Depth for custom height" width="1126" height="771"/></p>
<p><em>When the depthArray is mentioned :</em></p>
<p><img src="http://kaashif.ahmed.googlepages.com/depthArray.JPG" alt="Depth Array" width="1140" height="772"/></p>
<p>You can grab the source of the application <a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/src.zip">here </a>. The source for quiet a few of my personal initiatives in Flex are also there for peruse. The component name is VenomGroupRowHeightGrid and the MXML is VariableGroupRowHeight.mxml .It has a few dependencies , so keep the whole lot and run like hell.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexvenom.wordpress.com/31/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexvenom.wordpress.com/31/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexvenom.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexvenom.wordpress.com/31/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexvenom.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexvenom.wordpress.com/31/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexvenom.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexvenom.wordpress.com/31/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexvenom.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexvenom.wordpress.com/31/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexvenom.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexvenom.wordpress.com/31/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&blog=1192506&post=31&subd=flexvenom&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/a932dbd769bbb6b47335f39d9a10286c?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>venomeffect</media:title>
         </media:content>
         <media:content url="http://kaashif.ahmed.googlepages.com/depthForCustomHeight.JPG" medium="image">
            <media:title>Depth for custom height</media:title>
         </media:content>
         <media:content url="http://kaashif.ahmed.googlepages.com/depthArray.JPG" medium="image">
            <media:title>Depth Array</media:title>
         </media:content>
         <category>HOWTO</category>
      </item>
      <item>
         <title>Grouping XML data using GroupingCollection</title>
         <link>http://flexpearls.blogspot.com/2008/05/grouping-xml-data-using.html</link>
         <description>I was under the impression this doesn't require any sample as it should be very easy to write one. But frequent questions on the forums have resulted in this post. &lt;p&gt;There is not much to describe so : &lt;p&gt;
&lt;pre&gt;
&amp;lt;mx:XML id=&quot;inputData&quot; &amp;gt; &amp;lt;Tulokset&amp;gt; &amp;lt;Tulos id=&quot;xxx&quot; group=&quot;xx&quot; /&amp;gt; &amp;lt;Tulos id=&quot;xxx&quot; group=&quot;xx&quot; /&amp;gt; &amp;lt;Tulos id=&quot;xxx&quot; group=&quot;xx&quot; /&amp;gt; &amp;lt;/Tulokset&amp;gt;
&amp;lt;/mx:XML&amp;gt; &amp;lt;mx:AdvancedDataGrid creationComplete=&quot;gc.refresh()&quot;&amp;gt; &amp;lt;mx:dataProvider&amp;gt; &amp;lt;mx:GroupingCollection source=&quot;{inputData.Tulos}&quot; id=&quot;gc&quot;&amp;gt; &amp;lt;mx:Grouping&amp;gt; &amp;lt;mx:GroupingField name=&quot;@group&quot; /&amp;gt; &amp;lt;/mx:Grouping&amp;gt; &amp;lt;/mx:GroupingCollection&amp;gt; &amp;lt;/mx:dataProvider&amp;gt; &amp;lt;mx:columns&amp;gt; &amp;lt;mx:AdvancedDataGridColumn dataField=&quot;@id&quot; /&amp;gt; &amp;lt;/mx:columns&amp;gt;
&amp;lt;/mx:AdvancedDataGrid&amp;gt;
&lt;/pre&gt; &lt;p&gt;The source is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/groupXML.mxml&quot;&gt;here&lt;/a&gt;. &lt;p&gt;
&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; The below example shows how to use grouping when the data is in child nodes instead of attributes. This is a bit tricky because &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html&quot;&gt;GroupingCollection&lt;/a&gt; is derived from &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/collections/HierarchicalData.html&quot;&gt;HierarchicalData&lt;/a&gt; which treats child nodes as children by default. This leads to problems when we try to display the data after grouping. The trick is to make use of the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/collections/HierarchicalData.html#childrenField&quot;&gt;childrenField&lt;/a&gt; property and point it to something like &quot;undefined&quot;. &lt;pre&gt;
&amp;lt;mx:XML id=&quot;inputData&quot; &amp;gt; &amp;lt;Tulokset&amp;gt; &amp;lt;Tulos&amp;gt; &amp;lt;id&amp;gt;xx1&amp;lt;/id&amp;gt; &amp;lt;group&amp;gt;xxx&amp;lt;/group&amp;gt; &amp;lt;/Tulos&amp;gt; &amp;lt;Tulos&amp;gt; &amp;lt;id&amp;gt;xx2&amp;lt;/id&amp;gt; &amp;lt;group&amp;gt;xxx&amp;lt;/group&amp;gt; &amp;lt;/Tulos&amp;gt; &amp;lt;Tulos&amp;gt; &amp;lt;id&amp;gt;xx3&amp;lt;/id&amp;gt; &amp;lt;group&amp;gt;xxx&amp;lt;/group&amp;gt; &amp;lt;/Tulos&amp;gt; &amp;lt;/Tulokset&amp;gt;
&amp;lt;/mx:XML&amp;gt; &amp;lt;mx:AdvancedDataGrid creationComplete=&quot;gc.refresh()&quot;&amp;gt; &amp;lt;mx:dataProvider&amp;gt; &amp;lt;mx:GroupingCollection source=&quot;{inputData.Tulos}&quot; id=&quot;gc&quot; childrenField=&quot;undefined&quot;&amp;gt; &amp;lt;mx:Grouping&amp;gt; &amp;lt;mx:GroupingField name=&quot;group&quot; /&amp;gt; &amp;lt;/mx:Grouping&amp;gt; &amp;lt;/mx:GroupingCollection&amp;gt; &amp;lt;/mx:dataProvider&amp;gt; &amp;lt;mx:columns&amp;gt; &amp;lt;mx:AdvancedDataGridColumn dataField=&quot;id&quot; /&amp;gt; &amp;lt;/mx:columns&amp;gt;
&amp;lt;/mx:AdvancedDataGrid&amp;gt; &lt;/pre&gt; &lt;p&gt;The source is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/groupXML2.mxml&quot;&gt;here&lt;/a&gt;. &lt;p&gt;Please note that childrenField is also helpful when we are trying to display XML data with data and children as child nodes. Use it to point to the proper node name which contains the children. In the following example we need to set childrenField=&quot;details&quot; to work properly. &lt;pre&gt; &amp;lt;mx:XML id=&quot;special&quot;&amp;gt;
&amp;lt;rows&amp;gt;
&amp;lt;row&amp;gt; &amp;lt;name&amp;gt;A&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;100&amp;lt;/fund&amp;gt; &amp;lt;details&amp;gt; &amp;lt;row&amp;gt; &amp;lt;name&amp;gt;a&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;20&amp;lt;/fund&amp;gt; &amp;lt;/row&amp;gt; &amp;lt;row&amp;gt; &amp;lt;name&amp;gt;b&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;80&amp;lt;/fund&amp;gt; &amp;lt;/row&amp;gt; &amp;lt;/details&amp;gt;
&amp;lt;/row&amp;gt;
&amp;lt;row&amp;gt; &amp;lt;name&amp;gt;C&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;200&amp;lt;/fund&amp;gt; &amp;lt;details&amp;gt; &amp;lt;row&amp;gt; &amp;lt;name&amp;gt;a&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;80&amp;lt;/fund&amp;gt; &amp;lt;/row&amp;gt; &amp;lt;row&amp;gt; &amp;lt;name&amp;gt;b&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;80&amp;lt;/fund&amp;gt; &amp;lt;/row&amp;gt; &amp;lt;row&amp;gt; &amp;lt;name&amp;gt;c&amp;lt;/name&amp;gt; &amp;lt;fund&amp;gt;40&amp;lt;/fund&amp;gt; &amp;lt;/row&amp;gt; &amp;lt;/details&amp;gt;
&amp;lt;/row&amp;gt;
&amp;lt;/rows&amp;gt; &amp;lt;/mx:XML&amp;gt; &amp;lt;mx:AdvancedDataGrid &amp;gt; &amp;lt;mx:dataProvider&amp;gt; &amp;lt;mx:HierarchicalData source=&quot;{special.row}&quot; childrenField=&quot;details&quot; &amp;gt; &amp;lt;/mx:HierarchicalData&amp;gt; &amp;lt;/mx:dataProvider&amp;gt; &amp;lt;mx:columns&amp;gt; &amp;lt;mx:AdvancedDataGridColumn dataField=&quot;name&quot; /&amp;gt; &amp;lt;mx:AdvancedDataGridColumn dataField=&quot;fund&quot; /&amp;gt; &amp;lt;/mx:columns&amp;gt;
&amp;lt;/mx:AdvancedDataGrid&amp;gt; &lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-5544582562666806347?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-5544582562666806347</guid>
         <pubDate>Wed, 28 May 2008 16:07:00 -0700</pubDate>
      </item>
      <item>
         <title>Object/Array and ObjectProxy/ArrayCollection binding problems</title>
         <link>http://flexpearls.blogspot.com/2008/05/objectarray-and-objectproxyarraycollect.html</link>
         <description>Take a look at discussion &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&amp;catid=585&amp;threadid=1360277&amp;enterthread=y&quot;&gt;here&lt;/a&gt;. &lt;p&gt;Many seems to be stumble upon this problem. Very similar to Object not dispatching any event for property value changes Array also doesn't dispatch any event for items added/deleted from it. Due to this when an object or array is used in the dataProvider of a list based control or comboBox etc any updates to the object or array would not get reflected in the UI. &lt;p&gt;The following sample should make it clear. &lt;p&gt;The first DG is fed with a ArrayCollection of Objects and the second DG has ObjectProxies. Select a item in the DGs and edit the values displayed in the text inputs. To complete the editing hit &quot;Enter&quot;. Notice that in the first DG the values don't get reflected immediately where as in second DG it does. &lt;p&gt;To support Object based dataProviders the list based controls in Flex make a explicit call to ICollectionView.itemUpdated() to force a change event. This is the reason edits in list based controls get propagated to other list based controls when both of them are using the same colletion as input. &lt;p&gt;
     &lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://sreenivas.ramaswamy.googlepages.com/objproxytest.swf&quot; width=&quot;250&quot; height=&quot;500&quot; name=&quot;changeProxy&quot; align=&quot;middle&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot;&gt; &lt;/iframe&gt;
 &lt;p&gt;
The source is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/objproxytest.mxml&quot;&gt;here&lt;/a&gt;. &lt;p&gt;As noted in the forum discussion, when HierarchicalData is built using Objects/Arrays (to represent children) the changes to the Array would not get propagated to ADG. Hence it is necessary to construct the HierarchicalData using ObjectProxies and ArrayCollections.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-3618905966065698064?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-3618905966065698064</guid>
         <pubDate>Wed, 28 May 2008 14:28:00 -0700</pubDate>
      </item>
      <item>
         <title>Fixing itemRenderer memory leak in AdvancedDataGrid on columns change</title>
         <link>http://flexpearls.blogspot.com/2008/05/fixing-itemrenderer-memory-leak-in.html</link>
         <description>Please read the discussion about memory leak &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&amp;threadid=1362560&amp;CFID=25485646&amp;CFTOKEN=fbd1c539430cc8a6-EC3D83DA-C600-BFB3-314113C9AE70746D&amp;jsessionid=48307329b3f25b563a73&quot;&gt;here&lt;/a&gt;. &lt;p&gt;I think I found the workaround for this issue. We need to override the set columns method in a extended ADG class and add the code to free the dictionary holding on to the itemRenderers. Here is the code.
&lt;p&gt;
&lt;pre&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;mx:AdvancedDataGrid xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&amp;gt; &amp;lt;mx:Script&amp;gt; &amp;lt;![CDATA[ override public function set columns(value:Array):void { super.columns = value; itemRendererToFactoryMap = new Dictionary(false); } ]]&amp;gt; &amp;lt;/mx:Script&amp;gt;
&amp;lt;/mx:AdvancedDataGrid&amp;gt;
&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-5729857564423954596?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-5729857564423954596</guid>
         <pubDate>Wed, 14 May 2008 21:34:00 -0700</pubDate>
      </item>
      <item>
         <title>Flex profiler</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/flex-profiler.html</link>
         <description>Hey people if you think your Flex application is hogging memory .. then Profiler is something you people should have a look at . SRp has prepared a PPT to explain the features of &quot;Flex profiler&quot; .&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left;&quot; id=&quot;__ss_368790&quot;&gt;&lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=profiler-1208939706328589-9&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/iframe&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma, arial;height:26px;padding-top:2px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.slideshare.net/?src=embed&quot;&gt;&lt;img src=&quot;http://static.slideshare.net/swf/logo_embd.png&quot; style=&quot;border:0px none;&quot; alt=&quot;SlideShare&quot;/&gt;&lt;/a&gt; | &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.slideshare.net/srp1970/overview-of-flex-profiler?src=embed&quot; title=&quot;View 'Overview of Flex Profiler' on SlideShare&quot;&gt;View&lt;/a&gt; | &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.slideshare.net/upload?src=embed&quot;&gt;Upload your own&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-8332728394414049344?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-8332728394414049344</guid>
         <pubDate>Sat, 26 Apr 2008 08:28:00 -0700</pubDate>
      </item>
      <item>
         <title>Tree chart for Flex</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/tree-chart-for-flex.html</link>
         <description>Nancy had asked for a sample on TreeChart . Here is a quick component I built for&lt;br /&gt;Nancy . Ofcourse you can customise colours .. Sorrry I think my colour combinations are bad&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://satishtj.googlepages.com/testChart.swf&quot; name=&quot;OLAPDemo4&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot; align=&quot;middle&quot; height=&quot;600&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;&lt;br /&gt; You can download the source &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/src.zip&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Usage &lt;/span&gt;:&lt;br /&gt;1&amp;gt; Tree chart takes Hierarchical data as input .&lt;br /&gt;2&amp;gt; Every node should have Name(Level as used in example[ It gets displayed in the chart] ) and value ( per in the example [ its the percentage]) and color ( the color of the area)&lt;br /&gt;3&amp;gt; labelName should be mapped to Name and perName should be mapped to value&lt;br /&gt;&lt;br /&gt;Look at the sample named testChart from the downloaded source .&lt;br /&gt;Thank You Nancy for bringing up a good requirement :)&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-7105117289053873942?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-7105117289053873942</guid>
         <pubDate>Sat, 26 Apr 2008 07:58:00 -0700</pubDate>
      </item>
      <item>
         <title>Dynamically creating a column grouped AdvancedDataGrid</title>
         <link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/</link>
         <description>Usually people like to write the AdvancedDataGrid component in mxml. But there are some scenarios where there is a need to create the grid dynamically.
Here is a simple sample in which an AdvancedDataGrid is created dynamically with column groups.
Source is posted here. &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=21&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=21</guid>
         <pubDate>Fri, 25 Apr 2008 10:38:55 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Usually people like to write the AdvancedDataGrid component in mxml. But there are some scenarios where there is a need to create the grid dynamically.</p>
<p>Here is a simple <a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/DynamicColumnGroupGrid.html">sample</a> in which an AdvancedDataGrid is created dynamically with column groups.</p>
<p>Source is posted <a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/DynamicColumnGroupGrid.mxml">here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techrays.wordpress.com/21/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techrays.wordpress.com/21/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/21/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=21&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Solution for HTML pop-up problem in AIR</title>
         <link>http://srinivasannam.wordpress.com/2008/04/24/air-html-popup-problem/</link>
         <description>From the past few days, I&amp;#8217;m seeing a problem with AIR HTML Component that is being reported by many users in many forums. So, i thought of giving a small solution which will help developers to overcome this problem.
Problem
AIR HTML Component fails to open new HTML pop-up window when the &amp;#8220;target&amp;#8221; of the link is set [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&amp;blog=2496638&amp;post=33&amp;subd=srinivasannam&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://srinivasannam.wordpress.com/?p=33</guid>
         <pubDate>Wed, 23 Apr 2008 23:43:34 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>From the past few days, I&#8217;m seeing a problem with AIR HTML Component that is being reported by many users in many forums. So, i thought of giving a small solution which will help developers to overcome this problem.</p>
<p><span style="color:#ff6600;"><span style="text-decoration:underline;"><strong>Problem</strong></span></span></p>
<p>AIR HTML Component fails to open new HTML pop-up window when the &#8220;target&#8221; of the link is set to &#8220;_blank&#8221; or &#8220;_new&#8221;.</p>
<p><span style="text-decoration:underline;"><span style="color:#ff6600;"><strong>Solution</strong></span></span></p>
<p>The solution is very straight and simple.</p>
<p><span style="text-decoration:underline;">Step 1</span> - Get all the available links of the page after it is completely loaded and add &#8220;onClick&#8221; event listener to all required links.</p>
<p><span style="text-decoration:underline;">Step 2</span> &#8211; Get the Link&#8217;s URL in &#8220;onClick&#8221; event handler and open a new browser window using &#8220;navigateToURL()&#8221; or implement a custom window in AIR to handle this.</p>
<p><span style="text-decoration:underline;"><span style="color:#ff6600;"><strong>Code</strong></span></span></p>
<p><code><br />
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"&gt;<br />
&lt;mx:HTML id="htmlComp" width="100%" height="100%" location="http://www.rediff.com" complete="addEventListenersToLinks(event)" /&gt;<br /> <br /> &lt;mx:Script&gt;<br /> &lt;![CDATA[<br /> <br /> private function addEventListenersToLinks(e:Event):void<br /> {<br /> var dom:Object = e.currentTarget.domWindow.document;<br /> var links:Object = dom.getElementsByTagName("a");<br /> <br /> for(var i:Number = 0; i &lt; links.length; i++)<br /> {<br /> if(links[i].target.toLowerCase() == "_blank" || links[i].target.toLowerCase() == "_new")<br /> links[i].onclick = linkClickHandler;<br /> }<br /> }<br /> <br /> private function linkClickHandler(o:Object):void<br /> {<br /> navigateToURL(new URLRequest(o.currentTarget.href),"blank");<br /> }<br /> ]]&gt;<br /> &lt;/mx:Script&gt;<br />
&lt;/mx:WindowedApplication&gt;<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/srinivasannam.wordpress.com/33/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/srinivasannam.wordpress.com/33/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/srinivasannam.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/srinivasannam.wordpress.com/33/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/srinivasannam.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/srinivasannam.wordpress.com/33/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/srinivasannam.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/srinivasannam.wordpress.com/33/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/srinivasannam.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/srinivasannam.wordpress.com/33/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/srinivasannam.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/srinivasannam.wordpress.com/33/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=srinivasannam.wordpress.com&blog=2496638&post=33&subd=srinivasannam&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/d77cd84a68c0f49313a927157d33272e?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>srinivasannam</media:title>
         </media:content>
      </item>
      <item>
         <title>Flex3 Profiler Rocks!</title>
         <link>http://srpsblog.blogspot.com/2008/04/flex3-profiler-rocks.html</link>
         <description>I have created slide deck for introducing the Flex3 Profiler. Profiler in Flex3 can do a lot of things for you which would help you identify potential memory and performance bottlenecks. Go thru the slide deck and post your comments as feedback. I can give some ideas on internal design and some constraints too (if you are interested) which would give an idea of how to effectively use the profiler. Happy Profiling :-)&lt;br /&gt;&lt;br /&gt;Look at &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.slideshare.net/srp1970/overview-of-flex-profiler/&quot;&gt;http://www.slideshare.net/srp1970/overview-of-flex-profiler/&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1219189014831900673-3023295148786617164?l=srpsblog.blogspot.com'/&gt;&lt;/div&gt;</description>
         <author>Prakash (SRP)</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1219189014831900673.post-3023295148786617164</guid>
         <pubDate>Tue, 22 Apr 2008 18:36:00 -0700</pubDate>
      </item>
      <item>
         <title>Experienced Speaks</title>
         <link>http://srpsblog.blogspot.com/2008/04/experienced-speaks.html</link>
         <description>Satish is trying to put a collection of interviews with &quot;experienced&quot; people like me :-) His criteria is PhD and some experience in software industry with some background in Acamedia. I fit the bill and so I am there.&lt;br /&gt;&lt;br /&gt;Watch &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://experience-speaks.blogspot.com/&quot;&gt;http://experience-speaks.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and let me know what you think. Ofcourse, whatever I have said there is my personal opinion only and no offense meant to any organization or any person.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1219189014831900673-6539017343956838308?l=srpsblog.blogspot.com'/&gt;&lt;/div&gt;</description>
         <author>Prakash (SRP)</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1219189014831900673.post-6539017343956838308</guid>
         <pubDate>Thu, 17 Apr 2008 14:27:00 -0700</pubDate>
      </item>
      <item>
         <title>Why do people shy away from giving useful 360 degree feedback?</title>
         <link>http://flexpearls.blogspot.com/2008/04/why-do-people-shy-away-from-giving.html</link>
         <description>I know human psychology is one of most complex things in the universe! But still fail to understand why people shy away from giving useful 360 degree feedback even when it is requested? &lt;p&gt;I can understand the case where feedback provider holds back this thoughts when there is a fear that his or her name would be revealed and it may spoil a good relationship or cause unnecessary trouble in office or life. &lt;p&gt;But when the feedback is being provided for a good cause why do people shy away from giving a complete feedback? Why do they provide 180 degree feedback which only leads in a direction but doesn't complete the circle leaving the seaker to ponder all over for the correct point? &lt;p&gt;Take example of ADG performance poll. There are votes for good, ok and bad. Good and OK are understandable because it is kind of known as testing and many in house scenarios has proved that the performance is acceptable (if not great) in many use cases. But &lt;strong&gt;BAD&lt;/strong&gt; was (kind of) unexpected because of so many hours of testing which has gone in. &lt;p&gt;Bad performance can arise because of many reasons. For example it can be due to bad performance of GroupingCollection as Doug has kindly pointed out. It can be due to complex custom itemRenderers being used. It can be due to a genuine problem in a particular control flow inside ADG. But without a complete feedabck (pointers to the exact problem faced if not samples) it would be impossible to work on anything. It would be similar to searching for a black coat in a dark room or worse for a non existent coat in a dark room. &lt;p&gt;This also goes along the same lines as my post about &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexpearls.blogspot.com/2008/04/software-patches-goodbadugly.html&quot;&gt;software patches&lt;/a&gt;. If customers don't make use of available &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexpearls.blogspot.com/2008/03/advanceddatagrid-and-olap-source-gets.html&quot;&gt;source&lt;/a&gt; and &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://bugs.adobe.com/flex&quot;&gt;public bug base&lt;/a&gt; and provide a good feedback even a very good intention/path provided to help customers goes waste. &lt;p&gt;In this context I don't know whom to blame for the situation as customers we find ourselves in, because we are not making full use of the easy avenues open in front of us to make a product worthy of the money we have paid for. Or is it that customers have accepted the situation and are showing indifference towards demanding what they rightly deserve?&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-2951300283733562132?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-2951300283733562132</guid>
         <pubDate>Thu, 17 Apr 2008 13:29:00 -0700</pubDate>
      </item>
      <item>
         <title>PivotComponent.swc</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/pivotcomponentswc.html</link>
         <description>Hi people there is some confusion created about the swc . So here is the swc which I now is definitely &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/PivotComponent.swc&quot;&gt;working &lt;/a&gt;. . .&lt;br /&gt;I ll detail the procedure of how to build your swc in the flexbuilder soon in the next post .&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-3654424870144241794?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-3654424870144241794</guid>
         <pubDate>Wed, 16 Apr 2008 15:25:00 -0700</pubDate>
      </item>
      <item>
         <title>PopUpButton sometimes have to be clicked twice to open .</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/popupbutton-sometimes-have-to-be.html</link>
         <description>Hi guys ,&lt;br /&gt;Sometimes you will encounter a situation when you will have to click your popupButton twice .&lt;br /&gt;So to overcome this behaviour&lt;br /&gt;&lt;br /&gt;replace the following code in the sdk's PopUpButton code&lt;br /&gt;&lt;br /&gt;private function removeFromStageHandler(event:Event):void&lt;br /&gt;{&lt;br /&gt;if(_popUp)&lt;br /&gt;{&lt;br /&gt;PopUpManager.removePopUp(_popUp);&lt;br /&gt;_popUp = null&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;with&lt;br /&gt;private function removeFromStageHandler(event:Event):void&lt;br /&gt;{&lt;br /&gt;if(_popUp)&lt;br /&gt;{&lt;br /&gt;PopUpManager.removePopUp(_popUp);&lt;br /&gt;if(showingPopUp)&lt;br /&gt;_popUp = null&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;All i have done is check if the Popup is showing up before setting to null .&lt;br /&gt;If the popup is not showing up then dont set the _popUp to null ;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-4088022968457800954?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-4088022968457800954</guid>
         <pubDate>Tue, 15 Apr 2008 23:42:00 -0700</pubDate>
      </item>
      <item>
         <title>How to use the PivotComponent</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/how-to-use-pivotcomponent.html</link>
         <description>&lt;span style=&quot;font-family:times new roman;&quot;&gt;If you want to provide &quot;pivot Table&quot; functionalities to ur application .. Just download the&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; style=&quot;font-family:times new roman;&quot; target=&quot;_blank&quot; href=&quot;http://flexmadeeasy.blogspot.com/2008/04/here-is-much-awaited-pivotcomponent-in.html&quot;&gt; swc&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-family:times new roman;&quot;&gt;from this post of mine .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:times new roman;&quot;&gt;You can see through the installation and samples there in the source , But just to give u a picture of how easy it is to use , say You have gotta do is&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center;color:rgb(102, 102, 102);font-family:times new roman;&quot;&gt;&lt;div style=&quot;text-align:left;&quot;&gt;&amp;lt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;fc:PivotComponent&lt;/span&gt; &lt;/span&gt; dataProvider=&quot;{flatData}&quot; width=&quot;100%&quot; height=&quot;100%&quot;&amp;gt;&lt;br /&gt;&amp;lt;&lt;span style=&quot;font-weight:bold;&quot;&gt;f&lt;/span&gt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;c:DimensionList &lt;/span&gt;dataProvider=&quot;{flatData}&quot; height=&quot;100%&quot; width=&quot;100%&quot;&lt;br /&gt; color= &quot;0xFFFFFF&quot; alternatingItemColors=&quot;[0x000000,0x000000]&quot;/&amp;gt;&lt;br /&gt;&amp;lt;&lt;span style=&quot;font-weight:bold;&quot;&gt;f&lt;/span&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;c:MeasuresList&lt;/span&gt; &lt;/span&gt;dataProvider=&quot;{['Sales', 'Production', 'Cost']}&quot; height=&quot;100%&quot;&lt;br /&gt; width=&quot;100%&quot; id=&quot;m1&quot; color= &quot;0xFFFFFF&quot; /&amp;gt;&lt;br /&gt; &amp;lt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;fc:OLAPChartExtension&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt; &lt;/span&gt;height=&quot;100%&quot; width=&quot;100%&quot; measuresList=&quot;{m1}&quot;&amp;gt;&lt;br /&gt; &amp;lt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;fc:olapChart&lt;/span&gt;&amp;gt;&lt;br /&gt;   &lt;span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt; type=&quot;Column&quot; showDataTips=&quot;true&quot;/&amp;gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;/&lt;span&gt;fc:olapChart&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;/fc:OLAPChartExtension&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-weight:bold;&quot;&gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;font-style:italic;font-weight:bold;&quot;&gt;fc:OLAPDataGridExtension&lt;/span&gt; width=&quot;100%&quot; height=&quot;100%&quot;/&amp;gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;/fc:PivotComponen&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;t&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:rgb(0, 0, 0);&quot;&gt;Isnt it easy ?? Hey I have skipped the Layouting for displaying simplicity [ Use HBoxes and VBoxes to layout ]&lt;br /&gt;&lt;br /&gt;[I think I have to come up with a component to poste codes .. Any suggestions .. please do give]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:justify;font-family:times new roman;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align:right;font-family:times new roman;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-5632811942727820007?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-5632811942727820007</guid>
         <pubDate>Tue, 15 Apr 2008 15:48:00 -0700</pubDate>
      </item>
      <item>
         <title>Performing Drilldown/up in charts</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/performing-drilldownup-in-charts.html</link>
         <description>Sreenivas Had developed a sample which shows how to drill down and up in charts effectively .&lt;br /&gt;If you are looking for a drilldown/up chart visit this &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexpearls.blogspot.com/2007/12/displaying-groupingcollectionhierarchic.html&quot;&gt;blog&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-6456711871497099314?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-6456711871497099314</guid>
         <pubDate>Tue, 15 Apr 2008 15:12:00 -0700</pubDate>
      </item>
      <item>
         <title>localToData with DateTimeAxis</title>
         <link>http://sunban.wordpress.com/2008/04/15/localtodata-with-datetimeaxis/</link>
         <description>I was responding to one of the queries by Matt Horn, who is part of the Flex Documentation team on how to get the exact DataPoint for a series based on the mouse position which has one of its axis as a DateTimeAxis, thought let me share it here.
The usual code is
var d:Array = series1.localToData(p); [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&amp;blog=1168757&amp;post=23&amp;subd=sunban&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sunban.wordpress.com/?p=23</guid>
         <pubDate>Tue, 15 Apr 2008 03:06:16 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was responding to one of the queries by Matt Horn, who is part of the <a rel="nofollow" title="Flex Documentation Team" target="_blank" href="http://blogs.adobe.com/flexdoc/">Flex Documentation team</a> on how to get the exact DataPoint for a series based on the mouse position which has one of its axis as a DateTimeAxis, thought let me share it here.</p>
<p>The usual code is</p>
<p>var d:Array = series1.localToData(p); // p is the point for which you want the data</p>
<p>if you notice d[0] will be x-coord and d[1] will be y-coord and if DateTimeAxis is representing the x-Axis then d[0] will be some huge number, basically it is the number of milliseconds from midnight of Jan 1 1970, so just create a Date object with that to get the actual data point.</p>
<p>To get the same data point which actually gets displayed on the Chart, just use the following code.</p>
<p>var d:Array = series1.localToData(p);<br />
var da:Date = new Date(d[0]);<br />
var str:String = daxis.formatForScreen(da); // daxis is the DataTimeAxis of the Chart.</p>
<p>formatForScreen is a public method which translates the date object to the one which is currently being displayed on the Chart based on the dataUnits that has been specified. Its a simple method, but nevertheless handy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sunban.wordpress.com/23/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sunban.wordpress.com/23/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sunban.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sunban.wordpress.com/23/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sunban.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sunban.wordpress.com/23/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sunban.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sunban.wordpress.com/23/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sunban.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sunban.wordpress.com/23/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sunban.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sunban.wordpress.com/23/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&blog=1168757&post=23&subd=sunban&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/6e00301b94f851dee3a4afa6a7d82405?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sunban</media:title>
         </media:content>
         <category>Flex</category>
      </item>
      <item>
         <title>Software patches good/bad/ugly?</title>
         <link>http://flexpearls.blogspot.com/2008/04/software-patches-goodbadugly.html</link>
         <description>This topic has been in my mind for quite sometime now. It used to reach the top and remain their for sometime whenever &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.maxthon.com/&quot;&gt;Maxthon&lt;/a&gt; poped up &quot;A new version available with fixes would you like to install?&quot; dialog. &lt;p&gt;In early days when the auto update feature was unheard of I used to think software patches are ugly. One needed to keep visiting the website of the product frequently to check whether a patch was available to fix the problems one is facing with the product. &lt;p&gt;Once patches became more and more popular and available I used to think them as bad. That was becuase sometimes patches used to have more serious problems than the original product. And once you have applied a patch it was not easy to remove it and a complete uninstall-install cycle was required to get back to square one. The &quot;The update requires a system restart. Restart now?&quot; screen only served to add more fuel to the bad feeling. &lt;p&gt;Now that auto updates are default and internet is thought as part of your desktop I have beginning to think that patches are good! I think the quality of patches is better now compared to earlier days, may be due to companies having automated testing tools to assure quality. &lt;p&gt;My latest thought is that &quot;Not having (releasing) patches is really really a bad thing&quot;. Pushing a product out of the door having already planned for patches is bad. But at the same time knowing that customers are suffering with a released product, asking them to wait for the next release (which would be more than a year later) is just pathetic. Because every release comes with its own new features and new bugs. Companies don't push out new releases without new features as they won't earn any money with a release (patch) aimed at fixing serious bugs or performance issues in the previous release. The problem with this kind of approach is that the attitude about a bug changes in the following way. &lt;p&gt;Version 1.0 release : We are releasing a great product which would help our users in a great way by boosting their productivity. We would fix all serious bugs soon.
&lt;p&gt;
&lt;p&gt;Customer: Great. Let me use it.
&lt;p&gt;
&lt;p&gt;Version 2.0 release : We have lot of new features for you. In this release we have addressed all serious bugs (read it as bugs reported by great parteners and volume customers) in the previous release.
&lt;p&gt;
&lt;p&gt;Customer: But what about other serious bugs faced by me?
&lt;p&gt;
&lt;p&gt;Company: We would fix all bugs soon. &lt;p&gt;
&lt;p&gt;Customer: They are only fixing bugs for the new features and few more bugs from volume customers.
&lt;p&gt;
&lt;p&gt;Version 3.0 release : We have lot of new features. We have revelutionized the workflow. We have rewritten many parts of the code to boost peformance. etc...
Of-course now we are open-source !
&lt;p&gt;
&lt;p&gt;Customer: Now it is Open-source ? Great! But what about bugs which were in 1.0 release? &lt;p&gt;
&lt;p&gt;Company: Oh! our customers have lived with these bugs for more than 2 years, now they have almost stopped complaining.....they can live with it! If they complain more, let us ask them to upgrade to the new version and follow a new workflow/API for the same feature which we have introduced. And anyway we are open-source let them grab the source and fix the bug themselves. We can't spend our precious development time over fixing those old bugs.
&lt;p&gt;
&lt;p&gt;Customer: Where I can find a developer and time to study this piece of open-source product and fix bugs for me? ...?....?
&lt;p&gt;
&lt;p&gt;
&lt;p&gt;&lt;strong&gt;As customers who have paid their hard earned money I think we deserve a better treatment. Don't you think so?&lt;/strong&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-6373079844441234537?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-6373079844441234537</guid>
         <pubDate>Wed, 09 Apr 2008 13:41:00 -0700</pubDate>
      </item>
      <item>
         <title>Using Flex OLAP/OLAPDataGrid for doing Pivoting computations</title>
         <link>http://flexpearls.blogspot.com/2008/04/using-flex-olapolapdatagrid-for-doing.html</link>
         <description>Satish has developed a new PivotComponent using OLAPDataGrid and OLAP which can be used to perform pivot analysis of data. &lt;p&gt;The sample can be found &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/pivotsample&quot;&gt;here&lt;/a&gt;. Drag and drop one or more dimensions into the column and row fields. The results would get displayed as soon as the drop happens. Drag and drop more dimensions into column, row or slicer fields. Use the drop down attached to dimension button to pick specific members of the dimension to do slicing. The sample uses OLAPChart and OLAPDataGrid extensions to display the OLAPResult generated. &lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexmadeeasy.blogspot.com/2008/04/here-is-much-awaited-pivotcomponent-in.html&quot;&gt;Description and source&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-3429719264735493928?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-3429719264735493928</guid>
         <pubDate>Tue, 08 Apr 2008 20:00:00 -0700</pubDate>
      </item>
      <item>
         <title>AdvancedDataGrid Performance Polls</title>
         <link>http://techrays.wordpress.com/2008/04/07/advanceddatagrid-performance-polls/</link>
         <description>Hello Advanced DataGrid users,
We have added a poll about AdvancedDataGrid&amp;#8217;s performance. Please take part in the poll and help us identify the areas which needs improvement.
The poll is hosted at flexpearls
Thanks again. &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=20&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=20</guid>
         <pubDate>Mon, 07 Apr 2008 05:27:13 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello Advanced DataGrid users,</p>
<p>We have added a poll about AdvancedDataGrid&#8217;s performance. Please take part in the poll and help us identify the areas which needs improvement.</p>
<p>The poll is hosted at <a rel="nofollow" target="_blank" href="http://flexpearls.blogspot.com/2008/04/advanceddatagrid-performance-poll.html">flexpearls</a></p>
<p>Thanks again.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techrays.wordpress.com/20/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techrays.wordpress.com/20/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/20/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/20/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/20/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/20/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/20/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=20&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Custom Aggregator sample for Flex OLAP</title>
         <link>http://flexpearls.blogspot.com/2008/04/custom-aggregator-sample-for-flex-olap.html</link>
         <description>Here is a &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPDemo5.swf&quot;&gt;sample&lt;/a&gt; which shows a percent custom aggregator used for OLAP. The sample shows computation of percentage of values to the total value. &lt;em&gt;The total value is assumed to be known before hand.&lt;/em&gt; &lt;p&gt;The PercentAgg class implements the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/olap/IOLAPCustomAggregator.html&quot;&gt;IOLAPCustomAggregator &lt;/a&gt;interface. The constructor takes the total value as input and uses it to compute the percentage of values in the computeEnd and computeObjectEnd functions. &lt;p&gt;The sample also shows how OLAPAttribute class can be extended to OLAPTotal to replace the &quot;(All)&quot; value with a custom name &quot;Total&quot;. &lt;p&gt;The sample also shows how OlapDataGrid can be created in AS and itemRendererProviders can be supplied to it and values displayed in ODG can be styled. Here is the complete &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPPercent.zip&quot;&gt;source&lt;/a&gt;.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-2746806596738797623?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-2746806596738797623</guid>
         <pubDate>Sun, 06 Apr 2008 22:13:00 -0700</pubDate>
      </item>
      <item>
         <title>Writing a Custom Aggregator for Flex OLAP</title>
         <link>http://flexpearls.blogspot.com/2008/04/writing-custom-aggregator-for-flex-olap.html</link>
         <description>Writing a custom aggregator for OLAP involves implementing the IOLAPCustomAggregator interface. It is easy to write a custom one based on the default ones. The default SUM, AVARAGE, MIN, MAX and COUNT aggregators source can be found in the mx.olap.aggregators directory. &lt;p&gt;The SUM, MIN, MAX and COUNT aggregators are all simple and acutally doesn't require any special handling as they are linear. The AVARAGE aggregator is special because avarage of avarages wouldn't give the correct result and hence we need to maintain proper information to arrive at the correct result. &lt;p&gt;The following sample shows how this is achieved. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://2.bp.blogspot.com/_sh8W7P3dJgY/R_n8-_nX2dI/AAAAAAAAABE/aYFHSoLGw_A/s1600-h/CustomAgg.JPG&quot;&gt;&lt;img style=&quot;display:block;margin:0px auto 10px;text-align:center;cursor:pointer;cursor:hand;&quot; src=&quot;http://2.bp.blogspot.com/_sh8W7P3dJgY/R_n8-_nX2dI/AAAAAAAAABE/aYFHSoLGw_A/s400/CustomAgg.JPG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5186454605052500434&quot;/&gt;&lt;/a&gt; &lt;p&gt;IOLAPCustomAggregator has 6 functions can they can be divided into two sets. &lt;p&gt;1. computeBegin,computeLoop and computeEnd. These functions are called to initialize, compute and return the simple aggregation value. &lt;p&gt;Suppose 1..8 are the input values and they need to avaraged as two different sets 1..5 and 6..8. The sequence of function calls is one computeBegin, one or many calls to computeLoop and one call to computeEnd. 1. computeBegin can be used to prepare for a fresh computation.
2. computeLoop is the place where the acutal computation takes place. This function would get called repeatedly to add new input values to the aggregation.
3. computeEnd is supposed to return the value of the computation. This is called when cube decides that no new input values would get added to this aggregation and it is ready to receive the final value. &lt;p&gt;2. computeObjectBegin, computeObjectLoop, computeObjectEnd. These functions are called to initialize, compute and return the &lt;strong&gt;aggregation of aggregations&lt;/strong&gt;. &lt;p&gt;The second set of calls would be, one call to computeObjectBegin, one or many calls to computeObjectLoop (depending on the number of aggregated values) and one call to computeObjectEnd. &lt;p&gt;As shown in the image these functions are supposed to compute the avarage of avarages. As the first set of functions saved the sum and count values separately the task is easy. We need just compute the sum of both these values from each avarage object. &lt;p&gt;In computeObjectBegin the first value to start the computation is passed. In computeObjectLoop the the computation is carried forward with additional values. In computeObjectEnd the result of the computation should be returned. Hope this helps!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-1425944377299936795?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-1425944377299936795</guid>
         <pubDate>Sun, 06 Apr 2008 20:47:00 -0700</pubDate>
         <media:thumbnail width="72" url="http://2.bp.blogspot.com/_sh8W7P3dJgY/R_n8-_nX2dI/AAAAAAAAABE/aYFHSoLGw_A/s72-c/CustomAgg.JPG" height="72" xmlns:media="http://search.yahoo.com/mrss/"/>
      </item>
      <item>
         <title>Here is much awaited PivotComponent in Flex</title>
         <link>http://flexmadeeasy.blogspot.com/2008/04/here-is-much-awaited-pivotcomponent-in.html</link>
         <description>Well here is a implementation of Excels pivotComponent . I have used the OLAPDataGrid and OLAP API's of flex 3.0 .&lt;br /&gt;&lt;br /&gt;For better experience click &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/pivotsample&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://satishtj.googlepages.com/pivot_component_sample.swf&quot; name=&quot;OLAPDemo4&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot; align=&quot;middle&quot; height=&quot;600&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; You are seeing&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Dimensions List ==&amp;gt; left corner where &quot;company &quot; etc are shown&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; Measures List ==&amp;gt; Below the dimension's list . You can choose &quot;Sum&quot; , &quot;Avg&quot; etc&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; TabNavigator which shows &quot;Chart View &quot; and &quot;grid View&quot;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; You can drag any dimension and drop it on to the Grid's or Charts row/column/slicer axis [ Grid n Chart will Prompt its acceptance]&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;You ca perform filtering by opening the popup button and unselecting what u dont need&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; You can perform slicing similarly&lt;/li&gt;&lt;/ul&gt;Source can be found &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/PivotComponent.zip&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/PivotComponent.zip&quot;&gt; &lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-6642607682636520221?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-6642607682636520221</guid>
         <pubDate>Sun, 06 Apr 2008 19:09:00 -0700</pubDate>
      </item>
      <item>
         <title>AdvancedDataGrid performance poll</title>
         <link>http://flexpearls.blogspot.com/2008/04/advanceddatagrid-performance-poll.html</link>
         <description>Hello AdvancedDataGrid users ! &lt;p&gt;I have added two polls to the end of my blog. One for suggesting in what areas should ADG performance improve. Second one for overall performance of ADG in your projects/apps. &lt;p&gt;Please spare some time out of your busy schedule and take the polls. &lt;p&gt;I would urge you take both the polls because just taking one poll many not deliver the exact picture. For example if you say vertical scrolling performance needs to be improved we don't know whether the app is hurt by its performance or it is that it would do better with a performance boost. &lt;p&gt;Thanks for your time ! &lt;p&gt;Of-course if you would like to send me a sample showing poor performance in a particular/general context please do by sending a &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;mailto:sreenivas.ramaswamy@gmail.com&quot;&gt;mail&lt;/a&gt; &lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;I am seeing more number of votes on Bad than expected :( &lt;p&gt;I would appreciate if you leave a comment as to which particular area of ADG you found the performance to be so poor that it forced you turn it down. I am asking this because votes are also going in favor of Good and OK. It would be of great help if I get a pointer in that direction so that we can study that area of the code more and see what performance improvements can be done. Thanks!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-3417417718310406762?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-3417417718310406762</guid>
         <pubDate>Sun, 06 Apr 2008 16:42:00 -0700</pubDate>
      </item>
      <item>
         <title>Advanced DataGrid as an item renderer within an Advanced DataGrid</title>
         <link>http://techrays.wordpress.com/2008/04/07/advanced-datagrid-as-an-item-renderer-within-an-advanced-datagrid/</link>
         <description>In this sample, I&amp;#8217;m using an Advanced DataGrid as an item renderer within another Advanced DataGrid. This type of configuration is very useful to give a master-detail view. This configuration can be customized more depending on any specific requirements.
Sample here
Application Source, Renderer source
Thanks to Sreeni for coming up with this. [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=19&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=19</guid>
         <pubDate>Sun, 06 Apr 2008 22:21:35 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this sample, I&#8217;m using an Advanced DataGrid as an item renderer within another Advanced DataGrid. This type of configuration is very useful to give a master-detail view. This configuration can be customized more depending on any specific requirements.</p>
<p><a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/MasterGrid.html">Sample here</a></p>
<p><a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/MasterGrid.mxml">Application Source</a>, <a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/DetailGrid.mxml">Renderer source</a></p>
<p>Thanks to <a rel="nofollow" target="_blank" href="http://flexpearls.blogspot.com/">Sreeni</a> for coming up with this.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techrays.wordpress.com/19/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techrays.wordpress.com/19/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/19/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/19/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/19/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/19/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/19/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=19&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Adobe RIA Architect Summit ‘08 : Ben Forta in charge</title>
         <link>http://flexvenom.wordpress.com/2008/04/03/adobe-ria-architect-summit-08-ben-forta-in-charge/</link>
         <description>The summit kicked off to a great start with Naresh Gupta(MD, Adobe India) giving insight into the exciting things to come followed by an eye opener by David Wadhwani ( VP and GM,Platform BU, Adobe ).
And then Ben Forta took over . Ben had the entire room raptured with awe and admiration at [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&amp;blog=1192506&amp;post=30&amp;subd=flexvenom&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexvenom.wordpress.com/?p=30</guid>
         <pubDate>Thu, 03 Apr 2008 05:10:07 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>The summit kicked off to a great start with <a rel="nofollow" target="_blank" href="http://www.adobe.com/aboutadobe/pressroom/executivebios/nareshgupta.html">Naresh Gupta</a>(MD, Adobe India) giving insight into the exciting things to come followed by an eye opener by David Wadhwani ( VP and GM,Platform BU, Adobe ).</p>
<p>And then <a rel="nofollow" target="_blank" href="http://www.forta.com/">Ben Forta</a> took over . Ben had the entire room raptured with awe and admiration at the technology . He demonstrated back end integration with the Flex applications, styling and skinning of the UI components and conflict management of the back end server all within insanely few lines of code. I have never seen some one present the power of Flex in such a unique style of presentation.</p>
<p>Go Flex and AIR . More to follow . This has been nothing but just the tip of ice berg.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexvenom.wordpress.com/30/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexvenom.wordpress.com/30/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexvenom.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexvenom.wordpress.com/30/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexvenom.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexvenom.wordpress.com/30/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexvenom.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexvenom.wordpress.com/30/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexvenom.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexvenom.wordpress.com/30/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexvenom.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexvenom.wordpress.com/30/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&blog=1192506&post=30&subd=flexvenom&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/a932dbd769bbb6b47335f39d9a10286c?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>venomeffect</media:title>
         </media:content>
         <category>Generic Flex</category>
      </item>
      <item>
         <title>Adobe RIA Architect Summit 2008 kicks off : Ushering in the artist</title>
         <link>http://flexvenom.wordpress.com/2008/04/03/adobe-ria-architect-summit-2008-kicks-off-ushering-in-the-artist/</link>
         <description>Venom ponders : It is not always silence before storm. Sometimes there is heavy traffic .
9 AM . Bangalore. Busy day. People rushing in and around. Heavy traffic. It is Thursday and two days away from the glorious weekends we all wait impatiently wait for .
Typical Thursday, right ? Wrong..
The history [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&amp;blog=1192506&amp;post=28&amp;subd=flexvenom&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexvenom.wordpress.com/?p=28</guid>
         <pubDate>Thu, 03 Apr 2008 00:39:29 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><h4><b>Venom ponders</b> : It is not always silence before storm. Sometimes there is heavy traffic .</h4>
<p>9 AM . Bangalore. Busy day. People rushing in and around. Heavy traffic. It is Thursday and two days away from the glorious weekends we all wait impatiently wait for .</p>
<p>Typical Thursday, right ? Wrong..</p>
<p>The history of internet interactivity is being rewritten here at the Chancery Pavilion , Bangalore.</p>
<p>Ladies and gentlemen. Presenting the Adobe RIA Architect Summit &#8216;08 , Bangalore.</p>
<p>The summit aims at bringing to light the next generation components and controls that define the layout of web and desktop applications of tomorrow, converging the design and creativity of a host of designer tools like the Adobe Flash, Dreamweaver,Fireworks etc. with optimized flex code thus bridging the designer-developer canyon, displaying mind blowing transition effects that zoom in and glide through the desktop and web, building business logic that don&#8217;t look drab anymore, architecting major applications using the highly recommended MVC architecture, changing the way you will look at video and images on the web .. ever., inviting the entire civilization of the interaction, innovation and animation of the web to your very own desktop &#8230;&#8230;&#8230;. the list goes on .</p>
<p>Two words to sum it up : <a rel="nofollow" target="_blank" href="http://www.adobe.com/go/air">AIR</a> and <a rel="nofollow" target="_blank" href="http://www.adobe.com/go/flex">FLEX</a></p>
<p>What does it make you ? An artist</p>
<p>So spread the word around and become a part of what might go down into history .</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexvenom.wordpress.com/28/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexvenom.wordpress.com/28/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexvenom.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexvenom.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexvenom.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexvenom.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexvenom.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexvenom.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexvenom.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexvenom.wordpress.com/28/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexvenom.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexvenom.wordpress.com/28/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&blog=1192506&post=28&subd=flexvenom&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/a932dbd769bbb6b47335f39d9a10286c?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>venomeffect</media:title>
         </media:content>
      </item>
      <item>
         <title>Automation Issues – controls non clickable</title>
         <link>http://ranikumar.wordpress.com/2008/04/02/automation-issues-controls-non-clickable/</link>
         <description>I am trying to cover the common issues faced by automation customers of Adobe Flex.
Issue Description :
When the application is compiled with automation libraries some controls become non click-able. (Without automation libraries, the controls behaves perfectly fine).Please note that issue is different from controls not recording right events.
Reason:
In application layout, a container is overlapping the controls. [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&amp;blog=2984667&amp;post=6&amp;subd=ranikumar&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://ranikumar.wordpress.com/?p=6</guid>
         <pubDate>Wed, 02 Apr 2008 01:45:21 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p><img border="0" width="1" src="http://ranikumar.wordpress.com/wp-admin/" height="1"/>I am trying to cover the common issues faced by automation customers of Adobe Flex.</p>
<p><font color="#800000"><strong>Issue Description :</strong><br />
</font>When the application is compiled with automation libraries some controls become non click-able. (Without automation libraries, the controls behaves perfectly fine).Please note that issue is different from controls not recording right events.</p>
<p><strong><font color="#800000">Reason:</font></strong><br />
In application layout, a container is overlapping the controls. Containers are invisible, and without automation, there are no event listeners to the containers. Hence all operation on the controls under the containers also work.<br />
But when automation libraries are included, containers gets listeners registered, hence it will not pass to the containers physically present under them. (You can visualize the container as a transparent sheet kept on controls)<br />
There are two samples below, working and no working case, when automation libraries are enabled.</p>
<p><em><font color="#800000"><strong>Non working case</strong>:</font></em></p>
<p>&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221;&gt;</p>
<p><b><font color="#0000ff">&lt;mx:Button label=&#8221;Hi&#8221; click=&#8221;{l1.text=&#8217;button clicked&#8217;}&#8221; /&gt;</font></b></p>
<p>&lt;mx:VBox <b>width=&#8221;100%&#8221; height=&#8221;100%&#8221;</b> alpha=&#8221;0&#8243; id=&#8221;vb1&#8243;&gt;</p>
<p>&lt;mx:Spacer height=&#8221;20&#8243; /&gt;</p>
<p>&lt;mx:Label id=&#8221;l1&#8243; text=&#8221;button not clicked&#8221; /&gt;</p>
<p>&lt;/mx:VBox&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<p>The application above does not allow the button to be clicked, if it is compiled with automation libraries. Without automation libraries it can be clicked.Reason is that, the invisible VBox overlaps this button. When we click on the button the following script gets recorded.Browser(&#8220;Browser&#8221;).FlexApplication(&#8220;temp&#8221;).FlexBox(&#8220;vb1&#8243;).Click</p>
<p><font color="#800000"><strong>Working equivalent case</strong>:</font></p>
<p>If such a case exists it can be changed as follows.</p>
<p>&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221;&gt;&lt;mx:VBox <b>width=&#8221;100%&#8221; height=&#8221;100%&#8221;</b>&gt;</p>
<p><b>&lt;mx:Button label=&#8221;Hi&#8221; click=&#8221;{l1.text=&#8217;button clicked&#8217;}&#8221; /&gt;</b></p>
<p>&lt;mx:Spacer height=&#8221;20&#8243; /&gt;</p>
<p>&lt;mx:Label id=&#8221;l1&#8243; text=&#8221;button not clicked&#8221; /&gt;</p>
<p>&lt;/mx:VBox&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<p>Here button is inside the VBox. And hence the script gets recorded as</p>
<p>Browser(&#8220;Browser&#8221;).FlexApplication(&#8220;temp&#8221;).FlexButton(&#8220;Hi&#8221;).Click</p>
<p>Note from the script that , the user can find out what container is overlapping the control. And they can use the design view also to find this.</p>
<p>I.e. in short , in such scenario problem is with the application layout of components.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ranikumar.wordpress.com/6/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ranikumar.wordpress.com/6/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/ranikumar.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranikumar.wordpress.com/6/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/ranikumar.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranikumar.wordpress.com/6/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/ranikumar.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranikumar.wordpress.com/6/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/ranikumar.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranikumar.wordpress.com/6/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/ranikumar.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranikumar.wordpress.com/6/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&blog=2984667&post=6&subd=ranikumar&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c06644f7b92b2b159591d2e1ee5fa396?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>ranikumar</media:title>
         </media:content>
         <media:content url="http://ranikumar.wordpress.com/wp-admin/" medium="image"/>
         <category>FlexAutomation</category>
      </item>
      <item>
         <title>Documentation about Creating a Automation delegate for custom components in Flex</title>
         <link>http://flexpearls.blogspot.com/2008/03/documentation-about-creating-automation.html</link>
         <description>Documentation and sammple about how to go about creating an automation delegate for custom components in Flex is detailed &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://livedocs.adobe.com/flex/3/html/help.html?content=functest_components2_13.html&quot;&gt;here&lt;/a&gt; &lt;p&gt;It also has step by step description of delegate creation for the RandomWalk component created by &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.quietlyscheming.com/&quot;&gt;Ely&lt;/a&gt;. &lt;p&gt;Hope it helps!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-2939827843978933346?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-2939827843978933346</guid>
         <pubDate>Thu, 27 Mar 2008 16:31:00 -0700</pubDate>
      </item>
      <item>
         <title>Adobe Developer Week – Flex Data Visualization and Charting Preso</title>
         <link>http://sunban.wordpress.com/2008/03/28/adobe-developer-week-flex-data-visualization-and-charting-preso/</link>
         <description>The day got started pretty early literally at around 3:30 AM IST (So any glitches / goof-ups that happened during the presentation, you know the reason), we were told about 700+ participants have registered for this session worldwide in the developer week organized by Adobe, that was an awesome response, Thank you.
I hope the presentation [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&amp;blog=1168757&amp;post=21&amp;subd=sunban&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sunban.wordpress.com/?p=21</guid>
         <pubDate>Thu, 27 Mar 2008 21:05:11 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>The day got started pretty early literally at around 3:30 AM IST (So any glitches / goof-ups that happened during the presentation, you know the reason), we were told about 700+ participants have registered for this session worldwide in the developer week organized by Adobe, that was an awesome response, Thank you.</p>
<p>I hope the presentation gave an overview of the data visualization capabilities available in Flex Builder Pro. Aparting from Charting, Advanced Data Grid and OLAP capabilities are part of this library. I have attached the presentation here and some samples that were shared during the presentation.</p>
<p><a rel="nofollow" target="_blank" href="http://sunban.files.wordpress.com/2008/03/developerweek_final.pdf" title="Developer Week - Data Visualization and Charting">Developer Week &#8211; Data Visualization and Charting</a> PDF</p>
<p><a rel="nofollow" target="_blank" href="http://randomsamples.googlecode.com/files/Charting.zip" title="Charting samples">Charting</a> Samples</p>
<p><a rel="nofollow" target="_blank" href="http://randomsamples.googlecode.com/files/ADGOLAP.zip" title="ADG &amp; OLAP Samples">ADG&amp;OLAP</a> Samples &#8211; Thanks to <a rel="nofollow" target="_blank" href="http://flexpearls.blogspot.com">Sreenivas</a> for providing these</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sunban.wordpress.com/21/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sunban.wordpress.com/21/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sunban.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sunban.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sunban.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sunban.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sunban.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sunban.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sunban.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sunban.wordpress.com/21/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sunban.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sunban.wordpress.com/21/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&blog=1168757&post=21&subd=sunban&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/6e00301b94f851dee3a4afa6a7d82405?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sunban</media:title>
         </media:content>
         <category>Flex</category>
      </item>
      <item>
         <title>AdvancedDataGrid, Charts and OLAP source gets unziped in FlexBuilder Pro version</title>
         <link>http://flexpearls.blogspot.com/2008/03/advanceddatagrid-and-olap-source-gets.html</link>
         <description>What I thought is a known fact seems not so widely known. Hence posting it. &lt;p&gt;When &lt;strong&gt;FlexBuilder Pro&lt;/strong&gt; version is bought and a valid licensce key is entered the source code for the complete datavisulation.swc would get unzipped and get placed under &lt;strong&gt;&lt;p&gt;&amp;lt;FlexBuilder installation direcotry&amp;gt;sdk/3.0.0/fbpro/...&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;directory. Which means users would get access to AdvancedDataGrid, Charts and OLAP source code. &lt;p&gt;It is &lt;strong&gt;not open-source&lt;/strong&gt; but source is available for you to take a look and override functions with more confidence and knowledge of the internal workings. And of-course suggest/complain ! &lt;p&gt;Enjoy !&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-5584921668408151700?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-5584921668408151700</guid>
         <pubDate>Wed, 19 Mar 2008 15:46:00 -0700</pubDate>
      </item>
      <item>
         <title>Adding a drop-down button to the OlapDatagrid header</title>
         <link>http://flexmadeeasy.blogspot.com/2008/03/adding-drop-down-button-to-olapdatagrid.html</link>
         <description>Flex give u the liberty to have different renderers . Well first lets understand how things work ..&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Requirements&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt; &lt;/span&gt;Place PopUpButton [ PivotPopUpButton] as a headerRenderer for OlapDataGrid&lt;/li&gt;&lt;li&gt; When the dropdown is selected the dropdown list provides a list of members of the attribute&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt; Explaination&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://2.bp.blogspot.com/_fSZ8DAYNw9Q/R9pPcSEYpFI/AAAAAAAAAAc/adV0wjhagMM/s1600-h/fig1.JPG&quot;&gt;&lt;img style=&quot;margin:0pt 10px 10px 0pt;float:left;cursor:pointer;width:341px;height:197px;&quot; src=&quot;http://2.bp.blogspot.com/_fSZ8DAYNw9Q/R9pPcSEYpFI/AAAAAAAAAAc/adV0wjhagMM/s320/fig1.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5177538068920968274&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OlapDataGrid extends form AdvancedDataGrid.&lt;br /&gt;OlapDataGrid when creating headers , will call makelistdata for each header .&lt;br /&gt;Now if u wish to pass some information apart from already available info u need to create a class that extends AdvancedDataGridListData.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example in our scenario we need a popUpButton which shows members when a dropdown button is pressed . So the information of members should be passed on to the PopUpButton . So what we do is we create a class &lt;span style=&quot;font-weight:bold;&quot;&gt;PivotListData &lt;/span&gt;that extends the &lt;span style=&quot;font-weight:bold;&quot;&gt;AdvancedDataGridListData &lt;/span&gt;and add two properties namely&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;hasMembers : Boolean&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;members : ArrayCollection&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;N&lt;/span&gt;ow we override&lt;span style=&quot;font-weight:bold;&quot;&gt; makelistData&lt;/span&gt; of OlapDataGrid so that it returns PivotListData . So that olapDataGrid gives PivotListData to the renderers . In the renderer's &lt;span style=&quot;font-weight:bold;&quot;&gt;set listdata&lt;/span&gt; , you have all the info needed . You can find the source code &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://satishtj.googlepages.com/Solution.zip&quot;&gt;here &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When you click the dropdown button of Company , you can see the choices .( Some problem with popup button coz of which u need to click the button twice ).&lt;br /&gt;&lt;br /&gt;[PS : that I havent added the code for filtering here .. Soon I ll post a pivot Component in Flex ]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://satishtj.googlepages.com/olap123.swf&quot; name=&quot;OLAPDemo4&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot; align=&quot;middle&quot; height=&quot;400&quot; width=&quot;400&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5080756141958625067-5257813302408375913?l=flexmadeeasy.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Satish T J</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-5080756141958625067.post-5257813302408375913</guid>
         <pubDate>Thu, 13 Mar 2008 19:56:00 -0700</pubDate>
         <media:thumbnail width="72" url="http://2.bp.blogspot.com/_fSZ8DAYNw9Q/R9pPcSEYpFI/AAAAAAAAAAc/adV0wjhagMM/s72-c/fig1.JPG" height="72" xmlns:media="http://search.yahoo.com/mrss/"/>
      </item>
      <item>
         <title>Extracting the source from an IHierarchicalCollectionView</title>
         <link>http://techrays.wordpress.com/2008/03/14/extracting-the-source-from-an-ihierarchicalcollectionview/</link>
         <description>When you set Object/Collection as a source for an AdvancedDataGrid to display the source in a Hierarchical manner, the AdvancedDataGrid.dataProvider will return an instance of IHierarchicalCollectionView because internally the source is used to construct a HierarchicalCollectionView which is returned via the dataProvider property.
What if, you want the original source from this IHierarchicalCollectionView. Well, there are [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=18&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=18</guid>
         <pubDate>Thu, 13 Mar 2008 21:27:57 -0700</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>When you set Object/Collection as a source for an AdvancedDataGrid to display the source in a Hierarchical manner, the AdvancedDataGrid.dataProvider will return an instance of IHierarchicalCollectionView because internally the source is used to construct a HierarchicalCollectionView which is returned via the dataProvider property.</p>
<p>What if, you want the original source from this IHierarchicalCollectionView. Well, there are some API&#8217;s for achieving this -</p>
<p><code><br />
// First, get the HierarchicalData used to create the HierarchicalCollection<br />
var hd:IHierarchicalData = IHierarchicalCollectionView(adg.dataProvider).source;<br />
</code></p>
<p><code><br />
//From the HierarchicalData, get the source collection/object<br />
var source:Object = hd.getRoot();<br />
</code></p>
<p>Here is a <a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/ADG_Source.html">sample</a>.<br />
<a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/ADG_Source.mxml">Source here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techrays.wordpress.com/18/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techrays.wordpress.com/18/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/techrays.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techrays.wordpress.com/18/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/techrays.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techrays.wordpress.com/18/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/techrays.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techrays.wordpress.com/18/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/techrays.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techrays.wordpress.com/18/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/techrays.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techrays.wordpress.com/18/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&blog=1319355&post=18&subd=techrays&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://1.gravatar.com/avatar/33fd0e19e31726ae7391ee511e00f585?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sameer</media:title>
         </media:content>
      </item>
      <item>
         <title>Introducing OLAPTimeDimension for OLAP</title>
         <link>http://flexpearls.blogspot.com/2008/03/introducing-olaptimedimension-for-olap.html</link>
         <description>In &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://flexpearls.blogspot.com/2008/03/simple-uses-of-olap.html&quot;&gt;this&lt;/a&gt; sample though the data contained date information we didn't use it while building the OLAP cube. The reason was simple. The default OLAP implmentation in Flex 3 cannot handle dates in that format. It requires the date to be broken down into its components like year and month. If half year and quarter information is required that needs to be added to the flat data. That is a great pain point. &lt;p&gt;Here is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPSamples.zip&quot;&gt;OLAPTimeDimension&lt;/a&gt; to the rescue. It can be introduced as any other dimension in the OLAPCube schema and then configured to return year, half year, quarter, month and day in any combination. &lt;pre&gt;
&amp;lt;mx:OLAPCube id=&quot;salesCube&quot; &amp;gt; &amp;lt;mx:OLAPDimension name=&quot;SalesData&quot; &amp;gt; &amp;lt;mx:OLAPAttribute name=&quot;Company&quot; dataField=&quot;company&quot; /&amp;gt; &amp;lt;mx:OLAPAttribute name=&quot;Region&quot; dataField=&quot;region&quot; /&amp;gt; &amp;lt;mx:OLAPAttribute name=&quot;Market&quot; dataField=&quot;market&quot; /&amp;gt; &amp;lt;mx:OLAPAttribute name=&quot;Product&quot; dataField=&quot;product&quot; /&amp;gt; &amp;lt;mx:OLAPHierarchy name=&quot;Region-Market-Store&quot; &amp;gt; &amp;lt;mx:OLAPLevel attributeName=&quot;Company&quot; /&amp;gt; &amp;lt;mx:OLAPLevel attributeName=&quot;Region&quot; /&amp;gt; &amp;lt;mx:OLAPLevel attributeName=&quot;Market&quot; /&amp;gt; &amp;lt;mx:OLAPLevel attributeName=&quot;Product&quot; /&amp;gt; &amp;lt;/mx:OLAPHierarchy&amp;gt; &amp;lt;/mx:OLAPDimension&amp;gt; &amp;lt;local:OLAPTimeDimension name=&quot;Years&quot; dataField=&quot;date&quot; /&amp;gt; &amp;lt;mx:OLAPMeasure name=&quot;Revenue&quot; dataField=&quot;revenue&quot; /&amp;gt; &amp;lt;/mx:OLAPCube&amp;gt;
&lt;/pre&gt; &lt;p&gt;Using this we get the following result where in we can query revenue for different years.      &lt;iframe class=&quot;embeddedvideo&quot; src=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPDemo4.swf&quot; width=&quot;400&quot; height=&quot;400&quot; name=&quot;OLAPDemo4&quot; align=&quot;middle&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot;&gt; &lt;/iframe&gt;
 &lt;p&gt;It can be easily extended to query quarters and months by setting includeQuarter and includeMonth to true on OLAPTimeDimension. The source is &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sreenivas.ramaswamy.googlepages.com/OLAPSamples.zip&quot;&gt;here&lt;/a&gt;.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245414118611676168-4702168961035137914?l=flexpearls.blogspot.com' alt=''/&gt;&lt;/div&gt;</description>
         <author>Sreenivas</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-1245414118611676168.post-4702168961035137914</guid>
         <pubDate>Wed, 12 Mar 2008 23:00:00 -0700</pubDate>
      </item>
      <item>
         <title>Placement of Axes in a Flex Chart</title>
         <link>http://sunban.wordpress.com/2008/02/29/placement-of-axes-in-a-flex-chart/</link>
         <description>In Flex 3, we added multiple axes and renderers feature, where the developer could have any number of axes and they could place the horizontal axes either on bottom / top and the vertical axes on left / right. However there were some requests to place it in the middle of the chart.
One could easily [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&amp;blog=1168757&amp;post=17&amp;subd=sunban&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://sunban.wordpress.com/?p=17</guid>
         <pubDate>Fri, 29 Feb 2008 00:54:55 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>In Flex 3, we added multiple axes and renderers feature, where the developer could have any number of axes and they could place the horizontal axes either on bottom / top and the vertical axes on left / right. However there were some requests to place it in the middle of the chart.</p>
<p>One could easily customize the Charting API to achieve this, just override the function updateAxisLayout in a customized chart as shown and change the positions of the axisrenderers, you should get something like the screenshot below</p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:'Courier New';color:#0033ff;">override</span></b><span style="font-size:10pt;font-family:'Courier New';color:black;"> </span><b><span style="font-size:10pt;font-family:'Courier New';color:#0033ff;">protected</span></b><span style="font-size:10pt;font-family:'Courier New';color:black;"> </span><b><span style="font-size:10pt;font-family:'Courier New';color:#339966;">function</span></b><span style="font-size:10pt;font-family:'Courier New';color:black;"> updateAxisLayout(unscaledWidth:Number, unscaledHeight:Number):</span><b><span style="font-size:10pt;font-family:'Courier New';color:#0033ff;">void</span></b><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span>{</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';color:black;"> <span></span><span></span></span><b><span style="font-size:10pt;font-family:'Courier New';color:#0033ff;">super</span></b><span style="font-size:10pt;font-family:'Courier New';color:black;">.updateAxisLayout(unscaledWidth,unscaledHeight);</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';"></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';color:black;"><span></span><span> </span><span> </span>verticalAxisRenderer.move(verticalAxisRenderer.x &#8211; unscaledWidth / 2, verticalAxisRenderer.y);</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span> </span><span> </span>horizontalAxisRenderer.move(horizontalAxisRenderer.x,horizontalAxisRenderer.y &#8211; unscaledHeight / 2);</span><span style="font-size:10pt;font-family:'Courier New';"></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';color:black;"><span></span><span></span>}</span></p>
<p class="MsoNormal"><a rel="nofollow" target="_blank" href="http://sunban.files.wordpress.com/2008/02/axes_placement.jpg" title="axes_placement.jpg"><img src="http://sunban.files.wordpress.com/2008/02/axes_placement.jpg" alt="axes_placement.jpg"/></a></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">You can notice that there is some amount of overlap between the labels of the verticalAxisRenderer and the horizontalAxisRenderer, you could circumvent this by using your own labelRenderer for the AxisRenderer, something like this.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"> <span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;mx:horizontalAxisRenderer&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;"><br />
&lt;mx:AxisRenderer&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;mx:labelRenderer&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:#006633;">&lt;mx:Component&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;mx:HBox&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:#006633;">&lt;mx:Script&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>&lt;![CDATA[</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>override public function set data(value:Object):void</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>{</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>super.data = data;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>l1.text = value.text;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>}</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span>]]&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:#006633;">&lt;/mx:Script&gt;</span><span style="font-size:10pt;font-family:'Courier New';"></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';color:black;"><span> </span><span> </span><span> </span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;mx:Label</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><span> </span>paddingTop=&#8221;</span><span style="font-size:10pt;font-family:'Courier New';color:#990000;">-25</span><span style="font-size:10pt;font-family:'Courier New';color:black;">&#8221; id = &#8220;</span><span style="font-size:10pt;font-family:'Courier New';color:#990000;">l1</span><span style="font-size:10pt;font-family:'Courier New';color:black;">&#8220;</span><span style="font-size:10pt;font-family:'Courier New';color:blue;">/&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><span> </span></span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;/mx:HBox&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:#006633;">&lt;/mx:Component&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;/mx:labelRenderer&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span><span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;/mx:AxisRenderer&gt;</span><span style="font-size:10pt;font-family:'Courier New';color:black;"><br />
<span></span></span><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;/mx:horizontalAxisRenderer&gt;</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sunban.wordpress.com/17/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sunban.wordpress.com/17/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/sunban.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sunban.wordpress.com/17/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/sunban.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sunban.wordpress.com/17/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/sunban.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sunban.wordpress.com/17/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/sunban.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sunban.wordpress.com/17/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/sunban.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sunban.wordpress.com/17/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sunban.wordpress.com&blog=1168757&post=17&subd=sunban&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/6e00301b94f851dee3a4afa6a7d82405?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>sunban</media:title>
         </media:content>
         <media:content url="http://sunban.files.wordpress.com/2008/02/axes_placement.jpg" medium="image">
            <media:title>axes_placement.jpg</media:title>
         </media:content>
         <category>Flex</category>
      </item>
      <item>
         <title>Automation Of Flex Applications</title>
         <link>http://ranikumar.wordpress.com/2008/02/26/automation-of-flex-applications/</link>
         <description>Adobe provides the automation framework for the flex components. The plug-in for the QTP tool is also provided by Adobe. Users of flex will be using either the 2.0.1 sdk or the latest 3.0 sdk. With the Flex3 release, users of Flex 3.0 can try the automation support using the trail version or standard version of Flex [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&amp;blog=2984667&amp;post=5&amp;subd=ranikumar&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://ranikumar.wordpress.com/?p=5</guid>
         <pubDate>Tue, 26 Feb 2008 05:08:57 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><div><span style="font-family:Georgia;">Adobe provides the automation framework for the flex components. The plug-in for the QTP tool is also provided by Adobe.</span></div>
<div></div>
<div></div>
<div></div>
<div><span style="font-family:Georgia;">Users of flex will be using either the 2.0.1 sdk or the latest 3.0 sdk.</span></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div><span style="font-family:Georgia;">With the Flex3 release, users of Flex 3.0 can try the automation support using the trail version or standard version of Flex Builder. But this will be restricted. i.e. the users can try only ~30 lines of user interaction recording and replay. </span></div>
<div></div>
<div></div>
<div></div>
<div><span style="font-family:Georgia;">Once the user buys the professional version of Flex Builder, they can enable their 2.0.1 and 3.0 applications for automation.</span><span style="font-family:Georgia;">Old users (2.0.1) of automation was expected to have the LCDS license to use the automation. With flex3 this is not needed. However there is no trial version for 2.0.1 automation with the FlexBuilder.</span></div>
<div></div>
<div></div>
<div></div>
<div><span style="font-family:Georgia;">The section below is for the users who already know how to use the Adobe Flex Automation and Flex Builder. It mentions how user can pick up the different components needed for automation.</span></div>
<div></div>
<div></div>
<div></div>
<div><strong><span style="font-family:Georgia;"><span style="color:#800000;">2.0.1 User</span></span></strong></div>
<div><strong><span style="font-family:Georgia;"></span></strong></div>
<div><strong><span style="font-family:Georgia;"></span></strong></div>
<div><strong></strong></div>
<div><strong><span style="font-family:Georgia;"> </span></strong><em><span style="font-family:Georgia;">Libraries to be used (set the sdk to be used is 2.0. sdk)</span></em></div>
<div><em></em><em><span style="font-family:Georgia;">Automation Libraries &#8211; automation.swc and automation-charts.swc</span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Location &#8211; (C:Program FilesAdobeFlex Builder 3sdks2.0.1frameworkslibs)</span></em></span></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;"> </span></em></span><em><span style="font-family:Georgia;">Automation Libraies &#8211; automation-agent_rb.swc automation_agent.swc and qtp.swc (user should move the _rb.swc to the locale folder of 2.0.1frameworks)</span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Location &#8211; C:Program FilesAdobeFlex Builder 3sdks3.0.0frameworkslibs2.0.1.automation_swcs (this directory will be present only when they enter the valid flex builder professional license key</span></em></span></div>
<div><em><span style="font-family:Georgia;color:blue;"></span></em></div>
<div><em></em></div>
<div><em></em><em><span style="font-family:Georgia;">Plugin to be used &#8211; QTP_Plugin_Installer</span></em><em><span style="font-family:Georgia;color:blue;"> </span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Location- C:Program FilesAdobeFlex Builder 3InstallersQTP_Plugin_Installer.exe</span></em></span></div>
<div><em><span style="font-family:Georgia;color:blue;"></span></em></div>
<div><em></em></div>
<div><em></em><em><span style="font-family:Georgia;">How to run the application without recompiling.</span></em></div>
<div><em></em><em><span style="font-family:Georgia;">Use the runtime loading swf. How to create the runtime loading swf.</span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Point to the location of the 2.0.1 swc’s mentioned above in the build.bat which is available under C:Program FilesAdobeFlex Builder 3sdks3.0.0templatesautomation-runtimeloading-files and compile the runtimeloading.swf from the runtimeloading.mxml </span></em></span></div>
<div><em></em></div>
<div><em></em></div>
<div><em></em><strong><em><span style="font-family:Georgia;"><span style="color:#800000;">3.0 User</span> </span></em></strong><em><span style="font-family:Georgia;"> </span></em></div>
<div><em><span style="font-family:Georgia;"> </span></em></div>
<div><em></em></div>
<div><em></em></div>
<div><em></em><em><span style="font-family:Georgia;">Libraries to be used (set the sdk to be used is 3.0. sdk)</span></em></div>
<div><em><span style="font-family:Georgia;">Automation</span></em><em><span style="font-family:Georgia;">Libraries &#8211; automation.swc and automation_agent.swc,automation_dmv.swc automation_flashflexkit.swc qtp.swc</span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Location &#8211; (C:Program FilesAdobeFlex Builder 3sdks2.0.1frameworkslibs) </span></em></span></div>
<div><em><span style="font-family:Georgia;">Plug-in to be used <span style="color:#000000;">-QTP_Plugin_Installer.exe</span></span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Location &#8211; C:Program FilesAdobeFlex Builder 3InstallersQTP_Plugin_Installer.exe</span></em></span></div>
<div><em><span style="font-family:Georgia;">How to run the application without recompiling.</span></em></div>
<div><span style="color:#0000ff;"><em><span style="font-family:Georgia;">Run the build.bat which is available under C:Program FilesAdobeFlex Builder 3sdks3.0.0templatesautomation-runtimeloading-files use that runtimeloading.swf</span></em></span></div>
<div><span style="font-family:Georgia;">(The users who are not familiar with the flex automation can get the details of the same from <a rel="nofollow" target="_blank" href="http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_fb.html#install_automated_testing">http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_fb.html#install_automated_testing</a> and from the Help of FlexBuilder AdobeFlex3Help -&gt; Flex Data visualization developer&#8217;s Guide -&gt; Advanced Data Grid Controls and Automation Tools -&gt; Creating Applications For testing)</span><span style="font-family:Times New Roman;"> </span></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ranikumar.wordpress.com/5/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ranikumar.wordpress.com/5/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/ranikumar.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranikumar.wordpress.com/5/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/ranikumar.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranikumar.wordpress.com/5/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/ranikumar.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranikumar.wordpress.com/5/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/ranikumar.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranikumar.wordpress.com/5/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/ranikumar.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranikumar.wordpress.com/5/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&blog=2984667&post=5&subd=ranikumar&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c06644f7b92b2b159591d2e1ee5fa396?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>ranikumar</media:title>
         </media:content>
      </item>
      <item>
         <title>Hello world!</title>
         <link>http://ranikumar.wordpress.com/2008/02/26/hello-world/</link>
         <description>Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging! &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&amp;blog=2984667&amp;post=1&amp;subd=ranikumar&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false"></guid>
         <pubDate>Tue, 26 Feb 2008 02:45:52 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to <a rel="nofollow" target="_blank" href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ranikumar.wordpress.com/1/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ranikumar.wordpress.com/1/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/ranikumar.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranikumar.wordpress.com/1/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/ranikumar.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranikumar.wordpress.com/1/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/ranikumar.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranikumar.wordpress.com/1/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/ranikumar.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranikumar.wordpress.com/1/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/ranikumar.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranikumar.wordpress.com/1/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranikumar.wordpress.com&blog=2984667&post=1&subd=ranikumar&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/c06644f7b92b2b159591d2e1ee5fa396?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>ranikumar</media:title>
         </media:content>
         <category>Uncategorized</category>
      </item>
      <item>
         <title>HOWTO: Context specific data filter using a popUp on the AdvancedDataGrid headerRenderer</title>
         <link>http://flexvenom.wordpress.com/2008/02/25/howto-context-specific-data-filter-using-a-popup-on-the-advanceddatagrid-headerrenderer/</link>
         <description>&amp;#8220;Venom Ponders : If context weren&amp;#8217;t that important, then man can pray for being the lone male in a world full of women and God can give him that pleasure&amp;#8230;&amp;#8230;&amp;#8230;&amp;#8230;&amp;#8230;&amp;#8230;&amp;#8230;while making him a raving homosexual &amp;#8220;
BackGround:
Some of the most intriguing applications of a grid is a task planner . A task planner has the kind [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&amp;blog=1192506&amp;post=25&amp;subd=flexvenom&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://flexvenom.wordpress.com/?p=25</guid>
         <pubDate>Mon, 25 Feb 2008 02:57:44 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8220;Venom Ponders : If <u>context</u> weren&#8217;t that important, then man can pray for being the lone male in a world full of women and God can give him that pleasure&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;while making him a raving homosexual &#8220;</p>
<h4>BackGround:</h4>
<p>Some of the most intriguing applications of a grid is a task planner . A task planner has the kind of functionality that can push the limits of customization we can push a grid to. One of the most important features of a task planner will be to filter the data based on some category without compromising on the oft neglected &#8220;intuitive&#8221; factor . Enter the AdvancedDataGrid.</p>
<p>Among the many customizable pieces of the AdvancedDataGrid, the headerRenderer should top the list . It is surprising the kind of things a person can fathom and apply with modifications here and there to the ADG header , my latest lap mate . But then again , she has has her limitations. She is not that great in accommodating three or more UIComponents . I thought I will get around to it to solve both the problems .</p>
<h4>Code explained:</h4>
<p>The headerRenderer here in this code sample is a modification to the existing AdvancedDataGridHeaderRenderer. She accomodates a popUpButton with a popUpMenu whose members change on the basis of the dataField of the column whose header carries it.</p>
<p>Two functions in particular need to be mentioned here. These being :</p>
<p>protected function onPopUpMouseDown(event:MouseEvent):void{&#8230;} <i>and</i></p>
<p>protected function filterData(event:MenuEvent):void {&#8230;}</p>
<p>The first function provides the functionality and the dataProvider to load the PopUpMenu while the second function provides the functionality to specify the filter function. Thats it. Simple is&#8217;nt it ? Now if someone needs to provider a different functionality to the code altogether rather than specify the filter function , then these are the functions to override to get the functionality working.</p>
<p>P.S : I confess the code can be buggy . And yeah. The dataFields are hard coded into the set data of the headerRenderer. Dint think of a better means of getting around it . This being a prototype component you are free to modify it , steal it and sabotage it at your will to suit your requirements. She is for open stuff.</p>
<p>Here&#8217;s how the output of a sample program using this headerRenderer will look like :</p>
<p><img src="http://kaashif.ahmed.googlepages.com/popUpExample.JPG" alt="popUpExample" align="top" height="687" width="981"/></p>
<h4>Goodies:</h4>
<p><a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/PopUpSample.html">Heres a sample application using this popUp header renderer component </a></p>
<p>You can find the source <a rel="nofollow" target="_blank" href="http://kaashif.ahmed.googlepages.com/PopUpHeaderSource.zip">here</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/flexvenom.wordpress.com/25/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/flexvenom.wordpress.com/25/"/> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gocomments/flexvenom.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexvenom.wordpress.com/25/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godelicious/flexvenom.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexvenom.wordpress.com/25/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/gostumble/flexvenom.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexvenom.wordpress.com/25/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/godigg/flexvenom.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexvenom.wordpress.com/25/"/></a> <a rel="nofollow" target="_blank" href="http://feeds.wordpress.com/1.0/goreddit/flexvenom.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexvenom.wordpress.com/25/"/></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexvenom.wordpress.com&blog=1192506&post=25&subd=flexvenom&ref=&feed=1"/></div>]]></content:encoded>
         <media:content url="http://0.gravatar.com/avatar/a932dbd769bbb6b47335f39d9a10286c?s=96&amp;amp;d=identicon&amp;amp;r=G" medium="image">
            <media:title>venomeffect</media:title>
         </media:content>
         <media:content url="http://kaashif.ahmed.googlepages.com/popUpExample.JPG" medium="image">
            <media:title>popUpExample</media:title>
         </media:content>
         <category>HOWTO</category>
      </item>
      <item>
         <title>A 3-state checkbox in an AdvancedDataGrid ItemRenderer</title>
         <link>http://techrays.wordpress.com/2008/02/18/a-3-state-checkbox-in-an-advanceddatagrid-itemrenderer/</link>
         <description>There is a post in Flex component Yahoo group on how to show a 3-state checkbox in an AdvancedDataGrid.
It has been implemented for the Flex Tree Control in the Flex cookbook.
I thought lets write a similar example for AdvancedDataGrid. I made some changes in the original sample and here it is; working for the [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=techrays.wordpress.com&amp;blog=1319355&amp;post=16&amp;subd=techrays&amp;ref=&amp;feed=1&quot;/&gt;</description>
         <guid isPermaLink="false">http://techrays.wordpress.com/?p=16</guid>
         <pubDate>Mon, 18 Feb 2008 00:55:01 -0800</pubDate>
         <content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a post in <a rel="nofollow" target="_blank" href="http://tech.groups.yahoo.com/group/flexcomponents/message/3550">Flex component Yahoo group</a> on how to show a 3-state checkbox in an AdvancedDataGrid.</p>
<p>It has been implemented for the Flex Tree Control in the <a rel="nofollow" target="_blank" href="https://store1.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&amp;postid=545&amp;loc=en_US&amp;productid=2">Flex cookbook</a>.</p>
<p>I thought lets write a similar example for AdvancedDataGrid. I made some changes in the original sample and here it is; working for the AdvancedDataGrid control.</p>
<p><a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/CheckADG.html">Example here</a></p>
<p><a rel="nofollow" target="_blank" href="http://prosameer.googlepages.com/CheckADG.zip">Source here</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techrays.wordpress.com/16/"/> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techrays.wordpress.com/16/"/> <a rel="nofollow" 