I've been asked this question more than a few times lately, so I've decided to write some notes comparing between the two platforms.
I am currently leaving out other competing environments like gwt (not good enough), silverlight (why would you?) and javafx (not nearly there).
But first off - Before comparing between the platforms, you should be focused on your needs and target devices:
Does your application require heavy graphics processing? Animations?
Is it supposed to run over smartphones and tablet devices? Netbooks? Power desktops?
Are you able to deploy your application to app stores? Do you have the budget to target several platforms?
What are your performance goals?
Perform that analysis, and you will be able to compare between the two, and find the platform that suites your needs.
So, without further delay, let's begin:
Ease of development:
Advantage flex. Though html is very easy to learn, deploy and even debug, flex can be faster, especially with form based apps. flex has a nice WYSIWYG editor, with fast link to simple code. flex also has great built in graphs and charts, to which data could be easily linked. html is gaining ground, though, with new and better development environments in the pipeline.
Performance:
Advantage html. html is 'native' to browsers, while flex runs inside a browser, over a virtual machine. flex has several garbage collection problems (To which you need to go deeper into actionscript studying), is very cpu and memory greedy, and even takes more time to initialize and load.
If you need to run over tablets and netbooks, html should be the way.
If you do go with flex, consider this: Internet Explorer 8 and up has the best flash performance (According to several benchmarks I've performed). Chrome and firefox are slower, and android web browser is even slower then that.
Deployment:
Advantage html. This one is easy. flash needs a plugin. flash doesn't work over iOS. Flash builder 4.5 is supposed to have an iOS 'workaround' - running flex apps over iOS air runtime environment. IE10 is supposed to be closer to webkit browsers that to IE9, which will bring less browser compatibility issues.
Richness and graphics:
Advantage flex. Though html5 and css3 bring canvas, svg, effects and some other great stuff, flex and flash are still better. html is gaining ground here, though - there are lots of neat canvas javascript libraries out there.
Interop:
Advantage html. Need to open an office document via your app? A java applet? Can't do that on flex.
Documentation and development environments:
For flash builder, you will need a license. Knowledge base is quite large, but not nearly as large as html. To develop html, all you need is a notepad and a web browser.
To summarize:
In my opinion, html is the way to go. Faster, better performance in most cases, cheaper development and setup. Runs over every device, and besides - Everybody wants to develop better and faster browsers, rather than faster flash players...
So on the overall, for now, html wins by points.
But as the time goes by, html is getting better and better. So unless you're doing something that requires the flash platform or requires flash graphics, go with html.
Friday, July 29, 2011
Tuesday, July 19, 2011
New Simple Gallery Management Version available
This is it... Finally.
Finished work on it last evening, and here it goes.
I've added some nice GUI (click and edit like flickr) for it.
It's still not 100% done - Tagging and some more features would be added, but all the basics are there!
You can get it here:
sourceforge.net/projects/simplegalleryma/files/
... And, of course, it's 100% free (MIT license).
Enjoy!
Finished work on it last evening, and here it goes.
I've added some nice GUI (click and edit like flickr) for it.
It's still not 100% done - Tagging and some more features would be added, but all the basics are there!
You can get it here:
sourceforge.net/projects/simplegalleryma/files/
... And, of course, it's 100% free (MIT license).
Enjoy!
Monday, July 11, 2011
"Never underestimate the bandwidth of a truck full of backup tapes"
Said Andrew S. Tanenbaum, back in '96.
Netflix's CEO, when asked about their concept of sending DVDs and return envelopes to subscribers, quoted him as inspiration - Back in 2002, I was in Boston , lecturing about telephony switches test simulators, and discussed that quote with a manager from Intel when speaking about big bandwidth networks and the fact that they might replace physical media, eventually.
Few years down the road, and looks like Amazon were listening: http://aws.amazon.com/importexport/.
Thanks to Boaz Ziniman, zend's cloud expert, for the link.
Netflix's CEO, when asked about their concept of sending DVDs and return envelopes to subscribers, quoted him as inspiration - Back in 2002, I was in Boston , lecturing about telephony switches test simulators, and discussed that quote with a manager from Intel when speaking about big bandwidth networks and the fact that they might replace physical media, eventually.
Few years down the road, and looks like Amazon were listening: http://aws.amazon.com/importexport/.
Thanks to Boaz Ziniman, zend's cloud expert, for the link.
Thursday, June 30, 2011
+1
Thanks to Inbal Baron for adding me :)
Some notes:
- Getting started is easy. Just go over EVERYONE you've ever mail anything from your gmail, and add whoever you choose to the appropriate circle. The problem: If I could do the same with my facebook contacts, transition would be a lot easier.
- The concept is a mix between twitter and facebook. Seems like they've tried taking the best of both worlds. That's quite cool.
- The network is not working well on iPad. That's deliberate. Everybody knows you can't do rich text editing via iframe in tablets. So you have to use the 'mobile' web client for iPad, which is lame. It sucks.
- You'd think that after the buzz flop, google are going to be extra careful about privacy, people still don't trust google. We'll see how that evolves.
- The new Google toolbar looks EXACTLY like Twitter's. This is no coincidence.
And, final comment about this - This is not THE next big thing, sorry. My assumption is that the next big thing will not only be social, but physical as well.
Small tip:
Here's one more thing to do if you want SEO advantage...
Add a '+1' button is very simple.
Check out the instructions here.
Tuesday, June 28, 2011
Artichoke site is up!
You can check it out.
http://www.myartichoke.com/There will also be a like button there, soon.
Next online - Another site (Also based over the same infrastructure), and the new management version.
Saturday, May 21, 2011
The Thinkpad affair
I own a good old IBM X40 laptop, bought for me by Verint when I was working there.
This laptop had 40GB drive, centrino processor, and 1GB of RAM.
It has a great keyboard and screen, but was really, really slow due to a very (4500 rpm) slow hard disk. Booting XP took ~3 minutes, and the 6 cell battery was dead after 6 years, and was only good for an hour or so of very weak performance.
But I wasn't prepared to get a new one.
So I've decided to upgrade it.
First, I got a 64GB HD from ebay (140$, incl. shipping) and a new 6 cell battery (48$).
Then, I installed windows 7.
There's a problem with windows 7 and centrino drivers, so I couldn't get the laptop to enter standby mode.
This was solved by following the exact directions found here.
So, what did I get?
for less than 200$, my laptop is better than anything at that price.
It will be usable for a couple more years, and it's still one of the lightest/ comfortable laptops around.
The SSD is quiet, and takes less power - Along with the new battery, it now runs over wifi for 4.5 hours! 2.5 was the most I had with the old HD.
Great deal.
Friday, May 20, 2011
We've been indexed....
Google have indexed this blog, which means we've gained another link to Einat's site. BTW - This site should be reposted, as it has a link to myartichoke (My wife's site).
The next projects:
- An update to Maya's site. Should be an easy one.
- Another dynamic site, to which I will add 'updates' section support in my simple gallery management project.
Subscribe to:
Posts (Atom)
