small medium large xlarge

Programming Scala, Security on Rails, more


Thanks to everyone who took the time to read and comment on our new magazine, PragPub. We’ve received lots of great feedback already, and the next issue is already underway.

This week Programming Scala has come back from the printers and we’re now shipping. Security on Rails is now available in Beta; it’s content complete already, so the final version isn’t far off.

We’ve also got a new screencast covering Map Kit on the iPhone 3.0. See below for details.

Programming Scala in Print

The increasing popularity and availability of multicore processors is creating a whole new set of challenges. Although you can enjoy true concurrency, you’re now faced with higher contention and synchronization issues. Deploying an existing application on a multicore processor may bring out previously hidden concurrency issues. Java’s multi-threading facility by itself isn’t enough—it’s a very low level abstraction. Instead, you need a paradigm that provides a higher level of abstraction to deal with concurrency. It’s time to embrace Functional Programming.

Scala is a hybrid Object-Oriented/Functional Programming language on the JVM. Using Scala, you can create traditional imperative programs, intermix them with Java code, and at the same time take advantage of higher levels of abstraction. You can use features that lead to concise, highly expressive code that remove the pain of dealing with concurrency.

Programming Scala will show you the fundamentals of functional programming using Scala. Very quickly, you’ll learn how this statically typed language can give you dynamic capabilities to create concise, scalable, highly capable concurrent code.

Now available from

Security on Rails in Beta

The advantage of using Rails is its agility; it makes developing your web applications easy and fast. The disadvantage is that it can leave holes in your security if you are not aware of common vulnerabilities. It’s a nerve-wracking and unfortunate fact that there are plenty of malicious people lurking on the Web. As a Rails developer, it is essential that you understand how to assess risk and protect your data and your users.

Security on Rails uses established security principles to teach you how to write more secure software, defend your applications from common threats, and encrypt your data. We’ll give you an example of a hacking exploit, and explore how to fix the weaknesses in an application.

You’ll learn the steps you need to take to control access to information and authenticate users, including cryptography concepts and authorization. In addition, you’ll see how to integrate your applications with external management systems; in short, the crucial details you must consider to protect yourself and your data.

The most important element of security is to plan for it before it becomes an issue. Security on Rails helps beginner and intermediate developers to take control of their applications and guard against attacks.

Now available from

New Screencast: Using the Map Kit

Using the new Map Kit framework available in iPhone 3.0, you can embed customized maps within your iPhone application. In this screencast you’ll learn how to build an iPhone application from scratch that displays a map of recent earthquakes, shows custom annotations with callouts, and automatically zooms to a region of interest.

Watching this screencast is a great way to quickly get up to speed on the new Map Kit framework and integrate it into your iPhone applications. In addition to the videos, you can also download the full source code so you can follow along and experiment on your own.

Now available from

Coming Soon:

  • Metaprogramming in Ruby
  • More Pragmatic Life titles
  • Maybe another surprise or two
  • …and still more titles to keep you at the top of your game

Recently Released:

Thanks for your continued support,

Andy & Dave