Social Icons

Sunday, December 31, 2017

Presentation of AngularJS



1 - About Angular JS


AngularJS - commonly called Angular.js or AngularJS 1-, is an open-source JavaScript framework, maintained by Google, which is used to create and maintain web applications. Its goal is to increase browser-based applications with Model View Controller (MVC) capability, in an effort to make development and testing easier.

The library reads the HTML that contains attributes of the additional custom tags, then obeys the directives of the custom attributes, and joins the input or output pieces of the page to a model represented by the standard JavaScript variables. The values of JavaScript variables can be manually configured, or retrieved from static or dynamic JSON resources.


AngularJS can be combined with the Node.js runtime environment, the Express.js server framework and the MongoDB database to form the MEAN set.

2 - Philosophy of Angular


AngularJS is based on the idea that declarative programming must be used to build user interfaces and cabling software components, while imperative programming excels at expressing business logic5. The design of Angular is guided by several objectives:

Decouple DOM manipulations from business logic. This improves the testability of the code;
Consider the test of an application as important as writing the application itself. The difficulty of the test phase is significantly impacted by the way the code is structured;
Decouple the client and server sides of an application. This allows software development of the client and server sides to progress in parallel, and allows the reusability of each side;
Guiding developers for the duration of an application's construction: from designing the user interface, writing business logic to testing the application;
Make easy tasks easy and difficult tasks possible.

3 - Design


A web page designed with AngularJS follows the MVC (model-view-controller) architecture pattern. This boss has the advantage of offering a weak coupling between the presentation, the data, and the business components. In a web language, this separation makes it possible to reduce the importance of the DOM manipulations and to improve the testability of the code.

In AngularJS, the "view" part is declared in an extended version of traditional HTML, which includes new tags and attributes. This extended HTML is used to declare a bidirectional data link between models and views. Thus, the data is synchronized automatically, and fewer elements need to be defined in Javascript. The models are composed of several layers called "scopes". Controllers in AngularJS allow prototyping actions in native JavaScript code.

By offering dependency injection, Angular provides client-side web applications with traditional server-side services such as view controllers. As a result, much of the burden on the backend is removed, leading to much lighter web applications on the server side.

Moreover, AngularJS has the distinction of using (promised) promises, taken from the Q language. A promise is an asynchronous operation (it does not block the execution of the rest of the program) which will send its final result to a function of reminder as soon as it is known.6

4 - Operation


Automatic synchronization of data between the model and the view is enabled by a mechanism called dirty-checking. AngularJS continuously runs a loop that consists of monitoring and detecting changes on a JavaScript object.

AngularJS ships a subset of the jQuery open source library called jQLite, but can also use jQuery if it is loaded7.


Younes Derfoufi

No comments:

Post a Comment

Category Of Mobile Courses

Actualités (644) Adsense (1) Affiliation (1) Algebraic Topology (2) Algorithmic (1) all-news (30) Android (5) Android App (8) Android app without code (4) Android Apps (256) Android Development (4) Android download (2) Android OS (3) AngularJS (1) Automata theory and formal language (5) C programming (5) Category and Functor (8) CMS (3) Computer Glossary (18) Create Mobile App With Ionic Framework (2) CSS (2) CSS-Cascading-Style-Sheets (4) Developpement Java (13) Differential Geometry (1) Django-Python-Framework (9) dropshiping (26) Earn Money by Internet (4) Emplois (23) Framework php (2) Fraud (2) HTML (7) Java For Beginners (10) Javascript (12) Kotlin Programming Language (8) Kotlin For Mobile Android (1) Linux Download (2) Marketing (5) Mobile (3) Mobile Courses (4) Mobile Marketing (4) MoneyGram (1) News (721) Node.js (5) Open Source (1) Photoshop (1) Protect Computer (1) Python (35) Python BeautifulSoup (1) Python For Data Science (2) Python PyQt (4) Python Reference (1) Python-Books (6) Python-DVD-Training (1) Python-Exercises (231) Python-Framework (1) Python-IDE (1) Python-Kivy-Framework (2) Python-Modules (1) Python-pdf (2) Python-pyQt (1) Référencement (2) Script PHP (2) Security (6) SEO (1) Snipping Tool: Faq (1) Social Networks (1) Source Code (1) Statistics With SPSS (2) Surveillance Software (1) Travail à domicile (6) Tutoriels php en vidéos (2) Tutoriels-MySql (6) tutoriels-php (19) Utilitaires (1) VPS (1) Web Hosting (1) Webcam (1) Webmarketing (11) Western Union (1) Windows 10 (1) Windows 7 (4) Windows 7 Faq (2) Windows 8 (1) Windows Accessories (1) Windows Download (8) Windows Drivers (1) Windows Fonts (1) Windows Power Shell (2) Windows Registry (2) Windows Security (18) Windows Software (2) Windows Spyware (2) Windows utilities (3) Windows Virus (2) Windows Vista (3) Windows Wireless (1) Windows xp (1) Wordpress (1)
 

Sample text

Sample Text

 
Blogger Templates