选择正确的前端框架 [英] Choosing the right front-end framework

查看:90
本文介绍了选择正确的前端框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑 Bootstrap vs 基金会我的标准是:


  • 轻量级

  • 轻松定制

  • 轻松构建复杂的HTML布局

  • Mobile / Responsive



  • $ b

    在过去的Bootstrap体验中,从设计师模型构建布局作为像素完美HTML并不是微不足道的。



    您的想法和想法值得赞赏。

    解决方案

    引导和Zurb基金会都是CSS框架,但它们有不同的用途。



    Bootstrap的主要目标是对具有基本风格的网站或Web应用程序进行快速原型开发。由于风格是自以为是,这使得它更多的工作,以使其与定制设计相匹配。它得到了很大的支持和一个大型社区。它建立在Less之上,对一些人来说可以是一个优点。



    Zurb Foundation 4采用了不同的方法。它更多的是一个项目的基础框架,将根据项目需求进行全面定制。样式很容易被覆盖。这是一个很好的原型制作工具,并没有对风格进行评论。网格系统非常好,任何人都可以理解它。如果你使用基金会,你的设计师会有不同的想法(他们会更多地考虑移动性)。它建在SASS上。这可以很容易地融入Compass精灵世代。我发现基础的CSS类对于初学者来说更容易拾取和记忆。



    您可以在互联网上观看一些Zurb演示视频,他们真的可以帮助您理解他们为什么要构建它。



    我正在研究自己的框架,以便认识到我需要的一切以及更多内容已经内置到Foundation中。最难的部分是理解Compass和Sass。之后,您将轻松获得基金会的赞助。

    I'm looking into Bootstrap vs Foundation my criterias are:

    • Lightweight
    • Easily customized
    • Easily build complex HTML layout
    • Mobile / Responsive

    In my past experience with Bootstrap, building layout from a designer mockup as a "pixel perfect" HTML was not trivial.

    Your thoughts, ideas are appreciated.

    解决方案

    Bootstrap and Zurb Foundation are both CSS frameworks, but they have a different purposes.

    The primary goal of Bootstrap is fast prototyping of websites or web applications that have a base style. Since the styles are opinionated, that makes it more work to get it to match a custom design. It is heavily supported and a large community. It is built on Less and that can be a plus for some people.

    Zurb Foundation 4 takes a different approach. It is more of a base framework for a project that will be customized fully based on project need. The styles are easily overridable. It is a great prototyping tool and it is not opinionated with styles. The grid system is great, and anyone can understand it. If you use Foundation your designer will think differently (they will keep mobile in mind more). It is built on SASS. That makes it easy to incorporate Compass sprite generation. I found the CSS classes in foundation to be easier for beginners to pick up and remember.

    You can watch some of the Zurb presentation videos on the internet and they really help you understand why they built it.

    I was working on my own framework to realize that everything I needed and more was already built into Foundation. The hardest part is understanding Compass and Sass. After that you will get the hang of Foundation easily.

    这篇关于选择正确的前端框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆