Showing posts with label ruby programming language. Show all posts
Showing posts with label ruby programming language. Show all posts

Pro Active Record: Databases with Ruby and Rails (Expert's Voice) Review

Pro Active Record: Databases with Ruby and Rails (Expert's Voice)
Average Reviews:

(More customer reviews)
Are you looking to buy Pro Active Record: Databases with Ruby and Rails (Expert's Voice)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Pro Active Record: Databases with Ruby and Rails (Expert's Voice). Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Pro Active Record: Databases with Ruby and Rails (Expert's Voice) ReviewRight at the start of Pro Active Record the authors address a possible problem some may have with it: that there's not enough in Active Record to warrant a full book. They point out that the basics are well covered as sections elsewhere but that this is the first book to really dig into working with legacy schema and other `advanced' uses. That's fair enough, but after reading the book I am still left with the question of why, then, they dedicate the first half to covering ActiveRecord's most basic concepts?
Judging from postings on the rails email list, there's certainly a lot of confusion about ActiveRecord, associations, observers, how to work with legacy table names and primary keys, and so on. But in a book with a title prefix of "Pro" I was expecting to jump straight into the nitty gritty of topics like compound/composite primary keys and performance tuning, probably with some real world examples, and maybe with a serious exploration of AR's internals. As it is, such topics only get a quick treatment in the final chapter (the compound/composite primary keys section is a paragraph referring users to a plugin).
It's almost always instructive reading other developers' code and it would be unfair to claim that I didn't spot a couple of tips that may prove useful, but they were passing things. And sometimes I found myself wondering what happened to the tech review process, particularly in the coverage of the has_one association, where not only is the variable naming confusing, but they seem to be calling the each method on a single ActiveRecord instance.
I'm left wondering what the audience is for this book. The title and blurbs suggest it's pitched at people who want to go deeper into ActiveRecord than they have before, but the content is better suited for someone with some database experience who wants to pick up ActiveRecord to write some scripts. As it is, if you've worked with ActiveRecord before your time will be better spent writing plugins and exploring the internals for yourself, and if you've not you'll get most of the same material from a decent Rails book and some time exploring.
Disclaimer: I was sent a copy of this book for review by the publisher.Pro Active Record: Databases with Ruby and Rails (Expert's Voice) OverviewDespite it's less than catchy name, ActiveRecord is a key part of the "magic" that makes Ruby on Rails such a hit. Without ActiveRecord, there would be no Rails. ActiveRecord is the connection between a Rails application and its data. Ruby and Ruby on Rails developers who want to exploit all the features of Ruby, of Rails, of their chosen database must learn ActiveRecord.Pro ActiveRecord for Ruby picks up with ActiveRecord where most books on Ruby and the Rails framework leave off. Readers begin by learning about all the built-in assumptions that make it so wondrously easy to create freshly-built Rails applications from scratch. Next, readers learn how to adapt ActiveRecord to work with databases - and this includes just about all preexisting databases - that were designed without those assumptions in mind. Readers go on to learn how to tie ActiveRecord in with database-specific features such as stored procedures and large objects, how to migrate legacy database designs to work better with ActiveRecord, and how to extend ActiveRecord to provide new and innovative database functionality to their applications. Readers who absorb the knowledge given in this book will have a significant competitive advantage over those with only a superficial knowledge of the topic.

Want to learn more information about Pro Active Record: Databases with Ruby and Rails (Expert's Voice)?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

The Ruby Programming Language Review

The Ruby Programming Language
Average Reviews:

(More customer reviews)
Are you looking to buy The Ruby Programming Language? Here is the right place to find the great deals. we can offer discounts of up to 90% on The Ruby Programming Language. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

The Ruby Programming Language ReviewOriginally planned as a second edition to Ruby classic, Ruby In A Nutshell, The Ruby Programming Language is a new book by David Flanagan and Yukihiro Matsumoto (a.k.a. Matz - creator of Ruby) and published by O'Reilly. The book covers both Ruby 1.8 and 1.9 and with its esteemed authors and technical approach, is sure to become a new "Bible" for Ruby developers.
As of the start of 2008 this book is REALLY fresh and up to date. Its style is very direct and matter-of-fact; well suited for existing Ruby developers and proficient developers coming from other languages. The examples are clear and logical and the explanations concise; this is a well edited and authoritative book.
The structure of the book is a delight with ten well-defined chapters (with titles such as Reflection and Metaprogramming, Statements and Control Structures, and Expressions and Operators) that each contain a tree of sections. Consider Chapter 4, Expressions and Operators. A sample dive down to section 4.5.5.2 takes us through 4.5, Assignments; 4.5.5, Parallel Assignment; and finally to 4.5.5.2, One lvalue, multiple rvalues. This is a breath of fresh air in a Ruby reference work.
The only downside, in terms of the thousands who might be browsing Amazon looking for a single Ruby book to start off with, is that this book is so well focused on documenting the core elements of the Ruby language, it doesn't work either as a tutorial / beginner's introduction to Ruby, or as an exhaustive reference work (as, on both fronts, the Pickaxe attempts to be.) This lack of dilution may be an ultimate strength, however, since anyone above the station of "beginner" will be able to learn Ruby thoroughly from this book, use it as a general reference, and then be able to use the exhaustive documentation that comes with Ruby itself to cover the standard library and built-in classes.
In conclusion, whether you're an existing developer or a newcomer to Ruby, you need just three things to be up and running with Ruby in the book / documentation department. Buy this, the Ruby Way (by Hal Fulton), and learn how to use the documentation that comes with Ruby.
This book will act as the "Bible" for Ruby, the Ruby Way will make you an expert, and learning how to use the documentation that comes with Ruby will mean you're not using information that's out of date within a couple of years. The perfect combo! It'll last you for years.The Ruby Programming Language Overview
The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.
Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.
why the lucky stiff, artist and Ruby programmer extraordinaire.
This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

Want to learn more information about The Ruby Programming Language?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...