<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>RSS feed for InstantSpot site Progressive Overload</title><link>http://ajlcom.instantspot.com</link><description>Aaron Lynch on web development and other stuff</description><language>en-us</language><copyright>This work is Copyright &#xA9; 2009 by Progressive Overload</copyright><generator>RSSVille ColdFusion FeedMaker, version 1.0</generator><pubDate>Sat, 21 Nov 2009 13:47:29 GMT</pubDate><item><title>Mixing a little Flex with my Mach-II</title><link>http://ajlcom.instantspot.com/blog/2009/10/23/Mixing-a-little-Flex-with-my-MachII</link><description>&lt;p&gt;One of my latest projects was to create a little contact manager / sales tool to integrate with an existing  system (written in Mach-II).&amp;nbsp; Requirements dictated that I needed to have access to my already logged in user (must be aware of client session). &amp;quot;Down the road&amp;quot; requirements, are that we&apos;d like to make an AIR port of this new feature as a standalone application. As a big fan of Flex, I thought it would be a great opportunity to test the efficacy of writing this new feature as a drop in Flex mini-application.&amp;nbsp;&lt;/p&gt; &lt;p&gt;Since security is handled by the existing application,&amp;nbsp; we needed to make sure the functionality of this app respected the existing security guidelines.&amp;nbsp; The best way I could think of was also the easiest...just start calling events and see what happens.&lt;/p&gt; &lt;p&gt;Lucky for me, it all just worked.&amp;nbsp; So here are a few examples that might help get you started if you are working on the same sort of project.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;On creationComplete I call a method named &amp;quot;init()&amp;quot; to get that user&apos;s set of contact data:&lt;/p&gt; &lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt; private var myLoader:URLLoader;  public function init():void {  var myReq:URLRequest = new URLRequest(&apos;/index.cfm/event/GetContactData);  myLoader = new URLLoader()  myLoader.addEventListener(Event.COMPLETE, dataComplete);  myLoader.load(myReq); }&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Important:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; Notice the event listener I added to call the dataComplete method once the request was completed.&amp;nbsp; &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Once we have that initial set of data, all that is left is to start POSTing the create/edit/deletes the user is making to his contacts.&lt;/p&gt; &lt;p&gt;Here is an example of doing an HTTP POST request and passing my Contact object to a Mach-II event:&lt;/p&gt; &lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;private function saveContact(Contact:ContactVO):void {  var myHTTPService:HTTPService = new HTTPService;  myHTTPService.method= &amp;quot;POST&amp;quot;;  myHTTPService.url = &apos;/index.cfm/event/SaveContact&apos;;  myHTTPService.addEventListener(ResultEvent.RESULT,function():void{init()});  myHTTPService.send(Contact);  Alert.show(&apos;Contact has been saved.&apos;); }&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Note:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; Check out how we send the Contact object without doing anything tricky?&amp;nbsp; All of the properties of my ContactVO are available as event Args in my Mach-II listener.&amp;nbsp; &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Here is another example of doing an HTTP POST request, but passing individual variables:&lt;/p&gt; &lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;private function submitNote(htmlText:String,plainText:String,Contact:ContactVO):void {  var myHTTPService:HTTPService = new HTTPService;  var obj:Object = new Object();  myHTTPService.method= &amp;quot;POST&amp;quot;;  myHTTPService.url = &apos;/index.cfm/event/saveNote&apos;;  obj[&apos;notetext&apos;] = htmlText;  obj[&apos;notepreview&apos;] = plainText;  obj[&apos;contactid&apos;] = Contact.ContactId;  myHTTPService.addEventListener(ResultEvent.RESULT,function():void{init()});  myHTTPService.send(obj); }&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Note:&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp; Notice how we create an object and define the properties we want to send, and then pass that new object in the POST.&lt;/span&gt;&lt;/p&gt;</description><pubDate>Fri, 23 Oct 2009 15:11:00 GMT</pubDate><guid>http://ajlcom.instantspot.com/blog/2009/10/23/Mixing-a-little-Flex-with-my-MachII</guid><category>ColdFusion,MachII,Web Development,Flex</category></item><item><title>Looking to hire ColdFusion/Flex Developer (Addison, TX)</title><link>http://ajlcom.instantspot.com/blog/2009/01/29/Looking-to-hire-ColdFusionFlex-Developer-Addison-TX</link><description>&lt;p&gt;&lt;font face=&quot;Arial&quot;&gt;I am looking to hire a full time (on site only) ColdFusion developer.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial&quot;&gt;The type of applications we work on range from support of old legacy applications to object oriented ColdFusion business layer with Flex 3 UI.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial&quot;&gt;Experience working in frameworks is a major plus.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial&quot;&gt;&lt;strong&gt;Industry&lt;/strong&gt;:  Mortgage software&lt;br /&gt; &lt;strong&gt;Location&lt;/strong&gt;: Addison, TX&lt;br /&gt; &lt;strong&gt;Start Date&lt;/strong&gt;: Immediate&lt;br /&gt; &lt;strong&gt;Salary&lt;/strong&gt;: Depends on Experience&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial&quot;&gt; &lt;meta http-equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt; &lt;title&gt;&lt;/title&gt; &lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 2.4  (Linux)&quot;&gt;  &lt;style type=&quot;text/css&quot;&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;     &lt;/meta&gt; &lt;/meta&gt; &lt;/font&gt;&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;font face=&quot;Arial&quot;&gt;&lt;strong&gt;About FICS&lt;/strong&gt;:&lt;/font&gt;&lt;font face=&quot;Arial&quot;&gt;&lt;br /&gt; FICS is a small, family owned company (50ish employees).   &lt;/font&gt;&lt;font face=&quot;Arial&quot;&gt;Founded in 1983 and headquartered in Dallas, Texas, Financial Industry Computer Systems, Inc.&lt;br /&gt; (FICS&amp;reg;) specializes in providing flexible, comprehensive residential and commercial technology &lt;br /&gt; solutions to the mortgage industry. FICS&apos; solutions are designed around the latest technology, &lt;br /&gt; while incorporating innovative imaging and Web-based capabilities into its full suite of products.&lt;/font&gt;&lt;font face=&quot;Arial&quot;&gt;&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;&lt;font&gt;Job Function:&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt; &lt;font face=&quot;Arial&quot;&gt;&lt;br /&gt; &lt;/font&gt;&lt;/p&gt; &lt;ul&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;Troubleshooting/enhancing/support of existing web applications.&lt;/font&gt;&lt;/li&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;Developing primarily in ColdFusion with more and more Flex/ActionSript as we are moving towards Flex as our main UI technology.&lt;/font&gt;&lt;/li&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;HTML, JavaScript, CSS, minor image manipulation/creation (buttons, etc) &lt;/font&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;font face=&quot;Arial&quot;&gt;&lt;strong&gt;Requirements:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;ul&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;At least 2 years ColdFusion experience&lt;/font&gt;&lt;/li&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;Web  design/layout experience with HTML, CSS and JavaScript&lt;/font&gt;&lt;/li&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;ActionScript/Flex  experience is a plus&lt;/font&gt;&lt;/li&gt;     &lt;li&gt;&lt;font face=&quot;Arial&quot;&gt;A  good troubleshooting ability is necessary.&lt;/font&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Please send resumes to aaronjlynch AT gmail DOT com&lt;/p&gt; &lt;p&gt;Thanks!&lt;/p&gt; &lt;p&gt;Aaron&lt;/p&gt;</description><pubDate>Thu, 29 Jan 2009 14:07:00 GMT</pubDate><guid>http://ajlcom.instantspot.com/blog/2009/01/29/Looking-to-hire-ColdFusionFlex-Developer-Addison-TX</guid><category>ColdFusion,Web Development,Flex</category></item><item><title>Simple Session Timeout for Flex App</title><link>http://ajlcom.instantspot.com/blog/2009/01/22/Simple-Session-Timeout-for-Flex-App</link><description>&lt;p&gt;If you have ever done any development in Flex you know that there isn&apos;t a good counterpart to ColdFusion&apos;s session management (ie timeout length and such).&amp;nbsp; So, what do you do if you want to time a user out from a secure are of your Flex application?&amp;nbsp;&lt;/p&gt; &lt;p&gt;The application in this case is comprised of many individual view components running through one single main view.&amp;nbsp; So the code in my examples is located in that main view component.&lt;/p&gt; &lt;p&gt;The Timer:&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;quot;The Timer class is the interface to Flash Player timers. You can create new Timer objects to   run code on a specified time sequence. Use the &lt;/em&gt;&lt;strong&gt;start()&lt;/strong&gt;&lt;em&gt; method to start a timer.&amp;quot;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Once we have the flash Timer imported we need to create three methods:&amp;nbsp;&lt;/p&gt; &lt;p&gt;One to initialize the timer, one to call when the timer is finished, and one that resets the timer.&amp;nbsp; As you can see in the examples, any time the mouse moves the timer is cleared which has the effect of keeping our &amp;quot;session&amp;quot; alive.&lt;/p&gt; &lt;p&gt;The method initTimer() is called upon creationComplete of that main view component.&amp;nbsp; &lt;strong&gt;creationComplete=&amp;quot;initTimer()&amp;quot;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;div class=&quot;code&quot; &gt;&lt;pre&gt;public var myTimer:Timer;     private function initTimer():void {      myTimer = new Timer(300000);      myTimer.addEventListener(&amp;quot;timer&amp;quot;,logout);      this.addEventListener(MouseEvent.MOUSE_MOVE, resetTimer);      myTimer.start(); }  private function logout(event:Event):void {     //place code here to run your log out routine     }  private function resetTimer(event:Event):void {      myTimer.reset();      initTimer();  }&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;NOTE:&amp;nbsp; For those wondering, this particular application does not require a session be maintained server side as we reauthenticate each request as it is received.&lt;/p&gt;</description><pubDate>Thu, 22 Jan 2009 13:15:00 GMT</pubDate><guid>http://ajlcom.instantspot.com/blog/2009/01/22/Simple-Session-Timeout-for-Flex-App</guid><category>Web Development,Flex</category></item><item><title>Robots and main page accessibility</title><link>http://ajlcom.instantspot.com/blog/2005/11/15/Robots-and-main-page-accessibility</link><description>On my quest towards e-stardom (aka a relevant and content-rich website), I realized that the navigation towards my older &amp;quot;news items&amp;quot; was somewhat lacking.  My solution for this problem was to create a side bar menu that would contain all of the news item titles in descending date order (aka newest first). &lt;br /&gt;  &lt;br /&gt;  A day or two after this change, I began to notice a positive side-effect to including all of these titles as links on the main page...The robots (spiders) were crawling all through my site!  I&amp;#39;m not 100% sure, but I can&amp;#39;t imagine how this increased indexing would hurt my chances of being returned in some search results.&lt;br /&gt;  &lt;br /&gt;  In a possibly related subject, a Google search for &amp;#39;Aaron Lynch&amp;#39; now returns this page in the top 10 search results (#6 as of this entry) and an MSN search returns &lt;a href=&quot;http://www.aaronjlynch.com&quot;&gt;www.AaronJLynch.com&lt;/a&gt; as #3!&lt;br /&gt;  &lt;br /&gt;  Does anybody want my autograph?  &lt;img src=&quot;/fckeditor/editor/images/smiley/msn/wink_smile.gif&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;  &lt;br /&gt;  UPDATE 1/25/06:  Either Google has changed my ranking somehow, or my switch to BlogCFC&amp;nbsp; has harmed my accessibility somehow.  I now turn up on like page 5 or something terrible.  Back to the drawing board!    </description><pubDate>Tue, 15 Nov 2005 06:00:00 GMT</pubDate><guid>http://ajlcom.instantspot.com/blog/2005/11/15/Robots-and-main-page-accessibility</guid><category>SEO</category></item></channel></rss>