Entrepreneur Geek

Nirav Mehta on life, technology and future

Archive for the ‘Flex & Flash’ Category

Flex Regular Expression Online Testing / Learning Tool

without comments

When it comes to Regular Expressions, I start feeling giddy. Even after using them a lot on many projects, I never remember the qualifiers and syntax. It’s always RTFM for me when I need to use some regular expressions in my code.

And that happened again today. I looked around the manual and searched online for a “quick fix” on the regular expression I needed. And I found a very interesting online Regular Expression trial / demo / learn by exploring tool. It’s made in Flex (and I needed RegExp for Flex) and helped me develop the RegExp I needed in a couple of minutes. (ok, I am still slow, but I found it!)

Thank you Remus Stratulat for creating this useful tool! BTW, he also has a similar tool for JavaScript Regular Expressions.

Click on the image below or here and jump to online regular expression checking tool.

Online Regular Expression Checking Tool for Flex and JavaScript

Online Regular Expression Checking Tool for Flex and JavaScript

Written by Nirav

January 17th, 2010 at 5:38 pm

AIR 2, Microsoft future UI and iCheckbox

without comments

Adobe AIR 2.0 Beta out – list of new features

Adobe released a beta of the next version of AIR – AIR 2. Christian Cantrell posted an exhaustive list of everything that’s new in AIR 2.0. The list is impressive, and includes some things we’ve been thinking about – audio recording, calling native apps, multi touch and many more. The number of AIR applications on my computer is rising, and looking at this list, I can tell the number is just going higher.

Are you an AIR developer? What do you like the most in that feature list?

Microsoft too can build good UI – here’s a “sixth sensy” demo

So everyone who’s worth their salt is working on gestures and eye tracking and other – more natural – ways of interacting with a computer. Two interesting videos here that demonstrate pen, audio, gesture and eye tracking input. Good show Microsoft, I say.

Craig Mundie demonstrates future UI – part 1 and part 2.

Did you fall in love with the slider toggle button on iPhone? Now you can use if in Flex

Srinivas Annam has built an iPhone style switch component for Flex – iCheckbox. Looks nice and is worth a try. I am sure users find it easier to use than a checkbox.

Written by Nirav

November 14th, 2009 at 3:30 am

Posted in Flex & Flash

Tagged with , , ,

Test your site across multiple browsers with Adobe BrowserLabs

without comments

Adobe BrowserLabs

Compare multiple browsers side by side - Adobe BrowserLabs

Web designers and developers are always challenged by the diversity of browsers (each with its own quirks). It’s generally a time consuming and error prone process. Requires someone with a skilled eye to spot the problems.

Now, Adobe has simplified that process with BrowserLabs. You can see multiple browsers side by side, and can even overlay them to quickly spot differences. It’s free now and worth a try. Check it out.

Written by Nirav

September 5th, 2009 at 12:54 pm

Posted in Flex & Flash, Technology

Tagged with , ,

Notification Components in Flex

with 4 comments

If you are building a Flex application, you may need a way to show messages to the user. The usual way to do this is via Alerts. Alerts can be quite distracting and generally avoidable. Another alternative is to have a status message area (like a status bar) and show messages there.

Growl

Growl

But an even more interesting idea would be to show notification windows / popups. If you have seen Growl on the Mac, you know what I am talking about. Heck, even Facebook and most instant messengers show notifications now.

So how would you implement this using Flex?

Short answer, don’t implement them yourself. There are two very good and free components available that you can use.

Flex Notification is easy to implement and works very well.

FlexGrowl looks and works excellent but needs Degrafa.

Flex Notification Component

Flex Notification Component

Flex Growl

Flex Growl

I used Flex Notifications in an upcoming product, but am facing some issues with focus loss when the notification goes away. Don’t want to add the download overhead of degrafa to my app just for notifications yet!

Written by Nirav

August 5th, 2009 at 10:48 pm

Debugging PHP for the first time in 10 years, and loving it!

with one comment

I have been writing PHP code for 10 years now and have used a variety of ways to debug my code – except the actual runtime debugging! I have used echo statements and log files to debug and solve problems. I knew there is XDebug and Zend Debugger, but never tried them.

debugging-phpToday, I downloaded, setup and used Zend Debugger for the first time. And I loved it! It was awesome to see variable watch, breakpoints and the like. Just loved it!

Why did I use the debugger? I’ve been using Flex Builder myself for last one year heavily and think the debugger is indispensable. I have done some .NET code earlier and love debugger there too. For PHP, it was more like “I don’t need a debugger!” so far.

I dropped that today and embraced a debugger. And I am loving it so far!

Do you use a PHP Debugger?

Written by Nirav

April 21st, 2009 at 7:13 pm

Posted in Flex & Flash, PHP

Tagged with ,