html5 - 初入前端,求推荐一款前端框架
黄舟
黄舟 2017-04-17 13:04:24
0
13
1149

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

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(13)
Ty80

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!

小葫芦

angularJS react or vue

大家讲道理

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

伊谢尔伦

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

Ty80

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

伊谢尔伦

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

PHPzhong

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

小葫芦

vuejs, it’s easy to get started

小葫芦

bootstrap, don’t laugh at me.

Ty80

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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!