<?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>Toobler Technologies &#187; Thazleem Ali</title>
	<atom:link href="http://toobler.com/blog/author/thazleem-ali/feed/" rel="self" type="application/rss+xml" />
	<link>http://toobler.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 26 May 2011 11:34:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash Builder 4 and Flex 4 SDK final release – A quick peek</title>
		<link>http://toobler.com/blog/flex/flash-builder-4-and-flex-4-sdk-final-release-%e2%80%93-a-quick-peek/</link>
		<comments>http://toobler.com/blog/flex/flash-builder-4-and-flex-4-sdk-final-release-%e2%80%93-a-quick-peek/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 05:37:46 +0000</pubDate>
		<dc:creator>Thazleem Ali</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe Flash Builder]]></category>
		<category><![CDATA[Adobe Flash platform]]></category>
		<category><![CDATA[data/service model]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[FXG]]></category>
		<category><![CDATA[package explorer]]></category>
		<category><![CDATA[spark]]></category>

		<guid isPermaLink="false">http://toobler.com/blog/?p=103</guid>
		<description><![CDATA[Today, Adobe released the final versions of both the Flex SDK and Flash Builder 4. So I thought this would be a good time than any to note down a couple of things that I found interesting about the two. Flex 4 features discussed include Spark, FXG, new states and binding etc and Flash builder features include the data/services model, the package explorer, network monitor etc.]]></description>
			<content:encoded><![CDATA[<p>Today, Adobe released the final versions of both the Flex SDK and Flash Builder 4. I have been dabbling with the beta versions for some time now and so I thought this would be a good time than any to note down a couple of things that I found interesting about the two.</p>
<h3>Flex 4</h3>
<ul>
<li>Spark &#8211; The main change in next 	version of this completely open source framework extraordinaire is no doubt, 	Spark, the new component architecture introduced in this version. At 	first it was a bit daunting, and I didn&#8217;t even know why Adobe felt 	the earlier Halo components needed tweaking. However, after reading 	more and with just a little effort, the advantages were obvious. Spark 	was designed to completely separate appearance from behavior, and 	achieves just that. New users of Flex, not used to MX, will find 	Spark much more easier to learn.</li>
<li>States – This is one change I&#8217;m 	sure no one will complain about. The earlier implementation of 	states in Flex was something archaic and one that always felt out of 	place. The new process is much easier and simply speaking, makes 	much more sense.</li>
<li>FXG – A new format that helps 	exporting project files within the platform. Developers/designers 	who use multiple tools will definitely like this. I used it when 	testing out the Flash Catalyst.</li>
<li>Easier binding – Throw out the 	[Bindable].  Welcome &#8216;@&#8217;.</li>
</ul>
<p>Other new or improved features in Flex 4 include a new video component and wrapper, an ASDoc tool and support for the text layout framework. The text layout framework is a highly powerful framework that greatly enhances our text display capabilities. Something I&#8217;ve experienced in an earlier project. Now it comes built-in.</p>
<h3>Flash Builder 4</h3>
<ul>
<li>Automatic getter/setter generation 	– The surprise would have been if this wasn&#8217;t included.</li>
<li>Network monitor – Something for 	which I had to rely upon third party tools, and that too in a 	non-direct methods. Extremely useful in testing and optimization. 	The built in network monitor helps easily identify which part of my 	Flex application eats up network resources so that I can modify it and make it more efficient. The 	feature is doubly useful when you are  also in charge of the server 	side.</li>
<li>The data/service model – What I 	would rank as the best new feature. The data/service model and 	related features incorporated make development of client-server 	architecture solutions rapid and mind bogglingly easier. We can now 	view all the server side logic listed as a tree, what are the 	required parameters and the output types. We can now even unit test 	with test data each function and view the output. And if you are feeling lazy, it can even develop some server side Coldfusion or PHP classes for you on properly defining the database tables. A very helpful feature for developers who hate working on anything other than ActionScript. This feature is so powerful, it&#8217;s hard 	to believe that it&#8217;s a standard part of the IDE. I would have hardly minded 	throwing out some more money just for this feature alone.</li>
<li>Package explorer – You no longer 	have to make do with the old Flex Builder explorer which was just a 	file explorer posing as a package explorer.</li>
</ul>
<p>Some of you might say that I missed 		the most obvious and most hyped introduction, the Flash Catalyst 		based work flow. It does simplify things, and definitely speeds up 		the process, but it still is a separate tool. Extremely useful for 		coders who have a designing handicap. Again, Flash builder 4 also 		features many other enhancements and features and also many under 		the hood changes such as improved debugger and others.</p>
]]></content:encoded>
			<wfw:commentRss>http://toobler.com/blog/flex/flash-builder-4-and-flex-4-sdk-final-release-%e2%80%93-a-quick-peek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trouble with CFChart &#8211; Image expired</title>
		<link>http://toobler.com/blog/coldfusion/trouble-with-cfchart-image-expired/</link>
		<comments>http://toobler.com/blog/coldfusion/trouble-with-cfchart-image-expired/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 06:59:29 +0000</pubDate>
		<dc:creator>Thazleem Ali</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Charting]]></category>

		<guid isPermaLink="false">http://toobler.com/blog/?p=67</guid>
		<description><![CDATA[Thanks to the few users who acknowledged my last post on the topic of CFChart. I hope it has been (and will continue) useful to even more people. One particular developer, delta_mu, commented on a problem he was having when using the CFChart as explained in my post. When a user reaches a page with [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the few users who acknowledged my last post on the topic of CFChart. I hope it has been (and will continue) useful to even more people. One  particular developer, delta_mu, commented on a problem he was having when using the CFChart as explained in my post.</p>
<p>When a user reaches a page with cfcharts in flash format by clicking the browser &#8216;back&#8217; button, instead of the original flash chart, an image that says “Image expired.  Please refresh the page to view the image” is displayed.(Sample image shown below) Very clearly, not desirable.</p>
<p><a href="http://toobler.com/blog/wp-content/uploads/2010/03/cfcharts-reload-page.jpg"><img class="alignnone size-medium wp-image-70" title="cfcharts reload page" src="http://toobler.com/blog/wp-content/uploads/2010/03/cfcharts-reload-page-300x241.jpg" alt="" width="300" height="241" /></a></p>
<p>The problem occurs for two reasons.</p>
<ol>
<li>Lack of session management.</li>
<li>Short image caching duration.</li>
</ol>
<p>When we use the cfchart tag to create a chart, coldfusion creates a temporary SWF or JPG or PNG image for display. If no session management is enabled, the cluster manager will send the user to a different server each time and hence there will not be any image to display. This can be prevented by enabling session management and the process is called session affinity.</p>
<p>However, in this user&#8217;s case, I doubt whether this was the case as he most probably uses a developer edition for such purposes and hence no clustering is involved as it is a single server setup. Thus it must be reason number two – The cache.</p>
<p>Once a request has been made, by default, the images will only kept for a duration of 5 seconds in the cache. Hence when the user hits the back button, the request no longer exists. This duration can be extended by following the few simple steps listed below, courtesy Prayank&#8217;s blog.</p>
<ol>
<li>Stop the CFServer.</li>
<li>Open coldfusion 	x.x\lib\webcharts3d.xml</li>
<li>Find and change the values 	“minTimeOut” &amp;  “maxTimeOut”.</li>
<li>Restart the server.</li>
</ol>
<p>Thats it. You are ready to go. But please remember that this solution is inefficient when you have a large number of charts to display.</p>
]]></content:encoded>
			<wfw:commentRss>http://toobler.com/blog/coldfusion/trouble-with-cfchart-image-expired/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Cfchart for charts and graphs in Coldfusion</title>
		<link>http://toobler.com/blog/coldfusion/using-cfchart-for-charts-and-graphs-in-coldfusion/</link>
		<comments>http://toobler.com/blog/coldfusion/using-cfchart-for-charts-and-graphs-in-coldfusion/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 06:47:06 +0000</pubDate>
		<dc:creator>Thazleem Ali</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Charting]]></category>

		<guid isPermaLink="false">http://toobler.com/blog/?p=25</guid>
		<description><![CDATA[Coldfusion makes it really simple to create and insert any kind of charts and other displays with the CFChart tag. While this is really an old feature(Available way back in ColdFusion 5), and little has been added to it in later versions, what many people don&#8217;t know is that it has now become much more [...]]]></description>
			<content:encoded><![CDATA[<p>Coldfusion makes it really simple to create and insert any kind of charts and other displays with the CFChart tag. While this is really an old feature(Available way back in ColdFusion 5), and little has been added to it in later versions, what many people don&#8217;t know is that it has now become much more efficient and actually holds its own against using client side JFQuery, CSS and other flash techniques. Cfchart is highly customizable and hence requires no need to involve designers or other javascript expert friends/colleagues whom you might need if you go for other methods. Below are some sample charts generated using CFChart with little styling options applied.</p>
<p><a href="http://toobler.com/blog/wp-content/uploads/2010/03/CFCharts-image_new.jpg"><img class="alignnone size-full wp-image-32" title="CFCharts image_new" src="http://toobler.com/blog/wp-content/uploads/2010/03/CFCharts-image_new.jpg" alt="" width="600" height="450" /></a></p>
<p>Now lets have a look at the code required to generate the above CFCharts.</p>
<p>&lt;cfchart format=&#8221;png&#8221; name=&#8221;mychart&#8221; title=”Fruits Harvest” showlegend=&#8221;true&#8221;&gt;<br />
&lt;cfchartseries type=&#8221;pie&#8221;&gt;<br />
&lt;cfchartdata item=&#8221;Mangoes Harvest&#8221; value=&#8221;5000&#8243;/&gt;<br />
&lt;cfchartdata item=&#8221;Oranges Harvest&#8221; value=&#8221;4000&#8243;/&gt;<br />
&lt;cfchartdata item=&#8221;Apples Harvest&#8221; value=&#8221;3000&#8243;/&gt;<br />
&lt;cfchartdata item=&#8221;Grapes Harvest&#8221; value=&#8221;2000”/&gt;<br />
&lt;/cfchartseries&gt;<br />
&lt;/cfchart&gt;</p>
<p>The result of a query may directly be converted to a chart by using the code below. Coldfusion will generate the chart data items on its own from the query</p>
<p>&lt;cfchartseries type=&#8221;bar&#8221; query=&#8221;data&#8221; itemcolumn=&#8221;name&#8221; valuecolumn=&#8221;sales&#8221;/&gt;</p>
<p>Cfchart and Cfchartseries have a large number of attributes which maybe used to customize chart. You can check the complete list on Adobe Livedocs at <a href="http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-792e.html">http://bit.ly/cjiRPs</a> and <a href="http://bit.ly/b3pioP" target="_blank">http://bit.ly/b3pioP</a></p>
<p>The type attribute of Cfchartseries is the most important among the list. It lets you choose from a wide array of chart types such as bar, line, pyramid, area, horizontalbar, cone, curve, cylinder, step, scatter and pie.</p>
<p>But what really takes the pie is the amount of styling options Coldfusion gives to the developers. Instead of setting each of the attributes, I found an easy way of doing this by modifying the built in style files in the folder cf_root\charting\styles and saving them under a new name to access. The style files are simple XML files and modifying them is really easy. One of the coolest attributes was the &#8220;show3D&#8221; attribute, which gives the chart a 3D effect. The appearance maybe modified to such extents that people will have a hard time figuring out it is custom generated and not designed by a web designer specifically.</p>
]]></content:encoded>
			<wfw:commentRss>http://toobler.com/blog/coldfusion/using-cfchart-for-charts-and-graphs-in-coldfusion/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Comparing Mate and Cairngorm</title>
		<link>http://toobler.com/blog/flex/comparing-mate-and-cairngorm/</link>
		<comments>http://toobler.com/blog/flex/comparing-mate-and-cairngorm/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 11:00:42 +0000</pubDate>
		<dc:creator>Thazleem Ali</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Cairngorm]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Mate]]></category>

		<guid isPermaLink="false">http://toobler.com/toobler/blog/?p=17</guid>
		<description><![CDATA[An application framework is a standard structure for a specific development environment that makes development &#038; maintenance easy for individual &#038; teams of developers alike. No doubt, both Cairngorm and Mate serve the purpose, but with varying degrees of success. Here's a quick, random list of pro's and con's of Mate compared with Cairngorm that I've noticed.]]></description>
			<content:encoded><![CDATA[<p>I just started learning Mate for my latest project (An AIR-based price comparison application) about three weeks ago. Having been introduced to Cairngorm at the same time as Flex itself, I was slightly apprehensive about the move as I was totally at home with Cairngorm. But now, three weeks later, and a project 80% finished, I am not only glad that I made the switch, but also regret not having tried it before. After all, Mate has been around for some while and it&#8217;s definitely here to stay.<br />
An application framework is a standard structure for a specific development environment that makes development &amp; maintenance easy for individual &amp; teams of developers alike. No doubt, both Cairngorm and Mate serve the purpose, but with varying degrees of success. Here&#8217;s a quick, random list of pro&#8217;s and con&#8217;s of Mate compared with Cairngorm that I&#8217;ve noticed over the last three weeks.</p>
<p><span style="text-decoration: underline;">The Pros</span></p>
<ul>
<li>The event-map approach of Mate makes complete sense since Flex itself is event driven. The command based approach of Cairngorm seems like a big stretch and increases complexity.</li>
</ul>
<ul>
<li> Again, the command approach adds many more classes and lines of codes in Cairngorm which are considerably lessened when using Mate.</li>
<li> The application code is much more tightly bound with framework code in Cairngorm, such as the use of Cairngorm events. This is not the case with Mate.</li>
</ul>
<ul>
<li> Event bubbling can be caught/listened without having to write any excess code.</li>
</ul>
<ul>
<li> Easy learning curve. I remember Cairngorm gave me a hard time as a beginner. Compared with that, learning Mate was a breeze. The documentation is excellent. Furthermore, the tag based of Mate approach is always easier to learn.</li>
</ul>
<p><span style="text-decoration: underline;">The Cons</span></p>
<ul>
<li>Cairngorm has a much more modular structure, more suited to the Flex MVC architecture that adheres to basic OOP concepts. This offers great advantages in larger enterprise level application development scenarios. Projects are more readable and work can easily be split into various parts and assigned to different teams.</li>
</ul>
<ul>
<li> The use of delegates makes use of dummy data simple to replicate server side behaviour. Client side development is not hindered by server side development issues.</li>
</ul>
<ul>
<li> And lastly, the thing that bugs me the most. While tag based approach is simpler and easier to learn, it is also hard to debug. Small errors are hard to find and more than a few times, problems are detected only during runtime and not during compiling. Simple mistakes such as a spelling here or there can lose you a lot of time.</li>
</ul>
<p>While it may seem to some that the balance is tipped in Mate&#8217;s favour, it would be a rather harsh judgement. A closer look would show us that depending on the scenario, there is room for both. In fact, there is a NEED for both. The advantages of Cairngorm makes it much more suited for larger, enterprise level applications that are robust while Mate is more suited for smaller applications which needed to be executed swiftly.</p>
<p>My conclusion &#8211; it is important that a good Flex developer be able to easily switch between both the frameworks if he wants to deliver his clients the best that Flex has to offer.</p>
]]></content:encoded>
			<wfw:commentRss>http://toobler.com/blog/flex/comparing-mate-and-cairngorm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

