Cloning Internet Applications with Ruby
|Also available on:|
- Build your own custom social networking, URL shortening, and photo sharing websites using Ruby
- Deploy and launch your custom high-end web applications
- Learn what makes popular social networking sites such as Twitter and Facebook tick
- Understand features of some of the most famous photo sharing and social networking websites
- A fast-paced tutorial to get you up and running with cloning some of the most impressive applications available on the Web.
Book DetailsLanguage : English
Paperback : 336 pages [ 235mm x 191mm ]
Release Date : August 2010
ISBN : 1849511063
ISBN 13 : 9781849511063
Author(s) : Chang Sau Sheong
Topics and Technologies : All Books, Open Source
Table of Contents
Chapter 1: Cloning Internet Applications
Chapter 2: URL Shorteners – Cloning TinyURL
Chapter 3: Microblogs – Cloning Twitter
Chapter 4: Photo Sharing – Cloning Flickr
Chapter 5: Social Networking Services – Cloning Facebook 1
Chapter 6: Social Networking Services – Cloning Facebook 2
The interesting thing is that the author describes four well-known applications and shows you not only how to implement each one, but describes different concerns about each type of application.Read more
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 2 submitted: last submission 28 Feb 2012
Errata type: Typo | Page numbers: 18
In the sample code for 'class User'... property :description, TExt TExt should be Text
Errata type: Typo | Page numbers: 19
property :id, Serial
"belongs_to, :user" should not have a comma and should read "belongs_to :user"
What you will learn from this book
- Discover in depth the major features of TinyURL, Twitter, Flickr, and Facebook and what makes them work
- Discover how each of these popular Internet services can be modeled with DataMapper
- Create clones of these Internet services using Rack and Sinatra
- Use third-party authentication providers with OpenID
- Deploy the cloned Internet services to the cloud using Heroku
- Use Amazon S3 to store data for your clones
Most users on the Internet have a few favorite Internet web applications that they use often and cannot do without. These popular applications often provide essential services that we need even while we don’t fully understand its features or how they work. Ruby empowers you to develop your own clones of such applications without much ordeal. Learning how these sites work and describing how they can be implemented enables you to move to the next step of customizing them and enabling your own version of these services.
This book shows the reader how to clone some of the Internet's most popular applications in Ruby by first identifying their main features, and then showing example Ruby code to replicate this functionality.
While we understand that it connects us to our friends and people we want to meet up with, what is the common feature of a social network that makes it a social network? And how do these features work? This book is the answer to all these questions. It will provide a step-by-step explanation on how the application is designed and coded, and then how it is deployed to the Heroku cloud platform. This book’s main purpose is to break up popular Internet services such as TinyURL, Twitter, Flickr, and Facebook to understand what makes it tick. Then using Ruby, the book describes how a minimal set of features for these sites can be modeled, built, and deployed on the Internet.
Break up and rewrite popular social networking and other Internet applications using Ruby
This is a hands-on book with plenty of well-explained code. Each chapter has a standalone project in which a complete web application with specific features of a social networking site is emphasized. The final chapter of the book is a project that has a complete and fully developed social networking site. Each chapter begins with a brief description of the features of the Internet service and the market it is within. After extracting the main features of the service, the chapter goes into explaining how a clone of the service can be designed, followed by a short description of the technologies and platforms being used. The bulk of the chapter goes into describing how the clone is built, with step-by-step explanations and code examples. Finally, the chapter shows how the finished clone can be deployed on the Internet.
Who this book is for
This book is written for web application programmers with an intermediate knowledge of Ruby. You should also know how web applications work and you have used at least some of the cloned Internet services before. If you are a trying to find out exactly how can you make your very own customized applications such as TinyURL, Twitter, Flickr, or Facebook, this book is for you. Programmers who want to include features of these Internet services into their own web applications will also find this book interesting.