Rails 4 Application Development: Hotshot


Rails 4 Application Development: Hotshot
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Build interesting application scenarios with Rails 4
  • Upgrade your knowledge for the latest changes in the Rails framework
  • Follow the project-based approach to building applications from simple to advanced skill levels

Book Details

Language : English
Paperback : 378 pages [ 235mm x 191mm ]
Release Date : April 2014
ISBN : 1783286296
ISBN 13 : 9781783286294
Author(s) : Saurabh Bhatia
Topics and Technologies : All Books, Open Source


Table of Contents

Preface
Project 1: A Social Recipe-sharing Website
Project 2: Conference and Event RSVP Management
Project 3: Creating an Online Social Pinboard
Project 4: Creating a Restaurant Menu Builder
Project 5: Building a Customizable Content Management System
Project 6: Creating an Analytics Dashboard using Rails and Mongoid
Project 7: Creating an API Mashup – Twitter and Google Maps
Project 8: API Only Application – Backend for a Mobile App
Project 9: Video Streaming Website using Rails and HTML5
Project 10: A Rails Engines-based E-Commerce Platform
Index
  • Project 1: A Social Recipe-sharing Website
    • Mission briefing
    • Creating mockups
    • Adding test data and creating tests
    • Adding categories
    • Creating and adding recipes
    • Creating associations – recipes and categories
    • Adding authentication
    • Beautifying your views
    • Mission accomplished
    • Hotshot challenges
  • Project 2: Conference and Event RSVP Management
    • Mission briefing
    • Creating and administrating events
    • Creating search-friendly URLs for events
    • Adding tags to events
    • Tagging-based search and tag cloud
    • Adding Gravatar for a user
    • Creating RSVPs for events
    • Adding event moderation
    • Creating "My events" to manage events created by users
    • Mission accomplished
    • Hotshot challenges
  • Project 3: Creating an Online Social Pinboard
    • Mission briefing
    • Creating file uploads and image resizing
    • Creating an infinitely scrollable page
    • Creating a responsive grid layout
    • Adding a full-text search
    • Resharing the pins and creating modal boxes using jQuery
    • Enabling the application to send a mail
    • Securing an application from cross-site scripting or XSS
    • Mission accomplished
    • Hotshot challenges
  • Project 4: Creating a Restaurant Menu Builder
    • Mission briefing
    • Creating organizations with sign up
    • Creating restaurants, menus, and items
    • Creating user roles
    • Creating plans
    • Creating subdomains
    • Adding multitenancy and reusable methods
    • Creating a monthly payment model, adding a free trial plan, and generate a monthly bill
    • Exporting data to a CSV format
    • Mission accomplished
    • Hotshot challenges
  • Project 5: Building a Customizable Content Management System
    • Mission briefing
    • Creating a separate admin area
    • Creating a CMS with the ability to create different types of pages
    • Managing page parts
    • Creating a Haml- and Sass-based template
    • Generating the content and pages
    • Implementing asset caching
    • Mission accomplished
    • Hotshot challenges
  • Project 6: Creating an Analytics Dashboard using Rails and Mongoid
    • Mission briefing
    • Creating a MongoDB database
    • Creating a click-tracking mechanism
    • Creating a visit-tracking mechanism
    • Writing map-reduce and aggregation to fetch and analyze data
    • Creating a dashboard to display clicks and impression values
    • Creating a line graph of the daily click activity
    • Creating a bar graph of the daily visit activity
    • Creating a demographic-based donut chart
    • Mission accomplished
    • Hotshot challenges
  • Project 7: Creating an API Mashup – Twitter and Google Maps
    • Mission briefing
    • Creating an application login with Twitter
    • Calling all Twitter friends
    • Getting latitude and longitude details of the user's location
    • Passing Twitter data to the Google Maps API using Rails
    • Displaying friends on the map using the Google API
    • Creating points of interest – filter users based on their location
    • Mission accomplished
    • Hotshot challenges
  • Project 10: A Rails Engines-based E-Commerce Platform
    • Mission briefing
    • Creating a category and product listing
    • Creating a shopping cart and an Add to Cart feature
    • Packaging the engine as a gem
    • Mounting the engine on a blank Rails application
    • Customizing and overriding the default classes
    • Mission accomplished
    • Hotshot challenges

Saurabh Bhatia

Saurabh Bhatia has been developing professional software since 2005. However, his programming interests date back to his school days. Starting with Java, he quickly moved to Ruby on Rails in 2006, and it has been his primary choice of development framework since then. He built a Ruby on Rails consulting company and ran it for five years. He has worked with several companies in the tech industry, from getting two-person startups off the ground to developing software for large corporates. He is currently the CTO of Ruling Digital Inc., a software company that develops software for universities.

He has been an open source enthusiast and has helped Ubuntu penetrate the Indian market since 2007. He was a part of the open source promotion society called Twincling Society for Open Source in Hyderabad. He started and moderated Bangalore Ruby Users Group and also moderates the Mumbai Ruby Users Group. He is also a part of the RailsBridge initiative for mentoring new Rails developers.

Over the years, he has written several articles online and in print for different publications, such as Linux User and Developer, Linux For You, Rails Magazine, Developer.com (http://www.developer.com/), and SitePoint Ruby (http://www.sitepoint.com/ruby/). He currently resides in Taiwan. He wishes to continue writing and share his knowledge as much as possible with budding developers.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

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.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Rails 4 Application Development: Hotshot +    Oracle Essbase 11 Development Cookbook =
50% Off
the second eBook
Price for both: ₨406.40

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Learn about new syntaxes and semantics introduced in Rails 4 and their practical usage
  • Discover new ways to use the components and gems from previous versions of Rails
  • Set up full text search, endless scroll, and modal boxes
  • Create mountable engines and make code reusable
  • Make multiple APIs (such as Google Maps and Twitter) work with each other
  • Create API-only applications to serve as a backend for mobile applications
  • Understand the basics of the new testing framework in Rails 4
  • Create a video sharing website using Rails 4 along with HTML5 and CSS3 concepts

In Detail

Rails is a rapidly moving, open source, web development framework, and keeping up to speed with it is a big task. You might have already built applications using it, but there have been significant changes in the syntax and semantic of the Rails framework in the latest upgrade. Upgrading applications needs an approach that not only helps the upgrade, but also helps to improve on what has already been built, so that it performs even better.

Presenting a practical approach to upgrading your knowledge for Rails 4, this guide shows you how to build the most popular types of applications using Rails 4, and highlights new ways to do things. The book also closely follows lots of the best practices, gems, and popular solutions already known to the community, and tracks the changes in these based on Version 4 of Rails. This book brings new ideas to refactor and restructure code to make it perform better in production, and enables you to write production-ready code.

The book starts off with relatively simple application, demonstrating the new application structure, the testing framework, and several day-to-day tasks. The complexity of applications will increase with each chapter.

In the first half of the book, you will learn to build a recipe sharing website, a conference and RSVP management application, an online Pinboard similar to Pinterest, a SaaS-based application, and a customizable content management system demonstrating concepts. In the later half, you will get to know MongoDB by building an analytics dashboard using MongoDB and Rails. You will also create a mash-up of some common APIs such as Google Maps and Twitter and make them work with one another. One of the new features we will look at in this book is an API-only application with no frontend. At the end of the book, you will learn how to use HTML5 concepts to your advantage and extend the Rails framework with reusable engines.

This book is designed to update, upgrade, and improve your knowledge of Rails 4, as well as your applications.

 

Approach

Attractive practical projects to polish your application building skills, through a straightforward, highly focused and interesting approach towards application development.

Who this book is for

If you are a developer who is already familiar with the basics of the Rails framework and have previously worked with Rails 3.2 or earlier, then this is the ideal book for you. It is assumed that you have some prior experience with the development of applications. This book will help you to upgrade your existing knowledge and also ensure its applicability. You will be expected to setup Rails, MySQL / PostgreSQL, Mongodb and required dependencies themselves.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software