{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture24-networking-servermodels

Lecture24-networking-servermodels - Announcements Last...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 3214 Computer Systems Godmar Back Lecture 24 Announcements Last exercise: run your project 6 service on EC2 – Due by p6 deadline, posted later today Final Exam – Dec 12, 7-9pm, 460 Saunders – Announcement will be posted online CS 3214 Fall 2011 12/7/2011 2 Some of these slides are substantially derived from slides provided by Jim Kurose & Keith Ross. Copyright on this material is held by Kurose & Ross. Used with permission. The textbook is Computer Networking: A Top Down Approach Featuring the Internet Jim Kurose, Keith Ross, Addison-Wesley, July 2004 NETWORKING Part 2 CS 3214 Fall 2011 12/7/2011 3 Mashups Web applications that combine and mix data from different sources CS 3214 Fall 2011 12/7/2011 4 Source A http://www.lib.edu/sourceA Source C http://any.host.domain/sourceC Source B http://opac.lib.edu/sourceB Mash-Up Server http://mashup.lib.edu HTML A Base Server http://www.lib.edu Client Browser Server-side Mash-Up C Base Page B CS 3214 Fall 2011 12/7/2011 5 Source A http://www.lib.edu/sourceA Source C http://any.host.domain/sourceC Source B http://opac.lib.edu/sourceB A Proxy http://www.lib.edu/proxy Base Server http://www.lib.edu HTML+JavaScript XMLHttpRequest Client Browser Proxy-Based Mash-Up C Base Page B CS 3214 Fall 2011 12/7/2011 6
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 Source A http://www.lib.edu/sourceA Source C http://any.host.domain/sourceC Source B http://opac.lib.edu/sourceB Base Server http://www.lib.edu HTML+JavaScript A XMLHttpRequest + XML/Text Same Origin Restriction XMLHttpRequest + XML/Text Same Domain Restriction No Domain Restriction Client Browser Client-side Mash-Up C <SCRIPT> + JSON Base Page B (via hidden frame) CS 3214 Fall 2011 12/7/2011 7 HTTP & JSON In modern web applications, HTTP is increasingly initiated from code – Either directly, e.g., XMLHttpRequest – Or indirectly, via SCRIPT/JSON Or indirectly, via SCRIPT/JSON • Example: http://books.google.com/books?jscmd=viewapi&b ibkeys=0060731338&callback=callThisFunction CS 3214 Fall 2011 callThisFunction({"0060731338":{"bib_key":"0060731338", "info_url": "http://books.google.com/books?id=HCInGwAACAAJ\x26source=gbs_ViewAPI", "preview_url": "http://books.google.com/books?id=HCInGwAACAAJ\x26source=gbs_ViewAPI",“
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern