GoConqr has a new look! Let us know what you think.

Flashcards

W7: Template engines, ajax - API CLIENT

Emma Tysk Webdev English 11 cards

Cards in this deck (11)

  1. 1What are template engines?JavaScript templating engines enable you to add dynamic logic to static HTML pages. For instance, you can declare a variable that the engine replaces with an actual value at runtime. Similarly, you can use conditionals, loops, filters, mixins, and other constructs, depending on the templating engine you choose.
  2. 2What does AJAX stand for?asynchrounus javascript and XML
  3. 3What is AJAX?It is a web development technique for creating interactive web applications. AJAX is a mechanism for the client to
    request data from the server without loading/refreshing the entire page
  4. 4What is XMLHTTPRequest?Anobject whose methods transfer data between a web browser and a web server
  5. 5Create an XMLHttpRequest Objectvar request= new XMLHttpRequest();
  6. 6open a GET request on an XMLHttpRequest Object called "request" with url: url send the requestrequest.open('GET', url);
    request.send();
  7. 7what function is called when a request has been successfull?XMLHttpRequest.onload = callback;
    //callback is called on success
  8. 8How can we access the data from a XMLHttpRequest ?request.onload = function () {
    var res = request.response
    }
  9. 9how do we set the response type to text?request.responseType = 'text';
  10. 10what is HTTP?HTTP stands for Hyper Text Transfer Protocol
    Communication between client computers and web servers is done by sending HTTP Requests and receiving HTTP Responses
  11. 11—

Information

Description
Webdev Flashcards on W7: Template engines, ajax - API CLIENT, created by Emma Tysk on 21/06/2019.
Created by
Emma Tysk · Jun 2019
Updated
Jun 25, 2019
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?