Home > Web Front-end > HTML Tutorial > A brief talk about my understanding of AngularJs

A brief talk about my understanding of AngularJs

零下一度
Release: 2017-06-24 14:02:03
Original
1190 people have browsed it

Hello everyone!

Today we are going to talk about our AngularJs

Of course! Here we are with Angular!

1. It is an MVC framework. What if we say it is an MVC framework! It's just a little bit unclear. In fact, it is an extended version of our MVC

. Of course, what kind of framework is it specifically? It is a framework of MVVM

Of course, for MVC? There are many expansion boards

 For example

 mvp

# mvvm

 ...

 mvx

What? It's MVC! This is fun! Of course, in fact, the more advanced js is, the more conceptual it is, so you may not understand it, but I will try my best to make it understandable

Actually! Our front-end does not have so many development models. Our development models are all borrowed from the back-end, and many things in the back-end have been used for a long time. Compared with the front-end,

is also relatively It is relatively mature, and the so-called MVC means that we separate the front-end and front-end during development. The front-end mainly does front-end things, and the back-end mainly does back-end things. Our codes will not be mixed together.

Of course! We can talk about MVC in detail. Of course, what does our M refer to? Our M refers to our model (model), V refers to our view, which is our view, and of course our

c! It refers to the controller, which is our controller. Our M is actually in the work we have to do! Specifically, it refers to our data, and of course to the view! In fact, it is the

page we want to do, of course, it is actually for c! What is c! c is our business logic. The so-called business logic is that we have all bought things on jd! Of course, if we confirm a product, can we place an order? If you want to buy something, do you want to log in first? Go and choose the quantity of products, and then! Go to settlement. Of course, if you settle, you can choose Alipay or WeChat, or other banks such as UnionPay, online banking

At this time, you can pay. In fact, we call this purchase process Business logic.

Of course, why is our Angular library so popular now! Why is this! In fact, if you look at every star that can become very popular, there is actually a team behind it, silently doing

its promotion, its packaging, its influence, etc. In fact, the same is true for Angular. Angular! It has always been praised by big companies like Google. Think about it, if a company as big as Google is in the backend, whoever it recommends will become popular. ah!

And what’s more! Our Angular actually needs to solve a series of problems about our Ajax data interaction and Dom.

Of course!

About Angular’s ​​API!

and the official website of Angular!

​ Library version

jquery


Major version. Minor version. Revision number

1.x.x => ; Compatible with browsers ie7 or above

2.x.x => Not compatible with lower version browsers such as ie7 8

Of course, changes to the main version will be earth-shaking changes, but What if it is a minor version modification! It’s just that some new small functions have been added and some bugs about jquery have been modified

 For AngularJs

 1.2.x

 1.3.x

 1.5.x

 2.0.x => This is a brand new version!

Actually, for us, version 1.3.0 is here! Before and after! There has been an earth-shaking change,

So everyone must be careful when using it. Of course, for us, we bought some books! I am using some versions before 1.0.0! After using it, it just becomes difficult to use

So everyone can just use our version now.

The above is the detailed content of A brief talk about my understanding of AngularJs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template