rssHome » Ruby & Python

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 5 and 3, 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 »

web2py Application Development Cookbook

web2py Application Development Cookbook

Book Description

is a free full-stack framework for rapid of fast, scalable, and portable database-driven -based applications. It is written and programmable in , and straightforward to run. implements Model-View-Controller design, server-side form validation, and postbacks that make the code more readable, scalable, and maintainable. Are you familiar with , and interested in gaining more advanced knowledge?

2py Application gives you the necessary knowledge to make you a web2py expert. Right from teaching you about the database abstraction layer to adding effects to recipes about recipe, the book will make you a master of web2py through advanced practical recipes without any drudgery or straining the brain.

web2py Application Development is the tool you will need to expand and enhance your web2py skills.

This book begins with teaching you running web2py in various different systems followed by building simple applications. It focuses on database abstraction layer next and then explains building advanced forms. Adding stunning effects, using third party libraries and recipes on follow. Advanced recipes on authentication and authorization are taught and then and recipes claim your attention. There is a final wrap-up with useful, interesting tips and tricks which you will really enjoy.

In short, this book will make you an expert in web2py in a trouble-free, quick, and easy manner. Download Now »

Hello! Python

Hello! Python

Book Description

Hello! fully covers the building blocks of and gives you a gentle introduction to more advanced topics such as , functional , network , and program design. New (or nearly new) programmers will learn most of what they need to know to start using Python immediately.

Programmers love Python because it’s fast and efficient. Shouldn’t learning Python be just the same? Hello! Python starts quickly and simply, with a line of Python code. You’ll learn the basics the right way—by writing your own programs. Along the way, you’ll get a gentle introduction to more advanced concepts and new programming styles.

No experience with Python needed. Exposure to another programming language is helpful but not required.

What’s Makes Hello! Python special

  • Learn Python fast Even if you’ve never written a line of code before, you’ll be writing real Python apps in just an hour or two.
  • Great examples There’s something new in every chapter, including games, programming with , databases, and more.
  • User Friendly guides Using lots of illustrations and a down-to-earth writing style, this book invites you to explore Python along with half-a-dozen travelling companions from the User Friendly cartoon strip.

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 , the command line is not dead. Long live the command line.

Download Now »

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