rss Home » Tag Archive For ‘Ruby’

Rails 3 in Action

Rails 3 in Action

Book Description

3 is a full stack, web framework powered by and this book is an introduction to it. Whether you’re just starting or you have a few cycles under your belt, you’ll appreciate the book’s guru’s-eye-view of idiomatic .

You’ll master Rails 3.1 by developing a ticket tracking application that includes routing, authentication and authorization, state maintenance, file uploads, email, and more. You’ll also explore powerful features like designing your own APIs and building a Rails engine. You will see Test Driven and Behavior Driven in action throughout the book, just like you would in a top Rails shop.

It is helpful for readers to have a background in , but no prior Rails experience is needed.

What’s Inside

  • Covers Rails 3.1 from the ground up
  • and BDD using RSpec and Cucumber
  • Working with Rack

Table of Contents

  1. , the framework
  2. saves your bacon Download Now »

The Ruby Programming Language

The Ruby Programming Language

Book Description

The Language is the authoritative guide to and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

  • David Flanagan, bestselling author of language “bibles” (including : The Definitive Guide and in a Nutshell) and committer to the Ruby Subversion repository.
  • Yukihiro “Matz” Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.
  • why the lucky stiff, artist and Ruby programmer extraordinaire.

This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules.

The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating — with heavily-commented example code — Ruby’s facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby’s metaprogramming capabilities.

The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language. Download Now »

The Book of Ruby

The Book of Ruby

Book Description

is famous for being easy to learn, but most users only scratch the surface of what it can do. While other books focus on ’s trendier features, The Book of reveals the secret inner workings of one of the world’s most popular languages, teaching you to write clear, maintainable code.

You’ll start with the basics—types, data structures, and control flows—and progress to advanced features like blocks, mixins, metaclasses, and beyond. Rather than bog you down with a lot of theory, The Book of Ruby takes a hands-on approach and focuses on making you productive from day one. As you follow along, you’ll learn to:

  • Leverage Ruby’s succinct and flexible syntax to maximize your productivity
  • Balance Ruby’s functional, imperative, and object-oriented features
  • Write self-modifying programs using dynamic techniques
  • Create new fibers and threads to manage independent processes concurrently
  • Catch and recover from execution errors with robust exception handling
  • Develop powerful web applications with the Ruby on framework

Each chapter includes a “Digging Deeper” section that shows you how Ruby works under the hood, so you’ll never be caught off guard by its deceptively simple scoping, multithreading features, or precedence rules.

Download Now »

Continuous Testing: with Ruby, Rails, and JavaScript

Continuous Testing: with Ruby, Rails, and JavaScript

Book Description

Continuous (CT) is a developer practice that shortens the feedback loops established by test-driven and continuous integration. Building on techniques used by Agile software practitioners, Continuous with shows you how to get instant feedback about both the quality of your code, and the quality of your tests.

We show how you can create a customized continuous testing environment, specifically suited to the projects you’re working on. You’ll see working examples for languages such as and , but the techniques described in this book can easily be applied no matter what technology you happen to be working with. We also cover how to extend this environment when working with frameworks such as , and discuss how creating rapid feedback loops can dramatically increase the rate at which you can deliver working, valuable software.

Automated testing is an increasingly common practice in the software industry. However, many companies struggle to gain all the benefits of automated testing, due to poorly written or incomplete tests. Continuous Testing with Ruby shows how these companies can get the most value out of their existing tests. It also helps you improve the quality of the new tests you write, by giving you instant feedback about problem areas, and creating a visceral feedback loop for test quality that you can actually feel as you work.

Just as continuous integration and test-driven development have changed the definition of software development in the last ten years Download Now »

Mastering Regular Expressions, 3rd Edition

Mastering Regular Expressions, 3rd Edition

Book Description

Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including , , , , and # (and any language using the Framework), , and .

If you don’t use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you’ll appreciate this book’s unprecedented detail and breadth of coverage. If you think you know all you need to know about regular expressions, this book is a stunning eye-opener.

As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems. Once you’ve mastered regular expressions, they’ll become an invaluable part of your toolkit. You will wonder how you ever got by without them.

Yet despite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert and help you optimize your use of regular expressions.

Mastering Regular Expressions, Third Edition, now includes a full chapter devoted to and its powerful and expressive suite of regular expression functions Download Now »

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET, 2nd Edition

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET, 2nd Edition

Book Description

This handy little book offers programmers a complete overview of the syntax and semantics of regular expressions that are at the heart of every text-processing application. Ideal as a quick reference, Regular Expression Pocket Reference covers the regular expression APIs for 5.8, (including some upcoming 1.9 features), , , and #, , vi, , and the PCRE regular expression libraries.

This concise and easy-to-use reference puts a very powerful tool for manipulating text and data right at your fingertips. Composed of a mixture of symbols and text, regular expressions can be an outlet for creativity, for brilliant , and for the elegant solution. Regular Expression Pocket Reference offers an introduction to regular expressions, pattern matching, metacharacters, modes and constructs, and then provides separate sections for each of the language APIs, with complete regex listings including:

  • Supported metacharacters for each language API
  • Regular expression classes and interfaces for , , , and #
  • Regular expression operators for 5.8
  • Regular expression module objects and functions for
  • Pattern-matching functions for and the vi editor
  • Pattern-matching methods and objects for
  • Unicode Support for each of the languages Download Now »