Synopses & Reviews
A hands-on introduction to a powerful, easy-to-use scripting language
Ruby's clear and clever syntax makes it an excellent choice for beginners, while its speed and extensibility makes it extremely useful for experienced developers. This up-and-coming scripting language is compact, fast, powerful, and yet, surprisingly simple to use. Suresh Mahadevan offers you a detailed introduction to this open source language and explains how it can save programmers considerable time during program development because no compilation and linking is necessary. With its built-in interfaces to Java, Perl, and Python, Ruby is well suited for writing text prototypes, mathematics, and many other everyday programming tasks. Packed with real-world examples and advice on how to move beyond the samples to tackle specific tasks, this excellent resource also includes end-of-chapter reviews and exercises to help you master the many possibilities of Ruby.
With numerous real-world examples and expert advice, this book:
* Provides a concise and task-oriented introduction to Ruby
* Helps you evaluate the suitability of Ruby for your project
* Is a practical introduction to Ruby's syntax and fundamental strengths
* Includes numerous working scripts, with information on how to adapt and extend them to meet individual needs
The companion Web site contains:
* All source code from the book
* Frequently asked questions, quizzes, and best practices
* Links to other Ruby sites
Synopsis
* Explores Ruby's uses for prototyping, text processing, and other tasks
Synopsis
Ruby is an interpreted language, capable of saving programmers considerable time during program development since no compilation and linking are necessary. It is ideal for writing text-processing applications, server-side scripts, application prototypes, mathematics, and for many everyday programming tasks.
* Reviews Ruby's clever syntax and demonstrates why that makes it a perfect choice for beginning programmers, and also shows how its multipurpose capabilities make it a sound choice for experienced developers
* Explores Ruby's uses for prototyping, text processing, and other tasks
About the Author
SURESH MAHADEVAN is an engineering graduate with three years' experience in developing technical courses and Instructor-Led Training materials (ILTs). He started his career by training professionals on various technologies ranging from Microsoft to Sun. For the past two years, Mahadevan has worked with the Knowledge Solutions Business group (KSB) of NIIT, Ltd., where he is the team leader on a project to develop a successful learning solution for clients. He is also the author of other technical books.
Table of Contents
Introduction.
Scenario.
Chapter 1. An Introduction to Ruby.
Chapter 2. Ruby -
A Pure Object-Oriented Language.
Chapter 3. Programming Basics.
Chapter 4. Control Structures, Blocks and Expressions.
Chapter 5. Method and Modules.
Chapter 6. Input and Output.
Chapter 7. Exceptions.
Chapter 8. Multithreading.
Chapter 9. CGI Programming.
Chapter 10. GUI Programming with Tk.
Chapter 11. Running Ruby on Windows.
Chapter 12. Networking.
Appendix A. Ruby Extensions.
Appendix B. Safety Issues.
Index.