Welcome to this first postConcepto de Post¿Qué es un Post?Un Post es todo aquel contenido, sea post, opinión, noticia u otro género, que un autor publica en un blog. Este puede ser de carácter corporativo o meramente ocioso; pero siempre tiene como meta arrojar información o reflejar una idea, al mismo tiempo de facilitar que los usuarios encuentren la web donde se recoge por medio de de buscadores y demás plataformas online.Generalmente, se han plus, which will serve as an introduction to this important, versatile, and recognized programming language with which you will increase your opportunities as a programmer or web developer. Let’s start!
What is JavaScriptJavaScript es un lenguaje de programación que funciona en el lado del cliente y con el que las webs pueden ser más funcionales. Incorporación en código HTML El código JavaScript puede ser incrustado en las páginas HTML, para que adquieran funcionalidad. Existen varias opciones. Puede estar entre las etiquetas <SCRIPT> y </SCRIPT>, puede estar contenido en un archivo externo, puede ser un parámetro de las etiquetas HTML, y puede estar plus?
The JavaScript programming language was originally created in order to «make web pages alive», which is to say that it gives dynamism to HTMLHTML (Hypertext Markup Language) se usa para estructurar el contenido de texto de un documento web. No sólo se marca el contenido, sino además la meta-información que describe este contenido. Las páginas HTML se almacenan normalmente en el directorio raíz del servidor. Cómo se creó En la era digital, a los usuarios les resulta difícil hallar su camino en las webs y hacer un seguimiento de las estructuras de las plus web pages today. There are many different use cases for this programming language, from web scraping using JavaScript to creating conversionConcepto de Conversion¿Qué es la Conversion?La conversion es una definición que tiene multitud de significados; sin embargo, cuando reducimos el espectro al del marketing digital, consiste en un procedimiento a través el cual un usuario realiza una acción que una compañía quiere que se lleve a cabo y provoca por medio de de distintos iniciativas. Puede ser una visita a una página concreta, una compra, un mensaje o cientos de plus sites, the opportunities are limitless.
Programs made in this language are known as scriptsConcepto de Scripts¿Qué son los Scripts?Los Scripts son fragmentos de código que se usan para dar forma a herramientas tanto en Internet como en el sector de la informática en general. Son una parte crucial del software, puesto que se trata exactamente del código que conforma a una aplicación en su totalidad o a una de sus funciones, como además el que puedes hallar explorando cómo está hecha una web.Desde plus. These programs can be written directly in our HTML because we can embed it in our initial HTML layout, either as a call to an external document, or by calling another section of the same document, and this is executed automatically as the web page loads.
The scripts are provided and run as plain text. This means that the browser is able to interpret the JS code immediately, so it does not need special preparation or compilation to run.
By this we can say that JavaScript is different from Java, since the latter requires a compiler to be executed.
Currently, JavaScript can run not only in the browser, but also on the server, or on any device that has a special program called a JavaScript engine.
The browser has an embedded engine, sometimes it is also called a «JavaScript virtual machine».
Different engines have different «code names», for example:
V8 – in Chrome and Opera.
SpiderMonkey – in Firefox.
… There are other code names like «Trident», «Chakra» for different versions of IE, «ChakraCore» for Microsoft Edge, «Nitro» and «SquirrelFish» for Safari, and so on.
The above terms are good to remember, because they are used in developer articles on the Internet. And maybe one day you will need them too. For example, if «an X feature is supported by V8», then it probably works in Chrome and Opera.
What can JavaScript do in your browser?
Modern JavaScript is a programming language that we can call «safe.» JS does not provide low-level access to memory or CPU, as it was initially created for browsers that do not require it.
The capabilities are highly dependent on the environment running JavaScript. For example, Node.JS supports functions that allow JavaScript to read and / or write arbitrary files, make network requests, etc.
JavaScript in the browser can do everything related to the manipulation of the web page, the interaction with the user and the web server.
For example, JavaScript in the browser is capable of doing the following:
- Add new HTML to the page, change existing content, modify styles, etc.
- Reacts to user actions, executes mouse clicks, pointer movements, keystrokes, among others.
- It sends requests over the network to remote servers, downloading and uploading files (so-called AJAXEl término técnico AJAX es un acrónimo del inglés (Asynchronous JavaScript and XML). Denota una técnica basada en la tecnología JavaScript que cambia la comunicación con el servidor y acelera las apps web. Las interfaces funcionan más rápido con transferencia de datos retardada (asíncrona). Con AJAX, las apps web pueden intercambiar datos con el servidor en segundo plano sin necesidad de recargar toda la página. El software adicional que actúa plus and COMET technologies).
- It gets and sets cookies, it can ask questions of the web page visitor, and it can even display messages.
Save the data on the client side («local storage»).
What CANNOT JavaScript do in the browser?
JavaScript capabilities in the browser are limited for the sake of user safety. The aim is to prevent a malicious website from accessing private information or damaging user data.
Here below I list some of the restrictions that JS has in your browser.
- JavaScript on a web page may not be able to read / write arbitrary files to the hard drive, copy¿Qué es un copy?Texto de carácter publicitario destinado a llamar la atención del cliente potencial y promocionar un producto o servicio determinado. plus them, or run programs. And you don’t have direct access to operating system functions either.
- Modern browsers allow you to work with files, but access is limited and only provided if the user performs certain actions, such as «dropping» a file into a browser window, or selecting it using an <input> tag.
There are ways to interact with the camera and / or microphone, and other devices, but they require explicit permission from the user. Therefore, a JavaScript-enabled page might not sneakily enable a webcam, observe the environment, and submit the information to the NSA. - The different tabs or windows generally do not know each other. Sometimes they do, for example when one window uses JavaScript to open the other. But even in this case, the JavaScript on one page may not be able to access the other if they come from different sites (from a different domain, protocol, or port). This is called the «Same Origin Policy.» To avoid this, both pages must contain a special JavaScript code that takes care of the data exchange.
The limitation is again for the safety of the user. A page on httpEl HTTP (Hyper Text Transfer Protocol) es un protocolo que se usa para transmitir datos en redes. HTTP es un estándar técnico generalmente aceptado que establece cómo un cliente web se comunica con un servidor para que los datos solicitados por el cliente puedan ser cargados y mostrados. Información general Junto con el URL y el HTML, HTTP es uno de los conceptos más importantes de Internet (www). Fue desarrollado plus://anysite.com that a user has opened must not be able to access





