Download Reactive Web Applications: Covers Play, Akka, and Reactive by Manuel Bernhardt PDF

By Manuel Bernhardt

Reactive purposes construct on best of elements that speak asynchronously as they react to person and process occasions. therefore, they turn into scalable, responsive, and fault-tolerant. Java and Scala builders can use the Play Framework and the Akka concurrency toolkit to simply enforce reactive functions with out construction every little thing from scratch.
Reactive net purposes teaches net builders how one can enjoy the reactive software structure and offers hands-on examples utilizing Play, Akka, Scala, and Reactive Streams. This booklet begins via laying out the basics required for writing sensible and asynchronous functions and quick introduces Play as a framework to address the plumbing of your program. The publication alternates among chapters that introduce reactive rules (asynchronous programming with futures and actors, handling dispensed country with CQRS) and sensible examples that assist you construct those principles into your applications.

Show description

Read or Download Reactive Web Applications: Covers Play, Akka, and Reactive Streams PDF

Best c# books

Microsoft Visual C# .Net 2003: Developer's Cookbook

This C# delivering takes a special method of support it stand out one of the quite a few . internet programming titles on hand. The structure is definitely suited to builders that already comprehend the fundamentals of . web programming and need a pragmatic reference for numerous programming projects. each one bankruptcy comprises a quick creation to the subject to hand, by means of a couple of "recipes.

The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks, & Hacks

An ASP. internet 2. zero booklet that simply is helping you get issues performed! This booklet includes a number of one hundred and one top perform, item orientated strategies so that you can simply adapt in your personal initiatives. insurance includes:Working with textual content, numbers, dates & occasions gaining access to info with ADO. internet shape validation less than a number of scenerios web page, consultation and alertness country suggestions entry keep watch over in internet functions generating criteria compliant output improving functions with AJAX operating with e-mail dealing with blunders and debugging functionality tips and pitfalls and masses extra!

Visual C# 2005 Recipes: A Problem-Solution Approach (A Problem - Solution Approach)

Studying . internet improvement is as a lot approximately knowing the performance of the . web Framework because it is set the syntax and grammar of your preferred language. visible C# 2005 Recipes: A Problem-Solution process acknowledges this advantageous stability. This ebook meets your desire for quick, potent strategies to the problems you come upon on your coding initiatives.

Microsoft SharePoint : building Office 2007 solutions in C# 2005

This certain 3rd variation is Scot Hillier's follow-up to his market-leading SharePoint booklet. the recent model contains large updates to the former version, with a whole specialise in SharePoint 2007 and its integration with the 2007 Microsoft place of work method, in addition to new techniques for utilizing SharePoint to enhance company potency.

Additional info for Reactive Web Applications: Covers Play, Akka, and Reactive Streams

Sample text

LANGUAGE DESIGN AND IMMUTABLE STATE Languages and tools favoring the use of immutable state make it easier to develop web applications that have to deal with concurrent access. The Scala programming language is designed to use immutable values by default, rather than mutable variables. Although it’s possible to write programs in an immutable fashion in Java, a lot more boilerplate is involved than in Scala. For example, declaring an immutable value in Scala is done like this: val theAnswer = 42 The same result would be achieved in Java by explicitly prepending the final keyword: final int theAnswer = 42 This may seem like a minor difference, but over the course of writing a large application, it means that the final keyword needs to be used many, many times.

But writing asynchronous applications doesn’t need to be that hard. Callbacks, for all of their merits, are an abstraction that’s too low-level to write complex asynchronous flows. JavaScript is only slowly catching up on tools and abstractions enabling a more human approach to asynchronous programming, but languages such as Scala have been designed with these abstractions in mind, leveraging well-known functional programming principles that make it possible to approach the problem from a different angle.

Unfortunately, web applications are often developed without considering what happens to the application after the code has been shipped and deployed on the production server. This Rethinking computational resource utilization 15 can lead to profound limitations, such as when it comes to running the application on more than just one computer. If the application wasn’t designed for this operational mode from the start, chances are that it won’t be practicable to run it this way without significant changes to the code.

Download PDF sample

Rated 4.20 of 5 – based on 33 votes