<?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>Anden Solutions &#187; Blogs</title>
	<atom:link href="http://www.andensolutions.com/index.php/category/blogs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andensolutions.com</link>
	<description>Anden Solutions develops Rich Internet Applications using AJAX and Adobe Flex and Flash-based videogames and simulations</description>
	<lastBuildDate>Fri, 25 Jun 2010 15:43:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WhiteHouse.gov releases Drupal modules back to the community</title>
		<link>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 21:40:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=199</guid>
		<description><![CDATA[This past April 21st, WhiteHouse.gov has released back to the Drupal community four modules developed especially for their site.  It&#8217;s worth mentioning that the White House website has been built using Drupal, an open source content management system that we really love here at  Anden Solutions.
This new code is available for download to anyone [...]]]></description>
			<content:encoded><![CDATA[<p>This past April 21st, <a title="WhiteHouse.gov" href="http://www.WhiteHouse.gov" target="blank">WhiteHouse.gov</a> has released back to the Drupal community four modules developed especially for their site.  It&#8217;s worth mentioning that the White House website has been built using Drupal, an open source content management system that we really love here at  Anden Solutions.</p>
<p>This new code is available for download to anyone from the <a title="Drupal's website" href="http://www.drupal.org" target="blank">Drupal</a>&#8217;s website and has been sponsored by The Executive Office of the President. This code added to Drupal&#8217;s functionality in three ways:</p>
<ol>
<li> <strong>Scalability</strong>: The <a title="Context HTTP Headers Module" href="http://drupal.org/project/context_http_headers" target="blank">Context HTTP Headers</a> module allows site builders to add new metadata to the content they serve. The <a title="Akamai Module" href="http://drupal.org/project/akamai" target="blank">Akamai </a>module allows a website to integrate with Akamai&#8217;s Content Delivery Network.</li>
<li> <strong>Communication</strong>: the <a title="GovDelivery Module" href="http://drupal.org/project/govdelivery" target="blank">GovDelivery</a> module provides integration with the GovDelivery On-Demand Mailer service, a web service for GovDelivery customers that sends messages directly based on configured account information.</li>
<li> <strong>Accessibility</strong>: the <a title="Node Embed Module" href="http://drupal.org/project/node_embed" target="blank">Node Embed</a> module allows embedding one node inside the body of another node. E.g.: it allows embedding an Image/Slideshow/Video node within the body of an Article node.</li>
</ol>
<p>We, at Anden Solutions, think that&#8217;s really nice to see a governmental institution endorsing Drupal and also contributing code back to the community. Let&#8217;s hope for more!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Including Google Maps in an Adobe Flex application</title>
		<link>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 14:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=136</guid>
		<description><![CDATA[It is really easy to add Google Maps in your Flex Application. In order to do so you need to follow these steps.

Open the Adobe Flex Builder.
Select File / New / Flex Project.
Type the project name (e.g.: GoogleMaps), then make sure to select &#8220;Web Application&#8221; and &#8220;server type = None&#8221;.
Click Next, select output folder, click [...]]]></description>
			<content:encoded><![CDATA[<p>It is really easy to add Google Maps in your Flex Application. In order to do so you need to follow these steps.</p>
<ol>
<li>Open the Adobe Flex Builder.</li>
<li>Select File / New / Flex Project.</li>
<li>Type the project name (e.g.: GoogleMaps), then make sure to select &#8220;Web Application&#8221; and &#8220;server type = None&#8221;.</li>
<li>Click Next, select output folder, click Next, and then click Finish.</li>
<li>Download the Google Maps library file from: <a href="http://maps.googleapis.com/maps/flash/release/sdk.zip" target="blank">http://maps.googleapis.com/maps/flash/release/sdk.zip</a>. This file contains two library files (swc) and a complete documentation. You need to extract the swc with the &#8220;_flex&#8221; suffix in your project&#8217;s lib folder. The other swc file is for Adobe Flash CS3 projects.</li>
<li>Add the Google namespace in your application:
<pre class="brush: as3;"> xmlns:maps=&quot;com.google.maps.*&quot;
</pre>
</li>
<li>Obtain a free Maps API Key from:  http://code.google.com/apis/maps/signup.html. You&#8217;ll need to read and agree with the terms and conditions and then enter the domain where the swf will be hosted. Important, the API key is compiled into the <code>SWF</code> file and must match the domain  where the <code>SWF</code> file is hosted, otherwise the maps will throw an errow. After you select the &#8220;generate API key&#8221; button you will be asked to login to your google (gmail) account. If you don&#8217;t have one you may need to get a free one.</li>
<li>Copy your key string. It will look something like this:
<pre class="brush: as3;">ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw</pre>
</li>
<li>Add a map tag to your application with the following mxml tag:
<pre class="brush: as3;">
&lt;maps:Map id=&quot;map&quot; width=&quot;100%&quot; height=&quot;100%&quot;
key=&quot;ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw&quot;/&gt;
</pre>
<p>Make sure to use the key you just generated.</li>
<li>Build the application and you&#8217;ll get something like this (right click to view source):<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_googleMaps_1541967922"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="/portfolio/googlemaps/1/googleMaps.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/googlemaps/1/googleMaps.swf"
			name="fm_googleMaps_1541967922"
			width="400"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></li>
</ol>
<h3>Customizing your map</h3>
<p>You can customize your map in several ways.</p>
<ol>
<li>Start by adding a listener for the event mapevent_mapready on your map tag.
<pre class="brush: as3;">&lt;maps:Map id=&quot;map&quot; width=&quot;100%&quot; height=&quot;100%&quot;  mapevent_mapready=&quot;onReadyMap()&quot;
key=&quot;ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw&quot;/&gt;
</pre>
</li>
<li>On the map ready event you could add different features such us:
<ul>
<li>Set the initial position of the map</li>
<li>Add zoom control</li>
<li>Add a marker</li>
<li>Allow scrolling using the mouse wheel</li>
</ul>
<pre class="brush: as3;">public function onReadyMap():void
{
//set initial position
map.setCenter(new LatLng(38.970353, -84.679638), 10, MapType.NORMAL_MAP_TYPE);

//zoom control
var zoom:ZoomControl = new ZoomControl()
zoom.scaleX=1.2;
zoom.scaleY=1.2;
zoom.x=0;
zoom.y=0;
map.addControl(zoom);

    			//allow scroll with mouse wheel
map.enableScrollWheelZoom();

//adding a marker
var m:Marker = new Marker(new LatLng(38.970353, -84.679638),
new MarkerOptions({
fillStyle: new FillStyle({alpha: 0.75,color: 0x00ff00}),
hasShadow: true,
radius: 10,
strokeStyle: new StrokeStyle({alpha: 0.75,color: 0x0000ff,thickness: 1}),
tooltip: &quot;Anden Solutions, LLC&quot;})
);
map.addOverlay(m);

}</pre>
</li>
<li>You can see the results in the following map:<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_googleMaps_1431928542"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="/portfolio/googlemaps/2/googleMaps.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/googlemaps/2/googleMaps.swf"
			name="fm_googleMaps_1431928542"
			width="400"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></li>
</ol>
<p>For more information visit the <a title="Google Maps API" href="http://code.google.com/apis/maps/documentation/flash/intro.html" target="_blank">Google Maps API</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flex Best Practices</title>
		<link>http://www.andensolutions.com/index.php/blogs/flex-best-practices/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/flex-best-practices/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 18:34:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=48</guid>
		<description><![CDATA[Our team has been in the process of developing a set of Adobe Flex best practices for quite a while. There are several posts on the internet that address this issue. These posts range from best practices for setting up the project to naming and coding conventions. The following posts are the ones we identified [...]]]></description>
			<content:encoded><![CDATA[<p>Our team has been in the process of developing a set of Adobe Flex best practices for quite a while. There are several posts on the internet that address this issue. These posts range from best practices for setting up the project to naming and coding conventions. The following posts are the ones we identified as the most useful and better prepared:</p>
<p><strong>Project Organization:</strong><br />
<a href="http://www.adobe.com/devnet/flex/articles/best_practices_pt1.html" target="blank">Flex best practices – Part 1: Setting up your Flex project</a>. Posted by Sean Moore in the Adobe Developer Connections site.</p>
<p><strong>Flex Naming and Coding Conventions:</strong><br />
<a href="http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/pt/" target="_blank"> Adobe Flex Coding Guidelines (English version)</a> posted by D-Click.<br />
<a href="http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions" target="_blank">Flex SDK coding conventions and best practices</a> posted by Adobe Open Source.</p>
<p><strong>Performance Guidelines</strong><br />
In addition to these conventions, we&#8217;ve also developed our own set of guidelines, mostly targeted to improve the performance of the Flex applications:</p>
<ul>
<li>Load the Flex Framework as a runtime-shared-libraries (RSLs). This will reduce the size of your applications and the time it requires to download.</li>
<li>Always use strongly typed objects. E.g.: <em>var myVariable:Number;</em></li>
<li>Always use weak references with listeners when possible, except with anonymous functions : <em>addEventListener(event, function, false, 0, true)</em>.</li>
<li>For the cases when weak references may not be possible, remove the event listener once it&#8217;s not needed anymore using <em>&#8220;removeListener&#8221;</em>.</li>
<li>Clear references to unused data. E.g.: <em>myObject.myData=null;</em></li>
<li>Cast objects using <em>&#8220;as&#8221;</em> instead of <em>&#8220;(Type)&#8221;</em> except when casting Top Level classes. E.g. <em>myTextInput.text = myNumberData.value as String</em>. If the casting is not allowed it will return null instead of a Run Time Error.</li>
<li>Use deferred instantiation (<em>creationPolicy=”auto”</em>) for multiple views components such as viewstacks, accordeons, and tabnavigators. This is the default  behavior of these components.</li>
<li>Divide big applications into separate modules.</li>
<li>Avoid using repeaters at all cost.</li>
<li>Aovid using <em>&#8220;setStyles&#8221;</em> unless it&#8217;s performed during the object creation.</li>
<li>Reduce the number of nested components. Use VBox or HBox instead of Grids. Canvas are always a good option, but you&#8217;ll need to align each component inside it.</li>
</ul>
<p><strong>Other Resources</strong></p>
<ul>
<li><a href="http://www.slideshare.net/dcoletta/optimizing-flex-applications/" target="_blank">http://www.slideshare.net/dcoletta/optimizing-flex-applications/</a></li>
<li><a href="http://www.insideria.com/2008/04/flex-ria-performance-considera.html">http://www.insideria.com/2008/04/flex-ria-performance-considera.html</a></li>
<li><a href="http://www.beauscott.com/2008/02/20/using-flex-modules-to-load-dynamic-applications-at-login/" target="_blank">http://www.beauscott.com/2008/02/20/using-flex-modules-to-load-dynamic-applications-at-login/</a></li>
<li><a href="http://www.colettas.org/?p=115" target="_blank">http://www.colettas.org/?p=115</a></li>
<li><a href="http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html" target="_blank">http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/flex-best-practices/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Adobe LiveCycle Data Services with Apache Tomcat web server</title>
		<link>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 20:21:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=32</guid>
		<description><![CDATA[Adobe LiveCycle Data Services ES is a very nice complement to Adobe Flex if you are planning to develop Enterprise Solutions. In this blog entry I&#8217;ll describe the process to get LiveCycle working with the Apache Tomcat web server.
LiveCyle Data Services comes by default with Adobe JRun. You might wonder why we didn&#8217;t user JRun. [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe LiveCycle Data Services ES is a very nice complement to Adobe Flex if you are planning to develop Enterprise Solutions. In this blog entry I&#8217;ll describe the process to get LiveCycle working with the Apache Tomcat web server.</p>
<p>LiveCyle Data Services comes by default with Adobe JRun. You might wonder why we didn&#8217;t user JRun. Well, first of all, JRun is only free for the developer edition while Tomcat is completely free.</p>
<p>Also, even though the LiveCycle and Jrun deployment was uneventful, and all the samples ran without any problem, whenever we tried to create or modify a java class we kept getting the &#8220;major.minor version50.0 error&#8221; on the JRun server.  It seems that there&#8217;s some kind of incompatibility between the JRun jars and the Flex jars.</p>
<p>Anyway, lets go back to the process of installing and configuring the software.</p>
<p><strong>1. Download and install java JDK.</strong></p>
<ul>
<li>Remove older installations of the JDK or JRE from your system. You&#8217;ll need to do this from the Control Panel.</li>
<li>Download the <a title="Java JDK" href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">java JDK</a> from Sun&#8217;s website. We used the version 1.6.0_04.</li>
<li>Select the Download button besides JDK. Make sure you download the JDK and not just the JRE.</li>
<li>Select your platform -in our case, Windows- and select the checkbox to agree with the agreement. Then select &#8220;Continue&#8221;.</li>
<li>Select the file you want to download. In our case we selected &#8220;Windows Offline Installation. Make sure to select the link otherwise you&#8217;ll end up using Sun Download Managers.</li>
<li>Once the file is downloaded on your computer, open it.</li>
<li>Accept the License Agreement.</li>
<li>Click &#8220;next&#8221; to accept the default settings.</li>
<li>Click &#8220;next&#8221; to start installing Java JDK.</li>
<li>Click &#8220;finish&#8221; to close the installation software and you are done with the first step.</li>
</ul>
<p><strong>2. Download and install Apache Tomcat.</strong></p>
<ul>
<li>You&#8217;ll need to donwload the <a title="Apache Tomcat" href="http://tomcat.apache.org/download-60.cgi" target="_blank">Apache Tomcat</a> web server from the Apache&#8217;s website. We used the &#8220;Windows Service Installer&#8221; version 6 of the web server.</li>
<li>Open the installation file and click &#8220;next&#8221; on the welcome window.</li>
<li>Accept the license agreement by clicking the &#8220;I Agree&#8221; button.</li>
<li>Click the &#8220;next&#8221; button on the choose components . You might want to install the Examples if you are interested.</li>
<li>We installed the software to the C:\Tomcat folder, since the default path is too long.</li>
<li>Select the http port, if you have another web server you might want to change the default port to something like 8050 or 8060. Enter a password for the admin user and click &#8220;next&#8221;.</li>
<li>Select the path to the JDK you just installed. Make sure to select the jre folder inside the jdk installation folder. E.g.: C:\Program Files\Java\jdk1.6.0_04\jre. Select &#8220;next&#8221; to install.</li>
<li>Click the &#8220;finish&#8221; button. Make sure that the checkbox for &#8220;Run Apache Tomcat&#8221; is selected.</li>
<li>A new icon <img src="http://www.andensolutions.com/wp-content/uploads/2008/01/apache.png" alt="Apache Icon" /> will show up in the notification area of the task bar. If everything went OK you&#8217;ll see a green arrow</li>
</ul>
<p><strong>3. Download and install Adobe LiveCycle ES Express</strong></p>
<ul>
<li>Adobe LiveCycle Data Services is available for <a title="Adobe LiveCycle Data Services ES" href="https://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices" target="_blank">download </a>from the Adobe&#8217;s web site.  You will need an Adobe account to download this file. If you don&#8217;t have one you can create it in a couple of minutes.</li>
<li>Select the language and platform. In our case English | Windows and then hit the &#8220;download&#8221; button.</li>
<li>Open the file you just downloaded.</li>
<li>Click &#8220;next&#8221; in the welcome screen.</li>
<li>Accept the license and click &#8220;next&#8221; again.</li>
<li>Leave the serial empty and click &#8220;next&#8221;. This will install the Express version of LCDS.</li>
<li>Choose a new folder or accept the default folder. E.g.: c:\lcds and click &#8220;next&#8221;.</li>
<li><strong>Important</strong>: you have to select the second radio button that states &#8220;LifeCycle Data Services J2EE web application&#8221;. Then click &#8220;next&#8221;.</li>
<li>Click the &#8220;install&#8221; button.</li>
<li>Once the installation is finish click the &#8220;done&#8221; button.</li>
</ul>
<p><strong>4. LC data services configuration tomcat server.</strong></p>
<ul>
<li>Stop the Apache Tomcat server. You can do this by right-clicking on the Apache Tomcat tray icon and selecting &#8220;stop service&#8221;.</li>
<li>Copy the following Web Archive (war) files from the LCDS folder to the Tomcat\webapps folder (C:\Tomcat\webapps):
<ul>
<li> flex.war</li>
<li>flex-admin.war</li>
<li>samples.war</li>
</ul>
</li>
<li>Start the Apache Tomcat server again. You can do this by right-clicking on the Apache Tomcat tray icon and selecting &#8220;start service&#8221;.</li>
<li>If you check the webapps folder you&#8217;ll see that Tomcat automatically created three new folders for the three new applications you just installed.</li>
</ul>
<p><strong>You are done!</strong> LiveCycle should be working now. Try opening the browser and typing: &#8220;http://localhost:8050/samples/&#8221; (Replace 8050 with the port you selected for the server). You&#8217;ll see the LiveCycle Data Services ES Samples page. Try running some of the examples and enjoy LiveCycle!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
