Viewers: in countries Watching now:
Now let's take a look at index.html in the exercise files. This HTML file runs a jQuery-based application. When the document is ready, we first get the data from the view. We do this using the getJSON() method. Once the data has been retrieved, we then cycle over all the results. For each result, we construct an image URL using the row.id, and the value. And then finally, we add the menu item name as well as the image to the photos div.
Let's upload index.html to our database so that we can serve it back to the web browser. Select Design Documents from the View dropdown, and then select Design Menu. This is the design document that was created when we created the Items view. Now select Upload Attachment, and then browse for index.html. Finally, click Upload. Now index.html is displayed as an attachment to this design document.
Click on index.html. All of the menu items now appear along with their photos. This view automatically updates whenever we change the items. Let's remove one of these documents so that it updates the menu. Go back to the homepage for Futon. Then click restaurant. And now, let's remove one of these documents. This is the keylimepie document. Click Delete Document, and then click Delete. Now, let's go back to the Photos page and click Refresh.
There are currently no FAQs about Up and Running with NoSQL Databases.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.