Javascript 51
what is CORS ?
CORS stands for Cross Origin Resource Sharing. This is W3C specification about Cross Domain Ajax Requests in Web2.0. The headers for allowing CORS are:- Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, POST, PUT, DELETE Access-Control-Allow-Headers: Authorization
what is Chain of Responsibility Design Pattern?
Chain of response yet another popular pattern that can be used in the situation where :- Initial configuration takes more time. Same type of request comes for many time to process. Example, — Printer is perfect real time example for these above scenario. — Printer needs significant amount of […]
What is browser reflow ?
Browser’ reflow is the time taken by the browser to calculate the DOM element position.Generally re-flow occurs when a DOM Element is modified or added by JavaScript or CSS. Some points on Reflows are :- Reflow involves page Layout computation. Nested DOM elements increases Reflow time. Filter Expression in CSS can increase Reflow time. Animation […]
What is _proto_ secret link?
As We Know Java Script languages are Prototype based Object Oriented Programming Language. So Every object created in Java Script has a Secret Link to its Originated Prototype . This secret link is represented as _PROTO_ in Mozilla Firefox browser.In other words, We can put it as _PROTO_ is an Firefox implementation of secret link. […]