Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Metadata and Push—Creating Agile View... > Creating the first view using metada...

Creating the first view using metadata

We will now create the first view using metadata. You may be wondering what a view means. Basically, a view is an erb file, which contains HTML and a little bit of Ruby code. These views are traditionally meant to be at the client device but metadata allows you to have them at the server. The advantage of having these views at the server is: if you want to change any view, you just need to change it at the server and it would be reflected at the client without the need for reinstalling at the client.

Generally, we will use metadata when our views are not fixed and keep changing. For using metadata there are many templates available that can be used directly. A view can be a collection of a number of templates.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint