Lecture 07: Technology and Standards Flashcards

1
Q

What is a Rich Internet Application (RIA)?

A

A rich internet application is a web application which delivers, services, features and functions which are usually associated with a desktop software or desktop application.
There is greater emphasis on providing a service, rather than licensing, distribution and software packages.
The processing taken place within the application is split across a Client and Server side.
- Updates / Upgrades are automatic
- Consistent user experiences
- Less prone to viral infection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is AJAX?

A

AJAX stands for Asynchronous Javascript and XML, a group of technologies that drive web 2.0 applications a services. AJAX improves the dynamism of web pages, by updating them asynchronously by exchanging small amounts of data with the server, which updates the webpage without contacting the server. An AJAX application is browser and platform independent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does AJAX work?

A

Browser:

  1. An event occurs which creates an XMLHttpRequest
  2. Send the HTTPRequest to the Server.
  3. Processes the returned response using JavaScript
  4. Updates the pages contents

Server:

  1. Processes the HTTP Request
  2. Creates a response and sends it back to the browser

The core is the AJAX engine between the web server and the user interface:

  • It acts as an intermediary
  • Sits within the client’s browser
  • Facilitates asynchronous communication with the server of smaller items of information.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 8 AJAX Technologies?

A
  1. HTML / XHTML - presenting information
  2. CSS - look and formatting
  3. DOM - a way of dynamically controlling the document
  4. XML - text-based data exchange format
  5. JSon - text-based data exchange format
  6. JavaScript - scripting language embedded in browers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is XML?

A

XML is a software and hardware independent tool for storing and transporting data. It is a markup language and is self-descriptive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the differences between XML and HTML: Different Design Goals ?

A
  • XML was designed to carry data with a focus on what data is.
  • HTML was designed to display data with a focus on what data looks like
  • XML tags are not predefined
  • HTML tags are
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the four things XML simplifies?

A
  1. Data Sharing
  2. Data Transport
  3. Platform Changes
  4. Data Availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is XSL?

A

XSL stands for Extensible Stylesheet Language and is a stylesheet language for XML documents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is XSLT?

A

XSLT stands for Extensible Transformations and is a language to transform XML documents into other formats like XHTML.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is JavaScript Object Notation (JSON)?

A
JavaScript Objection Notation (JSON) is a data interchange format , which is used to import and export between platforms. It is programming language independent, is not a markup language and is based on the object literals of JavaScript.
It offers:
- Friendly data structures
- Friendly conventions
- Collaborates well with others
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is ADOBE FLASH?

A

Adoble Flash is an alternative to HTML5 and AJAX. Its use has declined in recent times, but provided a method for sophisticated, quick-to-download vector graphics and animations to be displayed in browser. It was installed via a browser plug-in but was a software for streaming multimedia content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the four technologies around distributed computing?

A
  1. CORBA (Common Object Request Broker Architecture): enables communication between software written in different languages running on different computers. Very powerful, limited in its way of using the internet in terms of the internet’s power and flexibility.
  2. DCOM (Distributed Component Object Model): platform for Microsoft components
  3. RMI (Remote Method Invocation): platform for Java components, compatible with “CORBA”.
  4. Web Services (W3C): evolution of distributed computing using web standards
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are Web Services?

A

A web service is a standards-based, language agnostic software entity that accepts specially formatted requests from other software entities on remote stations via vendor and transport neutral communication protocols producing application specific responses.
- A programmatic interface, lightweight or simplified programming models which facilitate the creation of loosley coupled systems which make few assumptions about each other, limit dependencies and employ communication techniques,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the two schools of thought in developing web services?

A
  1. SOAP (Simple Object Access Protocol): traditional and standards based approach
  2. REST (Representative State Transfer): conceptually, simpler, trendier.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the Simple Object Access Protocol (SOAP)?

A

Simple Object Access Protocol (SOAP) is a lightweight protocol for exchanging structured information in a decentralised and distributed environment. It defines a messaging framework containing a message construct through XML, that can exchanged over a variety of protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Simple Object Access Protocol (SOAP) header used for?

A

Contains meta-information which is used for:

  • Naming the encryption mechanism
  • Access control information
  • Routing information
  • Auditing information
  • Other data extensions which cannot fit into the body.
17
Q

What are the advantages of the Simple Object Access Protocol (SOAP)?

A
  1. Language, platform and transport agnostic
  2. Designed to handle distributed computing environments
  3. Prevailing standard for web services, with better support from other standards and tools
  4. Built-in error handling
  5. Extensibility
  6. Tools available
18
Q

What are the disadvantages of the Simple Object Access Protocol (SOAP)?

A
  1. Conceptually a little difficult
  2. A little verbose
  3. Harder to develop - you need tools
19
Q

What is the Representative State Transfer Protocol (REST)?

A

Emerged as a reaction to the heavy-weight SOAP-based standards, with a greater emphasis on point-to-point communications. It requires a REST protocol like HTTP which defines: ACTIONS (GET, POST) and Resources (URIs)

20
Q

What are the advantages of the Representative State Transfer Protocol (REST)?

A
  1. Language and platform agnostic
  2. Simpler to develop than SOAP
  3. Small learning curve, less reliance on tools
  4. Concise, no need for additional messaging layer
21
Q

What are the disadvantages of the Representative State Transfer Protocol (REST)?

A
  1. Assumes a point-to-point communication model, not usable for distributed environment with intermediaries.
  2. Lack of standards support for security, policy, reliable messaging
  3. Harder to develop.
  4. Tied to the HTTP transport model.
22
Q

What are Open APIs?

A

Application Programming Interfaces are is a mechanism for a programmer to use in order to use the functionality of programs without their source code. An application programming interface is open when it does not require license or royalties.

23
Q

What are Microformats / Microdata?

A

Microformats are tiny bits of information which are injected into web pages, they do not affect how the web page is rendered but makes them smarter in terms of processing, understanding and searching the web.
Microdata provide additional semantics and provides a way to define customised elements and embed custom properties into web pages.

24
Q

What is the problem around Microformats?

A

If everybody decided to use their own semantic labels they could fracture the web into many non-interoperable pieces, as a result semantic labels through microformats need to be created in a controlled and standardised manner.