Having trouble reading this email? View it in your browser.
New This Week

Serverless Single Page Apps »

Build low-cost, low-maintenance, highly available, serverless single page web applications that scale into the millions of users at the click of a button. Avoid messing around with middle-tier infrastructure and get right to the web app your customers want.

Recently Released:

 

Coming Up Next:

  • Pragmatic Guide to Sass 3: Tame the Modern Style Sheet in print
  • NEW: Phoenix screencast!
Serverless Single Page Apps
June 29, 2016

Quickly build reliable, well-tested single page apps that stay up and running 24/7 using Amazon Web Services and Serverless Single Page Apps: Fast, Scalable, and Available, now in print and shipping from pragprog.com/book/brapps.

And read on for Q&A with author Ben Rady, right here in this very newsletter!

Free Course Updates for Rails 5

Rails 5 is coming and The Pragmatic Studio has you covered with FREE course updates! They've made the following updates to both their Rails Level I and Rails Level II courses for the upcoming release:

  • The videos now have callouts where there are (minor) syntax changes.

  • The exercises have been updated with explanations of these changes so you can confidently build your apps using either Rails 4 or 5.

  • All the code in the code bundle has been upgraded to Rails 5.

  • The cheat sheets have been revised to reflect both Rails 4 and 5 syntax.

If you've been waiting for Rails 5 before diving into Rails, your wait is over!

Serverless Single Page Apps: Fast, Scalable, and Available

You don’t need to manage your own servers to build powerful web applications. This book will show you how to create a single page app that runs entirely on web services, scales to millions of users, and costs less per day than a cup of coffee.

Using a web browser, a prepared workspace, and your favorite editor, you’ll build a complete single page web application, step by step. Learn the fundamental technologies behind modern single page apps, and use web standards to create lean web applications that can take advantage of the newest technologies. Deploy your application quickly using Amazon S3. Use Amazon Cognito to connect with providers like Google and Facebook to manage user identities. Read and write user data directly from the browser using DynamoDB, and build your own scalable custom microservices with Amazon Lambda.

Whether you’ve never built a web application before or you’re a seasoned web developer who’s just looking for an alternative to complex server-side web frameworks, this book describes a simple approach to building serverless web applications that you can easily apply or adapt for your own projects.

Now in print and shipping from pragprog.com/book/brapps.

Q&A with author Ben Rady

Q: What does "serverless" mean?

A: Serverless means you, as an application developer, don't need to worry about managing servers. Your applications can be built on top of web services, instead of running on servers that you have to configure and maintain.

Q: So the only benefit to a serverless app is that I don't have to be a part-time sysadmin?

A: Scalability, reliability, and cost are other enormous benefits to serverless apps. When building on top of Amazon Web Services, you can build apps that will scale into the millions of users, but cost just a few pennies per day to run. As your application grows, you can simply allocate more resources via AWS, without having to re-architect for scale. And if your app only ever has a handful of users, you'll only pay for what you need. In many cases, the cost of running these kinds of apps is literally nothing.

Q: How do serverless apps compare to traditional web apps?

A: Traditional web applications, built using MVC frameworks and an application server, put most of the application logic in the server. The web app is often just an interface on top of this server, which is responsible for all the essential functions of the app: storing and processing data, issuing security credentials, and hosting the core application logic. With a serverless single page app, you can move the majority of this logic into the browser. This not only unifies the application, but makes it easier to integrate with the highly scalable and reliable services provided by vendors such as Amazon Web Services. Instead of trying to horizontally scale load-balanced application servers, you can rely on the engineers at AWS to scale most of your application for you.

Q: What about logic that can't run in the browser?

A: Many applications will have some logic that can't run in a browser, whether for security reasons, performance reasons, or to protect intellectual property. In those cases, you can use services like Amazon Lambda to build services that can be accessed directly from the browser. Whether you choose to structure your application using isolated microservices, or build a more integrated service layer, Lambda is a great way to host application logic that can't be run on the client.

Now available from pragprog.com/book/brapps.

Audio Books!

Did you know we have audio books for your listening pleasure?

Don't Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

Tell your friends! Tweet this

Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

Thanks for your continued support,
Andy Hunt
Publisher, Pragmatic Bookshelf

Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
PragProg.com

Manage your subscription using your account, or permanently unsubscribe here.
Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615