Book Image

Building Dynamic Web 2.0 Websites with Ruby on Rails

By : A P Rajshekhar
Book Image

Building Dynamic Web 2.0 Websites with Ruby on Rails

By: A P Rajshekhar

Overview of this book

<p>Ruby on Rails is an open-source web application framework ideally suited to building business applications; accelerating and simplifying the creation of database-driven websites. Often shortened to Rails or RoR, it provides a stack of tools to rapidly build web applications based on the Model-View-Controller design pattern.<br />&nbsp;<br />This book is a tutorial for creating a complete website with Ruby on Rails. It will teach you to develop database-backed web applications according to the Model-View-Controller pattern. It will take you on a joy ride right from installation to a complete dynamic website. All the applications discussed in this book will help you add exciting features to your website. This book will show you how to assemble RoR's features and leverage its power to design, develop, and deploy a fully featured website. Each chapter adds a new feature to the site, adding new knowledge, skills, and techniques.</p>
Table of Contents (16 chapters)
Building Dynamic Web 2.0 Websites with Ruby on Rails
Credits
About the Author
About the Reviewer
Preface
Index

Understanding the Requirements


The important point to keep in mind while 'Ajaxifying' any functionality is that, not all functionalities will get more responsive and interactive by using Ajax in them. For example, if you want the user to be able to bookmark a page, then its better not to Ajaxify that page. The reason is that the Ajaxified page is not registered. Due to such situations, we need to be careful while choosing the functionalities for 'Ajaxifying'. Keeping this point in mind, let us see on which functionalities we can apply Ajax. The criteria on which we can decide this is the 'number of clicks required to access the functionality'. On the basis of this criterion, the following are the functionalities that we can Ajaxify:

  • Live search: The search by tag functionality is static. That means, until the user clicks on submit after entering the tag to be searched, the search results will not be displayed. Using Ajax, we can make it live. That means, as the user types the search string...