Presenting on Comparing Flex Frameworks in NYC

I “ll be making a presentation Comparing Flex Frameworks at New York Flex User Group on July 24, 2008. User group meetings are free to attend, but require registration. Here “s the description of this session:

A year ago, there was Flex and there was Cairngorm. Today, Flex developers use about a dozen frameworks. The goal of any framework is to make the process of software development and maintenance easier. There are different ways of achieving this goal. Some people prefer working with frameworks that are based on the Model-View-Controller pattern, while other like dealing with class libraries of components. Each approach has its pros and cons. During this 80 ndash;minute session we ‘ll go over the same application that was built using Cairngorm, Clear, PureMVC and Mate frameworks.

This presentation is based on a chapter of the upcoming OReilly book “Enterprise Flex: Best Practices rdquo;, which I “m co-authoring with two other Flex experts of Farata Systems. For those who think that I should be more modest and shouldn “t call myself Flex expert, here “s a quote by Niels Bohr, a Nobel Prize winner: “An expert is a person who has made all the mistakes that can be made in a very narrow field rdquo;. Now I make a lot less mistakes in Flex as after completing several enterprise Flex/Java projects things are getting a lot clearer.

I “ll re-run the same presentation on September 11, 2008 (tentatively) at Philly “s Flex User Group.

This presentation is also included as a part of my Cairngorm training class on July 21, 2008 in NYC.

Finally, consider attending the first Enterprise Flex Symposium on August 19, 2008 in NYC. Enter the discount code flexthirty to get 30% off the price (new registrants only). This small-scale technical event will feature the following presentations:

Comparison of Flex Frameworks

Enterprise Portals with Flex: Challenges and Solutions

Open Source Networking Solutions for Flex Applications

Free Eclipse Plugins for Developing RIA with Flex

Developing Flex applications for LiveCycle ES

Enterprise Reporting with Flex

For more Flex-related training events, please visit our blog at http://flexblog.faratasystems.com/

Leave JavaFX alone

Someone has sent me a link to yet another bad press on Java FX .

Here ‘s how I see the evolution of JavaFX so far.

Beginning of 2007 (or even earlier). Sun Microsystems realizes that RIA is a serious trend and Java is behind in this area (yeah, yeah, Java applets were the first RIA in 1995).

May of 2007, JavaOne. Sun makes an announcement – we have something too, and it ‘s called JavaFX. Most of the Java developers (myself included) understand, that it takes 9 months to give a birth to a baby even if a mother-to-be states she ‘ll try to do it in half the time. But Java developers are loyal to Java, and they want to believe that somehow it might be possible…Let ‘s just keep our fingers crossed…

May of 2008, JavaOne. The baby was not born. Ultrasound shows that the fetus is there and it grows according to the schedule…What ‘s that little thingy? Oh, it ‘s a boy! Let ‘s wait and see…If the mother will follows recommendations, and get enough nutrients, the baby is going to be fine.

Java developers sigh…No miracles…But we love Java and are ready to wait more…

There ‘s one sad thing though. These premature announcements made by Sun ‘s executives hurt JavaFX. People lose trust when someone says it ‘s there and it ‘s great, but there is not much to show. People are not stupid. People see that in the Summer of 2008 the king is naked. From the PR perspective, these premature announcements are bad for the image of this potentially good software.

I also feel bad for a great team of Sun ‘s engineers who work on JavaFX and have to constantly apologize that this is not ready and that is not ready yet. I know that they are doing a great job, but need to be left alone for as long as it takes to create a new RIA tool given available human resources and the budget.

Changing career from manager to programmer or how to give advices

Last week, I was attending a presentation at a Flex users group. When people were about to leave, a guy stood up and asked for an advice on how he could change his career from managing people to Flex programming. In particular, he was interested in what book on Flex to read and what

else to learn. This was his statement:

“After doing the middle management thing for the last 13 years, I have decided to go back to my roots, programming. My formal training was

old school, procedural based stuff. I did some Paradox and C++ programming in the mid-nineties but have not coded since then.

I know, I am a dinosaur. But I am no dummy. I graduated fourth in my class outta high school, studied computer science at Carnegie Mellon

on scholarship and went on to code an entire business suite as well as develop the code that runs the NYC Transit Authority “s emergency

communication system. Since then I have managed a large staff, run my own company, etc etc. Plenty of real world experience in a variety of

roles. rdquo;

Since this was a Flex gathering (Flex is a domain-specific tool for creating front end of Web applications), people started giving advices on what else to learn beside Flex. With all my respect to the advisors, I was surprised to hear suggestions like learn Groovy, and learn Erlang. But these advices motivated me to write this blog.

When a person asks you for an advice, s/he opens up, trusts your opinion and the chances are s/he will follow your advice. This means that you should be very careful here. Spend some time trying to put yourself into the shoes of this person. Ask some questions. Try to understand the motivation and the goals of this guy or gal.

This particular case is kind of unusual. Typically, people try to switch careers in other direction. Sometimes it goes to the extremes. During my recent visit to India, I was surprised to learn that if you are 35 and still programming, you are considered to be underachiever .

But going back to coding? In America, it “s fine to be a coder even if you are 60. I have a friend who “s 73 now and does Cobol/CICS programming making several hundred dollars a day. But age matters, especially when we are talking about the bleeding edge technologies. Say, you are 35 with some rusty coding skills, and you want to enter the market populated with people who are ten years younger, having the only liabilities like a cell phone bill and a room rent totaled $1200. Can you compete with them? Yes, if you know what they do plus something else that they don “t.

A person who spent more than ten years has very valuable communication skills, which these young polyglot programmers don “t. But if I “ll be hiring you as a programmer, I “ll want you to know how to write programs using modern languages. I “ll be looking at your personality too. Can you accept the fact that now I “m the manager and you are not anymore? Do I really want risk putting myself into a situation with two cooks in the kitchen?

Are you ready to stop bossing around and start working on programming assignments? Can you keep your mouth shut during the team meetings without telling other people what to do? Think hard. And if you can “t, just keep doing what you “re doing ndash; just try to be a better manager. If management career choices are limited in your organization, start looking elsewhere. Leverage what you already have. And if you really have a burning desire to create cool things as a programmer, learn Flex, if you really like this tool and do it as a hobby after hours and create an online photo album #321.

If you think you are ready and can afford a manager-programmer career switch, start slowly. Test yourself if you can revive that state of mind when you “ve be writing code in C++. BTW, why did you stop coding? Are those reasons gone?

Which books to buy? You can buy any intro book, but, ideally, you should enroll into an instructor-led professional training class taught by a person who “s using the tool day in and day out in the real world FOR A LIVING. There is no book in the world that can replace mentorship and the guidance of a practitioner. Remember you don “t have much time in your hands. You can “t spend six months learning the basics of a tool ndash; the world won “t be frozen for six months. It “ll move ahead leaving you behind.

Back in 1998, I was making a switch in my career from PowerBuilder to Java. It was not as dramatic as from a manager to a programmer, but I paid $2500 out of my pocket for a week of training in Weblogic, which was hot at the time. The instructor was knowledgeable, and I was able to find my first Java contract pretty quickly without even lowering my hourly rate.

Which server-side language to learn? Why not Groovy or Erlang? Because this person is trying to switch career and hit the job market. Do you think there is a big demand in people who know Flex and Erlang or Flex and Groovy? I don “t think so. But I do know that people knowing Flex and Java are in big demand today. Half of the enterprise IT runs on J2EE and it “ll stay this way for many years to come regardless of cool new languages that will come into life.

If a person asks you for a career advice, tell him to learn something that will help in finding programming jobs and not something the evening fun.

To finish up this rather long lecture, I “d suggest this person to start with learning Flex dedicating to this process at least eight hours a day. The more, the better. Purchase several Flex books, sign up for the training, read blogs, stop sleeping. Short breaks for food intake (optional), personal hygiene (optional) and sex (optional) are allowed. The rest is studying.

The chances are that after living for a month in such regime, you “ll decide that switching from manager to a coder was a stupid idea. An you know what, being a manager was not so bad, was it? But hellip;if you won “t feel burnt out, keep pushing, learn Java and J2EE and welcome to the exciting word of software development!

New iPhone and Al Jazeera

Tomorrow is a big day for people having urge to get a hold of the new iPhone 3G. 8AM. Sharp. Apple stores open their doors and those who didn ‘t mind waiting in line for a couple of days (in Hawaii people formed lines 6 days ago) will get this baby.

I ‘ll get it too as soon as this craze subsides. I prefer entering the store rather than being pushed into it.

A year ago, I asked one of my NYU students, a proud owner of the old iPhone if he liked it. He said, “iPhone changed my life “. As simple as that. A year ago I wasn ‘t ready to shell out $500 for a life changing experience (the price has been dropped to $399 later on). Besides, the older iPhone was Internet-slow (70-150Kbps on AT amp;T EDGE network). The new one is 4-5 time faster (200-500Kbps on 3G). At amp;T is investing billions of dollars into upgrading their stations from EDGE to 3G. Yesterday I ‘ve noticed a little 3G sign on my cellphone, and I live in a small town 50 miles away from Manhattan.

The new iPhone is theoretically cheaper – $199, but since the price for the data plan is $10 higher, you ‘ll need to pay an extra $240 over the life of the two year contract. Also, the battery is not replacable, so be prepared to pay a $100 to get it professionally replaced when it ‘s dead.

The other thing I like about the new gadget is a new audio output that allows to plug in any headphones you like.

And finally, since Apple opened the iPhone API to third-party developers, expect to see a plethora of new application that may bring your life into a new level. For example, some US residents of Arab descent were suffering from not being able to watch Al Jazeera TV channels, but now they ‘ll start getting the real news via the iPhone. Some other useful applications are shown here.

With their online App Store, Apple will give a new solid platform for software developers from around the world who will turn a mobile phone into a computer, leaving behind JavaME, Flash Lite and Android.The App Store already has more than 550 applications ranging from $0 to $69 USD.

The GPS chip that ‘s sitting inside iPhone will bring lots of new conveniences. Imagine yourself driving in the middle of Nevada desert with iPhone in your hands. Launch the app and enter “French restaurant within 25 miles “. You got it! Or even better, all of a sudden you hear a voice announcement from iPhone, “You are within 10 mile distance from brothel Pretty Woman ” (brothels are legal in Nevada).Without the iPhone 3G, you ‘d kept driving without even knowing about great opportunities around you.

Congratulations to Apple for producing yet another excellent gadget!

Will run Cairngorm framework training on July 21

On Monday, July 21 I ‘ll be teaching a one day hands-on training on using Adobe Cairngorm framework for developing Flex applications. WHile thismaynot be the best Flex framework, thesedays it ‘s a must to have on your resume to get a job as Flex developer.

Those who need to make a decision about which Flex framework to select, because at the end of this class I ‘ll spend an hour reviewing and comparing Cairngorm with other Flex frameworks.

To register, please visit this Web page: http://www.eventbrite.com/event/128489315

Food Dial, our first Facebook application

We “ve uploaded the beta version of our first Facebook application called Food Dial. FoodDial is not just a book of recipes. Here “s the big idea ndash; you came back home, tired and hungry. Start the Food Dial application and open the fridge hellip;Here “s the red pepper. Turn the dial with food categories (we assume that you know that red pepper belongs to veggies). Drag it inside the dial and you “ll see all recipes that include red pepper as ingredient of a recipe. Keep going hellip;Found an onion? Drag it in. Now, the recipe list shows only those recipes that use both red pepper and the onion.

You can browse and upload your own recipes, rate and tag them with further filtering using the tag cloud on the right. There is the area for ads under the tag cloud, if say a medical doctor wants to advertise her services for those who are interested in recipes for diabetics.

For us, this application is a proof of concept, our first experiments with Facebook. The client portion is developed it using Adobe Flex, the server side is taken care of by Java under Tomcat and MySQL Server DBMS. We also wanted to show that Farata Systems is not only about developing rich but boring Internet applications for enterprises, but we do stuff for fun too.

If you have Facebook account, search for this application by entering Food Dial in the search box. If you don “t, just visit this URL: http://www.myflex.org/fooddial/FoodDial.html

This application is in beta ndash; we “d love to hear your suggestions to improve the Web design of Food Dial. So far it looks as typical Flex application. What would you change to improve its usability? All ideas are welcome.

Please add this application to your Facebook profile. Help us to see the viral nature of social networks in action.

Drunk Carmen

Have you ever seen an obviously drunk opera singer on stage? Check out this Youtube video:

http://www.youtube.com/watch?v=xXYQvrGn5fY amp;feature=user

Dragana is drunk, but singing for her is like riding a bicycle… or an air plane . Just turn on the auto-pilot. If I ‘d be so drunk, I ‘d forgotten a half of the words.

The guy who sings with her behaves very professionally as if nothing happened.

The orchestra is sober though, which is a pity.

My Flex 3 online training starts on Monday, July 7

Next week I ‘ll be teaching 5-day live onlline Flex 3 course. Students can be located anywhere in the world as long as they are connected to the Internet. During the class, each registered student will be using a screen-sharing tool for visuals and a free phone line for audio (non US-based students will have to use Skype). During the lecture part, students will watch the monitor of the instructor, and during the hands-on part instructor can quickly switch mode to see the screen of the student who needs help. Students can also ask questions using online chat room.

Readers of my blog can apply a discount code jugflex to get $200 off the full price (this discount can ‘t be applied by those who already registered for this course).

Details at http://www.eventbrite.com/event/125485330

Sergey leaves Google and burns bridges

In my e-book “Enterprise Software Without the BS rdquo;, I have a small section called Rules of Resignation. And here “s one of the rules:

Don “t post negative blogs about the company you quit

It “s not nice, really. If you don “t like your firm, just leave it. When I read a blogger badmouthing a former employer, I just lose any respect for the blogger. It “s not professional, and besides, I “ve heard that some companies have started suing their former employees about these bad postings online.

Today, I ran into yet another example of how a person violates this rule. Sergey Solyanik left Google and became a Dev Manager at Microsoft. He posted a detailed blog explaining his reasons.

Let “s read some extracts from his blog (shown in italic),

“There are many things about Google that are not great, and merit improvement. There are plenty of silly politics, underperformance, inefficiencies and ineffectiveness, and things that are plain stupid. I will not write about these things here because they are immaterial. I did not leave because of them. rdquo;

Every company has silly politics and stupid things. If they are immaterial, why mentioning them?

“Google software business is divided between producing the “eye candy ” – web properties that are designed to amuse and attract people – and the infrastructure required to support them. Some of the web properties are useful (some extremely useful – search), but most of them primarily help people waste time online (blogger, youtube, orkut, etc). rdquo;

Sergey “s new employer would love to have lots and lots of web properties helping people wasting their time and reading ads, but Microsoft has missed that ad train, but that “s a different subject altogether.

“The culture part is very important here – you can spend more time fixing bugs, you can introduce processes to improve things, but it is very, very hard to change the culture. And the culture at Google values “coolness ” tremendously, and the quality of service not as much. At least in the places where I worked. rdquo;

Any enterprise finds compromises between the quality of service and project deadlines. I wonder if Sergey is aware of lots of low-quality releases of various versions of Windows made by his new employer in the past, which most likely will remain the same in the future?

Here “s a piece about Google managers:

“The Google Manager is a very interesting phenomenon. On one hand, they usually have a LOT of people from different businesses reporting to them, and are perennially very busy.

On the other hand, in my year at Google, I could not figure out what was it they were doing. The better manager that I had collected feedback from my peers and gave it to me. There was no other (observable by me) impact on Google. The worse manager that I had did not do even that, so for me as a manager he was a complete no-op. I asked quite a few other engineers from senior to senior staff levels that had spent far more time at Google than I, and they didn ‘t know either. rdquo;

There are good and bad managers everywhere, and I really wish that none of Sergey “s subordinates will ever have a reason to blog about poor managing capabilities of Sergey.

I “m sure, the time will come when Sergey will decide to leave Microsoft. I do not think coming back to Google remains an option for him now. But hey, Yahoo might still consider his job application hellip;unless it “ll be swallowed by his current employer by then.

That blog left bad taste in my mouth. Please,

don “t post negative blogs about the company you quit. It “s a lose-lose situation.

Wikipedia, VC and naked wires in my hands

Our vacuum cleaner stopped working and my wife asked me to buy a new one. Even though I do not mind buying new devices, shopping for a vacuum cleaner is pretty boring process. You need to go to Google first entering “Best vacuum cleaner rdquo;, then read VC ratings, pick one in the area of $1K, find the vendors that are not too cheap and not too expensive ndash; preferably the one that you “ve dealt with before.

But our ten year old VC didn “t die suddenly. Over the last years it stopped working with some electrical outlets in our house, with gave me the idea that it might be something inside its plug. In general, I wonder how the vendors of house appliances survive? VC, laundry may machines, and refrigerators work for years and years and people do not change them often enough. Poor vendors have to come up and add some revolutionary features to these devices to give people some justifications for replacing their appliances with the new ones.

Anyway, I decided to cut off the plug and see if my VC will work if I insert naked wires into the outlet. Scissors did their job, and I discovered two wires there ndash; white and black. Even though my physics knowledge is rusty, I realized that these wires are colored differently for a reason and if I insert them in the wrong order, something bad may have happened to myself, VC or the house.

What would you do in this situation? I went to Wikipedia.org and started reading about conventions in wire coloring.

Since my VC was made in Europe, I was not sure if its manufacturers knew about these conventions. I was not convinced. I need to ask someone I trust.

If I “d be sitting in the TV studio of “Who Wants to be a Millionaire? rdquo; and had to use the option “Help from a friend rdquo;, I “d know who to call to. Papa I Mama just knows everything, and most importantly, he ‘s always willing to help.

BTW, one guy put Encyclopedia Britannica for sale on eBay. His item description was short but cute, “Don ‘t need it anymore. Got married and she fking knows everything! ”

PiM is a great guy. He was on Skype, and here “s cut and paste form our dialog

[6/27/2008 12:48:13 PM] YF says: I cut off the plug and trying to see if the problem is there. On Wikipedia now – trying to learn colors of electric wires – want to replace the plug. If you won ‘t hear from me within 20 min, I did it in a wrong way 😦

[6/27/2008 12:48:13 PM] PiM says: red (bright) is power, black is 0, green is ground

[6/27/2008 12:48:35 PM] YF says: I have just two wires – black and white.

[6/27/2008 12:48:47 PM] PiM: black is ground/0

[6/27/2008 12:49:16 PM] PiM: it has to have words ground along the wire along with gauge #

[6/27/2008 12:49:53 PM] PiM: you can also use ohmmeter on the plug/wires u cut

[6/27/2008 12:49:54 PM] YF says: No words. As per Wikipedia, black is phase. Which color corresponds to the wider blade on the plug?

[6/27/2008 12:50:09 PM] YF says: Do not have ohmmeter

[6/27/2008 12:50:32 PM] PiM says: 1.5v lamp and battery?

[6/27/2008 12:50:58 PM] PiM says: (from hand light?)

[6/27/2008 12:51:13 PM] YF says: I ‘d rather google it up

[6/27/2008 12:51:22 PM] PiM says: that is NUTS

After this message I decided to switch to the voice conversation, and PiM gave me a short lecture evaluating my chances to be killed by electric current in this situation. The chances were pretty slim, which was encouraging, and I poke the wires in.

My VC worked! I did not need to do this stupid shopping. Found an old TV cable box, cut off its plug, and short trip to Home Depot for electric tape made my happy and proud of myself. I called my wife. She was not happy, “Can we replace the entire cord to make it safer? rdquo;

Ok, Ok, back to Google, “Miele parts rdquo;, and five minutes later the order have been placed. Next week the cord will arrive. Expect to read another blog about how I was taking the VC apart trying to replace the cord.