rss Home » Tag Archive For ‘Ruby on Rails’

Ruby on Rails 3 Tutorial: Learn Rails by Example

Ruby on Rails 3 Tutorial: Learn Rails by Example

Book Description

on Rails™ 3 Tutorial: Learn Rails by Example by Michael Hartl has become a must read for developers learning how to build Rails apps.”
—Peter Cooper, Editor of Inside

Using Rails 3, developers can build web applications of exceptional elegance and power. Although its remarkable capabilities have made one of the world’s most popular web frameworks, it can be challenging to learn and use. ™ 3 Tutorial is the solution. Leading Rails developer Michael Hartl teaches Rails 3 by guiding you through the of your own complete sample application using the latest techniques in Rails web .

Drawing on his experience building RailsSpace, Insoshi, and other sophisticated Rails applications, Hartl illuminates all facets of design and implementation—including powerful new techniques that simplify and accelerate development.

You’ll find integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, JavaScript, and SQL skills you’ll need when developing web applications. Hartl explains how each new technique solves a real-world problem, and he demonstrates this with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

This book will help you
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 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 »

Rails Test Prescriptions

Rails Test Prescriptions

Book Description

Your on Rails application is sick. It’s got bugs. Nobody remembers what that tricky piece of code was supposed to do, and nobody can tell what it actually does. Deadlines are looming, but every time you make the slightest change to the code, something else breaks.

You need Test-Driven (TDD), a proven process for improving the design, maintainability, and long-term viability of software. In TDD, the tests come first, and then code is written to match the expectation of the test. Using TDD means writing better code faster.

on Rails has unparalleled support for TDD. In addition to the tools that Rails has built-in, a large and thriving community adds new tools at an accelerating rate. Rails Test Prescriptions is your guide to the entire Rails ecosystem.

Containing both practical code examples and discussion of why testing works, this book starts with the most basic features delivered as part of core . Once you’ve integrated those features into your coding practice, you’ll want to use popular third-party testing tools such as RSpec, Shoulda, Cucumber, Factory Girl, and Rcov. Rails Test Prescriptions will show you how to use these tools and when they are appropriate. Rails Test Prescriptions will cover both the current Rails 2.3.x version as well as the initial 3.0 release.

If you are a Rails programmer who tests code, this book is an invaluable guide to the latest in available testing tools. If you are a Rails programmer who doesn’t test code, then start testing immediately: this book can help. Download Now »

Rails AntiPatterns: Best Practice Ruby on Rails Refactoring

Rails AntiPatterns: Best Practice Ruby on Rails Refactoring

Book Description

The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems

As developers worldwide have adopted the powerful web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability. Rails™ AntiPatterns identifies these widespread Rails code and design problems, explains why they’re bad and why they happen—and shows exactly what to do instead.

The book is organized into concise, modular chapters—each outlines a single common AntiPattern and offers detailed, cookbook-style code solutions that were previously difficult or impossible to find. Leading Rails developers Chad Pytel and Tammer Saleh also offer specific guidance for refactoring existing bad code or design to reflect sound object-oriented principles and established Rails best practices. With their help, developers, architects, and testers can dramatically improve new and existing applications, avoid future problems, and establish superior Rails coding standards throughout their organizations.

This book will help you understand, avoid, and solve problems with

  • Model layer code, from general object-oriented violations to complex SQL and excessive redundancy
  • Domain modeling, including schema and database issues such as normalization and serialization Download Now »

Professional Enterprise .NET

Professional Enterprise .NET

Book Description

Comprehensive coverage to help experienced developers create flexible, extensible enterprise application codeIf you’re an experienced developer, you’ll find in this book a road map to the latest enterprise methodologies. It covers the tools you will use in addition to Visual Studio, including Spring.NET and nUnit, and applies to with , , , Office (VBA), and database.

You will find comprehensive coverage of the tools and practices that professional developers need to master in order to build enterprise more flexible, testable, and extensible applications with minimal upfront costs.

  • Helps , .Net, and developers who wish to migrate both their applications and their own skillsets to newer, more flexible enterprise methodologies
  • Describes each new pattern or feature along with its benefits, then outlines the pros and cons of its implementation
  • Includes an introduction to enterprise and a comprehensive overview of the differences between new enterprise patterns and older, traditional
  • Explains how to implement these patterns by upgrading an existing code base
  • Covers benefits including flexibility, automated , extensibility, and separation; modular code; test-driven development, unit test, test automation, and refactoring; inversion of control; and object relational mapping Download Now »

The Rails 3 Way, 2nd Edition

The Rails 3 Way, 2nd Edition

Book Description

on Rails strips complexity from the process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The Rails™ 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 , along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address  the real challenges teams face, showing how to use Rails 3 to maximize your productivity.

Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do.

This book will help you

  • Learn what’s new in Rails 3
  • Increase your productivity as a web application developer Download Now »