search
HomeWeb Front-endHTML TutorialA brief talk about my understanding of AngularJs

A brief talk about my understanding of AngularJs

Jun 24, 2017 pm 02:02 PM
angularjsjavascript

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!

Statement
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
HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The Role of HTML: Structuring Web ContentThe Role of HTML: Structuring Web ContentApr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTML and Code: A Closer Look at the TerminologyHTML and Code: A Closer Look at the TerminologyApr 10, 2025 am 09:28 AM

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS, and JavaScript: Essential Tools for Web DevelopersHTML, CSS, and JavaScript: Essential Tools for Web DevelopersApr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor