AngularJS Development Power

AngularJS Development Power


1.MVC: - MVC or Model-View-Controller architecture. From my point of view, is to split the web application into a more manageable structure. The MVC architecture comprises of three important elements, the model, view and controller. AngularJS does not implement MVC in the traditional sense, but rather something closer to MVVM (Model-View-ViewModel).

2. Two-way data binding: - The two-way Data Binding is an extraordinary feature ever integrated into a JavaScript framework. In two-way data binding, any changes made in the view it will reflect in the model, similarly changes made in the model it will reflect in the view. It is a two-way process.

3.Scope: - A Scope is a JavaScript object that sits inside the model, and delivers data to the view. They act as glue between controller and view.

4.Controllers: - Angularjs mainly depends on controllers to control the flow of the data in the application. A controller is defined using ng-controller directive. A controller is a javascript object it contains attributes/properties and functions. Each controller has $scope parameter which refers to the application module.

5.Directives: - Directives are markers on DOM elements (such as elements, attributes, CSS, and more). These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives (ngBind, ngModel...). 

6.Filters: - These select a subset of items from an array and return a new array. They can format, sort and filter the data. The filters can be used binding expression or directive. We can create customized filters also.

7.Services: - Services are javascript functions and are responsible for doing specific tasks only. Controllers, filters can call them as on requirement basis. Services are normally injected using dependency injection mechanism. AngularJS come with several built-in services for example $http to make a XMLHttpRequests. These are singleton objects which are instantiated only once in app. We can create custom services also.

8.Routing: - It is the concept of switching views. It helps to our application to become a single page application. We must include Angularjs routing in our module.

9.Templates: - In Angular, templates are written with HTML that contains Angular-specific elements and attributes. These are the rendered view with information from the controller and model. These can be a single file (like index.html) or multiple views in one page using "partials".


10.Deep linking: - Deep linking allows you to encode the state of the application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.

11.Dependency injections: - AngularJS has a built-in dependency injection subsystem that helps the developer by making the application easier to develop, understand, and test.

12.Testing: - It is very easy to test any of components Unit test and end to end testing

要查看或添加评论,请登录

Balaji M.的更多文章

  • NgRx

    NgRx

    · Is framework for building reactive apps in angular. · Global state management.

  • Micro Frontend

    Micro Frontend

    Micro Frontend — 1. is a client-side architecture design.

  • #MongoDB vs #MySQL

    #MongoDB vs #MySQL

    Who Uses These Databases? MySQL: MySQL has been maturing since 1995 and has grown a large following. Some organizations…

  • This is how #angular-cli/webpack delivers your CSS styles to the client

    This is how #angular-cli/webpack delivers your CSS styles to the client

    #AngularJS simplifies the front-end development experience.#AngularJS is a structural framework for dynamic web apps.

  • #Codeigniter vs #Laravel

    #Codeigniter vs #Laravel

    #Laravel is an open-source #PHP web application framework based on #MVC architecture. The framework was created and…

  • Onsen UI for #Vue 2

    Onsen UI for #Vue 2

    #Vue.js is an open-source JavaScript framework for building user interfaces.

  • #JavaScript through #TypeScript

    #JavaScript through #TypeScript

    #JavaScript code which has the .js file extension is of paramount importance if you wish to learn #TypeScript, luckily…

  • #CodeIgniter CDNSun Integration

    #CodeIgniter CDNSun Integration

    1)Content Distribution Network or CDN has become an important aspect of website design. 2)CDN is invaluable in ensuring…

  • Single Page Apps with #jQuery Routing

    Single Page Apps with #jQuery Routing

    Single page apps are becoming the hot cake in the web industry, Everyone wants to build SPA or Single page apps.we will…

  • A developing affection: Assessing the rise and fall of programming languages

    A developing affection: Assessing the rise and fall of programming languages

    These days we take applications for granted to run our businesses and organise and entertain us in our personal lives…

社区洞察

其他会员也浏览了