移动网站的轻量级样板替代品
用于构建移动网站的良好轻量级移动网站样板解决方案是什么?我正在构建一个移动网站,希望找到一个可以在未来项目中再次使用的良好解决方案。
我找到了一些:
- JQuery Mobile (http://jquerymobile.com/)
- HTML5 Boilerplate Mobile (http://html5boilerplate.com/mobile)
- Skeleton (http://www.getsculpture.com/)
虽然看起来像JQuery Mobile 受到青睐,它看起来确实是一个巨大的负载,需要交付给每个移动用户。 HTML5 Boilerplate Mobile 看起来是一个不错的选择,因为我在过去的项目中使用过 HTML5BP。
Skeleton 似乎是最轻量级的解决方案,但我担心它将来可能会缺乏支持。我对此了解不够,也许有人可以解释一下?
What is a good lightweight mobile website boilerplate solution for building mobile websites? I'm building a mobile website and would like to find a good solution that I can use again for future projects.
I've found a few:
- JQuery Mobile (http://jquerymobile.com/)
- HTML5 Boilerplate Mobile (http://html5boilerplate.com/mobile)
- Skeleton (http://www.getskeleton.com/)
Although it seems like JQuery Mobile is favored, it does seem like a huge payload to deliver to every mobile user. HTML5 Boilerplate Mobile looks like a nice alternative, as I've used HTML5BP for past projects.
Skeleton seems to be the most lightweight solution, but I'm concerned about its possible lack of support in the future. I don't know enough about it, maybe someone could shed some light?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
坚持使用 jQuery Mobile,您就错误地认为它具有巨大的“有效负载”。它是使用 Unobtrusive JavaScript 实现的。源标记非常轻量且简单。
Stick with jQuery Mobile and you are incorrect to assume it has a huge "payload". It is implemented using Unobtrusive JavaScript. Source markup is extremely light and simple.
你需要问自己,你到底在寻找什么:
根据您要查找的内容,需要考虑一些选项:
这些框架中的每一个在架构和重点上都非常不同。其中哪一个(或者我在这里没有提到的许多其他选项中的哪一个)最适合您实际上取决于您的需求。
You need to ask yourself what exactly it is that are you looking for :
Some options to consider, depending on what you're looking for :
Each of these frameworks is so very different in architecture and focus. Whichever of them (or whichever of the many others that I haven't mentioned here) works best for you really depends on your needs.