Looking for a recommendation for a lightweight mobile HTML5/JavaScript framework [closed]

最后都变了- 提交于 2019-12-05 04:15:44

The only other framework I know is jQtouch. You can also try Appcelerator's Titanium Mobile, this performs much better than HTML5 since it's native. It doesn't have all the flexibility of Native Apps but for what you need it should be more than enough. It's easy to use too. If it's only Android and iOS you're looking to support then this should work.

The GUI speed will always be a problem with HTML5. Those frameworks are pretty fast since they use CSS3 animations which is the best you'll get with Web-Kit browsers. They are also detecting touch events which is as fast as the browser will behave with user interaction.

The only option I can see to try and make it a bit faster is you coding it from scratch but I doubt you'll get any better performance. I'm guessing you've been testing with devices and found the speed terrible. On devices like the iPhone 3G or 3GS HTML5 performs very slow. Even on the iPad it can get tricky.

Here's a great article which talks about enhancing HTML5 GUI performance.

This other article talks about JS speed on the iPad.

Unfortunately HTML5 is not the magical solution everyone expects it to be at the moment. I've had to deal with too many disappointed clients after you show them the results. They were used to native Apps and thought HTML5 will bring them a cheap solution that would look just as good.

I suggest you let your boss or client know this in advance. Anyway, your App sounds simple enough that should work fine on HTML5 anyway. One piece of advice I can give you for sure is to avoid Canvas, that would be super slow.

Sorry about the gloomy post.

I used jQuery mobile for a small project (5-7 screens). It's UI/UX is decent, implementation is simple if you already have some jQuery experience. I didn't have any performance issues (didn't have any lists with more than 30 items though). It also has lot of support from the community.

If you have experience with JQuery, give JQuery Mobile a try, is still in Beta, but I think is quite nice and stable, and it's having a lot of development.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!