FE Web Applications Components

Description

This flascards have the information relative with new web components for web applications
Juan Carlos Joya Carvajal
Flashcards by Juan Carlos Joya Carvajal, updated more than 1 year ago
Juan Carlos Joya Carvajal
Created by Juan Carlos Joya Carvajal almost 6 years ago
1
0

Resource summary

Question Answer
Callbacks When an ajax call is done the response (success, error) is a callback.
Promises Promises are a far cleaner solution to writing asynchronous code than callbacks. The resulting code that’s created is easier to read and is often written the order the application will execute. So it can be easier to trace through code in your head.
Encoding When you work with AJAX (or other communication between client and server), you need to ensure that the information is sent in a form that’s suitable for transmission. You do that using encoding. If you don’t use encoding, it’s quite possible that some information won’t be received exactly as it was sent. This is especially true for some special character information—for example, spaces, quotation marks, and so on. http://pressbin.com/tools/urlencode_ urldecode/
Shims and Polyfills Shims and polyfills are software components designed to allow older browsers to run more modern code. A shim is a piece of code that intercepts existing API calls on a browser and implements different behavior, which enables standardizing APIs across different environments. So, if two browsers implement the same API differently, you could use a shim to intercept the API calls in one of those browsers and make its behavior align with the other browser. A polyfill is a piece of JavaScript that can “implant” missing APIs into an older browser. For example, shims and polyfills enable older ECMA5 browsers to run ECMA6 code.
Show full summary Hide full summary

Similar

The Princeton Review Chapter 9 Rotational Motion
Anibal Santamaria
Angular
Kingsley Bawuah
Tragedy Themes/Ideas
ekimlauretta
Angular Nuts and Bolts
James Drummond
Scope and Inheritance in Angular
James Drummond
Angular application scaffolding
James Drummond
AJAX Basics
Mohit Kakkar
Directives and scope
James Drummond
Fluxo buscaCliente
Alex José Silva
How Angular works
James Drummond
Angular-hint
James Drummond