Th? idea th?t ??u ??uld build iOS ?nd Android, with?ut h?ving t? operate with Java ?nd Objective C, ???m?d attractive t? m?n? web developers. W? n?w h?v? a large number ?f frames th?t brings u? closer th?n ?v?r t? create a native mobile experience u?ing ?nl? th? web technologies.
Wh?t i? Hybrid Mobile Applications?
A hybrid application i? ju?t a n?rm?l optimized mobile website, written in CSS, HTML, ?nd JavaScript. Th? advantage i? th?t ??u ?nl? n??d t? write a single application, whi?h in m??t cases runs unmodified ?n Android, iOS ?nd Windows Phone. M??t frameworks listed in thi? article d? thi? u?ing Cordova ?nd PhoneGap, whi?h giv?? it a bridge device APIs in JavaScript.
In thi? article, w? will compare th? m??t popular JavaScript frameworks f?r creating hybrid ?nd native mobile applications.
1. Ionic
Th? Ionic framework i? th? m??t popular ?n ?ur list ?nd ?r?b?bl? th? fir?t choice f?r m?n? developers. Y?u ??n u?? ??rt ?f th? CSS framework f?r creating designs th?t l??k native, t? g?t th? full potential ?f th? ionic base; it i? b??t t? pair it with AngularJS. A big advantage ??u g?t with Ionic i? th? command-line interface th?t i? packed with impressive features including integrated emulators ?nd Córdovaa packer based applications.
Pros:
• Works with predefined components
• Great community
• Command Line Interface with lots ?f u??ful features
Cons:
• Y?u n??d t? kn?w h?w t? u?? AngularJS if ??u w?nt t? d? ??m?thing complex
.
2. IU Onsen
Thi? i? ?n open source framework th?t ?ll?w? developers t? create applications b? combining native components. It i? fairly simple t? use, ??u ??n work with ?r with?ut AngularJS, ?nd h?? great documentation th?t includes a lot ?f examples ?nd designs f?r th? structures ?f m??t common applications. A disadvantage ?f Onsen UI ?urr?ntl? ?nl? offers a theme ?f IOS, ?lth?ugh th? n?xt version promises t? support design materials.
Pros:
• Works with predefined components
• Excellent documentation with examples
Cons:
• PhoneGap / Cordova Builder i? n?t included, but support
• N? support f?r material design (yet)
3. Framework 7
Th? good thing ?b?ut Framework 7 i? th?t it i? completely independent ?f th? frame (no external dependencies ?u?h ?? angular ?r react) ?nd manages t? make applications l??k ?nd feel native, components ?nd style animations correctly. An??n? wh? understands HTML, CSS ?nd JavaScript ??n create ?n application with?ut making convoluted code. Framework 7 d??? n?t include ?n? tools f?r emulation ?r container application, ?? ??u will n??d t? combine it with Cordova ?nd PhoneGap.
Pros:
• Easy t? use, ?nl? based ?n HTML, CSS, ?nd JavaScript
• Good performance
• C?n b? combined with ?n? JavaScript framework ?f choice
Cons:
• PhoneGap / Cordova Builder i? n?t included, but support
4. React native
A? it? n?m? implies, th? purpose i? t? build native applications, in?t??d ?f creating hybrids th?t run ?n a Web view. Development i? ?till completely d?n? u?ing JavaScript ?nd reacts. Thi? framework i? n?t suited t? beginners in web development, but ?n th? positive side, th?r? i? ?n enormous community b?hind it th?t will h?l? ??u in ?ll parts ?f th? road. Recently th? framework offers support f?r Android ?? th?t ??u ??n h?v? r??l ?r??? platform applications.
Pros:
• Performance similar t? th? native
• Huge community
Cons:
• Steep learning curve
• Development tools ?nl? work in OS X ?t thi? tim?