<?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/"
	>

<channel>
	<title>Alexandru Ghiura</title>
	<atom:link href="http://ghalex.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://ghalex.com/blog</link>
	<description>Flex Blog</description>
	<pubDate>Tue, 09 Feb 2010 11:49:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using AMF and RemoteObject without services-config.xml</title>
		<link>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml</link>
		<comments>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml#comments</comments>
		<pubDate>Sat, 23 Jan 2010 11:31:30 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[AMFPHP]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[amf]]></category>

		<category><![CDATA[service-config]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=427</guid>
		<description><![CDATA[This article will be very short but I hope it will be very useful. The goal of this article is to show you how to use a RemoteObject without service-config.xml. The example in this post will be very simple, we will connect to a AMFPHP service and get a hello message from it.
First let&#8217;s see [...]]]></description>
			<content:encoded><![CDATA[<p>This article will be very short but I hope it will be very useful. The goal of this article is to show you how to use a <strong>RemoteObject</strong> without <strong>service-config.xml</strong>. The example in this post will be very simple, we will connect to a AMFPHP service and get a hello message from it.</p>
<p>First let&#8217;s see the service:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// hello.php</span>
<span style="color: #000000; font-weight: bold;">class</span> Hello
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> sayHello<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;Hello back!&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Now in Flex all we have to do is to load a XML file ( channel.xml ) and read the channel from it:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> addedToStageHandler<span style="color: #000000;">&#40;</span> event <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>, completeHandler <span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">IOErrorEvent</span>.<span style="color: #004993;">IO_ERROR</span>, ioErrorHandler <span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">loader</span>.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;channel.xml&quot;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> completeHandler<span style="color: #000000;">&#40;</span> event <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #009900;">// Load info from XML</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> xml <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">XML</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span> event.<span style="color: #004993;">target</span>.<span style="color: #004993;">data</span> <span style="color: #000000;">&#41;</span>;
	<span style="color: #6699cc; font-weight: bold;">var</span> amfEndpoint <span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> = xml..channel.<span style="color: #000000;">&#40;</span> @id == <span style="color: #990000;">&quot;my-amfphp&quot;</span> <span style="color: #000000;">&#41;</span>.@endpoint;
&nbsp;
&nbsp;
	<span style="color: #009900;">// Create a AMF channel</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> channel <span style="color: #000000; font-weight: bold;">:</span>AMFChannel = <span style="color: #0033ff; font-weight: bold;">new</span> AMFChannel<span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;my-amf&quot;</span>, amfEndpoint <span style="color: #000000;">&#41;</span>;
&nbsp;
&nbsp;
	<span style="color: #009900;">// Add channel to our RemoteObject</span>
	rmtObj.channelSet = <span style="color: #0033ff; font-weight: bold;">new</span> ChannelSet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
	rmtObj.channelSet.addChannel<span style="color: #000000;">&#40;</span> channel <span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Now if you use the loaded channel for all your RemoteObjects you don&#8217;t have to compile again your application if you decide to change your AMF endpoint, all you have to do is to edit the channel.xml file.</p>
<p>This is very useful when you upload your application to a server, you don&#8217;t have to compile again the application to work on different servers all you have to do is to use different channel.xml.</p>
<p>You can download the code <a href="http://ghalex.com/blog/examples/HelloService/srcview/helloservice.zip" target="_blank">here ( click to download )</a>.</p>
<p>And this is all. If you have any questions post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/using-amf-and-remoteobject-without-services-configxml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adobe Community Professionals 2010</title>
		<link>http://ghalex.com/blog/adobe-community-professionals-2010</link>
		<comments>http://ghalex.com/blog/adobe-community-professionals-2010#comments</comments>
		<pubDate>Tue, 19 Jan 2010 20:14:03 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[Community]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=411</guid>
		<description><![CDATA[I&#8217;m happy to announce that from 2010 I am an Adobe Community Professional in Flex. I really appreciate the recognition from the Adobe and I will try to contribute  more this year for the development of the community.
Formerly known and recognised as an A.C.E (Adobe Community Expert), the name has been changed to A.C.P to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce that from 2010 I am an <a href="http://www.adobe.com/communities/experts/" target="_blank">Adobe Community Professional</a> in Flex. I really appreciate the recognition from the Adobe and I will try to contribute  more this year for the development of the community.</p>
<p>Formerly known and recognised as an A.C.E (<a href="http://www.adobe.com/communities/experts/" target="_blank">Adobe Community Expert</a>), the name has been changed to A.C.P to ensure that the Adobe Certified Experts and Adobe Community Professionals are recognised separately.</p>
<p>This year, 300 developers and community members were awarded the ACP title, 59 of which were from<br />
the Flex programme.</p>
<p>As you know, the Adobe Community Experts Program is a community based program made up of Adobe customers who share their product expertise with the world-wide Adobe community. The Adobe Community Experts&#8217; mission is to provide high caliber peer-to-peer communication educating and improving the product skills of Adobe customers worldwide.</p>
<p>A full list of 2010 Community Professionals can be found here:<br />
<a title="http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html" onclick="pageTracker._trackPageview('/outgoing/lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html?referer=http://www.google.com/search?hl=en&amp;source=hp&amp;q=Adobe+Community+Professionals&amp;btnG=Google+Search&amp;aq=f&amp;oq=&amp;aqi=g10');" href="http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html" target="_blank">http://lizfrederick.blogspot.com/2010/01/new-acps-for-2010.html</a></p>
<p>I&#8217;d like to thank to my friends for the support.</p>
<p>And this is the badge <img src='http://ghalex.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> :</p>
<p><img class="alignnone size-full wp-image-418" title="acp_logo" src="http://ghalex.com/blog/wp-content/uploads/2010/01/acp_logo.gif" alt="acp_logo" width="180" height="63" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/adobe-community-professionals-2010/feed</wfw:commentRss>
		</item>
		<item>
		<title>PhiTodo in the Adobe AIR challenge finals</title>
		<link>http://ghalex.com/blog/phitodo-in-the-adobe-air-challenge-finals</link>
		<comments>http://ghalex.com/blog/phitodo-in-the-adobe-air-challenge-finals#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:17:14 +0000</pubDate>
		<dc:creator>Alexandru Ghiura</dc:creator>
		
		<category><![CDATA[Community]]></category>

		<category><![CDATA[Cool Stuff]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[AIR]]></category>

		<category><![CDATA[contest]]></category>

		<category><![CDATA[phitodo]]></category>

		<guid isPermaLink="false">http://ghalex.com/blog/?p=391</guid>
		<description><![CDATA[I am very happy to  announce that  my  application PhiTodo ( http://phitodo.com ) has been selected to be in the final three applications in Adobe AIR Challenge contest. The winner will be choice by the public next wednesday( 25 november ) on a public event.
You can read more about this event on Adobe website : [...]]]></description>
			<content:encoded><![CDATA[<p>I am very happy to  announce that  my  application <strong>PhiTodo</strong> ( <a href="http://phitodo.com">http://phitodo.com</a> ) has been selected to be in the final three applications in Adobe AIR Challenge contest. The winner will be choice by the public next wednesday( 25 november ) on a public event.</p>
<p>You can read more about this event on Adobe website : <a href="http://myadobe.ro/2009/11/18/air-challenge-vino-la-finala/">http://myadobe.ro/2009/11/18/air-challenge-vino-la-finala/</a><br />
If you want to hear more about AIR 2.0 and see me how I tell you that PhiTodo is great and awesome  this event will be perfect for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghalex.com/blog/phitodo-in-the-adobe-air-challenge-finals/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
