03 Interfaces and Technology Flashcards
1
Q
JavaScript
A
Client-side programming language
- manipulate DOM
- change HTML
- change CSS
communicate with server
- send / receive data
2
Q
Ajax - Whats New?
A
changes the fundamental interaction model of the web
3
Q
Sessions
A
- HTTP is a stateless protocol
- user identifiable only on application layer
- cookies store token that is resent with every call
- server looks up token and assigns resources (e.g. shopping basket)
- token validity period is called “session”
4
Q
What are web services?
A
- technology that allows applications to communicate with each other in a platform- and programming lanuage-independet manner
- software interface that describes a collection of operations that can be accessed over the network through stnadardized XML messaging
- protocols based on XML to describe an operation or data to exchange with another web service
5
Q
Roles in web service infrastructures
A
service provider
- provides service and service description
- responsible for implementation, operation and maintenance
service consumer
- uses service, requests service description
- searches for descriptions
service trader
- saves and categorizes descriptions
- provides search functionality
6
Q
Web services: Different implentations
A
Web Services
- Query address for each application: http://domain.com/weather
- XML request contains functionality
- XML response
REST
- Query address contains functionality and parameters
- http://domain.com/weather/city/5
- JSON