Nov 15, 2009

Group Iteration 2

Well we made it through iteration 2 and are now working to complete iteration 3. For iteration 2 I used buttons with onClick event handlers to make requests using the proxy pass through to retrieve web services for the Wine.com API and the Blog API. Also, I incorporated the Google Map into our web page.


Right now I am still working on taking this raw xml data and tyring to parse it into useful information. I am having a little difficullty figuring out some of this. We also need to add in one more API into our page.

Many of the class had great suggestions for adding another API. I am completely open to all suggestions and advice. Hopefully this will all come together over the next four weeks and the project will be ready for iteration 3.

6 comments:

  1. Hey Helen,
    I think you and your group will be successful! If you need help, just ask. I think everybody will be glad to help you!

    ReplyDelete
  2. Well Helen, it appears that you guys are coming along quite nicely. As far as parsing the XML goes, I think that's the trickiest (and most annoying) part of this whole API process. What I've found is that you have to return the XML in it's raw form like you have it now, then you have to manually read through it and figure out which tag names you need to get information from. Once you have figured out the tag names you need, you then have to make some sort of loop or something in JavaScript that will search for those tag names ("getElementsByTagName") and take the information from it....I tried to do a blog about it so maybe it will help you, but it's pretty confusing...http://is449w.blogspot.com/2009/11/parsing-xmlrss-in-javascript.html I hope it helps!

    ReplyDelete
  3. Hi Helen,

    I'm also having problems with the parsing of the data on my individual project. Matt had a nice response with helpful information. Hopefully his blog will help guide us or get us going in the right direction. Your site is coming along nicely!

    ReplyDelete
  4. I agree with Matt, parsing the return data can be a real PITA. One thing that I did to assist me was search out code on the internet that matched the API I was using. Thankfully there were some good tutorials I found.

    ReplyDelete
  5. Helen,

    Glad to see things are coming together for your group. Your pretty much almost there, i'd be happy to share my limited knowledge with ya'll or anyone else needing help. Sometimes that other set of eyes really helps. But the best thing i have found is to take a break from the code for a bit if i find i am spending alot of time getting nowhere. Then i come back later and may see something i didn't before.

    But your group working with your product may help too. :-)

    ReplyDelete
  6. Helen,
    I think you guys are on the right direction. We actually have the same issues, with parsing through the xml file. Actually I think I have a pretty good idea how you can do that, since we got some help from Jassin in preparing for itteration 2. Actually the professor posted some new requirements for the project so we may have less to do right now.

    ReplyDelete