Play! Framework for Web Application Development

Leverage the awesome Play! Framework to develop Java web applications
4.0 (17 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
127 students enrolled
$85
Take This Course
  • Lectures 30
  • Contents Video: 2 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2014 English

Course Description

If you have always wanted to learn how to create great Java web applications then this course is for you. This friendly, hands-on course will show you how to overcome the inherent complexity in writing Java web applications by leveraging the Play Framework.

The course starts by showing you how to create a basic agenda application. You’ll then add validations, internationalization and custom error pages before enhancing it using the popular frontend framework Twitter Bootstrap. Additionally you’ll learn how to create modules to re-utilize code for future projects. You’ll finish the course by adding a JSON API to your application so that it can consume Twitter’s API using async requests.

By the end of Play Framework for Web Application Development you will be a more confident developer able to create attractive, fast, and scalable applications using the Play Framework.

About the Author

Martin Gontovnikas is a software engineer living in Buenos Aires, Argentina. He’s an IT enthusiast who started programming at the age of 12, when he decided that this was going to be his life. Martin is passionate about technology and he always keeps up to date with everything regarding IT.

He started as a .NET programmer and converted into Java early on as he saw that most of the open source and the greatest technology contributions were in this area. He continued working on this while trying JavaScript, Ruby, and Scala later on. After learning about Rails, he started to look for a framework that could be as good and productive for the JVM, as it is written from scratch and more robust. That’s when he discovered Play! 1 and Play! 2. He started working with these two with Java as well as Scala, and hasn’t looked back since.

What are the requirements?

  • All you need to start this course is basic Java knowledge and the desire to create powerful web applications using the Play! Framework.
  • Created with simplicity in mind, this practical, hands-on course teaches using a sample web application example throughout.

What am I going to get from this course?

  • Create reliable Java web applications
  • Develop your own modules so that you can re-use code with the DRY principle
  • Deploy your application for free and share it with the world
  • Put the fun back into Java application development by using the Play! Framework
  • Test every aspect of your applications using the Play! Framework’s powerful testing functionality
  • Use Bootstrap to create attractive UIs for your Java applications
  • Create powerful APIs for your application
  • Consume Twitter’s API to add social networking data to your application

What is the target audience?

  • This video course is for Java programmers who want to develop applications in a simple and straightforward manner.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction to Play!
04:19

WebApps made in Java require people to know a lot of tools and frameworks and makes people write a lot of Boilerplate.

05:52

Learning the history and the reason why Play! was created now.

03:06

Understanding Play!'s advantages in everyday coding compared to other frameworks and checking out real WebApps using Play!.

Section 2: My First WebApp
03:43

We create the Agenda project and the Eclipse / NetBeans / IntelliJ files to import them to the IDE.

03:52

The database and DDL creation was finished along with the Java model to interact with it.

03:06

We are now able to transform URLs to actions.

03:22

We are now able to handle requests from the user's browser.

05:02

Bind parameters from the request to create objects and save them to the database.

07:03

We can create HTML files using the Controllers variable and template inheritance.

02:43

The Agenda project is finished so that we can use it to store our friend's information.

Section 3: Let’s Do Some Testing
05:37

We are now sure that the model is working correctly.

04:00

We're now sure that the templates are being displayed correctly.

04:01

We're now sure that the controllers get the correct information and display them correctly as well.

03:06

We're now sure that the URLs and HTTP methods are exactly the ones we wanted.

04:04

We're now sure that the application works well when it is live.

Section 4: Let’s Improve the App
03:43

When the contact added has an invalid field, it's shown to the user now and not saved in the DB.

05:40

We compose actions to use the DRY principle (don't repeat yourself).

05:10

Basic auth is used to restrict access to our application.

Section 5: Let’s Make the App Cooler
04:09

As the default 404 page is quite ugly, Play! Let’s create our own.

03:14

We're going to use messages from Play! to create texts in English and Spanish for our app.

08:42

We're going to learn how to use Twitter Bootstrap for form fields and for any other DOM element.

05:48

We're going to deploy this app in Heroku, which is free for basic usage.

Section 6: I Love Modules
02:36

Modules help us not repeat ourselves and to comply with DRY.

04:00

We're creating a module with generic code to use it in another project without copy-pasting.

04:06

Using modules lets us use code that we've written before or that another person has, so that we don't have to reinvent the wheel.

Section 7: Hey, What about APIs?
02:13

BodyParsers let us tell Play! how to convert the body of the request to a Java value.

05:07

We want to create a new API for creating contacts in our app.

01:59

We're going to use JSON library from Play! to return JSON to the user.

03:52

Play! provides the WS library to make requests to external URLs.

04:08

AsyncResult solves the c10k problem by not creating one thread per request but cycling them while waiting for responses.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course