CSCE 315 Lecture 25

From Notes
Jump to navigation Jump to search

« previous | Wednesday, March 28, 2012 | next »


Middleware

  • Layer between applications and more basic system (OS) or between applications
  • Common interface for distributed applications.
  • Allows cross-platform communication (implementation details not necessary; Google Maps, for example)
  • Usually used over network

Common INterchange Formats

  • XML
  • YAML
  • SOAP (extension of XML)
  • JSON (JavaScript Object Notation)
  • HTTP

Web Services

Common use across many programs

  • Internal state maintained
  • State passed through messages

RPC Web Services

Remote Procedure Call

Calling a function in code, but that code is located somewhere else.

RESTful Web Services

REpresentational State Transfer

very few and simple commands (GET, PUT), but more complex method of describing resources

Each resource typically has its own URL


Service-Oriented

Symfony framework


XML

Extensible Markup Language

Goal is to provide consistent data transfer.

Data may be more complicated that "traditional" formats (like plain text) would support.

Markup Languages

"tag" information to give a sense of meaning/semantics

  • HTML
  • TeX/LaTeX