rss Home » Tag Archive For ‘Ruby’

Rails Recipes: Rails 3 Edition, 2nd Edition

Rails Recipes: Rails 3 Edition, 2nd Edition

Book Description

Written for novice to intermediate developers, Recipes: 3 Edition is packed with solutions to 70 of the most vexing problems you’re likely to face on the job. From building custom forms and powering pages with to integrating with legacy databases, it’s all here. Each recipe has been updated to reflect the latest features of Rails 3.1 and each lays out a distinctive solution to a problem you may be facing today or could well encounter tomorrow. In addition, you’ll find half the book is stocked with new eye-opening solutions to such common problems as how to extend Rails, test and deploy your sites, or add a service to your actions. And each recipe not only lays out a succinct solution, but explains its rationale and the technologies that make it work.

Loaded with the insights of a Rails community leader, members of the Rails core team and other experts, this is the book you’ll want to have at your side as you craft your next project.

What You Need:
1.8.7 or above. Rails 3.1 or above

Table of Contents
Part I: Database Recipes
Recipe 1. Create Meaningful Many-to-Many Relationships
Recipe 2. Create Declarative Named Queries
Recipe 3. Connect to Multiple Databases Download Now »

The Rails View: Creating a Beautiful and Maintainable User Experience

The Rails View: Creating a Beautiful and Maintainable User Experience

Book Description

Working in the View layer requires a breadth of knowledge and attention to detail unlike anywhere else in . One wrong move can result in brittle, complex views that stop future in its tracks. This book will help you break free from tangles of logic and markup in your views as you pick up the practical skills you need to implement your user interface cleanly and maintainably.

You’ll discover how to build up solid, sustainable layouts and popular interface elements with semantic and , and when you can responsibly generate markup and use advanced presenters… all without leaving the designers on your team out in the cold. Widen your appeal with responsive design, and discover how new progressive enhancement techniques can take you beyond the “weakest link” approach of the past. Master the asset pipeline introduced in 3.1 and use and to make your interface code shorter and more enjoyable.

You’ll create elegant, well-structured views that are a joy to build on. You’ll appreciate its comprehensive, objective guidance in a realm full of subjective opinions.

What You Need:
All examples in the book assume Rails 3.1 or later and 1.9.x are installed. Detailed information on how to install these for , and is included in the book.

Download Now »

The dRuby Book: Distributed and Parallel Computing with Ruby

The dRuby Book: Distributed and Parallel Computing with Ruby

Book Description

Learn from legendary Japanese hacker Masatoshi Seki in this first English-language book on his own Distributed library. You’ll find out about distributed , advanced concepts and techniques, and the philosophy of the way—straight from the source.

has been part of the Ruby standard library for more than a decade, yet few know the true power of the gem. Completely written in Ruby, enables you to communicate between distributed Ruby processes as if there were no boundaries between processes. This is one of the few books that covers distributed and for Ruby developers.

The Book has been completely updated and expanded from its Japanese version, with three new chapters written by Masatoshi-san. You’ll find out about the design concepts of the dRuby library, and walk through step-by-step tutorial examples. By building various distributed applications, you’ll master distributed as well as advanced Ruby techniques such as multithreading, object references, garbage collection, and security. Then you’ll graduate to advanced techniques for using dRuby with Masatoshi-san’s other libraries, such as eRuby and Rinda—the Ruby version of the Linda distributed tuplespace . In the three new chapters, you’ll see how to integrate dRuby and eRuby, get a thorough grounding in programming concepts with Rinda, and create a full text search using Drip.

, you’ll gain mastery of dRuby and distributed . Download Now »

Algorithms in a Nutshell

Algorithms in a Nutshell

Book Description

Creating robust software requires the use of efficient algorithms, but programmers seldom think about them until a problem occurs. Algorithms in a describes a large number of existing algorithms for solving a variety of problems, and helps you select and implement the right for your needs — with just enough math to let you understand and analyze .

With its focus on application, rather than theory, this book provides efficient code solutions in several languages that you can easily adapt to a specific project. Each major is presented in the style of a design pattern that includes information to help you understand why and when the is appropriate.

With this book, you will:

  • Solve a particular coding problem or improve on the of an existing solution
  • Quickly locate algorithms that relate to the problems you want to solve, and determine why a particular algorithm is the right one to use
  • Get algorithmic solutions in , ++, , and with implementation tips
  • Learn the expected performance of an algorithm, and the conditions it needs to perform at its best
  • Discover the impact that similar design decisions have on different algorithms
  • Learn advanced data structures to improve the efficiency of algorithms

Download Now »

HTML5 Architecture

HTML5 Architecture

Book Description

With this digital Early Release edition of 5 , you get the entire book bundle in its earliest form – the author’s raw and unedited content – so you can take advantage of this content long before the book’s official release. You’ll also receive updates when significant changes are made, as well as the final ebook version.

With 5 applications, developers are faced with new challenges, such as handling offline capable clients, merging data from the client back to their server side storage, and throttling resources based on the device connection speed. The is no longer generated by the server and pushed to the client. Today, developers are forced to look at application from a different perspective where the browser and are taking just as much spotlight as server side code (such as or ). This book shows them how.

Table of Contents
Chapter 2. I The Mobile
Chapter 3. Mobile Techniques
Chapter 4. From the Server Side
Chapter 5. WebSockets

About the Author
Wesley Hales is an focused developer working across related projects at JBoss by Red Hat. He is the author of several articles on the web Download Now »

Build Awesome Command-Line Applications in Ruby

Build Awesome Command Line Applications in Ruby

Book Description

As pro David Copeland explains, writing a command-line application that is self-documenting, robust, adaptable and forever useful is easier than you might think. is particularly suited to this task, since it combines high-level abstractions with “close to the metal” interaction wrapped up in a concise, readable syntax. Moreover, has the support of a rich ecosystem of open-source tools and libraries.

Ten insightful chapters each explain and demonstrate a command-line best practice. You’ll see how to use these tools to elevate the lowliest automation script to a maintainable, polished application.

You’ll learn how to use free, parsers to create user-friendly command-line interfaces as well as command suites. You’ll see how to use defaults to keep options simple for everyday users, while giving advanced users options for more complex tasks.

There’s no reason a command-line application should lack documentation, whether it’s part of a help command or a man page; you’ll find out when and how to use both. Your journey from command-line novice to pro ends with a look at valuable approaches to your apps, and includes some fun techniques for outside-the-box, colorful interfaces that will delight your users.

With Ruby, the command line is not dead. Long live the command line.

Download Now »

Copyright © 2012 Wow! eBook · All rights reserved · Powered by WordPress