Native HTML 5 vs vs Titanium

♠ Posted by Unknown in at 00:03
Which platform to choose? The advantages and disadvantages when considering all aspects of programming.

But what are the things to consider? These are the ease of development, reusability of the code, the possibilitités and limitations of the platform and consequently the quality of the application, its fluidity, its appearance.
But we must also consider the benefits to the finished application: compatibility with OS, access to shops, the future evolution of mobile.

Depending on these factors, we can determine where each application platform will offer the best support. If you know a bit these technologies, we can guess it a bit already the trend, but it is good to know exactly what we can expect from each.


HTML 5

Works on all devices and systems provided that JavaScript is not disabled.

Description

HTML 5 is the user interface description language. The association with the data is done in JavaScript with a data server, preferably Node.js. This allows it to interface with native APIs that manage the functions of the device. One of the most used is PhoneGap. The design is also facilitated with frameworks such as Sencha and Backbone.EaseCoding in HTML 5 can be very difficult. We must work with a dynamic language, manage offline mode, operate the sound if needed and especially test the application on multiple browsers. For a business type application that can be easier thanks to the many frameworks that support the association of data with the interface. 
DurabilityIf it is based on standards, such an API developed by Mozilla for mobile, the application will be here to stay indefinitely (IT horizon).
 PotentialThanks to the Canvas tag that provides a drawing surface or animation, all graphical applications are possible. The sound is also available, but very effective. WebGL 3D offers but it is an emerging technology. APIs provide access to materials with a lower reactivity than native applications. 

Compatibility 
The application will run on all operating and type of computer or mobile systems. It will also run on Windows 8 Metro.The same code can be reused on a website, a local application, a mobile application. 
BroadcastingHTML 5 applications have potential access to the AppStore, as well as mobile Facebook. She had the advantage of hearing on all systems which is reflected by a larger echo in the media.
 ApplicationsThe application must depend on some specific mobile functions, such as sensors and other sensors. This is the case of games, but so far it is not the best platform for them. The sound is poor now. There are in fact amounts games on Canvas.Practical applications or linked to the Internet or accessing a database are the easiest to realize.

Native

Each operating system includes native programming platform. Tizen and webOS using HTML 5 and a low-level framework to access features of the device.

Description

Language and programming tools system dependent. IOS is Cocoa and Objective C language for Android is the Dalvik virtual machine and the Java language. Dalvik It has been ported to other systems, with rather average user experience.EaseThe platform is placed in second position in terms of difficulty. There is generally development interface based on Eclipse with emulators on the desktop. There is an application generator for Android. When programming regularly natively, it seems simpler than HTML, but it's the opposite for a first application. 
DurabilityNew versions of the OS or different devices will make obsolete application. It will be updated regularly. 
PotentialSpeed, fluidity, access to native widgets and other system components.CompatibilityRegarding Android, fragmentation is important. An application for Android 4 will not work on 2.3. It will tend to limit the application to find the common denominator. For each OS, you must rewrite the application to carry it on another. 
BroadcastingAn iOS application can access the Apple AppStore. It is not guaranteed. Once the entry fee paid, the application may be denied. And if accepted, it will pay 30% of revenues to the firm. In return, the application will have a wide exposure and larger sales that mark. 
ApplicationsYou can access all the possibilities of the device and even to many devices have been invented to complete a mobile. See the article on mobile applications. Natively, all types of applications can be realized.

Titanium

Can generate native code for each AFIS from the same source code. Appcelerator, the editor offers Titanium Studio free with the SDK without extensions for business. According to him, 300,000 developers use the platform in 2012.
Be aware that if the tool is free when building software itself free, it has a high cost since it is used for a commercial product. So read the license carefully before using. Only the version on GitHub with the SDK as yourself compiling is free.

Description

 Combines an IDE based on Eclipse, Titanium Studio, and an SDK in JavaScript that can interface with the native API.EaseTo the extent that the same code is used for all systems, it is easier to carry ... According to the editor, one program as swiftly as with Objective C or Java languages. In fact it is surprising to see that less lines of code for the same result.The posting on the app stores is automatic. 

DurabilityThe future of the platform is linked to that of the publisher. If he withdraws trade, there will be updating the system. But the code is open source, and it could always find a buyer. 

Potential 
Added cloud services to applications and notifications with a statistics department for the use of the application. 

Compatibility 
Compatible with all phones, tablets, and desktop computers. 

BroadcastingApplications are accepted on the AppStore since a change of policy on the part of Apple. 
ApplicationsAs native applications they access the functions of the device, but the platform being generic and thus not being close to any system, it will be less suitable. It will support the common denominator of all supported systems. It is therefore suitable for a mobile application but not specifically to a particular brand.

Conclusion

There is often confusion between web application and enforcement HTML 5. The JavaScript section of this site, however, shows that we can carry out local applications with HTML 5 Node.js. Apparently on mobile, this platform is linked to the Internet and therefore imposes the application loading time. This disadvantage does not exist if you know manage the offline mode.

The other disadvantage of HTML 5 is the difficulty of programming, while Titanium which also uses JavaScript would be easier to use than native development. This is the choice to make if one needs all the machine's resources and performance. It requires more or less belonged completely to an operating system.

0 comments:

Post a Comment