small medium large xlarge

Practical Programming, 2nd ed, PLUS new Rails 4.0 and Ruby 2.0!

February 27, 2013

Rails 4.0 is out! And so our ebook of Agile Web Development with Rails, 4th Ed. is now updated for Rails 4.0. If you own a copy, you’ve already got the new version sitting in your account. If you don’t own the ebook yet, come on over to and pick one up.

Also out this week, the new edition of Practical Programming for Python 3.

See below for details on both books.

And don’t forget, the new fourth edition of Programming Ruby 1.9 & 2.0 is out. If you already owned a copy of Programming Ruby 1.9, we put a free upgrade coupon in your cart for the new ebook.

Practical Programming 2nd Ed.: An Introduction to Computer Science Using Python 3

You don’t need any programming experience to get started. First, you’ll get a detailed introduction to Python and to programming. You’ll find out exactly what happens when your programs are executed. Through real-world examples, you’ll learn how to work with numbers, text, big data sets, and files. Then you’ll see how to create and use your own data types.

The incremental examples show you the steps and missteps that happen while developing programs, so you know what to expect when you tackle a problem on your own. Inspired by “How to Design Programs” (HtDP), you’ll learn a six-step recipe for designing functions, which helps you as you start to learn the concepts—and becomes an integral part of writing programs by the end.

As you learn to use the fundamental programming tools in the first half of the book, you’ll see how to document and organize your code so that you and other programmers can more easily read and understand it. Beyond the basics, you’ll learn how to ensure that your programs are reliable, and how to work with databases, download data from the web automatically, and build user interfaces. Most importantly, you’ll learn how to think like a professional programmer.

Now in beta from

Agile Web Development with Rails, 4th Ed.

Rails 4 introduces a number of user-facing changes, and the ebook has been updated to match all the latest changes and new best practices in Rails. This includes full support for Ruby 2.0, controller concerns, Russian Doll caching, strong parameters, Turbolinks, new test and bin directory layouts, and much more. The updates are available only for the ebook versions of this book for now, in PDF, mobi, and epub formats.

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.

Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching tutorial and reference that’s recommended by the Rails core team. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, this book will give you the comprehensive, insider information you need.

Rails has evolved over the years, and this book has evolved along with it. We still start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. This edition now gives new Ruby and Rails users more information on the Ruby language and takes more time to explain key concepts throughout. Best practices on how to apply Rails continue to change, and this edition keeps up. Examples use concerns, Russian Doll caching, and Turbolinks, and the book focuses throughout on the right way to use Rails. Additionally, this edition now works on Ruby 2.0, a new release of Ruby with substantial functional and performance improvements.

Now available (only the ebook is updated for now) from

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 (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.

Coming Soon:

  • Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions in beta
  • TDD for C++ Programmers in beta
  • And maybe some more stuff.

Recently Released:

  • Programming Ruby 1.9 & 2.0 [in beta]
  • Explore It! [in print]
  • 101 Design Ingredients to Solve Big Tech Problems [in beta]
  • Cucumber Recipes [in print]
  • Thanks for your continued support,

    Dave & Andy

    Books • eBooks • Screencasts • PragPub Magazine