AIR on Android
Monday, 15 February 2010 08:40

Adobe has made the announcement that AIR developers will be able to create applications for Android in late 2010!  This is exciting news for AIR developers, since it opens up the mobile devices arena.  AIR 2.0 will have support for multi-touch gestures, GPS, accelerometer and screen layout.

Check out the AIR team blog to see their post on the subject.

Personally, I got the Motorola Droid for Christmas, and have been loving it.  I'm quite excited to have the opportunity to develop applications for my phone using technologies I already love and know so well.

 
New Year, Improved Site
Monday, 04 January 2010 16:57
It's a new year and that means a great excuse to make some site improvements.  I feel like theflexguy.com has been a moving target ever since it's conception.  I was originally hosting my site on GoDaddy.  I was fairly pleased, although they gave me a dirty feeling (have you seen their commercials?).  Here's some of the changes I made for the new year, and why.
  • Hosting is now with DreamHost - I have some friends who use DreamHost and were very pleased.  I must say, after dealing with them for a while now, I am quite pleased too.  Their customer service is outstanding, they are generous with hosting and bandwidth and it's all so very easy to use.  If you decide to check them out, you can use this promo code THEFLEXGUY_PROMO to get $30 off a year of hosting and a free domain registration, courtesy of me - you're welcome.
  • Comment system is easier to use now - I have been struggling with commenting since I use Joomla, and it's not designed out of the box to have comments.  I'm now using JComments to provide a simple interface that doesn't require any registration.
  • Pretty URLs - this is something I have wanted for a long time but never could get to work right on GoDaddy.  I finally have it working on DreamHost.  Hopefully, it'll be a lot easier to link to blog posts since the urls are a little more meaningful.
I'm hoping to continue to improve the site so that users in the blogosphere can use it easier.
 
Four Considerations for Custom Components
Saturday, 08 August 2009 19:36

In this article, I'm going to discuss four considerations for developing high quality custom components:

  1. Portability
  2. Flexibility
  3. Performance
  4. Weight
Using these considerations, you'll be able to develop more professional, usable components.  Even if I don't think I will use my component in another project, I like to use these principles.
 
SearchInput control
Friday, 08 May 2009 10:23

There's a couple of projects I've been working on lately, one of which is the BugQuash QuashBoard, that require a search input.  I decided to quit duplicating some of the work I'm doing and create a SearchInput control that extends the TextInput control and wraps the search logic into a reusable component.

The thought process went like this: I wanted a search field that when I typed, the datagrid (or whatever the data was displaying in) would filter out the rows that didn't match the search terms.  FilterFunctions do just that, but they don't work on the DataGrid or List directly, they work on the dataProvider.  The dataProvider must implement ICollectionView to have a filterFunction applied to it.  You can figure this out by searching for filterFunction and finding that it is defined in ListCollectionView.  ListCollectionView defines the function because it's in ICollectionView, which ListCollectionView implements.  I programmed to an interface, not an implementation.