05459nam 2200661Ia 450 991045943530332120200520144314.01-282-75041-097866127504101-84951-107-1(CKB)2670000000055194(EBL)1561436(SSID)ssj0000414246(PQKBManifestationID)11269628(PQKBTitleCode)TC0000414246(PQKBWorkID)10395625(PQKB)10814593(MiAaPQ)EBC1561436(PPN)228012074(Au-PeEL)EBL1561436(CaPaEBR)ebr10435378(CaONFJC)MIL275041(OCoLC)733734924(EXLCZ)99267000000005519420100920d2010 uy 0engur|n|---|||||txtccrCloning internet applications with Ruby[electronic resource] make your own TinyURL, Twitter, Flickr, or Facebook using Ruby /Chang Sau SheongBirmingham, U.K. Packt Pub.20101 online resource (336 p.)Community experience distilledIncludes index.1-84951-106-3 Cover; Copyright; About the Author; Acknowledgement; About the Reviewers; Table of Contents; Preface; Chapter 1:Cloning Internet Applications; Who would find this book useful; Popular Internet applications; Technologies used; Sinatra; Installing; Routes; Splitting 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; Creating the database tables; Finding records; Haml; Installing; Using Haml; Haml and Ruby; How this book works; CaveatSummaryChapter 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; Chapter 3:Microblogs - Cloning TwitterAll about microblogsTwitter; Why Twitter?; 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 flowAuthenticating and managing usersDisplaying 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; Chapter 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; Comments; Annotations; Editing photos; Friendly URLs; Sharing photos; Technologies and platforms used; Mashups; RPX; Gravatar; PixlrAmazon 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; Chapter 5:Social Networking Services - Cloning Facebook 1; All about social networking services; Facebook; Main features; User; Community; Content sharing; Designing the cloneAuthentication, access control, and user managementThis 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 technologiesRuby (Computer program language)Object-oriented programming (Computer science)Electronic books.Ruby (Computer program language)Object-oriented programming (Computer science)005.117006.76Chang Sau Sheong893823MiAaPQMiAaPQMiAaPQBOOK9910459435303321Cloning internet applications with Ruby1996625UNINA