SlideShare a Scribd company logo
AngularJs with Play FrameworkAngularJs with Play Framework
Girish Chandra Bharti
Trainee Software Consultant
Knoldus Software LLP
Girish Chandra Bharti
Trainee Software Consultant
Knoldus Software LLP
Topics CoveredTopics Covered
1. What is AngularJs?
2. Working with AngularJs.
3. What is Play Framework?
4. Working with Play Framework.
5. Comparison between Play and AngularJs.
6. Combining Play and AngularJs.
7. Demo.
1. What is AngularJs?
2. Working with AngularJs.
3. What is Play Framework?
4. Working with Play Framework.
5. Comparison between Play and AngularJs.
6. Combining Play and AngularJs.
7. Demo.
What is AngularJs?
● AngularJS is a structural framework for dynamic web
applications
● Its data binding and dependency injection eliminate much
of the code you currently have to write.
● It was originally developed in 2009 by Misko Hevery and
Adam Abrons. It is now maintained by Google.
General Features of AngularJs
● AngularJS provides developers an options to write client
side applications using JavaScript in a clean Model View
Controller (MVC or MVVM) way.
● Applications written in AngularJS are cross-browser
compliant.
● AngularJS is open source, completely free, and used by
thousands of developers around the world.
Core features of AngularJs
● Data-binding
● Scope
● Controller
● Services
● Filters
Core features of AngularJs
● Templates
● Routing
● MVVM (Model-View-ViewModel)
● Dependency Injection
Advantages of AngularJs
● It provides the capability to create Single Page Application in a very
clean and maintainable way.
● It provides data binding capability to HTML. Thus, it gives user a rich
and responsive experience.
● AngularJS code is unit testable.
● AngularJS uses dependency injection and make use of separation of
concerns.
● AngularJS provides reusable components.
● With AngularJS, the developers can achieve more functionality with
short code.
● In AngularJS, views are pure html pages, and controllers written in
JavaScript do the business processing.
Disadvantages of AngularJS
● Not secure : Being JavaScript only framework,
application written in AngularJS are not safe.
Server side authentication and authorization is
must to keep an application secure.
● Not degradable: If the user of your application
disables JavaScript, then nothing would be
visible, except the basic page.
Example(HTML)
<html data-ng-app="phonecatApp">
<head>
...
<script src="/angular/angular.js"></script>
<script src="js/controllers.js"></script>
</head>
<body data-ng-controller="PhoneListCtrl">
<ul>
<li data-ng-repeat="phone in phones">
<span>{{phone.name}}</span>
<p>{{phone.snippet}}</p>
</li>
</ul>
</body>
</html>
Example(Java Script)
var phonecatApp = angular.module('phonecatApp', []);
phonecatApp.controller('PhoneListCtrl', function ($scope) {
$scope.phones = [
{'name': 'Nexus S',
'snippet': 'Fast just got faster with Nexus S.'},
{'name': 'Motorola XOOM™ with Wi-Fi',
'snippet': 'The Next, Next Generation tablet.'},
{'name': 'MOTOROLA XOOM™',
'snippet': 'The Next, Next Generation tablet.'}
];
});
What is Play Framework
● Open source web application framework.
● Lightweight, stateless, web-friendly
architecture.
● Built on Akka.
● Fully asynchronous model.
Features of Play
● Stateless Web Tier
● Non-blocking I/O
● Built on Akka
● Real-time enabled
● Code is compiled
● Runs on the JVM
● JSON is a first class citizen
Basic components of Play
● Controllers
● Simple results
● Action
● HTTP routing
● Session and Flash scopes
● XML, Json, Web Services.
● Ajax.
Example
● Routes:
GET /clients/:id controllers.Client.show(id: Long)
● Controller:
public class Clients extends Controller {
public static void show(Long id) {
Client client = Client.findById(id);
Ok(“Client” + client);
}
}
● Template:
@(customer: Customer, orders: Seq[Order])
<h1>Welcome @customer.name!</h1>
<ul>
@orders.map { order =>
<li>@order.title</li>
}
</ul>
AngularJs & Play Comparison
● Category : JavaScript Web application
Framework Framework
● Preference: 39% votes 61% votes
●
Design pattern: MVVM MVC
●
Horizontal scalable No Yes
●
Template language HTML5 Scala template engine
● Target audience Cloud computing Enterprise
Web Development
Media and publishing
iOS Development
Entreprise
●
Application startup time 0.5ms  1ms 
●
Database Connection Pooling No Yes
●
Compiled language No Yes
http://vschart.com/compare/angularjs/vs/play-framework
Use of AngularJs with Play
Why and how..??
Areas of interest
● Processing
● Performance
● Services
● Asynchronous Properties.
● Ajax Calling.
Thank You

More Related Content

PPTX
Developing web apps using Java and the Play framework
Victor Porof
 
PPTX
Single Page Applications with AngularJS 2.0
Sumanth Chinthagunta
 
PPTX
Asp.Net MVC Intro
Stefano Paluello
 
PPTX
React Vs AnagularJS
deepakpatil84
 
PDF
OSGi and Spring Data for simple (Web) Application Development
Christian Baranowski
 
PPT
Java EE and Spring Side-by-Side
Reza Rahman
 
PDF
A Closer Look At React Native
Ian Wang
 
PPTX
Angular1x and Angular 2 for Beginners
Oswald Campesato
 
Developing web apps using Java and the Play framework
Victor Porof
 
Single Page Applications with AngularJS 2.0
Sumanth Chinthagunta
 
Asp.Net MVC Intro
Stefano Paluello
 
React Vs AnagularJS
deepakpatil84
 
OSGi and Spring Data for simple (Web) Application Development
Christian Baranowski
 
Java EE and Spring Side-by-Side
Reza Rahman
 
A Closer Look At React Native
Ian Wang
 
Angular1x and Angular 2 for Beginners
Oswald Campesato
 

What's hot (20)

PDF
JavaCro'14 - Building interactive web applications with Vaadin – Peter Lehto
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PPT
JAVA SCRIPT
Go4Guru
 
PPTX
AngularJS One Day Workshop
Shyam Seshadri
 
PPTX
Introduction to Angular js 2.0
Nagaraju Sangam
 
ODP
Introduction to Knockout Js
Knoldus Inc.
 
PDF
Overview of the AngularJS framework
Yakov Fain
 
PDF
JavaFX Enterprise (JavaOne 2014)
Hendrik Ebbers
 
PDF
Booting up with polymer
Marcus Hellberg
 
PDF
Angular js best practice
Matteo Scandolo
 
PDF
Web Components for Java Developers
Joonas Lehtinen
 
PDF
Design & Development of Web Applications using SpringMVC
Naresh Chintalcheru
 
PDF
Require.JS
Ivano Malavolta
 
PPTX
Angular jS Introduction by Google
ASG
 
PDF
Tech Webinar: Angular 2, Introduction to a new framework
Codemotion
 
PDF
50 New Features of Java EE 7 in 50 minutes
Arun Gupta
 
PPTX
Combining Angular and React Together
Sebastian Pederiva
 
PPTX
Angular 5
Bartłomiej Narożnik
 
PPTX
Advance java Online Training in Hyderabad
Ugs8008
 
PDF
Introduction to Vaadin
netomi
 
JavaCro'14 - Building interactive web applications with Vaadin – Peter Lehto
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
JAVA SCRIPT
Go4Guru
 
AngularJS One Day Workshop
Shyam Seshadri
 
Introduction to Angular js 2.0
Nagaraju Sangam
 
Introduction to Knockout Js
Knoldus Inc.
 
Overview of the AngularJS framework
Yakov Fain
 
JavaFX Enterprise (JavaOne 2014)
Hendrik Ebbers
 
Booting up with polymer
Marcus Hellberg
 
Angular js best practice
Matteo Scandolo
 
Web Components for Java Developers
Joonas Lehtinen
 
Design & Development of Web Applications using SpringMVC
Naresh Chintalcheru
 
Require.JS
Ivano Malavolta
 
Angular jS Introduction by Google
ASG
 
Tech Webinar: Angular 2, Introduction to a new framework
Codemotion
 
50 New Features of Java EE 7 in 50 minutes
Arun Gupta
 
Combining Angular and React Together
Sebastian Pederiva
 
Advance java Online Training in Hyderabad
Ugs8008
 
Introduction to Vaadin
netomi
 
Ad

Similar to Play with Angular JS (20)

PPTX
Training On Angular Js
Mahima Radhakrishnan
 
PPTX
The Basics Angular JS
OrisysIndia
 
DOCX
Angular js training institute
nihalsingh113
 
PPTX
Top 10 Angular Development Tools For Developers
Albiorix Technology
 
DOCX
angularjs_tutorial.docx
telegramvip
 
PDF
AngularJS
Hiten Pratap Singh
 
PPTX
Angularjs 5,6,7
ankitarasal
 
PPTX
Angular Javascript Tutorial with command
ssuser42b933
 
PDF
Dive into AngularJS and directives
Tricode (part of Dept)
 
PPT
AngularJS – What, Why, Advantages and Disadvantages
karenmsmith0504
 
PPTX
Angular Js
Knoldus Inc.
 
PPTX
Angular tutorial
Rohit Gupta
 
PDF
Introduction to AngularJS By Bharat Makwana
Bharat Makwana
 
PPTX
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
PPTX
Angular js slides
Amr Abd El Latief
 
PDF
One Weekend With AngularJS
Yashobanta Bai
 
PPTX
Anjular js
Naga Dinesh
 
PPTX
Kalp Corporate Angular Js Tutorials
Kalp Corporate
 
PPTX
Angularjs overview
VickyCmd
 
Training On Angular Js
Mahima Radhakrishnan
 
The Basics Angular JS
OrisysIndia
 
Angular js training institute
nihalsingh113
 
Top 10 Angular Development Tools For Developers
Albiorix Technology
 
angularjs_tutorial.docx
telegramvip
 
Angularjs 5,6,7
ankitarasal
 
Angular Javascript Tutorial with command
ssuser42b933
 
Dive into AngularJS and directives
Tricode (part of Dept)
 
AngularJS – What, Why, Advantages and Disadvantages
karenmsmith0504
 
Angular Js
Knoldus Inc.
 
Angular tutorial
Rohit Gupta
 
Introduction to AngularJS By Bharat Makwana
Bharat Makwana
 
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
Angular js slides
Amr Abd El Latief
 
One Weekend With AngularJS
Yashobanta Bai
 
Anjular js
Naga Dinesh
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate
 
Angularjs overview
VickyCmd
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 

Recently uploaded (20)

PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Mithil Fal Desai
 
PDF
High Ground Student Revision Booklet Preview
jpinnuck
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PPTX
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PDF
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
Sandeep Swamy
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Mithil Fal Desai
 
High Ground Student Revision Booklet Preview
jpinnuck
 
Understanding operators in c language.pptx
auteharshil95
 
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
Sandeep Swamy
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 

Play with Angular JS

  • 1. AngularJs with Play FrameworkAngularJs with Play Framework Girish Chandra Bharti Trainee Software Consultant Knoldus Software LLP Girish Chandra Bharti Trainee Software Consultant Knoldus Software LLP
  • 2. Topics CoveredTopics Covered 1. What is AngularJs? 2. Working with AngularJs. 3. What is Play Framework? 4. Working with Play Framework. 5. Comparison between Play and AngularJs. 6. Combining Play and AngularJs. 7. Demo. 1. What is AngularJs? 2. Working with AngularJs. 3. What is Play Framework? 4. Working with Play Framework. 5. Comparison between Play and AngularJs. 6. Combining Play and AngularJs. 7. Demo.
  • 3. What is AngularJs? ● AngularJS is a structural framework for dynamic web applications ● Its data binding and dependency injection eliminate much of the code you currently have to write. ● It was originally developed in 2009 by Misko Hevery and Adam Abrons. It is now maintained by Google.
  • 4. General Features of AngularJs ● AngularJS provides developers an options to write client side applications using JavaScript in a clean Model View Controller (MVC or MVVM) way. ● Applications written in AngularJS are cross-browser compliant. ● AngularJS is open source, completely free, and used by thousands of developers around the world.
  • 5. Core features of AngularJs ● Data-binding ● Scope ● Controller ● Services ● Filters
  • 6. Core features of AngularJs ● Templates ● Routing ● MVVM (Model-View-ViewModel) ● Dependency Injection
  • 7. Advantages of AngularJs ● It provides the capability to create Single Page Application in a very clean and maintainable way. ● It provides data binding capability to HTML. Thus, it gives user a rich and responsive experience. ● AngularJS code is unit testable. ● AngularJS uses dependency injection and make use of separation of concerns. ● AngularJS provides reusable components. ● With AngularJS, the developers can achieve more functionality with short code. ● In AngularJS, views are pure html pages, and controllers written in JavaScript do the business processing.
  • 8. Disadvantages of AngularJS ● Not secure : Being JavaScript only framework, application written in AngularJS are not safe. Server side authentication and authorization is must to keep an application secure. ● Not degradable: If the user of your application disables JavaScript, then nothing would be visible, except the basic page.
  • 9. Example(HTML) <html data-ng-app="phonecatApp"> <head> ... <script src="/angular/angular.js"></script> <script src="js/controllers.js"></script> </head> <body data-ng-controller="PhoneListCtrl"> <ul> <li data-ng-repeat="phone in phones"> <span>{{phone.name}}</span> <p>{{phone.snippet}}</p> </li> </ul> </body> </html>
  • 10. Example(Java Script) var phonecatApp = angular.module('phonecatApp', []); phonecatApp.controller('PhoneListCtrl', function ($scope) { $scope.phones = [ {'name': 'Nexus S', 'snippet': 'Fast just got faster with Nexus S.'}, {'name': 'Motorola XOOM™ with Wi-Fi', 'snippet': 'The Next, Next Generation tablet.'}, {'name': 'MOTOROLA XOOM™', 'snippet': 'The Next, Next Generation tablet.'} ]; });
  • 11. What is Play Framework ● Open source web application framework. ● Lightweight, stateless, web-friendly architecture. ● Built on Akka. ● Fully asynchronous model.
  • 12. Features of Play ● Stateless Web Tier ● Non-blocking I/O ● Built on Akka ● Real-time enabled ● Code is compiled ● Runs on the JVM ● JSON is a first class citizen
  • 13. Basic components of Play ● Controllers ● Simple results ● Action ● HTTP routing ● Session and Flash scopes ● XML, Json, Web Services. ● Ajax.
  • 14. Example ● Routes: GET /clients/:id controllers.Client.show(id: Long) ● Controller: public class Clients extends Controller { public static void show(Long id) { Client client = Client.findById(id); Ok(“Client” + client); } } ● Template: @(customer: Customer, orders: Seq[Order]) <h1>Welcome @customer.name!</h1> <ul> @orders.map { order => <li>@order.title</li> } </ul>
  • 15. AngularJs & Play Comparison ● Category : JavaScript Web application Framework Framework ● Preference: 39% votes 61% votes ● Design pattern: MVVM MVC ● Horizontal scalable No Yes ● Template language HTML5 Scala template engine ● Target audience Cloud computing Enterprise Web Development Media and publishing iOS Development Entreprise ● Application startup time 0.5ms  1ms  ● Database Connection Pooling No Yes ● Compiled language No Yes http://vschart.com/compare/angularjs/vs/play-framework
  • 16. Use of AngularJs with Play Why and how..??
  • 17. Areas of interest ● Processing ● Performance ● Services ● Asynchronous Properties. ● Ajax Calling.

Editor's Notes

  • #6: 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.
  • #7: 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. Dependency Injection: AngularJS has a built-in dependency injection subsystem that helps the developer to create, understand, and test the applications easily.
  • #12: Play is an open source web application framework, written in Scala and Java, which follows the model–view–controller (MVC) architectural pattern. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications. Play uses a fully asynchronous model built on top of Akka. Combined with being stateless, Play scales simply and predictably.
  • #14: Controllers: A Controller is nothing more than a singleton object that generates Action values. Simple results: An HTTP result with a status code, a set of HTTP headers and a body to be sent to the web client. Result( header = ResponseHeader(200, Map(CONTENT_TYPE -&amp;gt; &amp;quot;text/plain&amp;quot;)), body = Enumerator(&amp;quot;Hello world!&amp;quot;.getBytes()) ) There are several helpers available to create common results such as the Ok, NotFound, BadRequest, InternalServerError etc. Action: A play.api.mvc.Action is basically a (play.api.mvc.Request =&amp;gt; play.api.mvc.Result) function that handles a request and generates a result to be sent to the client. HTTP routing: The router is the component in charge of translating each incoming HTTP request to an Action. The HTTP method can be any of the valid methods supported by HTTP (GET, POST, PUT, DELETE, HEAD). Session and Flash scopes XML, Json, Web Services. Ajax.
  • #17: Both are complete packages. Both provide synchronous results. Both provide web services. Both provide ajax.
  • #18: Processing -Play support server side processing. -AngularJs Support client side processing. Performance -If Server side interactions are important then play is better. -If client side interactions are important angularJs is better. Services -Ajax -Web Services -Json Xml support. -Multi language support. Asynchronous Properties. Ajax Calling. Use cases: - Games Application - Profile application with github data.