Franklin

Cloning Internet Applications with Ruby : Make Clones of Some of the Best Applications on the Web Using the Dynamic and Object-oriented Features of Ruby.

Other records:
Author/Creator:
Sheong, Chang Sau.
Publication:
Olton : Packt Publishing, Limited, 2010.
Format/Description:
Book
1 online resource (347 pages)
Subjects:
Ruby (Computer program language).
Object-oriented programming (Computer science).
Form/Genre:
Electronic books.
Summary:
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. 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.
Contents:
Intro
Cloning Internet Applications with Ruby
Table of Contents
Cloning Internet Applications with Ruby
Credits
About the Author
Acknowledgement
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Cloning Internet Applications
Who would find this book useful
Popular Internet applications
Technologies used
Sinatra
Installing
Routes
Splitting a route into multiple files
Redirection
Filters
Static pages
Views
Layouts
Helpers
Error handling
DataMapper
Installing
Connecting to the database
Creating models
Defining associations between models
One-to-one
One-to-many
Many-to-many
Creating the database tables
Finding records
Haml
Installing
Using Haml
Haml and Ruby
How this book works
Caveat
Summary
2. URL Shorteners - Cloning TinyURL
All about URL shorteners
Main features
Designing the clone
Creating a short URL for each long URL
Automatically redirecting from a short URL to a long URL
Providing a customized short URL
Filtering undesirable words out
Previewing the long URL
Providing statistics
Technologies and platforms used
Sinatra
Haml
DataMapper
Blueprint CSS
Mashups
Google Chart API
HostIP
Heroku
Building the clone
Data model
Url
Link
Visit
Application flow
Deploying the clone
Summary
3. Microblogs - Cloning Twitter
All about microblogs
Twitter
Why Twitter?
Simple
A means to have public conversation
Fan versus friend
Understanding user behavior
Easy to share through text messaging
Easy to access through multiple devices and applications
Main features
Designing the clone.
Posting statuses
Following users
Sending publicly directed messages
Sending privately directed messages
Re-tweeting
Public timeline
API
Authentication, access control, and user management
Third party authentication and access control
Authentication and user management
Scalability and stability
Technologies and platforms used
JSON
Mashups
RPX
Google ClientLogin
Gravatar
TinyURL
Heroku
Building the clone
Modeling the data
User
Status
Building the application flow
Authenticating and managing users
Displaying and updating statuses
Sending and displaying direct messages
Showing and forming relationships
Implementing the API
Deploying the clone
Deploying locally
Deploying to the cloud
Summary
4. Photo Sharing - Cloning Flickr
All about photo-sharing services
Flickr
Main features
Designing the clone
Authentication, access control, and user management
Albums and photos
Uploading and storing photos
Filesystem
Database
Comments
Annotations
Editing photos
Friendly URLs
Sharing photos
Technologies and platforms used
Mashups
RPX
Gravatar
Pixlr
Amazon Web Services Simple Storage Service (S3)
RightAWS
Building the clone
Configuration
Modeling the data
User
Album
Photo
Annotation
Comment
Building the application flow
Authenticating and managing users
Landing page
Managing albums
Uploading photos
Displaying photos
Annotating photos
Commenting on photos
Editing photos
Sharing photos
Deploying the clone
Deploying on a server
Summary
5. Social Networking Services - Cloning Facebook 1
All about social networking services
Facebook
Main features
User
Community
Content sharing
Designing the clone.
Authentication, access control, and user management
Status updates
User activity feeds and news feeds
Friends list and inviting users to join
Posting to the wall
Sending messages
Attending events
Forming groups
Commenting on and liking content
Sharing photos
Blogging with pages
Technologies and platforms used
Mashups
Facebook Connect
Building the clone
Configuring the clone
Modeling the data
User
Request
Message
Album
Photo
Status
Group
Event
Page
Wall
Activity
Comment
Like
Summary
6. Social Networking Services - Cloning Facebook 2
Building the application flow
Structure of the application and flow
Authenticating and managing users
Landing page, news feed, and statuses
Inviting friends and friends list
Registering a Facebook application
Creating a cross-domain communication channel file
Writing the code
User page and activity feeds
Posting to a wall
Sharing photos
Managing albums
Uploading photos
Displaying photos
Annotating photos
Viewing friends' photos
Sending messages
Creating events
Forming groups
Sharing content through pages
Commenting and liking
Deploying the clone
Deploying locally
Deploying to the cloud
Summary
Index.
Notes:
Description based on publisher supplied metadata and other sources.
Local notes:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2021. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Other format:
Print version: Sheong, Chang Sau Cloning Internet Applications with Ruby
ISBN:
9781849511070
9781849511063
OCLC:
733734924
Loading...
Location Notes Your Loan Policy
Description Status Barcode Your Loan Policy