Level 11 Level 13
Level 12

AngularJS MVC Architecture

11 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Under the MVC pattern, this component defines the business entities (key objects, processes, and rules) used in the system. These definitions can include entity and attribute names, types, and validation rules.
Under the MVC pattern, this describes an application component that coordinates the actions of other components. This component has a variety of responsibilities, including processing user input, passing incoming data to the Model, requesting …
User input in MVC
MVC applications receive and process user interactions through the Controller. The user does not interact directly with any other component.
Data presentation in MVC
MVC applications present information to users with a View. Separate Views are used when data must be presented differently.
Data persistence in MVC
MVC applications store data using the Model. Many MVC applications rely on an ORM to map Model entities to database tables.
Validation rules in MVC
MVC applications rely on the Model to provide rules for data validation; this ensures that the Model holds all relevant knowledge about the business entities.
dependency injection
in order to fetch data from an API we need to use a service like the http service and then we use $http as a parameter in the controller function of our app; so …
App.js contains code for setting up routes, app.factory functions and app.run to setup $rootScope. The $rootScope is a global, which means that anything you add here, automatically becomes available in $scope in all controllers.
Every function invocation has both a scope and a context associated with it. Fundamentally, scope is function-based while context is object-based. In other words, scope pertains to the variable access of a function whe…
DOM Manipulation
The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the…
…must not contain any business logic.