Download E-books Practical Ruby Gems PDF

, , Comments Off on Download E-books Practical Ruby Gems PDF

By David Berube

This e-book is a accomplished consultant to using and developing Ruby gem stones. assurance presents a big code library that would aid builders increase their tasks. It information 34 of the simplest and most valuable gemstones, together with ones to hurry up net functions, approach bank card funds, produce PDF records, learn and replace RSS feeds, and procure real-time delivery costs from FedEx and UPS. every one of those additionally comes entire with genuine use circumstances and code examples that readers can instantly use of their personal tasks. additionally, the booklet describes how readers can package deal and distribute their very own Ruby Gems.

Show description

Read or Download Practical Ruby Gems PDF

Best Programming books

Game Physics Engine Development: How to Build a Robust Commercial-Grade Physics Engine for your Game

Physics is de facto very important to online game programmers who want to know the way to upload actual realism to their video games. they should take note of the legislation of physics when developing a simulation or online game engine, relatively in 3D special effects, for the aim of creating the consequences look extra actual to the observer or participant.

C: How to Program (6th Edition)

C easy methods to application, 6e, is perfect for introductory classes in C Programming. additionally for classes in Programming for Engineers, Programming for company, and Programming for know-how. this article presents a invaluable reference for programmers and somebody attracted to studying the interval.

Professional Ruby on Rails (Programmer to Programmer)

Not anything under a revolution within the method net purposes are constructed,Ruby on Rails (RoR) boasts a simple and intuitive nature that avoids programming repetition and makes it infinitely more straightforward to construct for the internet. This publication captures the present most sensible practices to teach you the best solution to construct a dazzling internet software with RoR.

Perl Best Practices

Many programmers code by means of intuition, counting on handy conduct or a "style" they picked up early on. they are not aware of all of the offerings they make, like how they layout their resource, the names they use for variables, or the categories of loops they use. they're targeted fullyyt on difficulties they are fixing, recommendations they are growing, and algorithms they are imposing.

Extra info for Practical Ruby Gems

Show sample text content

Fifty six end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty eight ■CHAPTER eight developing Command-Line Utilities with cmdparse . . . . . . . . sixty nine How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty nine A Job-Search device outfitted with cmdparse . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy one end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy nine ■CHAPTER nine HTML Templating with erubis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty one How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty one HTML MySQL desk Viewer with erubis . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty three end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 ■CHAPTER 10 Parsing Feeds with feedtools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 A information seek device outfitted with feedtools . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety one end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety three 8113Ch00CMP2 3/28/07 5:27 PM web page ix ■CONTENTS ■CHAPTER eleven growing Graphical person Interfaces with fxruby . . . . . . . . . . ninety five How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety five Dynamic MySQL info shape with fxruby . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety six end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 ■CHAPTER 12 Retrieving inventory prices with YahooFinance . . . . . . . . . . . . 103 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 showing a Stock-Market Ticker with YahooFinance . . . . . . . . . . . . . . . 104 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 ■CHAPTER thirteen Parsing HTML with hpricot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Screen-Scraping a Catalog with hpricot . . . . . . . . . . . . . . . . . . . . . . . . . . 111 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 ■CHAPTER 14 Writing HTML as Ruby with Markaby . . . . . . . . . . . . . . . . . . . . one hundred fifteen How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred fifteen Graphical HTML inventory Charts with Markaby . . . . . . . . . . . . . . . . . . . . . . . 116 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred twenty ■CHAPTER 15 Parsing CSV with fastercsv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Processing Census facts with fastercsv . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a hundred twenty five ■CHAPTER sixteen a number of Dispatch with multi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Formatting SQL for Legibility utilizing multi . . . . . . . . . . . . . . . . . . . . . . . . . . 129 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a hundred thirty five ix 8113Ch00CMP2 x 3/28/07 5:27 PM web page x ■CONTENTS ■CHAPTER 17 Serving net purposes with mongrel . . . . . . . . . . . . . . . . . 137 How Does It paintings? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 utilizing mongrel as a Rails improvement Server . . . . . . . . . . . . . . . . . . . . . 138 mongrel operating Rails as a carrier on Win32 . . . . . . . . . . . . . . . . . . . . . 139 mongrel working camping out . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Rated 4.47 of 5 – based on 27 votes