The Well-Grounded Rubyist

Download The Well-Grounded Rubyist PDF Online Free

Author :
Publisher : Simon and Schuster
ISBN 13 : 1638356238
Total Pages : 870 pages
Book Rating : 4.6/5 (383 download)

DOWNLOAD NOW!


Book Synopsis The Well-Grounded Rubyist by : Joe Leo

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

The Well-grounded Rubyist

Download The Well-grounded Rubyist PDF Online Free

Author :
Publisher : Manning Publications
ISBN 13 : 9781617291692
Total Pages : 0 pages
Book Rating : 4.2/5 (916 download)

DOWNLOAD NOW!


Book Synopsis The Well-grounded Rubyist by : David A. Black

Download or read book The Well-grounded Rubyist written by David A. Black and published by Manning Publications. This book was released on 2014 with total page 0 pages. Available in PDF, EPUB and Kindle. Book excerpt: Addresses both newcomers to Ruby as well as Ruby programmers who want to deepen their understanding of the language. This beautifully written and totally revised second edition includes coverage of features that are new in Ruby 2.1, as well as expanded and updated coverage of aspects of the language that have changed.

Ruby for Rails

Download Ruby for Rails PDF Online Free

Author :
Publisher : Manning Publications
ISBN 13 :
Total Pages : 534 pages
Book Rating : 4.:/5 (318 download)

DOWNLOAD NOW!


Book Synopsis Ruby for Rails by : David A. Black

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.

Eloquent Ruby

Download Eloquent Ruby PDF Online Free

Author :
Publisher : Addison-Wesley Professional
ISBN 13 : 0321700279
Total Pages : 446 pages
Book Rating : 4.3/5 (217 download)

DOWNLOAD NOW!


Book Synopsis Eloquent Ruby by : Russ Olsen

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.

Ruby by Example

Download Ruby by Example PDF Online Free

Author :
Publisher : No Starch Press
ISBN 13 : 1593271603
Total Pages : 314 pages
Book Rating : 4.5/5 (932 download)

DOWNLOAD NOW!


Book Synopsis Ruby by Example by : Kevin C. Baird

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 314 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.

Effective Ruby

Download Effective Ruby PDF Online Free

Author :
Publisher : Pearson Education
ISBN 13 : 0133846970
Total Pages : 236 pages
Book Rating : 4.1/5 (338 download)

DOWNLOAD NOW!


Book Synopsis Effective Ruby by : Peter J. Jones

Download or read book Effective Ruby written by Peter J. Jones and published by Pearson Education. This book was released on 2015 with total page 236 pages. Available in PDF, EPUB and Kindle. Book excerpt: If you're an experienced Ruby programmer, Effective Ruby will help you harness Ruby's full power to write more robust, efficient, maintainable, and well-performing code. Drawing on nearly a decade of Ruby experience, Peter J. Jones brings together 48 Ruby best practices, expert tips, and shortcuts--all supported by realistic code examples. Jones offers practical advice for each major area of Ruby development, from modules to memory to metaprogramming. Throughout, he uncovers little-known idioms, quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. Each item contains specific, actionable, clearly organized guidelines; careful advice; detailed technical arguments; and illuminating code examples. When multiple options exist, Jones shows you how to choose the one that will work best in your situation. Effective Ruby will help you systematically improve your code--not by blindly following rules, but by thoroughly understanding Ruby programming techniques. Key features of this concise guide include How to avoid pitfalls associated with Ruby's sometimes surprising idiosyncrasies What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks) How to use misunderstood methods to do amazingly useful things with collections Better ways to use exceptions to improve code reliability Powerful metaprogramming approaches (and techniques to avoid) Practical, efficient testing solutions, including MiniTest Unit and Spec Testing How to reliably manage RubyGem dependencies How to make the most of Ruby's memory management and profiling tools How to improve code efficiency by understanding the Ruby interpreter's internals

Professional Ruby on Rails

Download Professional Ruby on Rails PDF Online Free

Author :
Publisher : John Wiley & Sons
ISBN 13 : 0470334304
Total Pages : 482 pages
Book Rating : 4.4/5 (73 download)

DOWNLOAD NOW!


Book Synopsis Professional Ruby on Rails by : Noel Rappin

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-11 with total page 482 pages. Available in PDF, EPUB and Kindle. Book excerpt: Nothing less than a revolution in the way web applications are constructed,Ruby on Rails (RoR) boasts a straightforward and intuitive nature that avoids programming repetition and makes it infinitely easier to build for the web. This book captures the current best practices to show you the most efficient way to build a spectacular web application with RoR. You?ll learn everything you need to know in order to extend Rails so that you can take advantage of the many exciting and wonderful things that are being done by the diligent RoR programming community.

Practical Object-oriented Design in Ruby

Download Practical Object-oriented Design in Ruby PDF Online Free

Author :
Publisher : Pearson Education
ISBN 13 : 0321721330
Total Pages : 272 pages
Book Rating : 4.3/5 (217 download)

DOWNLOAD NOW!


Book Synopsis Practical Object-oriented Design in Ruby by : Sandi Metz

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

Rails AntiPatterns

Download Rails AntiPatterns PDF Online Free

Author :
Publisher : Addison-Wesley Professional
ISBN 13 : 0132660067
Total Pages : 347 pages
Book Rating : 4.1/5 (326 download)

DOWNLOAD NOW!


Book Synopsis Rails AntiPatterns by : Chad Pytel

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

The Ruby Way

Download The Ruby Way PDF Online Free

Author :
Publisher : Addison-Wesley Professional
ISBN 13 : 0132480379
Total Pages : 817 pages
Book Rating : 4.1/5 (324 download)

DOWNLOAD NOW!


Book Synopsis The Ruby Way by : Hal Fulton

Download or read book The Ruby Way written by Hal Fulton and published by Addison-Wesley Professional. This book was released on 2015-02-11 with total page 817 pages. Available in PDF, EPUB and Kindle. Book excerpt: For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” guidance on effective Ruby programming. Now, Hal Fulton and André Arko have thoroughly updated this classic guide to cover new language enhancements and developers’ experiences through Ruby 2.1. The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: “How do I do this in Ruby?” For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding. Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want—and to write better code by reflecting Ruby’s unique philosophy and spirit. Coverage includes Ruby 2.1 overview: terminology, philosophy, and basic principles Best practices for strings and regular expressions Efficiently internationalizing your code Performing calculations (including trigonometry, calculus, statistics, and time/date calculations) Working with “Rubyesque” objects such as symbols and ranges Using arrays, hashes, stacks, queues, trees, graphs, and other data structures Efficiently storing data with YAML, JSON, and SQLite3 Leveraging object-oriented and dynamic features, from multiple constructors to program inspection Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits Improving thread performance by understanding Ruby’s synchronization methods and avoiding its pitfalls Automating system administration with Ruby Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry Measuring Ruby program performance Packaging and distributing code, and managing dependencies with Bundler Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more Writing distributed Ruby software with drb Choosing modern development tools that maximize your productivity All source code for this book may be downloaded at www.rubyhacker.com. informit.com/aw informit.com/ruby rubyhacker.com/therubyway therubyway.io

Sams Teach Yourself Ruby in 21 Days

Download Sams Teach Yourself Ruby in 21 Days PDF Online Free

Author :
Publisher : Sams Publishing
ISBN 13 : 9780672322525
Total Pages : 570 pages
Book Rating : 4.3/5 (225 download)

DOWNLOAD NOW!


Book Synopsis Sams Teach Yourself Ruby in 21 Days by : Mark Slagell

Download or read book Sams Teach Yourself Ruby in 21 Days written by Mark Slagell and published by Sams Publishing. This book was released on 2002 with total page 570 pages. Available in PDF, EPUB and Kindle. Book excerpt: Ruby is a high-level, fully object-oriented programming (OOP) language. It is very powerful and relatively easy to learn, read, and maintain. Sams Teach Yourself Ruby in 21 Days provides the best introduction to this language and addresses one of the key constraints it faces: "The paucity of quality English-language documentation is one of the few things holding Ruby back from widespread adoption," according to Dr. Curtis Clifton of Iowa State University¿s Department of Graduate Computer Science.

Practical Object-Oriented Design

Download Practical Object-Oriented Design PDF Online Free

Author :
Publisher : Addison-Wesley Professional
ISBN 13 : 0134445570
Total Pages : 701 pages
Book Rating : 4.1/5 (344 download)

DOWNLOAD NOW!


Book Synopsis Practical Object-Oriented Design by : Sandi Metz

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 701 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.

Programming Ruby

Download Programming Ruby PDF Online Free

Author :
Publisher :
ISBN 13 : 9780974514055
Total Pages : 830 pages
Book Rating : 4.5/5 (14 download)

DOWNLOAD NOW!


Book Synopsis Programming Ruby by : David Thomas

Download or read book Programming Ruby written by David Thomas and published by . This book was released on 2004 with total page 830 pages. Available in PDF, EPUB and Kindle. Book excerpt: A tutorial and reference to the object-oriented programming language for beginning to experienced programmers, updated for version 1.8, describes the language's structure, syntax, and operation, and explains how to build applications. Original. (Intermediate)

The Rails 5 Way

Download The Rails 5 Way PDF Online Free

Author :
Publisher : Addison-Wesley Professional
ISBN 13 : 0134657683
Total Pages : 3047 pages
Book Rating : 4.1/5 (346 download)

DOWNLOAD NOW!


Book Synopsis The Rails 5 Way by : Obie Fernandez

Download or read book The Rails 5 Way written by Obie Fernandez and published by Addison-Wesley Professional. This book was released on 2017-11-22 with total page 3047 pages. Available in PDF, EPUB and Kindle. Book excerpt: The “Bible” for Rails Development: Fully Updated for Rails 5 “When I read The Rails Way for the first time, I felt like I truly understood Rails for the first time.” —Steve Klabnik, Rails contributor and mentor The RailsTM 5 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. Obie Fernandez illuminates the entire Rails 5 API, its most powerful idioms, design approaches, and libraries. He presents new and updated content on Action Cable, RSpec 3.4, Turbolinks 5.0, the Attributes API, and many other enhancements, both major and subtle. Through detailed code examples, you’ll dive deep into Ruby on Rails, discover why it’s designed as it is, and learn to make it do exactly what you want. Proven in thousands of production systems, the knowledge in this book will maximize your productivity and help you build more successful solutions. Build powerful, scalable, REST-compliant back-end services Program complex program flows using Action Controller Represent models, relationships, and operations in Active Record, and apply advanced Active Record techniques Smoothly evolve database schema via Migrations Craft front-ends with ActionView and the Asset Pipeline Optimize performance and scalability with caching and Turbolinks 5.0 Improve your productivity using Haml HTML templating Secure your systems against attacks like SQL Injection, XSS, and XSRF Integrate email using Action Mailer Enable real-time, websockets-based browser behavior with Action Cable Improve responsiveness with background processing Build “API-only” back-end projects that speak JSON Leverage enhancements to Active Job, serialization, and Ajax support

The Book of Ruby

Download The Book of Ruby PDF Online Free

Author :
Publisher : No Starch Press
ISBN 13 : 1593272944
Total Pages : 404 pages
Book Rating : 4.5/5 (932 download)

DOWNLOAD NOW!


Book Synopsis The Book of Ruby by : Huw Collingbourne

Download or read book The Book of Ruby written by Huw Collingbourne and published by No Starch Press. This book was released on 2011-07-11 with total page 404 pages. Available in PDF, EPUB and Kindle. Book excerpt: Ruby is famous for being easy to learn, but most users only scratch the surface of what it can do. While other books focus on Ruby's trendier features, The Book of Ruby reveals the secret inner workings of one of the world's most popular programming languages, teaching you to write clear, maintainable code. You'll start with the basics—types, data structures, and control flows—and progress to advanced features like blocks, mixins, metaclasses, and beyond. Rather than bog you down with a lot of theory, The Book of Ruby takes a hands-on approach and focuses on making you productive from day one. As you follow along, you’ll learn to: –Leverage Ruby's succinct and flexible syntax to maximize your productivity –Balance Ruby's functional, imperative, and object-oriented features –Write self-modifying programs using dynamic programming techniques –Create new fibers and threads to manage independent processes concurrently –Catch and recover from execution errors with robust exception handling –Develop powerful web applications with the Ruby on Rails framework Each chapter includes a "Digging Deeper" section that shows you how Ruby works under the hood, so you'll never be caught off guard by its deceptively simple scoping, multithreading features, or precedence rules. Whether you're new to programming or just new Ruby, The Book of Ruby is your guide to rapid, real-world software development with this unique and elegant language.

Ruby in Practice

Download Ruby in Practice PDF Online Free

Author :
Publisher : Manning Publications
ISBN 13 :
Total Pages : 364 pages
Book Rating : 4.3/5 (97 download)

DOWNLOAD NOW!


Book Synopsis Ruby in Practice by : Jeremy McAnally

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.

Build Awesome Command-line Applications in Ruby 2

Download Build Awesome Command-line Applications in Ruby 2 PDF Online Free

Author :
Publisher :
ISBN 13 : 9781937785758
Total Pages : 0 pages
Book Rating : 4.7/5 (857 download)

DOWNLOAD NOW!


Book Synopsis Build Awesome Command-line Applications in Ruby 2 by : David Bryant Copeland

Download or read book Build Awesome Command-line Applications in Ruby 2 written by David Bryant Copeland and published by . This book was released on 2013 with total page 0 pages. Available in PDF, EPUB and Kindle. Book excerpt: Speak directly to your system. With its simple commands, flags, and parameters, a well-formed command-line application is the quickest way to automate a backup, a build, or a deployment and simplify your life. With this book, you'll learn specific ways to write command-line applications that are easy to use, deploy, and maintain, using a set of clear best practices and the Ruby programming language. This book is designed to make any programmer or system administrator more productive in their job. Now updated for Ruby 2. Writing a command-line application that's self-documenting, robust, adaptable and forever useful is easier than you might think. Ruby is particularly suited to this task, because it combines high-level abstractions with "close to the metal" system interaction wrapped up in a concise, readable syntax. Plus, Ruby 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, open source 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 why 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 testing 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.