Ruby, obiektowy język programowania, opracowany na początku lat 90. ubiegłego wieku w Japonii, cieszy się zasłużoną i stale rosnącą popularnością. Dziś Ruby jest poważną konkurencją dla Perla i podstawowym fundamentem technologii Ruby on Rails -- doskonałego narzędzia do szybkiego tworzenia aplikacji i witryn internetowych. Prosta składnia, duże możliwości, zwarta konstrukcja, rozbudowana i niezwykle wygodna obsługa wyjątków oraz przetwarzania plików tekstowych sprawiają, że po ten język programowania sięga coraz więcej osób piszących oprogramowanie.
Książka "Ruby. Tao programowania w 400 przykładach" to podręcznik dla tych programistów, którzy poszukują metod rozwiązywania konkretnych zadań programistycznych za pomocą Ruby. Na ponad 400 przykładach przedstawiono w niej przeróżne zastosowania i możliwości tego języka. Czytając ją, poznasz elementy języka Ruby i zasady programowania obiektowego, techniki przetwarzania łańcuchów tekstowych z zastosowaniem wyrażeń regularnych oraz sposoby wykonywania nawet najbardziej złożonych operacji matematycznych. Znajdziesz tu także omówienie metod komunikacji z bazami danych, budowania graficznych interfejsów użytkownika, programowania wielowątkowego i pisania skryptów administracyjnych. Dowiesz się też, jak korzystać z frameworka Ruby on Rails.
-Programowanie obiektowe w Ruby -Przetwarzanie danych tekstowych -Obliczenia matematyczne -Internacjonalizacja aplikacji -Operacje na złożonych strukturach danych -Dynamiczne elementy języka Ruby -Tworzenie interfejsów graficznych dla aplikacji -Aplikacje wielowątkowe -Pobieranie danych z baz -Dystrybucja aplikacji -Testowanie -Tworzenie aplikacji internetowych w technologii Ruby on Rails
Hal Fulton is a software developer in real life; he has two degrees in computer science and is the author of "The Ruby Way". His passions are reading, writing, music, art, and theatre. He lives in Austin, Texas, in a condo located directly above the center of the Earth. His hobbies include live music and passing counterfeit bills to tourists. His short stories have been rejected by some of the finest magazines in the country.
A mediocre, outdated, verbose book about the Ruby programming language. In 900 pages, this book covers anything any everything Ruby-related, going into (often excrutiating) detail about even the most arcane Ruby libraries. The code samples in this book are pretty bad examples of idiomatic, clean Ruby code. For example, he has a consistent habit of using rescue clauses with no exception names, a terrible practice which commonly leads to false-positives. Even syntax errors will be ignored! The explanations are pretty bad too. This book even confused me about concepts I'd already understood. This book may work as an okay cookbook, but you'd be better off just reading the Ruby Cookbook. It can also be used to discover some libraries you may have never heard of. But by all means, do NOT try to read this all the way through or, God forbid, use it to actually learn Ruby,
I was expecting to get laid. So I decided to clean my room. Under all the filth I found something. An artefact from times long gone. This book. I started it at least two years ago, and never finished it. ‘I can’t leave it that way, I will read it right away’. And now, I’ve done it. Yay.
The moral of this: Do not read this book if you want to get laid.
On one hand a bit outdated and verbose, on the other hand it explains common solutions to the usual task very well. A bit like the perl cookbook with better writing.
Probably one of the most well-known books among rubyists, "The Ruby Way" by Hal Fulton with André Arko, has now been updated and released in its third edition. The first part of the book is dedicated to the language itself and covers syntax, semantics, some comparison to other languages and specific issues, like garbage collection, that developers are well served to know when writing ruby.
The majority of the book is divided into sections that deal with specific task that a developer may encounter. From basics like working with String, numerical calculations and Enumerable collections to more advanced techniques like Threads and Concurrency, Metaprogramming, Network Programming and Distributed Ruby. Each chapter has plenty of code examples and thorough explanations.
I expect my copy to get plenty of used as my programming takes me to unknown or forgotten parts of ruby.
Not a particularly useful reference or tutorial. Fulton concentrates on canned "recipes" for solving specific problems; really all you can do is try to generalize from these approaches. His choices of problems to solve seem rather questionable (finding Easter, for instance) and he doesn't spend much time talking about best practices in Ruby, so it's ultimately just a bunch of scripts that won't be relevant to most people.
Good nuts and bolts view of Ruby (a programming language) with lots of examples. Good for Ruby programmers looking to become advanced Ruby programmers.