Home  >  Q&A  >  body text

html5 - 初入前端,求推荐一款前端框架

初入前端不久,目前在公司就是写写HTML+CSS,用到js就写一点,然后交给后端做数据交互,后端用C#,js使用angularjs; 现在计划学习一款前端框架,适合做HTML web APP的,请大家推荐一款比较合适的

黄舟黄舟2742 days ago1157

reply all(13)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:06:24

    First of all, you must have a purpose in choosing the front-end framework.

    Why use a front-end framework? The purpose of the front-end framework is to give your code a more rational structure, which is more conducive to later maintenance, and to make all parts of the project as modular as possible (the professional term is called: decoupling). There are There are many front-end frameworks such as: backbonejs, angularjs, knockout, etc. If your project is large enough and requires a reasonable selection of design patterns, you can choose these frameworks to learn.

    If you are just doing some simple interactions and the project is not very complex, then there is no need to choose a front-end framework. It is enough to use various simple javascript libraries, such as jquery and related plug-ins.

    Of course, if you want to learn frameworks and want your code structure to be more reasonable and of higher quality, this is a good starting point, but high-quality code is not just a matter of choosing a framework, but also how to make it reasonable. Test the code you write. The test code also has a corresponding test framework, how to reasonably arrange your directory structure, etc. These frameworks themselves are not included, so you can find some so-called framework Boilerplate, which is integrated based on a certain framework. A template for automated generation, testing, directory structure, package management, and more! You can take a look at yeoman to learn. yeoman has many generators that can help you quickly generate templates based on certain frameworks. These are crucial when you start using the framework to start projects!

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:06:24

    angularJS react or vue

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:06:24

    Recommend riotjs. The design concept is the same as react, but more streamlined. Components are more intuitive to write. Performance is better.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:06:24

    Personally, I prefer the smaller ones, riotjs and vuejs, and use them with Zeptoji

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:06:24

    If you want to write WEB APP, VUE is already very complete and has all the supporting tools
    VUE
    VUE-ROUTER
    vue file format
    sublime text vue file format highlighting
    webpack vue-loader


    Of course react is also available

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:06:24

    Why don’t you just use angularJS now? This would be great. .

    reply
    0
  • PHPz

    PHPz2017-04-17 13:06:24

    This depends on what kind of framework you need. I recommend a few for you, take a look for yourself
    CSS framework: bootstrap, framework7
    MVC framework: Backbone.js, Spine.js
    MVVM framework :Angular.js、Vue.js

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:06:24

    vuejs, it’s easy to get started

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:06:24

    bootstrap, don’t laugh at me.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:06:24

    Angular and react are almost the same learning methods. They are two different mechanisms for implementing hybrid applications. The rest is to look more at js basics and mobile phone compatibility issues. By the way, doesn’t the leader have the final say on what framework to use?

    reply
    0
  • Cancelreply