5,596,235 Members 36,006 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Choosing a framework for hybrid app

Tip us?
 
JerryBels
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
Talking [Q] Choosing a framework for hybrid app

Hello guys !

I'm starting developping with Phonegap. I have a first app to make which will be quite heavy, technically speaking. A lot of data retrieving, many different displays... I need advices to choose the framework to use.

I have read a lot on Jquery Mobile, the most widely used today and the one I feeled comfortable using since I already know Jquery... But it has many issued I don't want to deal with (UI is too much IOS, sometimes gets very slow because not using hardware acceleration, no MVW structure...). Plus, one of the Phonegap creators told in a post it's not a good idea to use JQM with Phonegap since it's too heavy : sintaxi.com/you-half-assed-it

I read a lot on many blogs, forums, on stackoverflow... The paid side has many great things like Sencha Touch, KendoUI or PhoneJS. Any of them could be good. I just don't know if they worth paying since there are a lot of free solutions.

Then two of them got my attention : Ionic ( ionicframework.com ) and OnsenUI ( onsenui.io ). Both seems pretty cool and with great features, native look and hardware acceleration use, but... One is in Alpha, the other in Beta ! Is it reliable to use such tools, that seems not ready for production ?

Some just advice to use Bootstrap... Some say to use Zepto ( zeptojs.com ). A lot of these advices were given 1 or 2 years ago.

Well... As you see, I need actual advices, and preferably from people who already tried many of these solutions

Thanks ahead !

( Sorry for not linking sites, I am a new member so I'm not allowed to post outside links )
 
jaison thomas
Old
#2  
jaison thomas's Avatar
Senior Member
Thanks Meter 88
Posts: 313
Join Date: May 2012
Location: calicut
Quote:
Originally Posted by JerryBels View Post
Hello guys !

I'm starting developping with Phonegap. I have a first app to make which will be quite heavy, technically speaking. A lot of data retrieving, many different displays... I need advices to choose the framework to use.

I have read a lot on Jquery Mobile, the most widely used today and the one I feeled comfortable using since I already know Jquery... But it has many issued I don't want to deal with (UI is too much IOS, sometimes gets very slow because not using hardware acceleration, no MVW structure...). Plus, one of the Phonegap creators told in a post it's not a good idea to use JQM with Phonegap since it's too heavy : sintaxi.com/you-half-assed-it

I read a lot on many blogs, forums, on stackoverflow... The paid side has many great things like Sencha Touch, KendoUI or PhoneJS. Any of them could be good. I just don't know if they worth paying since there are a lot of free solutions.

Then two of them got my attention : Ionic ( ionicframework.com ) and OnsenUI ( onsenui.io ). Both seems pretty cool and with great features, native look and hardware acceleration use, but... One is in Alpha, the other in Beta ! Is it reliable to use such tools, that seems not ready for production ?

Some just advice to use Bootstrap... Some say to use Zepto ( zeptojs.com ). A lot of these advices were given 1 or 2 years ago.

Well... As you see, I need actual advices, and preferably from people who already tried many of these solutions

Thanks ahead !

( Sorry for not linking sites, I am a new member so I'm not allowed to post outside links )
Hi i too work in mobile web applications. I suggest you to have look more into the sencha touch. Sencha is not fully paid framework. There is a gpl version of sencha which most corporates uses . the advantage of sencha is it can be used with phonegap or without phonegap. Also the docs are well documented and you will get an easy hello world application using the sencha cmd tool. The sencha docs is designed such that we can even try our code directly to alter the shown examples.
Ok as developer view sencha erradicates the most difficult part of mobile web app developmnt.ie the ui. Ui is well documented and created such that we doesnt want to deal much with ui issues when it is moved from devices to devices and os to os.
For heavy applications this is best because the sencha apps are mvc structure. I have beem worked in sencha apps that have more than 16 differnt screens on its own.

Sent from my Nexus 4 using Tapatalk
 
JerryBels
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
Quote:
Originally Posted by jaison thomas View Post
Hi i too work in mobile web applications. I suggest you to have look more into the sencha touch. Sencha is not fully paid framework. There is a gpl version of sencha which most corporates uses . the advantage of sencha is it can be used with phonegap or without phonegap. Also the docs are well documented and you will get an easy hello world application using the sencha cmd tool. The sencha docs is designed such that we can even try our code directly to alter the shown examples.
Ok as developer view sencha erradicates the most difficult part of mobile web app developmnt.ie the ui. Ui is well documented and created such that we doesnt want to deal much with ui issues when it is moved from devices to devices and os to os.
For heavy applications this is best because the sencha apps are mvc structure. I have beem worked in sencha apps that have more than 16 differnt screens on its own.
Hi ! Thanks for your comment. I'm considering Sencha could be my final solution. I have read somewhere that coding in everything else than its own IDe is very bad experience, and the IDE comes with the paid version only...

Still open for more advices if someone feels like
 
JerryBels
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
Up !
 
JerryBels
Old
(Last edited by JerryBels; 6th February 2014 at 11:06 PM.)
#5  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
I finally launched the project using the Ionic very promising framework. If it doesn't fit in I will give a try to Sencha. Thanks for your help, I will come back and tell about my experiments !
 
mau006
Old
#6  
mau006's Avatar
Member
Thanks Meter 4
Posts: 43
Join Date: Jun 2008
Location: Eugene
I'm doing a project with jQM right now, got the iOS version going and still working on Android and Windows Phone (clients...) and looking for something better. (Performance, native look and feel, SASS/LESS based preferably, etc.)

Ionic looks great, but with Gingerbread still holding a 20% market share I'm wary. Chocolate Chip UI seems pretty cool, and Sencha and Intel's App Framework seem promising as well.

How did things go with Ionic? Is it really only functional on 4.2 and above?

Sent from my XT1060 using Tapatalk
HTC 8125 - iPhone - iPhone 3g - iPhone 3gs - Nexus One - Samsung Vibrant - Galaxy Nexus (GSM) - Moto X (Verizon)
 
JerryBels
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Feb 2014
Quote:
Originally Posted by mau006 View Post
I'm doing a project with jQM right now, got the iOS version going and still working on Android and Windows Phone (clients...) and looking for something better. (Performance, native look and feel, SASS/LESS based preferably, etc.)

Ionic looks great, but with Gingerbread still holding a 20% market share I'm wary. Chocolate Chip UI seems pretty cool, and Sencha and Intel's App Framework seem promising as well.

How did things go with Ionic? Is it really only functional on 4.2 and above?

Sent from my XT1060 using Tapatalk
Hi friend,

I'm sorry but I have very little time to work on my app, so I didn't see much already... I will eventually come back to tell about my experience with it, but it will be only in some more time !

However, all I saw about it sounds even more amazing than just promising !
 
Archer
Old
#8  
Archer's Avatar
Senior Moderator / Recognized Developer - (Un)Recognized Pole Dancer
Thanks Meter 3734
Posts: 13,308
Join Date: Jul 2008
Location: Northampton
I've made mobile sites using jQuery Mobile and although it was very good at what it did, I always felt like I was trying to swat a fly with a tank. It's large, it's heavy and it does a LOT more than you need if you're just looking for a UI.

I've switched to Bootstrap for web apps. It requires jQuery which is good, since I'd not want to have to use a different library for DOM manipulation, and it's very lightweight. Also, it's quite easy to skin (much easier than jQM) so changing the overall style is easy. There's also a lot more custom-built themes out there for it than there is for jQM.

tl;dr Use Bootstrap and jQuery (not jQM). Compact, easy and quick.
.
"I live by my own rules, nobody else's, not even my own."
.
My xda links

New User Guide | XDA Forum Rules | 10 Posts - Why and How? | Admins & Mods | My xda Bookmarks

.

.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Force Translucent Status Bar in KitKat ROMs with Xposed

It’s been a while since Android 4.4KitKat wasreleased, and we’re slowly … more

Fix the Ambient Light Issues on Your Google Nexus 5 using Xposed

The Google Nexus 5 is a great and rather popular device. This LG-produced … more

Google Glass XE16 Update Factory Image and Rooted Bootloader Now Available

You may recall that early yesterday, we talked about the XE16 … more