Get flash to fully experience Pearltrees
Eric Bidelman , Google Data APIs Team February 2009 Contents Introduction "Where's Ruby on the list of client libraries ?" Motivated by the ferocious appetite of our developers and the enduring popularity of Ruby on Rails (RoR), my colleague Jeff Fisher has forged a Ruby utility library from the fiery depths of Mount Doom. Mind you, it's not a full-blown client library, but it does handle the fundamentals like authentication and basic XML manipulation.
Status: This library is currently alpha and under active development. Don't use it in critical applications just yet! Description The Google API Ruby Client makes it trivial to discover and access Google APIs .
You can find below a sample code implementing OAuth2 and an access to the ‘/me’ endpoint. The script will redirects you to the Viadeo OAuth2 authentication page, just enter some Viadeo credentials and you will be redirected to ‘https://api.viadeo.com/me’ with the accesss_token set. This samples runs with Ruby 1.8 + Rails 2.3.4. Note : Error catching is here minimal, you have to implement a better error management. Please also note than if you activate cookies, the authentication session of the user will be kept. <p style="text-align:right;color:#A8A8A8"></p>
The book you should get to dig deeper into Solr Click here if you want to see a PDF version of this tutorial. Full source code for this tutorial is available at GitHub. Everyone wants to take their databases to run everything as fast as possible. We usually say query less, add more caching mechanisms, add indexes to the columns being searched, but another solution is not to use the database at all and look for better solutions for your querying needs. When querying for text in our databases, we’re often doing “LIKE” searches.
(Yes it's a long title, since people kept asking me to write about this and that too :) I do when it has a point.) While SQL databases are insanely useful tools, their monopoly in the last decades is coming to an end. And it's just time: I can't even count the things that were forced into relational databases, but never really fitted them. (That being said, relational databases will always be the best for the stuff that has relations .)
The Easy Bay Ruby Meetup Group presented this event in Berkeley, CA on July 20, 2010. Presentation by Wolfram Arnold, Ph.D, founder of RubyFocus. Produced by Marakana.
Abstract Note You are reading the text of an O'Reilly book that's under development. The authors are publishing the book to this site as it's being written, and we're putting it here to get feedback from you. This book uses the Open Feedback Publishing System (OFPS) , an O'Reilly experiment that tries to bridge the gap between private manuscripts and public blogs. Rails in a Nutshell is a concise introduction to Rails, an overview of commands and configurations, and a guide to the parts of Rails you’ll be using every day.
If you don't know what is a sitemap , I strongly encourage you to fill this gap in knowledge first and then get back to reading. It seems to be clear that manual updating a sitemap can turn into a horror. Hopefully we can make the Rails do the job for us. So, what components are we going to need to build a dynamic sitemap? Well, we are going to need a separate action (or even controller), an XML view and model methods to provide us with URL data. Let's start from creating the Sitemap controller and its index action:
A couple of years ago a lot of buzz started in the Ruby community about Erlang , a functional programming language developed by Ericsson originally for use in telecommunications systems. I was intrigued by the talk of fault tolerance and concurrency, two of the cornerstones that Erlang was built on, so I ordered the Programming Erlang book written by Joe Armstrong and published by the Pragmatic Programmers and spent a couple of weeks working through it. A year later, Kevin Smith began producing his excellent Erlang in Practice screencast series in partnership with the Pragmatic Programmers. It’s amazing how much difference it made for me to be able to watch someone develop Erlang applications while talking through his thought process along the way. As I was learning Erlang, I kept threatening to rewrite the poller service that handles updating Campfire chat rooms when someone speaks in room.