0% found this document useful (0 votes)
29 views

Core Features: The Core Features of Angularjs Are As Follows

The core features of AngularJS include data binding, scopes, controllers, services, filters, directives, templates, routing, and dependency injection. Data binding automatically synchronizes data between the model and view. Scopes act as a glue between controllers and views. Controllers are JavaScript functions bound to scopes. Services provide reusable business/data logic, and AngularJS has several built-in services like $http. Filters select subsets of array items. Directives are markers on DOM elements that can create custom elements/widgets. Templates render views using data from controllers and models. Routing switches between views. AngularJS implements a variant of the MVVM pattern rather than strict MVC.

Uploaded by

RASHMI DABRE
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Core Features: The Core Features of Angularjs Are As Follows

The core features of AngularJS include data binding, scopes, controllers, services, filters, directives, templates, routing, and dependency injection. Data binding automatically synchronizes data between the model and view. Scopes act as a glue between controllers and views. Controllers are JavaScript functions bound to scopes. Services provide reusable business/data logic, and AngularJS has several built-in services like $http. Filters select subsets of array items. Directives are markers on DOM elements that can create custom elements/widgets. Templates render views using data from controllers and models. Routing switches between views. AngularJS implements a variant of the MVVM pattern rather than strict MVC.

Uploaded by

RASHMI DABRE
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Core Features

The core features of AngularJS are as follows −


 Data-binding − It is the automatic synchronization of data between model and view
components.
 Scope − These are objects that refer to the model. They act as a glue between
controller and view.
 Controller − These are JavaScript functions bound to a particular scope.
 Services − AngularJS comes with several built-in services such as $http to make a
XMLHttpRequests. These are singleton objects which are instantiated only once in app.
 Filters − These select a subset of items from an array and returns a new array.
 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 such as ngBind, ngModel, etc.
 Templates − These are the rendered view with information from the controller and
model. These can be a single file (such as index.html) or multiple views in one page
using partials.
 Routing − It is concept of switching views.
 Model View Whatever − MVW is a design pattern for dividing an application into
different parts called Model, View, and Controller, each with distinct responsibilities.
AngularJS does not implement MVC in the traditional sense, but rather something closer
to MVVM (Model-View-ViewModel). The Angular JS team refers it humorously as Model
View Whatever.
 Deep Linking − Deep linking allows to encode the state of application in the URL so that
it can be bookmarked. The application can then be restored from the URL to the same
state.
 Dependency Injection − AngularJS has a built-in dependency injection subsystem that
helps the developer to create, understand, and test the applications easily.

Inter-thread communication or Co-operation is all about allowing synchronized


threads to communicate with each other.

Cooperation (Inter-thread communication) is a mechanism in which a thread is paused


running in its critical section and another thread is allowed to enter (or lock) in the same
critical section to be executed.It is implemented by following methods of Object class:

o wait()
o notify()
o notifyAll()
1. Web Browsers - A web browser can download any number of files and
web pages (multiple tabs) at the same time and still lets you continue
browsing. If a particular web page cannot be downloaded, that is not going
to stop the web browser from downloading other web pages.
2. Web Servers - A threaded web server handles each request with a new
thread. There is a thread pool and every time a new request comes in, it is
assigned to a thread from the thread pool.
3. Computer Games - You have various objects like cars, humans, birds
which are implemented as separate threads. Also playing the background
music at the same time as playing the game is an example of
multithreading.
4. Text Editors - When you are typing in an editor, spell-checking,
formatting of text and saving the text are done concurrently by multiple
threads. The same applies for Word processors also.
5. IDE - IDEs like Android Studio run multiple threads at the same time. You
can open multi ple programs at the same time. It also gives suggestions on
the completion of a command which is a separate thread.
6. any GUI frameworks are multi-threaded.

You might also like