- tag, 42 wait_until method, 103 undumping, 70–72 Unix domain sockets Drip storage, 184 security, 229, 233 wakeup method, 82, 84 www.it-ebooks.info web UI for search system, 213–217 Index WEBrick "I Like Ruby" website, 162 integrating CGI and dRuby, 40–56 user interface for search system, 213–217 while keyword, 102 whitespace, ERB and, 38 wikis, 26, 162 wildcard matching ACL security, 232 crawler, 200 Linda, 114 Rinda, 114, 123 worker processes, 166 wrapping ERB templates, 38 gateway objects, 236 write method about, 112 www.it-ebooks.info • 253 Drip, 182, 185–186, 191 Hash and Struct, 128 notification events, 141, 158 publishing to Ring, 155 timeouts and, 141 TupleSpace, 114–120, 122 Y yield method, 92, 224, 236 Advanced Ruby and Rails What used to be the realm of experts is fast becoming the stuff of day-to-day development Jump to the head of the class in Ruby and Rails Rails is a huge step forward You can now easily extend the framework, change its behavior, and replace whole components to bend it to your will, all without messy hacks This pioneering book is the first resource that deep dives into the new Rails APIs and shows you how to use them to write better web applications and make your day-to-day work with Rails more productive José Valim (184 pages) ISBN: 9781934356739 $33 http://pragprog.com/titles/jvrails As a Ruby programmer, you already know how much fun it is Now see how to unleash its power, digging under the surface and exploring the language’s most advanced features: a collection of techniques and tricks known as metaprogramming Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels—from beginner to expert Metaprogramming Ruby explains metaprogramming concepts in a down-to-earth style and arms you with a practical toolbox that will help you write great Ruby code Paolo Perrotta (296 pages) ISBN: 9781934356470 $32.95 http://pragprog.com/titles/ppmetr www.it-ebooks.info Go Beyond with Rails and NoSQL There’s so much new to learn with Rails and the latest crop of NoSQL databases These titles will get you up to speed on the latest Thousands of developers have used the first edition of Rails Recipes to solve the hard problems Now, five years later, it’s time for the Rails 3.1 edition of this trusted collection of solutions, completely revised by Rails master Chad Fowler Chad Fowler (350 pages) ISBN: 9781934356777 $35 http://pragprog.com/titles/rr2 Data is getting bigger and more complex by the day, and so are your choices in handling it From traditional RDBMS to newer NoSQL approaches, Seven Databases in Seven Weeks takes you on a tour of some of the hottest open source databases today In the tradition of Bruce A Tate’s Seven Languages in Seven Weeks, this book goes beyond a basic tutorial to explore the essential concepts at the core of each technology Eric Redmond and Jim Wilson (330 pages) ISBN: 9781934356920 $35 http://pragprog.com/titles/rwdata www.it-ebooks.info Pragmatic Guide Series Get started quickly, with a minimum of fuss and hand-holding The Pragmatic Guide Series features convenient, task-oriented two-page spreads You’ll find what you need fast, and get on with your work Need to learn how to wrap your head around Git, but don’t need a lot of hand holding? Grab this book if you’re new to Git, not to the world of programming Git tasks displayed on two-page spreads provide all the context you need, without the extra fluff NEW: Part of the new Pragmatic Guide series Travis Swicegood (160 pages) ISBN: 9781934356722 $25 http://pragprog.com/titles/pg_git JavaScript is everywhere It’s a key component of today’s Web—a powerful, dynamic language with a rich ecosystem of professional-grade development tools, infrastructures, frameworks, and toolkits This book will get you up to speed quickly and painlessly with the 35 key JavaScript tasks you need to know NEW: Part of the new Pragmatic Guide series Christophe Porteneuve (160 pages) ISBN: 9781934356678 $25 http://pragprog.com/titles/pg_js www.it-ebooks.info Testing is only the beginning Start with Test Driven Development, Domain Driven Design, and Acceptance Test Driven Planning in Ruby Then add Shoulda, Cucumber, Factory Girl, and Rcov for the ultimate in Ruby and Rails development Behaviour-Driven Development (BDD) gives you the best of Test Driven Development, Domain Driven Design, and Acceptance Test Driven Planning techniques, so you can create better software with self-documenting, executable tests that bring users and developers together with a common language Get the most out of BDD in Ruby with The RSpec Book, written by the lead developer of RSpec, David Chelimsky David Chelimsky, Dave Astels, Zach Dennis, Aslak Hellesøy, Bryan Helmkamp, Dan North (448 pages) ISBN: 9781934356371 $38.95 http://pragprog.com/titles/achbd Rails Test Prescriptions is a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively) It covers the core Rails testing tools and procedures for Rails and Rails 3, and introduces popular add-ons, including RSpec, Shoulda, Cucumber, Factory Girl, and Rcov Noel Rappin (368 pages) ISBN: 9781934356647 $34.95 http://pragprog.com/titles/nrtest www.it-ebooks.info Learn a New Language This Year Want to be a better programmer? Each new programming language you learn teaches you something new about computing Come see what you’re missing You should learn a programming language every year, as recommended by The Pragmatic Programmer But if one per year is good, how about Seven Languages in Seven Weeks? In this book you’ll get a hands-on tour of Clojure, Haskell, Io, Prolog, Scala, Erlang, and Ruby Whether or not your favorite language is on that list, you’ll broaden your perspective of programming by examining these languages side-by-side You’ll learn something new from each, and best of all, you’ll learn how to learn a language quickly Bruce A Tate (328 pages) ISBN: 9781934356593 $34.95 http://pragprog.com/titles/btlang Bill Karwin has helped thousands of people write better SQL and build stronger relational databases Now he’s sharing his collection of antipatterns—the most common errors he’s identified out of those thousands of requests for help Most developers aren’t SQL experts, and most of the SQL that gets used is inefficient, hard to maintain, and sometimes just plain wrong This book shows you all the common mistakes, and then leads you through the best fixes What’s more, it shows you what’s behind these fixes, so you’ll learn a lot about relational databases along the way Bill Karwin (352 pages) ISBN: 9781934356555 $34.95 http://pragprog.com/titles/bksqla www.it-ebooks.info What you Need to Know Each new version of the Web brings its own gold rush Here are your tools HTML5 and CSS3 are the future of web development, but you don’t have to wait to start using them Even though the specification is still in development, many modern browsers and mobile devices already support HTML5 and CSS3 This book gets you up to speed on the new HTML5 elements and CSS3 features you can use right now, and backwards compatible solutions ensure that you don’t leave users of older browsers behind Brian P Hogan (280 pages) ISBN: 9781934356685 $33 http://pragprog.com/titles/bhh5 Modern web development takes more than just HTML and CSS with a little JavaScript mixed in Clients want more responsive sites with faster interfaces that work on multiple devices, and you need the latest tools and techniques to make that happen This book gives you more than 40 concise, tried-and-true solutions to today’s web development problems, and introduces new workflows that will expand your skillset Brian P Hogan, Chris Warren, Mike Weber, Chris Johnson, Aaron Godin (344 pages) ISBN: 9781934356838 $35 http://pragprog.com/titles/wbdev www.it-ebooks.info Welcome to the Better Web You need a better JavaScript and more expressive CSS and HTML today Start here CoffeeScript is JavaScript done right It provides all of JavaScript’s functionality wrapped in a cleaner, more succinct syntax In the first book on this exciting new language, CoffeeScript guru Trevor Burnham shows you how to hold onto all the power and flexibility of JavaScript while writing clearer, cleaner, and safer code Trevor Burnham (160 pages) ISBN: 9781934356784 $29 http://pragprog.com/titles/tbcoffee CSS is fundamental to the web, but it’s a basic language and lacks many features Sass is just like CSS, but with a whole lot of extra power so you can get more done, more quickly Build better web pages today with Pragmatic Guide to Sass These concise, easy-to-digest tips and techniques are the shortcuts experienced CSS developers need to start developing in Sass today Hampton Catlin and Michael Lintorn Catlin (128 pages) ISBN: 9781934356845 $25 http://pragprog.com/titles/pg_sass www.it-ebooks.info Be Agile Don’t just “do” agile; you want to be agile We’ll show you how The best agile book isn’t a book: Agile in a Flash is a unique deck of index cards that fit neatly in your pocket You can tape them to the wall Spread them out on your project table Get stains on them over lunch These cards are meant to be used, not just read Jeff Langr and Tim Ottinger (110 pages) ISBN: 9781934356715 $15 http://pragprog.com/titles/olag Here are three simple truths about software development: You can’t gather all the requirements up front The requirements you gather will change There is always more to than time and money will allow Those are the facts of life But you can deal with those facts (and more) by becoming a fierce software-delivery professional, capable of dispatching the most dire of software projects and the toughest delivery schedules with ease and grace Jonathan Rasmusson (280 pages) ISBN: 9781934356586 $34.95 http://pragprog.com/titles/jtrap www.it-ebooks.info The Pragmatic Bookshelf The Pragmatic Bookshelf features books written by developers for developers The titles continue the well-known Pragmatic Programmer style and continue to garner awards and rave reviews As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help you stay on top of your game Visit Us Online This Book’s Home Page http://pragprog.com/titles/sidruby Source code from this book, errata, and other resources Come give us feedback, too! Register for Updates http://pragprog.com/updates Be notified when updates and new books become available Join the Community http://pragprog.com/community Read our weblogs, join our online discussions, participate in our mailing list, interact with our wiki, and benefit from the experience of other Pragmatic Programmers New and Noteworthy http://pragprog.com/news Check out the latest pragmatic developments, new titles and other offerings Buy the Book If you liked this eBook, perhaps you'd like to have a paper copy of the book It's available for purchase at our store: http://pragprog.com/titles/sidruby Contact Us Online Orders: http://pragprog.com/catalog Customer Service: support@pragprog.com International Rights: translations@pragprog.com Academic Use: academic@pragprog.com Write for Us: http://pragprog.com/write-for-us Or Call: +1 800-699-7764 www.it-ebooks.info ... Saying About The dRuby Book The dRuby Book is a fantastic introduction to distributed programming in Ruby for all levels of users The book covers all aspects of dRuby, including the principles... And that is how dRuby started This is the third edition of The dRuby Book (the previous two editions were in Japanese) For this edition, I’ve rewritten the book to cover the latest dRuby information... available to the client On line 12, we start the dRuby service We provide the URI (which the user passes in on the command line) The URL is the address the client uses to connect to the server