SlideShare a Scribd company logo
1 of 12
Download to read offline
Angular JS, Super-Heroic JavaScript MVW Framework 
A white paper on Fundamentals and Implementations of Angular JS with renowned Technology Platforms
Angular JS with MVC Frameworks | Page 2 
Contents 
Abstract ................................................................................................................................................... 3 
Overview on Angular JS .......................................................................................................................... 4 
Core Concepts of Angular JS ............................................................................................................... 4 
Why Angular JS? .................................................................................................................................. 5 
MEAN Stack Concept .............................................................................................................................. 5 
Angular JS with MVC Frameworks and Technologies ............................................................................. 7 
PHP Technology .................................................................................................................................. 7 
ROR Technology .................................................................................................................................. 8 
.Net Technology .................................................................................................................................. 9 
Java Technology ................................................................................................................................ 10 
Summary ............................................................................................................................................... 11 
©2014 Optisol Business Solutions Private Limited. All rights reserved. 
No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose without the written permission of Optisol Business Solutions. Any hard copies of this document are to be regarded as temporary reference copies only.
Angular JS with MVC Frameworks | Page 3 
Abstract 
This white paper gives a brief overview of the web development using Angular JS through Single Page 
Applications (SPA) technologies. The document also illustrates at high level on how to use Angular JS 
with legacy technologies such as PHP, .Net, Ruby on Rails (ROR) and Java. 
The major driving factor for client side script is the complexity to maintain the business logic in the 
browser and trade off with a thin loading. As more and more logic ends up being executed in the 
browser, front-end code bases grow larger and more difficult to maintain. To solve this issue, developers 
have been turning to client-side MVC frameworks, which promise increased productivity and 
maintainable code. 
Before moving on to the detailed elaboration of the Angular JS frameworks, it is worth mentioning that 
JavaScript has become the language of choice for development, especially for client-side development 
due to following advantages: 
Instant result with no 
compile step 
Rapid Development and great 
User Interface 
AJAX - Every web developer 
knows and adores 
Angular JS will act as the toolset based on extending the HTML vocabulary for our application. Based 
on our experience of working on 200+ web application UIs, OptiSol strongly feels that Angular JS stand 
out in terms of adoption readiness and value proposition. OptiSol is happy to work on this white paper 
that summarizes the advantages of Angular.JS and how to make it work with other legacy programing 
languages. 
The document also shares a high level overview about MEAN stack 
This whitepaper is intended for beginners and business level users and will be informative for advanced 
users.
Angular JS with MVC Frameworks | Page 4 
Overview on Angular JS 
Angular JS – a Super Heroic JavaScript Framework which provides 
Complete Client-Side Solution. 
Angular JS is the Client Side Browser App framework supported and maintained by Google 
The emergence of Angular JS coincides with the need for single page application development. The 
single page web applications provides more fluid user experience as Desktop Application 
Increase the browser based application with MVC (Model, View and Controller) which makes the 
development and testing process simple and quick 
The static HTML pages are transformed to process the dynamic content through 2-way binding for 
automatic synchronization of models and views. 
Provides robust, testable and flexible application with Professional Programming Practice and 
browser compactible. 
Implements the MVC pattern i.e., Model Object Oriented Design on the client side for uniquely 
conceptualizing the core factors of presentation, data and logic components. 
Provides structure for building application starting from UI Design, Business Logic till testing 
Process. 
 Everything you need to build a CRUD app in a cohesive set: data-binding, basic templates, 
directives, form validation, routing, deep-linking, reusable components, dependency injection. 
 Testability story: unit-testing, end-to-end testing, mocks, test harnesses. 
 Seed application with directory layout and test scripts as a starting point. 
Core Concepts of Angular JS 
Templates 
Bootstrapping Module Based 
2-way Data 
Binding 
Dependency 
Injection 
Routing Directives 
Unit Test
Angular JS with MVC Frameworks | Page 5 
Why Angular JS? 
Address Some Problems in Software Architecture 
 Angular JS has ng-resource to create services that hook up to REST APIs and return back 
that object in JSON and fully functional object. 
 Angular JS encourages to also deal with models on client side just like on the server side. 
Enable to Create Software quickly with Less Effort 
 Angular JS provide ng-model and ng-class directives to cover common operations and 
allows 2-way data binding and saving to the server. 
 Reduces the code 
Result in Software is more Maintainable 
 Angular JS encourages using the model object oriented design on the client-side 
 Object oriented design principle ensure software is more maintainable compared to 
procedural. 
Improve Testability of Software 
 Angular JS provides dependency injection at its core making flexible testing 
Encourage Good Programming Practices 
 Features like Model, dependency injection and ability to create directives lends to 
reusable and shareable components 
 REST API connection to server and benefits through Angular JS usage 
(From AngularJS.org)
Angular JS with MVC Frameworks | Page 6 
MEAN Stack 
Client Request or Display 
results for end users 
Handle Client or 
Server request 
Make request to Database 
and return response 
1. Make Request 2. Parse Request 
3. Get Database 
4. Return Database 
6. Display Request 5. Return Request 
Retrieve Data 
MEAN Stack is full-stack JavaScript Solution for developing fast, robust and maintainable web 
applications using Mongo DB, Express, Angular JS and Node JS. 
MEAN Stack enables building of organized application, maintain simple and readable open-source 
solution.
Angular JS with MVC Frameworks | Page 7 
Angular JS with MVC Frameworks and Technologies 
PHP Technology 
In many Angular JS web applications, each web page is really a single-page application (SPA), so the 
role of the server-side is really an API consisting of a set of web services to interact with the server-side 
databases. The web application created with Angular JS will have master detail structure consisting of 
two pages such as Master (list of items) and Detail (item). 
Database 
Media or Image 
Folder 
CSS 
Angular JS 
Framework 
Frontend Apache Server 
MVC Framework 
(Yii, CakePHP, etc.) 
Items can be edited and saved in the details screen. Limited editing of items can be done in the master 
screen. The application structure was built starting from the Angular-seed project with two pages at the 
root as list.html and index.html. Each page was a SPA with separate services for interacting with server-side 
for the pages respectively.
Angular JS with MVC Frameworks | Page 8 
ROR Technology 
Angular JS is the client side Java Script Framework whereas Ruby on Rails is server side application 
framework but both the framework works based on MVC design pattern. The main key aspect of Angular 
JS is that all client side data manipulations used for various User Interface Use Cases such as Lists, Refine 
Search, and Graphical Data Representation etc. were provided to the user as Single Page Application. 
Building the Single-Page Applications (SPA) using Angular JS and Ruby on Rail is a two-step process: 
first we need to create a JSON API in Rails and then use that API in the JavaScript application. 
HTML 
CSS 
VIEW MODEL 
CONTROLLER 
Javascript 
Angular JS API 
USER 
Model (M) Controller (C) 
View (V) 
API Request (AJAX) 
Database 
JSON Data 
The Angular JS Controllers interact with RAILS Controllers. The object data from the RAILS Model (M) is 
passed to the Angular JS Controllers via Rails Controller(C) using Restful API services. The view part of 
the application is the Angular JS framework in MVC design pattern, dropping the View in Rails. 
This way the true potential of Angular JS is utilized for building the Single Page Application and Rails is 
capitalized for its server side implementation using its Models and Controllers. The layers interact using 
Restful JSON API services.
Angular JS with MVC Frameworks | Page 9 
.Net Technology 
In Single-Page Applications (SPAs), entire page is loaded in browser after initial request but subsequent 
interactions take place through AJAX requests. This means that browser has to update only the portion 
of the page that has changed; there is no need to reload the entire page. The SPA approach reduces 
the time taken by the application to respond to user actions, resulting in more fluid experience. 
The architecture of a SPA involves certain challenges that are not present in traditional web applications. 
However, emerging technologies like ASP.NET Web API, JavaScript frameworks like Angular JS and new 
styling features provided by CSS3 make it really easy to design and build SPAs through: 
Create an ASP.NET Web API service to send and receive JSON data 
Create a responsive UI using Angular JS 
Enhance the UI experience with CSS3 transformations 
HTML Rendering 
jQuery + AJAX 
ASP.Net MVC 
HTML Rendering 
Templating 
(ng-view, directives, interpolation) 
ASP.Net MVC + Angular JS 
Routing 
($route) 
Client 
View Request 
(Dynamic View) 
API Request 
(AJAX) 
Routing Engine Media Type Formatters 
Response 
(JSON) 
View Engine 
HTML Content 
Controller 
Controller 
Dispatch 
Model Data 
Server
Angular JS with MVC Frameworks | Page 10 
Java Technology 
View Layer 
Controller Layer 
Manager Layer 
Service Layer 
Data Access object Layer 
Database 
Struts Action Layer 
Angular JS is Modern, Sophisticated JavaScript Framework for building rich HTML applications. Here we 
demonstrates how to test client-side code and integrate front-end logic with Spring-powered REST 
controllers. Angular JS allows developer to specify custom and reusable HTML tags that moderate 
behavior of certain elements these attributes are called ‘Directives’. Example: ng-app, ng-model etc. 
Through Angular JS with Java (Springs/Struts/Hibernate), Application can be divided into five sub-tasks: 
Application-util (Simple Java Classes) 
Application-services (Hibernate + Springs) 
Application-commons (POJO classes) 
Application-apis (Spring Controllers) 
Application-app (Angular JS + Struts + Spring)
Angular JS with MVC Frameworks | Page 11 
Summary 
The Angular JS which is deviated from the classical Java-script development, uses or introduces a new 
paradigms for the development methodologies. Angular JS is the wise choose for those who need 
comprehensive all-in-one solution with 2-way data binding and in-built directives or filters which will 
allow teams to develop applications rapidly. This allows users to write less code, but note that Angular 
requires significant effort and time to learn. It has good test integration, which is really useful. 
Template 
View 
Model 
Compile 
Continuous updates model in 
single source of truth 
Change to view 
updates model 
Change to Model 
updates View 
Maturity: Angular JS have a stable API and it’s in application development for more than 2 decades. 
Also provides support through good documentation and examples and huge community. 
Size: Angular JS deployment scope is huge and makes the application fully functional and suitable for 
mobile applications by limiting the size. 
Out of the box solution: Angular JS is packed with lot of features so that a user has enough tools to 
get going. It comes with Directives and Filters (custom and in-built). It has good support for module 
dependencies and injections, along with services and factories which become reusable parts for apps. 
Two-way data binding: Angular JS provides two way data binding upfront and reduces the complexity 
to a large extent. User has to write less code which helps it make less error-prone. 
Opinionated Development: Angular JS is strongly opinionated-implementation which are to be done 
in the "Angular way", for example, angular.fromJSON 
Interoperability: Angular JS work well with different technologies. Also Angular JS encourage 
developers not to use libraries such as JQuery, but provides a subset jqLite. 
Templating using HTML: Angular JS uses HTML to define the app's UI. Angular JS has an advantage 
because HTML is intuitive and less convoluted compared to JavaScript for defining UI, but it forces the 
UI developer to understand both HTML and Angular JS well to be productive. 
Data Storage: Angular JS uses a manual method which accommodate different servers and can be 
adapted to different server-side technologies.
Angular JS with MVC Frameworks | Page 12 
About Optisol Business Solutions 
About Optisol Business Solutions 
Optisol is proficient service provider for Social, Mobile, Analytics and Cloud solutions and focusing on building innovation for our clients in more than 20 countries. With 90+ smart employees, we act as the reliable outsourcing services partner, providing optimized business solutions with delivery excellence to both small and medium enterprises worldwide. Through our services on Consulting, Solutions, Mobility, Cloud Computing and Big Data, we assist our clients to transform and thrive in a changing world. 
We are equipped with creative engagement models and operations framework that suits outsourcing needs from all gamut of customers – startup, Independent Software Vendor (ISV), small or mid-size companies and Enterprises. It has been serving its customer base across breadth and width of technology outsourcing needs that spans across 
#87/4, Arcot Road, Vadapalani, 
Chennai - 600026, Tamilnadu, India 
Communicate with us… 
Phone: +91 44 42136061 (India) 
+1415-233-4737 | +1908-838-0191 (USA) 
info@optisolbusiness.com | www.optisolbusiness.com

More Related Content

What's hot

AngularJS = Browser applications on steroids
AngularJS = Browser applications on steroidsAngularJS = Browser applications on steroids
AngularJS = Browser applications on steroidsMaurice De Beijer [MVP]
 
Oracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersOracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersJithin Kuriakose
 
What is Server-side Rendering? How to Render Your React App on the Server-sid...
What is Server-side Rendering? How to Render Your React App on the Server-sid...What is Server-side Rendering? How to Render Your React App on the Server-sid...
What is Server-side Rendering? How to Render Your React App on the Server-sid...Shelly Megan
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorialKaty Slemon
 
Mt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesMt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesAbbas Qureshi
 
JSF basics
JSF basicsJSF basics
JSF basicsairbo
 
Angular webinar - Credo Systemz
Angular webinar - Credo SystemzAngular webinar - Credo Systemz
Angular webinar - Credo SystemzTraining Institute
 
Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in JaipurHEMANT SAXENA
 
SharePoint 2013 Hosted App Presentation by Roy Kim
SharePoint 2013 Hosted App Presentation by Roy KimSharePoint 2013 Hosted App Presentation by Roy Kim
SharePoint 2013 Hosted App Presentation by Roy KimRoy Kim
 
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?Anjali Rao
 
Introduction to JSF
Introduction toJSFIntroduction toJSF
Introduction to JSFSoftServe
 
Struts Introduction Course
Struts Introduction CourseStruts Introduction Course
Struts Introduction Courseguest764934
 
Frontend APIs powering fast paced product iterations
Frontend APIs powering fast paced product iterationsFrontend APIs powering fast paced product iterations
Frontend APIs powering fast paced product iterationsKarthik Ramgopal
 
Integrating ASP.NET AJAX with SharePoint
Integrating ASP.NET AJAX with SharePointIntegrating ASP.NET AJAX with SharePoint
Integrating ASP.NET AJAX with SharePointRob Windsor
 
Edwin John.net
Edwin John.netEdwin John.net
Edwin John.netEdwin John
 
Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Rishu Mehra
 

What's hot (20)

Nilesh umaretiya CV 2016
Nilesh umaretiya CV 2016Nilesh umaretiya CV 2016
Nilesh umaretiya CV 2016
 
AngularJS = Browser applications on steroids
AngularJS = Browser applications on steroidsAngularJS = Browser applications on steroids
AngularJS = Browser applications on steroids
 
Oracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersOracle ADF Overview for Beginners
Oracle ADF Overview for Beginners
 
What is Server-side Rendering? How to Render Your React App on the Server-sid...
What is Server-side Rendering? How to Render Your React App on the Server-sid...What is Server-side Rendering? How to Render Your React App on the Server-sid...
What is Server-side Rendering? How to Render Your React App on the Server-sid...
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorial
 
Resume
ResumeResume
Resume
 
Mt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesMt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlines
 
JSF basics
JSF basicsJSF basics
JSF basics
 
Angular webinar - Credo Systemz
Angular webinar - Credo SystemzAngular webinar - Credo Systemz
Angular webinar - Credo Systemz
 
Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in Jaipur
 
SharePoint 2013 Hosted App Presentation by Roy Kim
SharePoint 2013 Hosted App Presentation by Roy KimSharePoint 2013 Hosted App Presentation by Roy Kim
SharePoint 2013 Hosted App Presentation by Roy Kim
 
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?
Do You Want To Build Simple Webdynpro ABAP Application? Here It Is?
 
Neeraja ganesh fs-v1
Neeraja ganesh fs-v1Neeraja ganesh fs-v1
Neeraja ganesh fs-v1
 
Introduction to JSF
Introduction toJSFIntroduction toJSF
Introduction to JSF
 
Struts Introduction Course
Struts Introduction CourseStruts Introduction Course
Struts Introduction Course
 
Frontend APIs powering fast paced product iterations
Frontend APIs powering fast paced product iterationsFrontend APIs powering fast paced product iterations
Frontend APIs powering fast paced product iterations
 
From MVC to React
From MVC to ReactFrom MVC to React
From MVC to React
 
Integrating ASP.NET AJAX with SharePoint
Integrating ASP.NET AJAX with SharePointIntegrating ASP.NET AJAX with SharePoint
Integrating ASP.NET AJAX with SharePoint
 
Edwin John.net
Edwin John.netEdwin John.net
Edwin John.net
 
Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010
 

Viewers also liked

Chandra Sekhar Cheekuru NET UI
Chandra Sekhar Cheekuru  NET UIChandra Sekhar Cheekuru  NET UI
Chandra Sekhar Cheekuru NET UIChandra Sekhar
 
Functional JavaScript Fundamentals
Functional JavaScript FundamentalsFunctional JavaScript Fundamentals
Functional JavaScript FundamentalsSrdjan Strbanovic
 
Patricia.Mattesi.Resume
Patricia.Mattesi.ResumePatricia.Mattesi.Resume
Patricia.Mattesi.ResumeMattesi Patty
 
Leo Fang Resume Revised 8.21.14
Leo Fang Resume Revised 8.21.14Leo Fang Resume Revised 8.21.14
Leo Fang Resume Revised 8.21.14Xiangyi Fang
 
Shaping up with angular JS
Shaping up with angular JSShaping up with angular JS
Shaping up with angular JSBrajesh Yadav
 
Real estate investor business plan
Real estate investor business planReal estate investor business plan
Real estate investor business planlaburun
 
Resume_Cheryl Hunnicutt 2015 no address
Resume_Cheryl Hunnicutt 2015 no addressResume_Cheryl Hunnicutt 2015 no address
Resume_Cheryl Hunnicutt 2015 no addressCheryl Hunnicutt
 
About Workday
About WorkdayAbout Workday
About WorkdayWorkday
 
Bruce Laymon Updated Resume 2015
Bruce Laymon Updated Resume 2015Bruce Laymon Updated Resume 2015
Bruce Laymon Updated Resume 2015Bruce Laymon
 
A white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSA white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSOptiSol Business Solutions
 
Rizwana-Shaikh_Angular JS Profile
Rizwana-Shaikh_Angular JS ProfileRizwana-Shaikh_Angular JS Profile
Rizwana-Shaikh_Angular JS ProfileRizwana Shaikh
 
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeUnderstanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeBrajesh Yadav
 

Viewers also liked (15)

Chandra Sekhar Cheekuru NET UI
Chandra Sekhar Cheekuru  NET UIChandra Sekhar Cheekuru  NET UI
Chandra Sekhar Cheekuru NET UI
 
Functional JavaScript Fundamentals
Functional JavaScript FundamentalsFunctional JavaScript Fundamentals
Functional JavaScript Fundamentals
 
Patricia.Mattesi.Resume
Patricia.Mattesi.ResumePatricia.Mattesi.Resume
Patricia.Mattesi.Resume
 
Stephanie Stoffella Resume
Stephanie Stoffella ResumeStephanie Stoffella Resume
Stephanie Stoffella Resume
 
ABarker 2016
ABarker 2016ABarker 2016
ABarker 2016
 
Leo Fang Resume Revised 8.21.14
Leo Fang Resume Revised 8.21.14Leo Fang Resume Revised 8.21.14
Leo Fang Resume Revised 8.21.14
 
Shaping up with angular JS
Shaping up with angular JSShaping up with angular JS
Shaping up with angular JS
 
Real estate investor business plan
Real estate investor business planReal estate investor business plan
Real estate investor business plan
 
Resume_Cheryl Hunnicutt 2015 no address
Resume_Cheryl Hunnicutt 2015 no addressResume_Cheryl Hunnicutt 2015 no address
Resume_Cheryl Hunnicutt 2015 no address
 
About Workday
About WorkdayAbout Workday
About Workday
 
Bruce Laymon Updated Resume 2015
Bruce Laymon Updated Resume 2015Bruce Laymon Updated Resume 2015
Bruce Laymon Updated Resume 2015
 
A white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSA white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JS
 
Resume (2)
Resume (2)Resume (2)
Resume (2)
 
Rizwana-Shaikh_Angular JS Profile
Rizwana-Shaikh_Angular JS ProfileRizwana-Shaikh_Angular JS Profile
Rizwana-Shaikh_Angular JS Profile
 
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeUnderstanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scope
 

Similar to Angular JS Framework Guide for Web Apps

The Growing Popularity of AngularJS
The Growing Popularity of AngularJSThe Growing Popularity of AngularJS
The Growing Popularity of AngularJSWhiz Solutions
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxsarah david
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxreshu khan
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfsarah david
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptCuneiform Consulting Pvt Ltd.
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxsarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxsarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfsarah david
 
AngularJS Vs ReactJS_ What’s The Difference_.pdf
AngularJS Vs ReactJS_  What’s The Difference_.pdfAngularJS Vs ReactJS_  What’s The Difference_.pdf
AngularJS Vs ReactJS_ What’s The Difference_.pdfOnviqa Pvt. Ltd.
 
Difference Between Angular and AngularJS.pdf
Difference Between Angular and AngularJS.pdfDifference Between Angular and AngularJS.pdf
Difference Between Angular and AngularJS.pdfYour Team in India
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaphp2ranjan
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?Albiorix Technology
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to AngularjsGaurav Agrawal
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overviewVickyCmd
 
AngularJS Anatomy & Directives
AngularJS Anatomy & DirectivesAngularJS Anatomy & Directives
AngularJS Anatomy & DirectivesDigikrit
 
Single Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSingle Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSparkhound Inc.
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line trainingJahan Murugassan
 
React vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end DevelopmentReact vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end DevelopmentPixlogix Infotech
 

Similar to Angular JS Framework Guide for Web Apps (20)

The Growing Popularity of AngularJS
The Growing Popularity of AngularJSThe Growing Popularity of AngularJS
The Growing Popularity of AngularJS
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
AngularJS - A JavaScript Framework
AngularJS - A JavaScript FrameworkAngularJS - A JavaScript Framework
AngularJS - A JavaScript Framework
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
AngularJS Vs ReactJS_ What’s The Difference_.pdf
AngularJS Vs ReactJS_  What’s The Difference_.pdfAngularJS Vs ReactJS_  What’s The Difference_.pdf
AngularJS Vs ReactJS_ What’s The Difference_.pdf
 
Difference Between Angular and AngularJS.pdf
Difference Between Angular and AngularJS.pdfDifference Between Angular and AngularJS.pdf
Difference Between Angular and AngularJS.pdf
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad india
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overview
 
Benefits of developing a Single Page Web Applications using AngularJS
Benefits of developing a Single Page Web Applications using AngularJSBenefits of developing a Single Page Web Applications using AngularJS
Benefits of developing a Single Page Web Applications using AngularJS
 
AngularJS Anatomy & Directives
AngularJS Anatomy & DirectivesAngularJS Anatomy & Directives
AngularJS Anatomy & Directives
 
Single Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSingle Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with Angular
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line training
 
React vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end DevelopmentReact vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end Development
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 

Angular JS Framework Guide for Web Apps

  • 1. Angular JS, Super-Heroic JavaScript MVW Framework A white paper on Fundamentals and Implementations of Angular JS with renowned Technology Platforms
  • 2. Angular JS with MVC Frameworks | Page 2 Contents Abstract ................................................................................................................................................... 3 Overview on Angular JS .......................................................................................................................... 4 Core Concepts of Angular JS ............................................................................................................... 4 Why Angular JS? .................................................................................................................................. 5 MEAN Stack Concept .............................................................................................................................. 5 Angular JS with MVC Frameworks and Technologies ............................................................................. 7 PHP Technology .................................................................................................................................. 7 ROR Technology .................................................................................................................................. 8 .Net Technology .................................................................................................................................. 9 Java Technology ................................................................................................................................ 10 Summary ............................................................................................................................................... 11 ©2014 Optisol Business Solutions Private Limited. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose without the written permission of Optisol Business Solutions. Any hard copies of this document are to be regarded as temporary reference copies only.
  • 3. Angular JS with MVC Frameworks | Page 3 Abstract This white paper gives a brief overview of the web development using Angular JS through Single Page Applications (SPA) technologies. The document also illustrates at high level on how to use Angular JS with legacy technologies such as PHP, .Net, Ruby on Rails (ROR) and Java. The major driving factor for client side script is the complexity to maintain the business logic in the browser and trade off with a thin loading. As more and more logic ends up being executed in the browser, front-end code bases grow larger and more difficult to maintain. To solve this issue, developers have been turning to client-side MVC frameworks, which promise increased productivity and maintainable code. Before moving on to the detailed elaboration of the Angular JS frameworks, it is worth mentioning that JavaScript has become the language of choice for development, especially for client-side development due to following advantages: Instant result with no compile step Rapid Development and great User Interface AJAX - Every web developer knows and adores Angular JS will act as the toolset based on extending the HTML vocabulary for our application. Based on our experience of working on 200+ web application UIs, OptiSol strongly feels that Angular JS stand out in terms of adoption readiness and value proposition. OptiSol is happy to work on this white paper that summarizes the advantages of Angular.JS and how to make it work with other legacy programing languages. The document also shares a high level overview about MEAN stack This whitepaper is intended for beginners and business level users and will be informative for advanced users.
  • 4. Angular JS with MVC Frameworks | Page 4 Overview on Angular JS Angular JS – a Super Heroic JavaScript Framework which provides Complete Client-Side Solution. Angular JS is the Client Side Browser App framework supported and maintained by Google The emergence of Angular JS coincides with the need for single page application development. The single page web applications provides more fluid user experience as Desktop Application Increase the browser based application with MVC (Model, View and Controller) which makes the development and testing process simple and quick The static HTML pages are transformed to process the dynamic content through 2-way binding for automatic synchronization of models and views. Provides robust, testable and flexible application with Professional Programming Practice and browser compactible. Implements the MVC pattern i.e., Model Object Oriented Design on the client side for uniquely conceptualizing the core factors of presentation, data and logic components. Provides structure for building application starting from UI Design, Business Logic till testing Process.  Everything you need to build a CRUD app in a cohesive set: data-binding, basic templates, directives, form validation, routing, deep-linking, reusable components, dependency injection.  Testability story: unit-testing, end-to-end testing, mocks, test harnesses.  Seed application with directory layout and test scripts as a starting point. Core Concepts of Angular JS Templates Bootstrapping Module Based 2-way Data Binding Dependency Injection Routing Directives Unit Test
  • 5. Angular JS with MVC Frameworks | Page 5 Why Angular JS? Address Some Problems in Software Architecture  Angular JS has ng-resource to create services that hook up to REST APIs and return back that object in JSON and fully functional object.  Angular JS encourages to also deal with models on client side just like on the server side. Enable to Create Software quickly with Less Effort  Angular JS provide ng-model and ng-class directives to cover common operations and allows 2-way data binding and saving to the server.  Reduces the code Result in Software is more Maintainable  Angular JS encourages using the model object oriented design on the client-side  Object oriented design principle ensure software is more maintainable compared to procedural. Improve Testability of Software  Angular JS provides dependency injection at its core making flexible testing Encourage Good Programming Practices  Features like Model, dependency injection and ability to create directives lends to reusable and shareable components  REST API connection to server and benefits through Angular JS usage (From AngularJS.org)
  • 6. Angular JS with MVC Frameworks | Page 6 MEAN Stack Client Request or Display results for end users Handle Client or Server request Make request to Database and return response 1. Make Request 2. Parse Request 3. Get Database 4. Return Database 6. Display Request 5. Return Request Retrieve Data MEAN Stack is full-stack JavaScript Solution for developing fast, robust and maintainable web applications using Mongo DB, Express, Angular JS and Node JS. MEAN Stack enables building of organized application, maintain simple and readable open-source solution.
  • 7. Angular JS with MVC Frameworks | Page 7 Angular JS with MVC Frameworks and Technologies PHP Technology In many Angular JS web applications, each web page is really a single-page application (SPA), so the role of the server-side is really an API consisting of a set of web services to interact with the server-side databases. The web application created with Angular JS will have master detail structure consisting of two pages such as Master (list of items) and Detail (item). Database Media or Image Folder CSS Angular JS Framework Frontend Apache Server MVC Framework (Yii, CakePHP, etc.) Items can be edited and saved in the details screen. Limited editing of items can be done in the master screen. The application structure was built starting from the Angular-seed project with two pages at the root as list.html and index.html. Each page was a SPA with separate services for interacting with server-side for the pages respectively.
  • 8. Angular JS with MVC Frameworks | Page 8 ROR Technology Angular JS is the client side Java Script Framework whereas Ruby on Rails is server side application framework but both the framework works based on MVC design pattern. The main key aspect of Angular JS is that all client side data manipulations used for various User Interface Use Cases such as Lists, Refine Search, and Graphical Data Representation etc. were provided to the user as Single Page Application. Building the Single-Page Applications (SPA) using Angular JS and Ruby on Rail is a two-step process: first we need to create a JSON API in Rails and then use that API in the JavaScript application. HTML CSS VIEW MODEL CONTROLLER Javascript Angular JS API USER Model (M) Controller (C) View (V) API Request (AJAX) Database JSON Data The Angular JS Controllers interact with RAILS Controllers. The object data from the RAILS Model (M) is passed to the Angular JS Controllers via Rails Controller(C) using Restful API services. The view part of the application is the Angular JS framework in MVC design pattern, dropping the View in Rails. This way the true potential of Angular JS is utilized for building the Single Page Application and Rails is capitalized for its server side implementation using its Models and Controllers. The layers interact using Restful JSON API services.
  • 9. Angular JS with MVC Frameworks | Page 9 .Net Technology In Single-Page Applications (SPAs), entire page is loaded in browser after initial request but subsequent interactions take place through AJAX requests. This means that browser has to update only the portion of the page that has changed; there is no need to reload the entire page. The SPA approach reduces the time taken by the application to respond to user actions, resulting in more fluid experience. The architecture of a SPA involves certain challenges that are not present in traditional web applications. However, emerging technologies like ASP.NET Web API, JavaScript frameworks like Angular JS and new styling features provided by CSS3 make it really easy to design and build SPAs through: Create an ASP.NET Web API service to send and receive JSON data Create a responsive UI using Angular JS Enhance the UI experience with CSS3 transformations HTML Rendering jQuery + AJAX ASP.Net MVC HTML Rendering Templating (ng-view, directives, interpolation) ASP.Net MVC + Angular JS Routing ($route) Client View Request (Dynamic View) API Request (AJAX) Routing Engine Media Type Formatters Response (JSON) View Engine HTML Content Controller Controller Dispatch Model Data Server
  • 10. Angular JS with MVC Frameworks | Page 10 Java Technology View Layer Controller Layer Manager Layer Service Layer Data Access object Layer Database Struts Action Layer Angular JS is Modern, Sophisticated JavaScript Framework for building rich HTML applications. Here we demonstrates how to test client-side code and integrate front-end logic with Spring-powered REST controllers. Angular JS allows developer to specify custom and reusable HTML tags that moderate behavior of certain elements these attributes are called ‘Directives’. Example: ng-app, ng-model etc. Through Angular JS with Java (Springs/Struts/Hibernate), Application can be divided into five sub-tasks: Application-util (Simple Java Classes) Application-services (Hibernate + Springs) Application-commons (POJO classes) Application-apis (Spring Controllers) Application-app (Angular JS + Struts + Spring)
  • 11. Angular JS with MVC Frameworks | Page 11 Summary The Angular JS which is deviated from the classical Java-script development, uses or introduces a new paradigms for the development methodologies. Angular JS is the wise choose for those who need comprehensive all-in-one solution with 2-way data binding and in-built directives or filters which will allow teams to develop applications rapidly. This allows users to write less code, but note that Angular requires significant effort and time to learn. It has good test integration, which is really useful. Template View Model Compile Continuous updates model in single source of truth Change to view updates model Change to Model updates View Maturity: Angular JS have a stable API and it’s in application development for more than 2 decades. Also provides support through good documentation and examples and huge community. Size: Angular JS deployment scope is huge and makes the application fully functional and suitable for mobile applications by limiting the size. Out of the box solution: Angular JS is packed with lot of features so that a user has enough tools to get going. It comes with Directives and Filters (custom and in-built). It has good support for module dependencies and injections, along with services and factories which become reusable parts for apps. Two-way data binding: Angular JS provides two way data binding upfront and reduces the complexity to a large extent. User has to write less code which helps it make less error-prone. Opinionated Development: Angular JS is strongly opinionated-implementation which are to be done in the "Angular way", for example, angular.fromJSON Interoperability: Angular JS work well with different technologies. Also Angular JS encourage developers not to use libraries such as JQuery, but provides a subset jqLite. Templating using HTML: Angular JS uses HTML to define the app's UI. Angular JS has an advantage because HTML is intuitive and less convoluted compared to JavaScript for defining UI, but it forces the UI developer to understand both HTML and Angular JS well to be productive. Data Storage: Angular JS uses a manual method which accommodate different servers and can be adapted to different server-side technologies.
  • 12. Angular JS with MVC Frameworks | Page 12 About Optisol Business Solutions About Optisol Business Solutions Optisol is proficient service provider for Social, Mobile, Analytics and Cloud solutions and focusing on building innovation for our clients in more than 20 countries. With 90+ smart employees, we act as the reliable outsourcing services partner, providing optimized business solutions with delivery excellence to both small and medium enterprises worldwide. Through our services on Consulting, Solutions, Mobility, Cloud Computing and Big Data, we assist our clients to transform and thrive in a changing world. We are equipped with creative engagement models and operations framework that suits outsourcing needs from all gamut of customers – startup, Independent Software Vendor (ISV), small or mid-size companies and Enterprises. It has been serving its customer base across breadth and width of technology outsourcing needs that spans across #87/4, Arcot Road, Vadapalani, Chennai - 600026, Tamilnadu, India Communicate with us… Phone: +91 44 42136061 (India) +1415-233-4737 | +1908-838-0191 (USA) info@optisolbusiness.com | www.optisolbusiness.com