3.1.14 use of external code sources Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is a web mashup?

A

a web page used to combine data from 2 or more sources to create a product

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

what does API stand for?

A

application programming interface

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

what do API provide?

A

a set of functions and procedures that allow the creation of applications which access the features/ data of an operating system, application, or other service.

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

what 4 things can programmers use to integrate code from external sources into their code?

A

1 - external code
2 - web feeds
3 - JavaScript
4 - widgets

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

give some examples of APIs

A

Flickr, Yahoo, YouTube, Facebook, Twitter, PayPal, price comparison tools for online shopping and multi-site searches

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

what is IFrame?

A

Inline Frame

a HTML document embedded inside another HTML document on a website

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

what are IFrames used for?

A

used to embed content from another source into a webpage

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

what can IFrames be configured with?

A

with its own scrollbar independent of the surrounding page’s scrollbar

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

to the user IFrames are…

{2}

A

…still on the same site

the user does not have to reload the surrounding page

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

but in reality IFrames have…

A

embedded content and programming from another source

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

what do IFrames often use?

A

JavaScript

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

what are IFrames designed to do?

A

designed to embed interactive applications in web pages which can be either client or server side

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

what is an interface (in APIs)?

A

the way that code on 2 different systems can communicate with each other

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

what are APIs carefully coded to do?

{2}

A

to expose only chosen functionality and data to 3rd parties who want to use the external functionality and code
- have to safeguard other parts of the application

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

what are APIs shown as to the end user?

A

invisible to the end user - they run silently in the background

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

what do APIs provide?

A

a channel for applications to work with each other to make sure hr client gets the required functionality and information

17
Q

examiner’s tip

A

you should be able to explain the use of external code sources and how to integrate code from these sources into your own code
(press 5 to move on)

18
Q

check your understanding question:

what is a mash up? {2 marks}

A

a coded application used to combine data from 2 or more sources to create a new product

19
Q

check your understanding question:

what is an IFrame? {2 marks}

A

an IFrame (Inline Frame) is an HTML document embedded inside another HTML document; it is used to embed content from another source into a Web page

20
Q

check your understanding question:

what is an API? {2 marks}

A

API stands for Application Programming Interface; an interface is a common boundary between 2 systems; an API allows code on 2 different systems to communicate with each other

21
Q

What are the advantages of external sources of code?

A
  • APIs allow programmers to create programs much faster (dont have to rewrite code)
  • APIs can be more secure because teams of developers maintain and update the code.
  • External libraries simplify complex areas of coding so that non specialist programmers are still able to interact with devices that would otherwise require a high level of expertise to interact with.