October 16, 2013
Credit: iStockphoto
The very first road to the various app stores from Apple and Google was paved with native code. If you wanted to write for iOS, you learned Objective-C. If you wanted to tackle Android, Java was the only way. Similar issues popped up with all the other smaller players in the smartphone market.
Then some clever developers came to a realization: All the smartphones offered a nice option for displaying HTML in a rectangle on the screen. You have to write a bit of native code that pops up this rectangle in the native language, but everything inside the rectangle is controlled by the same languages that control the browser.
[ How are your HTML and JavaScript skills? Find out in InfoWorld's JavaScript IQ test and HTML5 IQ test. | Get up to speed on all the tips and trends programmers need to know by downloading the Developers' Survival Guide. | Keep up with the latest developer news with InfoWorld's Developer World newsletter. ]
Many developers immediately recognized the beauty of this. They wrote a generic native app with one big rectangle that took over the screen, then they handed off control to the JavaScript team. The result could run on all smartphones with only a few minor changes. Not only that, but the developers could use their JavaScript and HTML chops without learning too many details of the various platforms.
The early years weren't kind to this vision. Apple reacted harshly and banned some HTML apps from the App Store. Developers quickly found they couldn't get too creative with the JavaScript or the HTML before the phone started hiccuping and coughing. The HTML-based apps were often rougher and less polished than their native cousins.
That started changing several years ago. Apple relented and recognized that HTML was not dangerous. Then the hardware got faster, smoothing over many glitches. Today, some of the HTML-based apps I've been writing perform just as well as native apps -- and they're much easier to port.
Now these toolkits are being combined with cloud-based services that add cross-platform builds and app distribution to the mix. The leader of the movement, a once open source project named PhoneGap, is running strong and attracting competition from AppGyver, a startup that wants to make it all even easier. In the meantime, Telerik Icenium is evolving along a parallel path and offering a strong collection of development tools and UI widgets sewn together with JavaScript and HTML. All these tools open up the world of apps to developers who already are skilled in building Web applications.
Related Topics: Miss World 2013 rosh hashanah Dedication 5
No comments:
Post a Comment