Showing posts with label mobile web. Show all posts
Showing posts with label mobile web. Show all posts

Mobile Technologies Revealed: Web and Native App Development Strategies

Our resident Cognizant mobile and digital technology guru, Peter Rogers, shares his insights into web and native app development strategies in this guest post:  Enjoy!
********
Peter Rogers
I often meet customers who want to transition web developers into mobile application developers. Apple has clearly tried to address this market using Swift but that does not offer a cross platform solution. Developers who have come through this transition will traditionally wrap the latest and greatest web framework (like Angular 2 or React) using Adobe Cordova through initiatives like Ionic. However great the latest web frameworks are though they can never compete with pure native mobile user interfaces powered by dedicated hardware acceleration. It may be a simple solution but the net result is never going to be present the best possible user experience and there will always be problems with Apple App Store submission and changes to WebView technologies designed to gently nudge developers towards pure native Apps.

Appcelerator Titanium has long since offered an excellent solution in this space but the only downside is the lack of a combined desktop and mobile solution.

Recently three new exciting initiatives arrived to offer new Titanium-like solutions in this space:

1.       React Native (http://www.reactnative.com/)
2.       Angular 2 Native Apps (https://www.youtube.com/watch?v=4SbiiyRSIwo)
3.       NativeScript (https://www.nativescript.org/)

The benefit of the first two is that the technology can be shared across both mobile and desktop effectively. There is no learning a new framework. For the web developers who are trained in Angular 2 or React then this is a very attractive solution for transition to mobile development without having to go anywhere near Cordova. In fact in most cases all you have to do is to swap out the final Cordova Wrapping process for a dedicated Web Native Development phase, which means you don’t have to throw anything away.

How does this magic work? Well advanced web developers have already started to mix Angular and React: using the big framework quality of Angular and the high speed rendering of React. This architecture is made even simpler with Angular 2 in which there is platform-agnostic template parsing and platform-specific rendering. This makes it possible to plug in React Native or NativeScript as the underlying rendering engine. This offers a future in which Angular 2 can create cross-platform desktop or cross-platform mobile applications, allowing you to choose your programming language (ECMAScript 5.1, ECMAScript 2015, TypeScript, Dart or CoffeeScript) and choose your platform-specific rendering engine (React Native, NativeScript, Angular 1, Angular 2 or React). For those who wrote off Angular 2 due to radical design changes then suddenly that decision is looking incredible hasty, for it is nothing short of genius.

If you watch the Angular 2 Native App video then you will see the focus around NativeScript. The question is why not consider Titanium or React Native? Whilst that is perfectly possible using the plug and play nature of the new Angular 2 rendering engine there is a clear advantage offered by NativeScript. To understand this advantage we need to take a slight diversion into Hybrid App world. As you may recall there are three main models for Hybrid Apps: wrapped web; runtime interpreters; and cross-compilers. If we start with cross-compilers then we will find Xamarin ruling the roost but I would not call this a Rapid Application Development approach. You trade performance for a slightly longer development time and a more difficult programming language. The interesting thing with Xamarin is the 100% API coverage available within a few days. There are also a few HTML 5 canvas cross-compilers like those found in Intel XDK but these are specific to Canvas technology which works better for the specific use case of widgets and games. We all know the most popular wrapped web solution is Cordova, with another notable entry being IBM Worklight.

Runtime Interpreter solutions do not quite offer the performance of a cross-compiler but they do offer support for rapid application development through JavaScript. Appcelerator Titanium is the most popular Runtime Interpreter solution and has teased a cross-compiler solution called HyperLoop for a long time but it is offered in a restricted capacity. I am a huge fan of Titanium and have used it a lot for various customers. I was really looking forward to HyperLoop but looking at the software repository then it seems to have slowed down to a halt. The only downside of Titanium is the lack of 100% API coverage but this is a shared limitation with most other portable native solutions with Xamarin and NativeScript being the notable alternatives. Now in the case of Xamarin the API wiring has to be performed by hand however in NativeScript then it is automatic.

So what is the magic of the Runtime Interpreter solution powering Titanium, Kony, React Native and NativeScript? Well Telerik (who created NativeScript) provide the best explanation that I have quite possibly ever read before online (http://developer.telerik.com/featured/nativescript-works/). In a nutshell the two core JavaScript engines that power iOS (JavaScript Core) and Android (V8) both expose a very advanced set of APIs that power the JavaScript bridge (http://izs.me/v8-docs/namespacev8.html).

·         Inject new objects into the global namespace
·         JavaScript function callbacks
·         JNI to talk with the C layer on Android

NativeScript offers the following explanation of how it uses these APIs in order to build the JavaScript bridge:

1)      Metadata is injected into the global namespace at build-time
2)      The V8/JavaScript Core function callback runs.
3)      The NativeScript runtime uses its metadata to know that the JavaScript function calls means it needs to instantiate an Android/iOS native object
4)      The NativeScript runtime uses the JNI to instantiate an Android object and keeps a reference to it (iOS can talk directly to the C layer)
5)      The NativeScript runtime returns a JavaScript object that proxies the Android/iOS object.
6)      Control returns to JavaScript where the proxy object gets stored as a local variable.

This is probably quite similar for most of the other vendors but the additional step that NativeScript adds is the ability to dynamically build the API set at build time using Reflection (introspection). Because generating this data is non-trivial from a performance perspective, NativeScript does it ahead of time, and embeds the pre-generated metadata during the Android/iOS build step. This is why NativeScript can offer 100% API coverage immediately because it does not involve the manual step required in Xamarin. To be accurate it is unlikely that NativeScript can offer 100% API but instead it will offer all of the APIs that can be discovered through reflection – there is a subtle difference here as those who have use reflection programmatically will pick up on.

NativeScript offers two different modes of operation:

1)      Use the low level iOS and Android objects directly
2)      Use high level abstraction APIs

The high level abstraction APIs are provided as RequireJS modules and allow you to work at a higher level of abstraction. If you were wiring this into Angular 2 then you would probably have an Angular component which either calls a Browser Object or an NS Module, which itself talks to either an iOS proxy object or an Android proxy object through NativeScript. Of course there is nothing to stop you having an Angular component that calls out to React Native and that option is being explored as well.

This is not to say that NativeScript is better than React Native, Titanium or Xamarin. In fact I can see the main use case of NativeScript as being used inside of Angular 2 as its platform specific rendering solution. I can actually see more people using React Native as a standalone solution even though it is in a much earlier state. I can also see Titanium carrying on as one of the most popular mobile solutions on the market today. I can however see native mobile web applications becoming a hot new topic and a great place to transition web developers towards.

Download the latest mobile strategies research paper, "Cutting Through Chaos in the Age of Mobile Me," here http://www.cognizant.com/InsightsWhitepapers/Cutting-Through-Chaos-in-the-Age-of-Mobile-Me-codex1579.pdf
************************************************************************
Kevin Benedict
Writer, Speaker, Analyst and World Traveler
View my profile on LinkedIn
Follow me on Twitter @krbenedict
Subscribe to Kevin'sYouTube Channel
Join the Linkedin Group Strategic Enterprise Mobility
Join the Google+ Community Mobile Enterprise Strategies

***Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility and digital transformation analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Kevin Benedict's What's New in HTML5 - Week of October 28, 2012

Quantas Freight has launched its new HTML5-based mobile app and mobile site for smartphones.  Read Original Content

Phineas Barnes, in the article “HTML5 Is the Real Loser In The iPhone Maps Fiasco” in Business Insider, believes that the native app experience is much better than web apps and HTML5 comes out the loser.  Read Original Content

QNX Software Systems has announced the HTML SDK, an extension of the open source BlackBerry WebWorks framework, specially optimized for automotive environments.  Read Original Content

Apple has purchased Particle, an HTML5 web and web app design firm that has done HTML5 work for Google, Motorola, Amazon, Yahoo, Sony, and Apple.  Read Original Content

Christian Heilmann of Mozilla believes developers shouldn’t abandon HTML5 - even with bumps along the road, as the benefits of HTML5 will ultimately prove worthwhile.  Read Original Content

Mobile social game company Gree has launched a new open-source tool for creating Unity - and HTML5-based smartphone apps with Flash content.  Read Original Content

Developer Eran Zinman of Conduit shares his “real life experience” with “Native, HTML5, and Hybrid Mobile App Development”.  Read Original Content

 The DevCon5 HTML5 Developers and Design Conference will be held November 27-29, 2012 in San Francisco and will feature leading HTML5 developers, engineers and evangelists.  For conference information, go to http://www.html5report.com/conference/california/.  Read Original Content

InfoWorld highlights “7 Apps Making the Most of HTML5” illustrating how to make the most of HTML5, JavaScript, and CSS.  Read Original Content

Oracle has released its Application Development Framework Mobile, an HTML5 and Java-based framework to enable developers to build, deploy and extend enterprise applications for mobile environments from a single code base.  Read Original Content

Cookeatshare.com is developing a free HTML5-based site for iOS and Android devices.  Read Original Content

Mike James describes how to utilize HTML5’s Media Capture API when creating web apps in this article in i-programmer.  Read Original Content

Microsoft‘s HTML 5-based Office Web Apps are now live and available through SkyDrive and Outlook.com.  The new web apps have been fine-tuned to work properly with the final version of Internet Explorer 10, Windows 8 and iOS 6.  Read Original Content

According to LongTail Video’s “State of HTML5 Video”, 79 percent of the market can now play HTML5 video.  Read Original Content

Jeff Corbin of theIRapp outlines why he feels HTML5 misses the mark in mobile investor relations strategies in his whitepaper “Investor Relations (IR) Apps: Native or HTML5?”  Read Original Content

“Mobile applications and HTML5” are number two on Gartner’s list of the top ten strategic technology trends for 2013, and one of the assumptions by year end 2014 is that HTML5 will be the “mainstream enterprise app vehicle”.  Read Original Content


*************************************************************
Kevin Benedict, Head Analyst for SMAC, Cognizant
Read The Future of Work
Follow me on Twitter @krbenedict
Join the Linkedin Group Strategic Enterprise Mobility
Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility and SMAC analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Kevin Benedict's What's New in HTML5 - Week of October 21, 2012


I gave a presentation on SMAC (social, mobile, analytics and cloud) at a large high tech conference this week in Scottsdale, AZ.  During my presentation I surveyed the audience by a show of hands and asked how many were planning to pre-dominantly develop using HTML5 (or HTML5 hybrid apps), and how many were planning to use native.  About two thirds were planning to use HTML5 for their app development projects.

Also last week, I interviewed Tony Kueh, SAP's Head of Mobile Platform Solutions and Strategies about HTML5 vendors and SAP's open strategy for working with them in this video interview.  It is interesting who SAP picked to work with around HTML5 development.

Now for the news...

HTML5 is an option publishers should consider for delivering content to mobile devices.  Giles Phillips of Brightcove believes that HTML5 has “definitely created more flexibility for publishers and has helped make responsive web design a viable option for publishers with a blended content mix”.  Read Original Content

Microsoft and developers of the physics puzzle game Contre Jour have teamed up to utilize HTML5 to create the game for the Web in what Microsoft calls one of the most ambitious uses of HTML5 to date.  Read Original Content

Quark has launched an upgrade to its AppStudio program for creating and publishing mobile apps.  The new version is HTML5-based, providing features including searchable, selectable text, tagging, bookmarking, commenting, and multifaceted social media interaction.  Read Original Content

AOL’s new HTML5-based version of Games.com is cross-platform, available on PC’s, smartphones and tablets and provides access to more than 5000 titles.  Read OriginalContent

The selection of mobile development tools has never been richer and more affordable as it is today.  Mel Beckman provides information and advice for developers not sure whether to go with native apps, HTML5 web apps, or a hybrid approach in this article in PC Advisor.  Read Original Content

HTML5 has the potential for growth in areas such as graphics rendering and Web services protocol and it ultimately helps developers and content providers remove the "chains" from being tied to native platform owners.  Read Original Content

Dolphin has launched a new companion app for its Android browser and the company claims that “Dolphin Jetpack” brings 5-10 times faster HTML5 rendering performance than the stock Android browser.  Read Original Content

With the growing popularity of mobile websites, HTML5 rich media banners have become an excellent way for advertisers to communicate with their target audiences. “With the increased demand for rich media, HTML5 is transforming the landscape of mobile advertising and advertisers are starting to see the successes.”  Read OriginalContent

Sony’s newly redesigned PlayStation Store was built in HTML5 to provide flexibility for the company to seamlessly add new features and capabilities.  Read Original Content

Opera Software has launched Opera Mobile 12.1 for Android with additional HTML5 features including HTML5 Drag and Drop and the HTML5 Clipboard API.  Read Original Content

Software FX has announced the release and availability of jChartFX, a free collection of charts and graphs for business data visualization and analysis for HTML5, jQuery and JavaScript developers.  Read Original Content

SAP’s mobile HTML5 apps program for developers has produced a number of apps which are “clearly focused on what the biggest enterprises and businesses need to get work done on a mobile scale”.  Read Original Content

Phone Arena conducted an iPhone 5 vs. Samsung Galaxy S3 comparison test to see which device performs better with HTML5.  Read Original Content

Lori MacVittie of F5 explores the question “Is HTML5 the Answer to Mobile's VDI Challenge?”  ReadOriginal Content

*************************************************************
Kevin Benedict, Head Analyst for SMAC, Cognizant
Read The Future of Work
Follow me on Twitter @krbenedict
Join the Linkedin Group Strategic Enterprise Mobility
Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility and SMAC analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Kevin Benedict's What's New in HTML5 - Week of October 15, 2012


The New York Times has rolled out an HTML5 web app for Apple’s iPad, an addition to the native apps already available.  Read Original Content

The preview of Oracle’s NetBeans Integrated Development Environment 7.3 features new advanced HTML5, JavaScript and CSS development capabilities and is now available for download.  Read Original Content

Microsoft developed TypeScript as a way to help JavaScript scale to larger, more media rich HTML5 projects and they’ve announced that TypeScript is now available for developers and programmers to download a preview, test it in the “TypeScript online playground”, or obtain the source code.  Read Original Content

Google’s Chrome 23 beta adds track support for HTML5 video that enables developers to add elements such as subtitles, captions, chapters, descriptions and metadata to videos.  Read Original Content

Mobile app performance management platform Crittercism, has launched a new mobile app crash reporting service for HTML5 allowing developers to view errors and issues for HTML5, mobile Web and hybrid apps.  Read Original Content

According to Facebook developer advocate Simon Cross, those advocating HTML5 on mobile devices must ”step up their efforts and solve issues with performance and monetization in order for the technology to reach its true potential”.  Read Original Content

A free new PDF editor from Docudesk enables users to edit, share and fax PDF documents from within the browser and can be used from a number of devices including Apple’s iPad and iPhone.  Read Original Content

Sports Illustrated has re-launched its mobile website which is now HTML5-based.  Read OriginalContent

Web designer Tim G. Thomas describes the business case for “Building a Non-Native Mobile HTML5 App”.  Parts 2 - Choosing a Technology Stack and 3 - Hooking Things Together are also available.  Read OriginalContent

As a tribute to Steve Jobs, a developer created a virtual classic iPod using HTML5 and CSS3.  ReadOriginal Content

French developers have created cHTeMeLe, a board game about writing HTML5 code.  Read OriginalContent

Kris Ostrowka, a business development associate at StepLeader, outlines “What You Need to Know about HTML5 vs. Native Apps” in this article in Mobile Marketer.  ReadOriginal Content

The W3C partnered with tech firms including Apple, Adobe, Facebook, Google, HP, and Microsoft to create a website to serve as a resource for developers seeking information on HTML5, CSS3, and other open-web standards.  Read Original Content
*************************************************************
Kevin Benedict, Head Analyst for SMAC (Social, MOBILE, Analytics and Cloud), Cognizant
Read The Future of Work
Follow me on Twitter @krbenedict
Join the Strategic Enterprise Mobility Linkedin Group
Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Kevin Benedict's What's New in HTML5 - Week of October 7th, 2012

I conducted a workshop via webex yesterday with a mining company in Australia.  It was interesting that they had a strong preference for HTML5 apps running on a cloud based mobile platform.  Their thinking was that they want mobile solutions now, but they see no need to sink a lot of money into on-premise solutions and mobile platforms yet.  They felt that HTML5 would give them the most flexibility and easiest implementations and deployments at this time as they mature their own mobile strategies and infrastructure and wait to see who the winners will be in the mobile platform market.

Now for the news...

Intel has continued to survey developers to find out where things are going with HTML5, and 40 percent of those surveyed said that they are already using HTML5 in some way in their development, and the other 40 percent of the survey developers said they planned to use it.  Read Original Content

In this video interview, Adam ‘HTML5 Guru’ Stanley Tells How RIM is Using HTML5 in BlackBerry 10.  (Click here to see the video on YouTube:  http://www.youtube.com/watch?v=jy4fOzQeCY8)  Read Original Content

A new video game, Brainworth, teaches its users about the principles of computer science and skills required to create HTML5 online games.  Read Original Content

Education technology firm Desmos, Inc. has developed a graphing calculator with an interactive HTML5 graphing platform that works across all modern browsers. Read Original Content

A recent webcast on the subject of using HTML5 for web-based trading applications is available.  The webcast discussion is based on the question:  “Is it feasible to adopt HTML5 as an enterprise development technology now, what are the issues, and how can they be addressed?”  Read Original Content

A new report by mobility analyst Kevin Benedict documents the plans and insights of over 120 people involved in enterprise mobility.  When asked how important HTML5 and HTML5 hybrid apps were to their company's enterprise mobility plans, 45% answered it was "very important," and 14% said it was "critical."  Download the entire Mid-Year Enterprise Mobility 2012 Survey report for free here.

A recent study by adtech company Kontera based on data from 15,000 U.S. publisher partners revealed that mobile web traffic is up 430 percent between January and July this year and mobile Web browsing now accounts for 22 percent of web traffic.  Read Original Content

Apple iOS users who have upgraded to iOS 6 or bought an iPhone 5 may be missing Google Maps features, but it is still available as Google is actively maintaining the HTML5-based mobile Web version of Google Maps.  Google Street View will be soon available on the mobile Web version. Read Original Content

A new report from BI Intelligence explains why Facebook abandoned HTML5 for now including topics such as:  HTML5 app functionality still leaves much to be desired; HTML5 has a fragmentation problem; and The promise of HTML5 remains.  Read Original Content

A research report from Strategy Analytics forecasts that the HTML5-focused Firefox OS will capture only 1 percent of the market in 2013.  Read Original Content

An article in PCQuest demonstrates how to remotely debug a mobile HTML5 app with a remote inspector.  Read Original Content

Eyepartner has released Channel Manager HTML5 V1.0, enabling users to publish video and audio into playlists by dragging and dropping content in a channel lineup, and to build unlimited scheduled programming for playback on Roku set-top boxes and HTML5 5-compatible players including iPad and iPhone.  Read Original Content

Google uses HTML5 animations to illustrate its economic impact for each state in the U.S. on its Economic Impact page (http://www.google.com/economicimpact/)   Read Original Content

Oracle has added three new PeopleSoft mobile applications which utilize HTML5 and CSS3 and do not require download.  Read Original Content

A panel discussion which took place on the last day of the World Summit on Innovation and Entrepreneurship in Boston included topics such as the future of mobile, how the mobile interface will evolve, app stores, and HTML5.  Read Original Content

In this article in TechRepublic, “Why you’d be stupid to bet against HTML5”, author Nick Heath explains that although HTML5’s credentials as a mobile development platform have been called into question, it is still set to play a key role as the basis for mobile apps.  Read Original Content

*************************************************************
Kevin Benedict, Head Analyst for SMAC (Social, MOBILE, Analytics and Cloud), Cognizant
Read The Future of Work
Follow me on Twitter @krbenedict
Join the Strategic Enterprise Mobility Linkedin Group
Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Kevin Benedict's What's New in HTML5 - Week of September 23, 2012


Here are the comments, opinions and actions taken by both supporters and opponents of HTML5 that I have found this week.  It is never a dull discussion.

Native apps tend to have a smoother look and feel, more polish, and are able to leverage elements of their native operating system to feel more deeply integrated into the device.  However, building for multiple platforms and devices is expensive while web apps, built in standards-based technologies such as HTML5 and CSS3, will work on devices across a range of sizes by being adaptive and responsive.  Read Original Content

Brendan Eich, the chief technology officer at Mozilla, admits that HTML5 still faces standardization issues, and by continuing to lead development of essential HTML5 standards, Mozilla will actually make developers' lives easier.  Read Original Content

The much-publicized quote from Mark Zuckerberg, stating that the biggest mistake Facebook made was betting too much on HTML5 doesn’t tell the entire story.  The full quote, on Facebook software engineer Tobie Langel’s blog is:  “When I’m introspective about the last few years I think the biggest mistake that we made, as a company, is betting too much on HTML5 as opposed to native… because it just wasn’t there. And it’s not that HTML5 is bad. I’m actually, on long-term, really excited about it. One of the things that’s interesting is we actually have more people on a daily basis using mobile Web Facebook than we have using our iOS or Android apps combined. So mobile Web is a big thing for us.”  Read Original Content

While stating that the company believes HTML5 has been “very over-hyped”, Intel software executive Renee James goes on to say that Intel is “committed to making sure HTML5 remains open, cross-platform, and has the right performance”.  Read Original Content
Adobe has made an effort to have its tools work on multiple platforms - PCs, tablets, and smartphones - using HTML5 and dynamic layout reformatting tailored to each device type.  The company is now promoting free “Create the Web” events to show off new tools and services for HTML5, CSS3, motion graphics, web development and more.  Read Original Content

appMobi has announced the launch privateStack, an HTML5-based, app development and cloud services platform that will enable businesses to develop their own cloud stack for mobile apps for business operations.  Read Original Content

Donald MacCormick in BI Dashboards provides a video of an HTML5 dashboard prototype in action.  Read Original Content

Facebook software engineer Tobie Langel outlines the HTML5 flaws that Facebook encountered including a lack of tooling in mobile browsers, scrolling performance problems, and technical problems such as stuttering and GPU buffer exhaustion.  Read OriginalContent

Xamarin CEO Nat Freidman believes the mobile industry is moving too fast for HTML5 and Web standards-based development to keep up, and he feels a lot more developers will start to build natively.  An IDC analyst states “We are now in a bit of a disillusionment phase for HTML5 as early adopters push the boundaries of the capabilities and sometimes fail”.  ReadOriginal Content

This article from HTML5 Goodies explores the changes with HTML5 Semantics – HTML5 tags that have been removed and new HTML5 elements.  Read Original Content

Jadu will offer its mobile app publishing platform Weejot.com free to every school, college and university in the U.K. to enable students to improve their programming skills using HTML5 and JavaScript.  Read Original Content

Serdar Yegulalp writes in Information Week’s Byte newsletter that although he “can’t stand” programming in HTML5, he sees it thriving in the long run, because it’s the most widely-recognized starting point. HTML5 “doesn't give the most powerful base to build on, but it provides the lowest barrier to entry, and one of the fastest ways to get something into people's hands”.  Read Original Content

A collection of 10 useful infographics about HTML5 is provided in this article by Jacob Gube in Six Revisions.  Read Original Content


*************************************************************
Kevin Benedict, Head Analyst for SMAC (Social, MOBILE, Analytics and Cloud), Cognizant
Read The Future of Work
Follow me on Twitter @krbenedict
Join the Strategic Enterprise Mobility Linkedin Group
Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Interviews with Kevin Benedict