<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alexander Tejeda</title>
    <description>The latest articles on DEV Community by Alexander Tejeda (@alextejedda).</description>
    <link>https://dev.to/alextejedda</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1018607%2Ff5200d81-ed4d-40d6-8009-c9fd08d55440.png</url>
      <title>DEV Community: Alexander Tejeda</title>
      <link>https://dev.to/alextejedda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alextejedda"/>
    <language>en</language>
    <item>
      <title>Learning angular from Scratch - Chapter #0</title>
      <dc:creator>Alexander Tejeda</dc:creator>
      <pubDate>Tue, 07 Feb 2023 04:16:16 +0000</pubDate>
      <link>https://dev.to/alextejedda/learning-angular-from-scratch-chapter-0-ep3</link>
      <guid>https://dev.to/alextejedda/learning-angular-from-scratch-chapter-0-ep3</guid>
      <description>&lt;p&gt;This is intended to be a list of articles that would be a guide to create web pages with Angular. However Angular can be very complex and the process could be overwhelming. If this is your first time working with Angular or any Javascript framework, I invite you to read this article with patience. Remember, learning a new framework is a process that require a lot of patience. &lt;/p&gt;

&lt;h2&gt;
  
  
  Content table
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; &lt;a href="https://dev.toWhat's-Angular?"&gt;What's Angular?&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://dev.toWhat-are-frameworks-and-what-are-they-for?"&gt;What are frameworks and what are they for?&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://dev.toWhat's-a-platform-SPA-(Single-Page-Applicattion)?"&gt;What's a platform SPA (Single Page Applicattion)?&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://dev.toWhat-do-I-need-to-work-with-Angular?"&gt;What do I need to work with Angular?&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="//Creating-our-first-project-with-Angular."&gt;Creating our first project with Angular.&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  What's Angular?
&lt;/h3&gt;

&lt;p&gt;According to the official documentation of Angular, Angular is a framework for designing applications and developing platforms of type SPA (Single Page Application). However, this definition isn't very clear and maybe only brought you more doubts than answers&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; What's a framework?&lt;/li&gt;
&lt;li&gt; What's a Single Page Application?&lt;/li&gt;
&lt;li&gt; How can I install Angular?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We will answer all of these questions in this article.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are frameworks and what are they for?
&lt;/h3&gt;

&lt;p&gt;Creating a web application can be complex and requires knowledge of HTML and CSS, just to get the user to see something on the screen. It gets even harder when you need the page to be interactive. That means you have two things to worry about, and the list grows when you realize that more is required. But what if I tell you that exists something to get this work easier and even provide you tools that make your code more maintainable? For that reason, the frameworks were created.&lt;/p&gt;

&lt;p&gt;In other words, we'll be able to replicate all the functionalities that we can develop with native javascript, but instead with a framework that uses less code and with better standards. &lt;/p&gt;

&lt;p&gt;It's worth noting that Angular is not the only framework in the market, there are also its main competitors such as React or VueJs.&lt;/p&gt;

&lt;h3&gt;
  
  
  What's a SPA platform?
&lt;/h3&gt;

&lt;p&gt;A platform SPA or by its acronym Single Page Application makes references to an applicative that works as a root and according to a route show what the client needs, without the necessity to reload our page. &lt;/p&gt;

&lt;h3&gt;
  
  
  What do I need to work with Angular?
&lt;/h3&gt;

&lt;p&gt;Install Angular is pretty simple, we only have to follow the next steps, in this case, I'll do the installation with an OS Windows 10.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install NodeJS
Open the next link Download NodeJS, it will show us a page like the next and we'll download the LTS version, according to our OS, once the download is finished, we have to run the executable. 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3jt6dkk9yztrs4ycqd6b.png" alt="Download NodeJS" width="800" height="387"&gt;
&lt;/li&gt;
&lt;li&gt;Once the download is complete, we'll validate the installation success by running the following command in our prompt. On Windows, open the command prompt by pressing the "Windows + R" key combination, then typing "cmd then pressing enter.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3qz9wu6qka53x7by2s3n.png" alt="Run window" width="398" height="205"&gt;
&lt;/li&gt;
&lt;li&gt;Once the command prompt is open, enter the following command. The result should display a screen similar to the one shown
&amp;gt; npm version
&amp;gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3nfjer4a217qpedpzzku.png" alt="enter image description here" width="800" height="419"&gt;
&lt;/li&gt;
&lt;li&gt;Install typescript
To install TypeScript, run the following command in a command prompt.
&amp;gt;  npm install -g typescript&lt;/li&gt;
&lt;li&gt;To check if our installation was successful, we've to type the next command and have to display our typescript version.
&amp;gt; tsc -version
Install Angular CLI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We going to install Angular CLI through NodeJS with npm (Node Package Manager) with the command in our command prompt&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;npm install -g @angular/cli&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This allows us to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Create Angular projects&lt;/li&gt;
&lt;li&gt; Create components, services, modules, guards, etc...&lt;/li&gt;
&lt;li&gt; Download dependencies.
To do that execute the next instruction
&amp;gt; npm install -g @angular/cli&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Creating our first Angular project
&lt;/h3&gt;

&lt;p&gt;Once the installation of Angular CLI is done, we will be ready to create our first Angular project. To do this, we will open a new command line and run the following command:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;ng new &amp;lt;Nombre del proyecto&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once we have run the command, we will be asked the following&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcm7azcvdegyrh1eht5n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcm7azcvdegyrh1eht5n.png" alt="Angular configuration" width="800" height="79"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Upon completion of the installation, a screen similar to the following will be displayed, indicating the successful creation of our project.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feein2cnrsyq39i1mbtg1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feein2cnrsyq39i1mbtg1.png" alt="Prueba1.png" width="800" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What are our next steps?
&lt;/h3&gt;

&lt;p&gt;In this article, we have learned how to create an application with Angular and have gained a foundational understanding of what Angular is and its advantages. However, we have yet to learn how to utilize these advantages, but that will be our next objective.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>privacy</category>
      <category>software</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Aprendiendo Angular desde 0 - Capitulo #0</title>
      <dc:creator>Alexander Tejeda</dc:creator>
      <pubDate>Tue, 07 Feb 2023 03:54:38 +0000</pubDate>
      <link>https://dev.to/alextejedda/aprendiendo-angular-desde-0-capitulo-0-1a81</link>
      <guid>https://dev.to/alextejedda/aprendiendo-angular-desde-0-capitulo-0-1a81</guid>
      <description>&lt;p&gt;Esta es una lista de artículos con el objetivo de explicar el roadmap para crear páginas web con Angular. Sin embargo, trabajar con Angular o cualquier framework de JavaScript puede ser abrumador, por lo que te animo a tomar los siguientes artículos con paciencia. Recuerda que este es un proceso de aprendizaje que requiere mucha práctica&lt;/p&gt;

&lt;h2&gt;
  
  
  Tabla de contenidos
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;¿Qué es Angular?&lt;/li&gt;
&lt;li&gt;¿Qué son los frameworks y para que funcionan?&lt;/li&gt;
&lt;li&gt;¿Qué es una plataforma SPA?&lt;/li&gt;
&lt;li&gt;¿Qué necesito para trabajar con Angular?&lt;/li&gt;
&lt;li&gt;Creando nuestro primer proyecto de Angular&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  ¿Qué es Angular?
&lt;/h3&gt;

&lt;p&gt;De acuerdo con la documentación oficial de Angular (&lt;a href="https://angular.io/docs" rel="noopener noreferrer"&gt;Documentación Angular&lt;/a&gt;), Angular es un framework para el diseño de aplicaciones y el desarrollo de plataformas de tipo SPA (Single Page Application). Sin embargo, esta definición puede generar varias dudas la primera vez que se lee, como:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  ¿Qué es un framework?&lt;/li&gt;
&lt;li&gt;  ¿Qué es una plataforma SPA?&lt;/li&gt;
&lt;li&gt;  ¿Cómo instalo Angular?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Todas estas preguntas serán respondidas en este artículo.&lt;/p&gt;

&lt;h3&gt;
  
  
  ¿Qué son los frameworks y para que funcionan?
&lt;/h3&gt;

&lt;p&gt;Crear una aplicación web es complejo, ya que requiere conocimientos previos de HTML y CSS, sólo para que el usuario pueda ver algo en la pantalla y esto se complica más si se requiere que la página sea interactiva. A medida que uno avanza en el desarrollo, se da cuenta de que se necesita mucho más que eso.&lt;/p&gt;

&lt;p&gt;Pero, ¿y si te digo que existe una forma de simplificar este trabajo e incluso proporcionarte herramientas que hagan que el mantenimiento del código sea más fácil? Para esto se crearon los frameworks, que nos brindan una serie de mecanismos para replicar de manera más sencilla y rápida lo que haríamos con código nativo.&lt;/p&gt;

&lt;p&gt;En otras palabras, podremos replicar todas las funcionalidades que podemos desarrollar con JavaScript nativo, pero en su lugar con un framework que lo haga con menos líneas de código y con estándares de programación más sostenibles que haciéndolo nosotros desde cero.&lt;/p&gt;

&lt;p&gt;Cabe destacar que Angular no es el único framework en el mercado, también están sus principales competidores como React o VueJs.&lt;/p&gt;

&lt;h3&gt;
  
  
  ¿Qué es una plataforma SPA?
&lt;/h3&gt;

&lt;p&gt;Una aplicación SPA, o Single Page Application en inglés, se refiere a una aplicación que funciona como raíz y, de acuerdo a la ruta que se encuentra, realiza el renderizado de lo solicitado por el cliente.&lt;/p&gt;

&lt;h3&gt;
  
  
  ¿Qué necesito para trabajar con Angular?
&lt;/h3&gt;

&lt;p&gt;Instalar Angular es muy fácil, solo debemos seguir los siguientes pasos. En este caso, la instalación se realizará en una computadora con sistema operativo Windows 10.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Instalar Node.js:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;  Visite el siguiente enlace para descargar Node.js &lt;a href="https://nodejs.org/en/download/" rel="noopener noreferrer"&gt;Descargar Node.js&lt;/a&gt;, se mostrará una página donde podrá descargar la versión LTS, acorde al sistema operativo de su computadora. Una vez descargado, ejecute el archivo ejecutable. 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3jt6dkk9yztrs4ycqd6b.png" alt="Descargar NodeJS" width="800" height="387"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmxestskvjt0sd4lqosd.png" alt="enter image description here" width="800" height="35"&gt;
&lt;/li&gt;
&lt;li&gt;Para validar la instalación de Node.js en una computadora con sistema operativo Windows, abriremos la linea de comandos ejecutando la combinación de teclas "Windows + R" y escribiendo "cmd" en la ventana que se abre.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3qz9wu6qka53x7by2s3n.png" alt="enter image description here" width="398" height="205"&gt; &lt;/li&gt;
&lt;li&gt;Una vez abierta la línea de comandos, escribiremos el siguiente comando y deberíamos obtener una salida similar a la siguiente imagen:
&amp;gt;npm version
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3nfjer4a217qpedpzzku.png" alt="enter image description here" width="800" height="419"&gt;
&lt;/li&gt;
&lt;li&gt;Instalar typescript&lt;/li&gt;
&lt;li&gt;Ejecutaremos el siguiente comando en la línea de comandos para instalar TypeScript:
&amp;gt;  npm install -g typescript
&lt;/li&gt;
&lt;li&gt;Para validar la correcta instalación de TypeScript, ejecutaremos el siguiente comando en la línea de comandos, y se nos mostrará la versión instalada:
&amp;gt; tsc -version&lt;/li&gt;
&lt;li&gt;Instalar Angular CLI&lt;/li&gt;
&lt;li&gt;Instalar Angular mediante el siguiente comando en la línea de comandos: npm install -g @angular/cli. Angular CLI es la herramienta de línea de comandos de Angular que nos permitirá:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Crear proyectos de angular. 
2. Crear componentes, servicios, módulos, guards, etc...
3. Descargar librerias
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;Para ello tendremos que ejecutar el siguiente comando 
&amp;gt; npm install -g @angular/cli
###  Creando nuestro primer proyecto de Angular
Una vez realizada la instalación de Angular CLI, estaremos listos para crear nuestro primer proyecto de Angular. Para hacerlo, abriremos una nueva línea de comandos y ejecutaremos el siguiente comando: 
&amp;gt; ng new &amp;lt;Nombre del proyecto&amp;gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Una vez hayamos ejecutado el comando se nos preguntara lo siguiente &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcm7azcvdegyrh1eht5n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcm7azcvdegyrh1eht5n.png" alt="enter image description here" width="800" height="79"&gt;&lt;/a&gt;&lt;br&gt;
Una vez finalizada la instalación, se nos mostrará una pantalla similar a la siguiente, que indicará que la creación de nuestro proyecto se realizó con éxito.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feein2cnrsyq39i1mbtg1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feein2cnrsyq39i1mbtg1.png" alt="Prueba1.png" width="800" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ¿Cuáles son nuestros siguientes pasos?
&lt;/h3&gt;

&lt;p&gt;En este artículo, hemos aprendido cómo crear una aplicación con Angular y conocemos las primeras nociones sobre qué es Angular y sus ventajas. Sin embargo, todavía no sabemos cómo utilizar estas ventajas, pero eso será nuestro próximo objetivo. &lt;/p&gt;

</description>
      <category>devto</category>
      <category>announcement</category>
      <category>offers</category>
    </item>
  </channel>
</rss>
