Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Part 8: Binding to Cookbook Data (2 of 2) - Modifying the data.js

Download

Right click “Save as…”

In this lesson, we first learn about the composition of the JSON file containing our apps data, then we make changes to the data.js to retrieve JSON data containing information about the recipe groups and items. 

Tags:

Follow the Discussion

  • Joe CJoe C

    I am lost, if this what you have to do to create an app in Windows 8. Microsoft is has more problems then people unhappy with windows 8. Bobs First JS series were great this is not close to beginner level. All I could say is Microsoft needs to look at Android and Apples platform and START OVER. I have been speaking to .NET developers that have given up. This is Crazy to think developers will sit here trying figure out this API mess. I thought Win 8 had a chance I no longer do after working with this API.

    This simple Example (I could write in a few days in HTML 5 and JS script). I have NOT A CLUE of what is going on, and can not even see a speed advantage of what they are doing. Bob is a assume teacher this might not be teachable. Almost every Microsoft reference web page is incorrect.

  • @Joe C: Hi Joe, I responded to your other post (video 1 in this series) ... it is similar in nature ... hopefully you and I can continue this thread there.  Thanks!

  • Chantal SloepChantal Sloep

    Hi Bob,

    Thank you for this serie of lessons. I'm an absolute beginner at app development, and I'm very inpatient aswell :-)
    I understand how I can bind data with the same markup in one page. What I don't understand is how I should get different types of data (with different html markup) into the item detail page. So the first item is an image, the second item is a paragraph, the third item are a few links, etc. All these items do belong to the same group.

    Should I make more pages, or can I get every item in the itemDetail.html?

    Thanks in advance :-)

  • @Chantal Sloep: Hi, I think you'll see how we modify the html template to incorporate additional data / remove data items from that page.  Follow along a little further ... I think the answer is around the corner.  If not, please by all means re-ask the question.  Good luck!

  • Chantal SloepChantal Sloep

    Thank you for your quick answer. Can you tell me which lesson covers the subject? I'm about to start lesson 13 now, but that seem to be a different subject. The previous lessons didn't clear it up for me yet...

    I did notice that in lesson 12, the item detail page is customized so invalid bindings have been removed and new bindings are added to display the right data.

    However in the cookbook example every item is the same, they're all recipies. all recipies have the same components (like prep time, ingredients and directions), just filled with different data.

    What I'm looking for is how to add items with different components into the item details page. The HTML markup differs per item, so the HTML markup inside the content-div of the items detail page, isn't the right markup for other items that contain different components.

    Thanks again for helping me out :-)

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.