EBookClubs

Read Books & Download eBooks Full Online

EBookClubs

Read Books & Download eBooks Full Online

Book Ruby in Practice

    Book Details:
  • Author : Jeremy McAnally
  • Publisher : Manning Publications
  • Release : 2009
  • ISBN :
  • Pages : 364 pages

Download or read book Ruby in Practice written by Jeremy McAnally and published by Manning Publications. This book was released on 2009 with total page 364 pages. Available in PDF, EPUB and Kindle. Book excerpt: Ruby in Practice increases your productivity by showing you specific Ruby techniques you can use in your projects. The book offers detailed strategies for using Ruby in a large-scale environment. You'll see concrete examples of integration, messaging, web development, and databases, all presented in a clear Problem/Solution format. This book won't help you push your deadline back, but it will help you get the job done in less time. Above all, Ruby in Practice is a practical book for developers who want an in depth understanding of the Ruby language and its toolset. The book is divided into three major parts. The first part concentrates on issues that developers face both from within their organizations and from their peers. The authors weigh the costs and benefits of using Ruby in enterprise development projects, the over-riding theme being that every developer should always aim to use the right tool for any particular job. The authors then examine the pros and cons of developing with Ruby, and where appropriate, compare Ruby to other languages, both conceptually and in code. The second part discusses techniques for communication and integration of systems. The authors describe how libraries and techniques are used to facilitate messaging, web development and communication automation. They also focus on how the strategies in the first section can be used with these libraries to make development more flexible and efficient. The last part shows how to manage data and integrate with existing data using Ruby. The authors describe techniques for using existing Ruby libraries that either replace popular Java libraries or can interface with existing data in a different way. They go on to show you how strategies covered in the first section can be used to enable Ruby to interact with existing assets or to build new data systems. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Book Ruby Best Practices

    Book Details:
  • Author : Gregory T Brown
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2009-06-11
  • ISBN : 0596551231
  • Pages : 328 pages

Download or read book Ruby Best Practices written by Gregory T Brown and published by "O'Reilly Media, Inc.". This book was released on 2009-06-11 with total page 328 pages. Available in PDF, EPUB and Kindle. Book excerpt: How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more. Ruby Best Practices will help you: Understand the secret powers unlocked by Ruby's code blocks Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly Discover the ins and outs of testing and debugging, and how to design for testability Learn to write faster code by keeping things simple Develop strategies for text processing and file management, including regular expressions Understand how and why things can go wrong Reduce cultural barriers by leveraging Ruby's multilingual capabilities This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.

Book Practical Object oriented Design in Ruby

Download or read book Practical Object oriented Design in Ruby written by Sandi Metz and published by Pearson Education. This book was released on 2013 with total page 272 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications Ruby's widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples. This book focuses squarely on object-oriented Ruby application design. Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues. This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code

Book Eloquent Ruby

    Book Details:
  • Author : Russ Olsen
  • Publisher : Addison-Wesley Professional
  • Release : 2011-02-07
  • ISBN : 0321700279
  • Pages : 446 pages

Download or read book Eloquent Ruby written by Russ Olsen and published by Addison-Wesley Professional. This book was released on 2011-02-07 with total page 446 pages. Available in PDF, EPUB and Kindle. Book excerpt: It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.

Book Rails AntiPatterns

    Book Details:
  • Author : Chad Pytel
  • Publisher : Addison-Wesley Professional
  • Release : 2010-11-09
  • ISBN : 0132660067
  • Pages : 347 pages

Download or read book Rails AntiPatterns written by Chad Pytel and published by Addison-Wesley Professional. This book was released on 2010-11-09 with total page 347 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems As developers worldwide have adopted the powerful Ruby on Rails web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability. RailsTM 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 programming violations to complex SQL and excessive redundancy Domain modeling, including schema and database issues such as normalization and serialization View layer tools and conventions Controller-layer code, including RESTful code Service-related APIs, including timeouts, exceptions, backgrounding, and response codes Third-party code, including plug-ins and gems Testing, from test suites to test-driven development processes Scaling and deployment Database issues, including migrations and validations System design for “graceful degradation” in the real world

Book Ruby on Rails Tutorial

Download or read book Ruby on Rails Tutorial written by Michael Hartl and published by Addison-Wesley Professional. This book was released on 2017 with total page 0 pages. Available in PDF, EPUB and Kindle. Book excerpt: Teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial's examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 5, a division of the largest chapters into more manageable units, and a number of new exercises interspersed in each chapter for reinforcement of the material. This guide provides integrated tutorials not only for Rails, but also for the Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code. --From publisher description.

Book The Well Grounded Rubyist

Download or read book The Well Grounded Rubyist written by Joe Leo and published by Simon and Schuster. This book was released on 2019-03-05 with total page 870 pages. Available in PDF, EPUB and Kindle. Book excerpt: Summary The Well-Grounded Rubyist, Third Edition is a beautifully written tutorial that begins with your first Ruby program and takes you all the way to sophisticated topics like reflection, threading, and recursion. Ruby masters David A. Black and Joe Leo distill their years of knowledge for you, concentrating on the language and its uses so you can use Ruby in any way you choose. Updated for Ruby 2.5. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Designed for developer productivity, Ruby is an easy-to-learn dynamic language perfect for creating virtually any kind of software. Its famously friendly development community, countless libraries, and amazing tools, like the Rails framework, have established it as the language of choice for high-profile companies, including GitHub, SlideShare, and Shopify. The future is bright for the well-grounded Rubyist! About the Book In The Well-Grounded Rubyist, Third Edition, expert authors David A. Black and Joseph Leo deliver Ruby mastery in an easy-to-read, casual style. You'll lock in core principles as you write your first Ruby programs. Then, you'll progressively build up to topics like reflection, threading, and recursion, cementing your knowledge with high-value exercises to practice your skills along the way. What's Inside Basic Ruby syntax Running Ruby extensions FP concepts like currying, side-effect-free code, and recursion Ruby 2.5 updates About the Reader For readers with beginner-level programming skills. About the Authors David A. Black is an internationally known Ruby developer and author, and a cofounder of Ruby Central. Ruby teacher and advocate Joseph Leo III is the founder of Def Method and lead organizer of the Gotham Ruby Conference. Table of Contents PART 1 RUBY FOUNDATIONS Bootstrapping your Ruby literacy Objects, methods, and local variables Organizing objects with classes Modules and program organization The default object (self), scope, and visibility Control-flow techniques PART 2 BUILT-IN CLASSES AND MODULES Built-in essentials Strings, symbols, and other scalar objects Collection and container objects Collections central: Enumerable and Enumerator Regular expressions and regexp-based string operations File and I/O operations PART 3 RUBY DYNAMICS Object individuation Callable and runnable objects Callbacks, hooks, and runtime introspection Ruby and functional programming

Book Practical Object Oriented Design

Download or read book Practical Object Oriented Design written by Sandi Metz and published by Addison-Wesley Professional. This book was released on 2018-07-10 with total page 700 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Complete Guide to Writing Maintainable, Manageable, Pleasing, and Powerful Object-Oriented Applications Object-oriented programming languages exist to help you create beautiful, straightforward applications that are easy to change and simple to extend. Unfortunately, the world is awash with object-oriented (OO) applications that are difficult to understand and expensive to change. Practical Object-Oriented Design, Second Edition, immerses you in an OO mindset and teaches you powerful, real-world, object-oriented design techniques with simple and practical examples. Sandi Metz demonstrates how to build new applications that can “survive success” and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples in the easy-to-understand Ruby programming language, all downloadable from the companion website, poodr.com. Fully updated for Ruby 2.5, this guide shows how to Decide what belongs in a single class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Whatever your previous object-oriented experience, this concise guide will help you achieve the superior outcomes you’re looking for. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Book Professional Ruby on Rails

Download or read book Professional Ruby on Rails written by Noel Rappin and published by John Wiley & Sons. This book was released on 2008-03-04 with total page 482 pages. Available in PDF, EPUB and Kindle. Book excerpt: Provides information on the capabilities and subsystems of Ruby on Rails for the design and development of complex Web applications.

Book Design Patterns in Ruby

Download or read book Design Patterns in Ruby written by Russ Olsen and published by Pearson Education. This book was released on 2007-12-10 with total page 558 pages. Available in PDF, EPUB and Kindle. Book excerpt: Praise for Design Patterns in Ruby "Design Patterns in Ruby documents smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work." —Steve Metsker, Managing Consultant with Dominion Digital, Inc. "This book provides a great demonstration of the key 'Gang of Four' design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically 'dry' subject into such an engaging and even occasionally humorous read." —Peter Cooper "This book renewed my interest in understanding patterns after a decade of good intentions. Russ picked the most useful patterns for Ruby and introduced them in a straightforward and logical manner, going beyond the GoF's patterns. This book has improved my use of Ruby, and encouraged me to blow off the dust covering the GoF book." —Mike Stok "Design Patterns in Ruby is a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby." —Rob Sanheim, Ruby Ninja, Relevance Most design pattern books are based on C++ and Java. But Ruby is different—and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code. After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language—enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and "mixins" for easier code reuse. Fourteen of the classic "Gang of Four" patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require. Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based "Convention Over Configuration" pattern, designed to help integrate entire applications and frameworks. Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.

Book Acute Reactions

    Book Details:
  • Author : Ruby Lang
  • Publisher : Simon and Schuster
  • Release : 2015-03-23
  • ISBN : 1440590648
  • Pages : 340 pages

Download or read book Acute Reactions written by Ruby Lang and published by Simon and Schuster. This book was released on 2015-03-23 with total page 340 pages. Available in PDF, EPUB and Kindle. Book excerpt: The man with allergies never gets the girl, at least according to the movies - and Portland restaurateur Ian Zamora wants to be the guy who gets the girl. So to rid himself of the sensitivities brought on by his sometimes-girlfriend's cat, he makes an appointment with allergist Petra Lale. But he suddenly finds himself acutely attracted to the very woman who is supposed to be helping him take care of his problem. Petra's intrigued by Ian's quiet strength and sexy body, but her solo practice is new and struggling. She can't afford to compromise her ethics - or risk her medical license - by dating a patient. Falling in love certainly wasn't this doctor's order. She tries to stay away from Ian, but fate, and her weak willpower, keep bringing them back together. Do two career-driven people with inexperienced hearts stand a chance of finding the right prescription for love? Sensuality Level: Sensual

Book Learn Enough Ruby to Be Dangerous

Download or read book Learn Enough Ruby to Be Dangerous written by Michael Hartl and published by Addison-Wesley Professional. This book was released on 2022-05-25 with total page 762 pages. Available in PDF, EPUB and Kindle. Book excerpt: All You Need to Know, and Nothing You Don't, to Create Ruby Programs, Gems, and Web Apps Programmers love Ruby for its elegance, power, and flexibility: that's why it was chosen for the Ruby on Rails framework that launched websites from Shopify to Coinbase. You'll love Ruby too, but you don't need to learn "everything" about it, just how to use it efficiently to solve real problems. In Learn Enough Ruby to Be Dangerous, renowned instructor Michael Hartl teaches the concepts, skills, and approaches you need to be professionally productive in both general-purpose programming and beginning web app development. Even if you're new to programming, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. You'll gain a solid understanding of object-oriented and functional programming, develop and publish a self-contained Ruby package (a gem), and use your gem to build and deploy a dynamic web app with the Sinatra framework. Focused exercises help you internalize what matters, without wasting time on details pros don't care about. Soon, it'll be like you were born knowing this stuff--and you'll be suddenly, seriously dangerous. Learn enough about . . . Writing real code quickly using interactive Ruby (irb) Working with native Ruby objects and creating your own Using functional techniques to write more concise and modular code Creating tests and improving code with test-driven development (TDD) Developing and publishing self-contained Ruby packages (gems) Writing nontrivial shell scripts to leverage Ruby's power at the command line Developing and deploying a web app with routes, layouts, embedded Ruby, and forms Mastering modern development skills you can use with any language Michael Hartl's Learn Enough Series includes books and video courses that focus on the most important parts of each subject, so you don't have to learn everything to get started--you just have to learn enough to be dangerous and solve technical problems yourself. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Book Learn Game Programming with Ruby

Download or read book Learn Game Programming with Ruby written by Mark Sobkowicz and published by Pragmatic Bookshelf. This book was released on 2015-09-03 with total page 280 pages. Available in PDF, EPUB and Kindle. Book excerpt: Level up your programming skills while making fast-paced, arcade-style video games. Make enemy spaceships explode in balls of fire, and escape from a pit while dodging falling boulders. You'll use the fun and approachable Ruby programming language and the Gosu 2D game library, which makes making games a breeze. Gain the skills and techniques you need to bring your own video game ideas to life with moving images and thumping sounds. If you have a little experience programming in Ruby or another language, then you're ready to start making your own video games. In this book you'll learn concepts such as animation, keyboard and mouse movement, sounds and music, and physics as you build four exciting games. Your first game will test your reflexes as you try to click on a ruby that pops in and out of your screen. Learn how to draw images and text, and how to make objects move around the screen. You'll make a space-shooter where you defend your home base from a seemingly endless stream of enemies, as you discover how to use keyboard input, add music and sounds, an opening title screen, and scrolling end-credits. Next up: make a sliding number puzzle game where you'll learn to incorporate more complicated logic and user interaction into your game. Learn all about game physics as you build a game where a bold adventurer must climb out of a pit while dodging bouncing, spinning rocks. Finally, package up your games as Windows and Mac apps so you can share them with your friends. When you're done with this book, you'll have improved your programming skills, and you'll have all the tools you need to make your own arcade-style games. What You Need: You'll need a computer running Windows 7 or later, or Mac OS X 10.7 or later. All the other software you need is free, and the first chapter will get you up and running.

Book Ruby for Rails

Download or read book Ruby for Rails written by David A. Black and published by Manning Publications. This book was released on 2006 with total page 534 pages. Available in PDF, EPUB and Kindle. Book excerpt: Provides information on creating Web-based applications using Ruby.

Book Polished Ruby Programming

Download or read book Polished Ruby Programming written by Jeremy Evans and published by Packt Publishing Ltd. This book was released on 2021-07-16 with total page 434 pages. Available in PDF, EPUB and Kindle. Book excerpt: Elevate your Ruby skills to an advanced level by deepening your understanding of the design principles, best practices, and trade-offs involved in implementation approaches to future-proof your Ruby applications Key FeaturesLearn Ruby web application design principles and strategies for databases, security, and testing from a Ruby committer Understand the design principles behind polished Ruby code and trade-offs between implementation approachesUse metaprogramming and DSLs to reduce the amount of code needed without decreasing maintainabilityBook Description Anyone striving to become an expert Ruby programmer needs to be able to write maintainable applications. Polished Ruby Programming will help you get better at designing scalable and robust Ruby programs, so that no matter how big the codebase grows, maintaining it will be a breeze. This book takes you on a journey through implementation approaches for many common programming situations, the trade-offs inherent in each approach, and why you may choose to use different approaches in different situations. You'll start by refreshing Ruby fundamentals, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Then you'll move on to higher-level programming principles, such as library design, use of metaprogramming and domain-specific languages, and refactoring. Finally, you'll learn principles specific to web application development, such as how to choose a database and web framework, and how to use advanced security features. By the end of this Ruby programming book, you'll be a well rounded web developer with a deep understanding of Ruby. While most code examples and principles discussed in the book apply to all Ruby versions, some examples and principles are specific to Ruby 3.0, the latest release at the time of publication. What you will learnUse Ruby's core classes and design custom classes effectivelyExplore the principles behind variable usage and method argument choiceImplement advanced error handling approaches such as exponential backoffDesign extensible libraries and plugin systems in RubyUse metaprogramming and DSLs to avoid code redundancyImplement different approaches to testing and understand their trade-offsDiscover design patterns, refactoring, and optimization with RubyExplore database design principles and advanced web app securityWho this book is for This book is for Ruby programmers who are comfortable in coding with Ruby but want to advance their skills by mastering the deeper principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code. This book won't teach you the basics of Ruby – you'll need intermediate knowledge and practical experience before you can dive in.

Book Ruby for Beginners

Download or read book Ruby for Beginners written by iCode Academy and published by Independently Published. This book was released on 2017-05-25 with total page 123 pages. Available in PDF, EPUB and Kindle. Book excerpt: Are You Ready To Learn Ruby Easily? This book aims to guide a complete novice in Ruby programming. This book is carefully crafted to aid the new or inexperienced programmer in learning to write a code in Ruby language. If you are someone who somehow developed a fear to explore the unknown and still interested in learning Ruby programming, then this book can truly help you. This book covers everything that a beginner in Ruby programming should learn. Understand that programming offers an infinite amount of information and knowledge. However, this book understands that it may overwhelm a mere beginner in programming if it tackles even the advanced features of the Ruby language. This book can help you build a solid, basic knowledge in programming that can help you a lot when you begin to write your own program in Ruby language. You can use the acquired knowledge to pursue or learn more about Ruby's advanced concepts later on. For now, just concentrate on the basics and make sure to absorb every lesson before you go to the next one. Practice makes perfect and this book provides a lot of practice programs or exercises that can help you enhance your experience in Ruby programming. The exercises are simple and easy to understand to help you comprehend the lesson quickly. You also need to take note of the error messages that you may encounter. Let them serve as your guide so you can avoid the same mistake in the future or help you resolve the same error when you encounter them once more. Learning Ruby programming in 7 days is not something impossible to accomplish. Even a person with a little or no experience with any programming language can learn it within those days. As you go through each lesson, you will notice that it is quite easy to understand. It becomes much simpler when you have patience and discipline. Understand that you will be able to learn the Ruby basics in 7 days, but that won't make you an instant expert. You still need to practice and work your way in discovering the cool things that you can do with Ruby as you go along. Even expert programmers need to spend ample time in honing their programming skills. Before you know it, you are ready to create a more complex program.This book presents everything that a novice may need in understanding the basic Ruby programming. It is presented in such a way that anyone without prior programming knowledge will find it easy to understand - most technical jargons were kept to minimal, and they are the terminologies that you will likely encounter once you have started writing your program. Here's What You'll Learn From This Ruby For Beginners Book: ✓ Chapter 1: Getting acquainted with ruby ✓ Chapter 2: Initial Preparations ✓ Chapter 3: Start with the Basics ✓ Chapter 4: Ruby Variables ✓ Chapter 5: All About Methods ✓ Chapter 6: Flow Control ✓ Chapter 7: Iterators and Loops ✓ Chapter 8: More on Arrays and Hashes What Are You Waiting For? Start Coding Ruby Right Now!

Book Ruby by Example

    Book Details:
  • Author : Kevin C. Baird
  • Publisher : No Starch Press
  • Release : 2007-06-01
  • ISBN : 1593271603
  • Pages : 312 pages

Download or read book Ruby by Example written by Kevin C. Baird and published by No Starch Press. This book was released on 2007-06-01 with total page 312 pages. Available in PDF, EPUB and Kindle. Book excerpt: There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book. You'll learn how to: –Use the interactive Ruby shell (irb) to learn key features of the language –Extend Ruby using RubyGems, the Ruby package manager –Create numerical utilities, as well as utilities that process and analyze HTML/XML –Implement purely functional and metaprogramming techniques to save time and effort –Optimize, profile, and test your code to make sure that it not only does its job, but does it well –Create web applications using Rails Ruby is the fastest growing programming language today, and for good reason: its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.