<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christophe Coenraets&#187; ajax</title>
	<atom:link href="http://coenraets.org/blog/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://coenraets.org/blog</link>
	<description>Mobile, Cloud, HTML, JavaScript, Java, PHP, Flex</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:02:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Interactive Bubble Pipeline: Another Hybrid (HTML/Flex) Example</title>
		<link>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=interactive-bubble-pipeline-another-hybrid-htmlflex-example</link>
		<comments>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 06:20:27 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/</guid>
		<description><![CDATA[A customer recently pointed out to me that many of our examples feature full-page Flex applications, and wanted to me to demonstrate how a Flex application can integrate with an HTML/Ajax application. Hybrid applications are definitely part of our vision for Flex, and there are many real-life examples of mixing Flash and HTML content out [...]
	
<!-- Start WP Socializer Plugin - Retweet Button -->
<a href="http://twitter.com/?status=RT @ Interactive Bubble Pipeline: Another Hybrid (HTML/Flex) Example http://coenraets.org/blog/?p=56" target="_blank">Retweet this</a>
<!-- End WP Socializer Plugin - Retweet Button -->

	
	
<!-- Start WP Socializer Plugin - Facebook Button -->
<a href="https://www.facebook.com/sharer.php?u=http%3A%2F%2Fcoenraets.org%2Fblog%2F2007%2F11%2Finteractive-bubble-pipeline-another-hybrid-htmlflex-example%2F" target="_blank">Share on Facebook</a>
<!-- End WP Socializer Plugin - Facebook Button -->



Follow @ccoenraets
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
]]></description>
			<content:encoded><![CDATA[<p>A customer recently pointed out to me that many of our examples feature full-page Flex applications, and wanted to me to demonstrate how a Flex application can integrate with an HTML/Ajax application. Hybrid applications are definitely part of our vision for Flex, and there are many real-life examples of mixing Flash and HTML content out there (see  <a href="http://finance.google.com/finance?q=adbe">http://finance.google.com/finance?q=adbe</a>). This customer wanted to look at the integration at the code level. Instead of the usual “Hello from Flex”/”Hello from JavaScript” message exchange example, I wanted to show something more meaningful that would also show “why” you would actually want to do this… </p>
<p><span id="more-56"></span></p>
<p>Click <a href="http://coenraets.org/samples/bubblepipeline/pipeline.html">here</a> to start the sample application.</p>
<p>I extracted this example from my Salesbuilder sample. The application is a simple sales pipeline. The X axis is a time axis, the Y axis represents the probability of closing deals (in percent), and the bubbles represent deals: the bigger the bubble, the bigger the deal.</p>
<p>The bubble chart features many “direct manipulation” options: </p>
<ol>
<li>Grab the background of the chart with your mouse and scroll it left and write to navigate along the time axis.</li>
<li>Grab a vertical grid line, and move it left and right to zoom-out/zoom-in.</li>
<li>To modify your pipeline, grab a bubble with your mouse and move it up and down or left and right to adjust the probability and the expected closing date respectively</li>
</ol>
<p><strong>Flex to JavaScript:</strong><br />
When you move bubbles, the Flex application invokes a JavaScript method to update the Projected Revenue which is displayed in plain HTML on the page. </p>
<p><strong>JavaScript to Flex:</strong><br />
You can also add opportunities (deals) using the HTML form at the bottom of the page.<br />
For example, specify “Adobe” as the account, “Big Deal” as the project name, 500000 as the expected revenue, “50” as the days to close, and “70” as the probability.<br />
When you click “Add Opportunity”, we use JavaScript to invoke the addOpportunity() method in the Flex application.</p>
<p>In this example, I use ExternalInterface to communicate between Flex and JavaScript. You can also use the Flex Ajax bridge which provides a higher level API and which is now integrated in FlexBuilder (version 3).</p>
<p>Click <a href="http://coenraets.org/samples/bubblepipeline/pipeline.zip">here</a> to download the source code.</p>
<p>No rocket science here… just another example of a hybrid application.</p>
<p>
	<span class="margin5">
<!-- Start WP Socializer Plugin - Retweet Button -->
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal"  data-lang="en"  data-url="http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/"></a>
<!-- End WP Socializer Plugin - Retweet Button -->
</span>
	<span class="margin5">
<!-- Start WP Socializer Plugin - +1 Button -->
<g:plusone size="medium" href="http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/" ></g:plusone>
<!-- End WP Socializer Plugin - +1 Button -->
</span>
	<span class="margin5">
<!-- Start WP Socializer Plugin - Facebook Button -->
<iframe src="http://www.facebook.com/plugins/like.php?&amp;href=http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/&amp;layout=button_count&amp;show_faces=0&amp;width=80&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px;" allowTransparency="true"></iframe>
<!-- End WP Socializer Plugin - Facebook Button -->
</span>
</p>
<p>
<a href="https://twitter.com/ccoenraets" class="twitter-follow-button" data-show-count="false" data-lang="en" data-size="large">Follow @ccoenraets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</p>
	
<!-- Start WP Socializer Plugin - Retweet Button -->
<a href="http://twitter.com/?status=RT @ Interactive Bubble Pipeline: Another Hybrid (HTML/Flex) Example http://coenraets.org/blog/?p=56" target="_blank">Retweet this</a>
<!-- End WP Socializer Plugin - Retweet Button -->

	
	
<!-- Start WP Socializer Plugin - Facebook Button -->
<a href="https://www.facebook.com/sharer.php?u=http%3A%2F%2Fcoenraets.org%2Fblog%2F2007%2F11%2Finteractive-bubble-pipeline-another-hybrid-htmlflex-example%2F" target="_blank">Share on Facebook</a>
<!-- End WP Socializer Plugin - Facebook Button -->



Follow @ccoenraets
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/feed/</wfw:commentRss>
		<slash:comments>58</slash:comments>
		</item>
	</channel>
</rss>

