<?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: Whitley Legard Antoine</title>
    <description>The latest articles on DEV Community by Whitley Legard Antoine (@wlegard).</description>
    <link>https://dev.to/wlegard</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%2F2347455%2Fa2774e4e-9723-47e1-8f74-c8f1fb4b98de.jpeg</url>
      <title>DEV Community: Whitley Legard Antoine</title>
      <link>https://dev.to/wlegard</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wlegard"/>
    <language>en</language>
    <item>
      <title>PostgreSQL</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Thu, 10 Apr 2025 19:09:18 +0000</pubDate>
      <link>https://dev.to/wlegard/postgresql-8ih</link>
      <guid>https://dev.to/wlegard/postgresql-8ih</guid>
      <description>&lt;p&gt;I did a presentation and blog on MySQL in the junior phase of a engineering program and came across another database called PostgreSQL. Now that I'm in the senior phase, I've had the opportunity to learn more about PostgreSQL and some the things it can offer. Lets take a look at some of the key points that I have learned from my research.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is PostgreSQL?&lt;/strong&gt;&lt;br&gt;
PostgreSQL is an Open-source, relational database management system (RDBMS) that was first released in 1986. It is known for reliability, flexibility, and standards compliance. It was tarted at University of California at Berkeley by Michael Stonebraker. PostgreSQL comes from Post-Ingres was developed after the Ingres project. Ingres project was one of the first relational database management systems  developed in the 1970s. PostgreSQL was first called Post-Ingres and was renamed to PostgreSQL(Post-GRE-SQL).It started as a project in 1986 with the goal of creating a database system with the minimal features needed to support multiple data types.&lt;/p&gt;

&lt;p&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%2Fudy12o9fy75cdpmcz0zb.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%2Fudy12o9fy75cdpmcz0zb.png" alt=" " width="156" height="156"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why the Elephant?&lt;/strong&gt;&lt;br&gt;
PostgreSQL’s mascot is an elephant named Slonik which means little elephant in Russian. PostgreSQL is very good at keeping data safe and accurate. Like elephants never forget. It ensures your data stays reliable and intact. Elephants are known for being strong and stable, just like Postgres. Elephants are also intelligent and social which mirrors PostgreSQL’s smart design and vibrant open-source community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free &amp;amp; Open-Source: No license fees and community-driven.&lt;/li&gt;
&lt;li&gt;ACID Compliant: Ensures reliable and consistent transactions.&lt;/li&gt;
&lt;li&gt;Extensible: You can add custom types, functions, and operators.&lt;/li&gt;
&lt;li&gt;SQL Standard Support:  follows standard SQL rules, making it compatible with other databases.&lt;/li&gt;
&lt;li&gt;Security Features: user access control, encrypted connections (SSL), and fine-grained data access (Row-Level Security)&lt;/li&gt;
&lt;li&gt;Performance Tools:  boosts performance with faster searches, quicker queries, and the ability to handle multiple tasks at once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&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%2Fe10aivzj32unx442mv29.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%2Fe10aivzj32unx442mv29.png" alt=" " width="243" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installation and Commands&lt;/strong&gt;&lt;br&gt;
 Installing PostgreSQL&lt;br&gt;
on unbuntu:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;sudo&lt;/span&gt; &lt;span class="nx"&gt;apt&lt;/span&gt; &lt;span class="nx"&gt;update&lt;/span&gt;
&lt;span class="nx"&gt;sudo&lt;/span&gt; &lt;span class="nx"&gt;apt&lt;/span&gt; &lt;span class="nx"&gt;install&lt;/span&gt; &lt;span class="nx"&gt;postgresql&lt;/span&gt; &lt;span class="nx"&gt;postgresql&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;contrib&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;start the PostgreSQL shell with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;psql&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&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%2Ftcufs832h0vub4lnx0ug.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%2Ftcufs832h0vub4lnx0ug.png" alt=" " width="350" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a database:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;CREATE&lt;/span&gt; &lt;span class="nx"&gt;DATABASE&lt;/span&gt; &lt;span class="nx"&gt;letsgeaux&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a table:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;CREATE&lt;/span&gt; &lt;span class="nx"&gt;TABLE&lt;/span&gt; &lt;span class="nf"&gt;users &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="nx"&gt;SERIAL&lt;/span&gt; &lt;span class="nx"&gt;PRIMARY&lt;/span&gt; &lt;span class="nx"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="nx"&gt;TEXT&lt;/span&gt; &lt;span class="nx"&gt;NOT&lt;/span&gt; &lt;span class="nx"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;email&lt;/span&gt; &lt;span class="nx"&gt;TEXT&lt;/span&gt; &lt;span class="nx"&gt;UNIQUE&lt;/span&gt; &lt;span class="nx"&gt;NOT&lt;/span&gt; &lt;span class="nx"&gt;NULL&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Insert data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;Insert&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;INSERT&lt;/span&gt; &lt;span class="nx"&gt;INTO&lt;/span&gt; &lt;span class="nf"&gt;users &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nc"&gt;VALUES &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Whitley&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;whitley@example.com&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Query data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;FROM&lt;/span&gt; &lt;span class="nx"&gt;users&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Delete data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;DELETE&lt;/span&gt; &lt;span class="nx"&gt;FROM&lt;/span&gt; &lt;span class="nx"&gt;users&lt;/span&gt; &lt;span class="nx"&gt;WHERE&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Update data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;UPDATE&lt;/span&gt; &lt;span class="nx"&gt;users&lt;/span&gt; &lt;span class="nx"&gt;SET&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Whitley&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="nx"&gt;WHERE&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
PostgreSQL is a reliable, powerful, and flexible open-source database used by developers and companies worldwide. PostgreSQL keeps evolving and improving with its extensibility and strong community. Its advanced features, along with its ability to handle complex queries and large datasets, make it suitable for small or large projects. &lt;/p&gt;

&lt;p&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%2Fka0oxkefwgkcihm4spep.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%2Fka0oxkefwgkcihm4spep.png" alt=" " width="364" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=ngvrPV8o&amp;amp;id=2393678AB1CECE331807E521A52AE33A9A1F29E7&amp;amp;thid=OIP.ngvrPV8oeZYqtVND9inJjwHaEK&amp;amp;mediaurl=https%3A%2F%2Fwebapp.io%2Fblog%2Fcontent%2Fimages%2F2019%2F11%2Fpostgres.png&amp;amp;cdnurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.9e0beb3d5f2879962ab55343f629c98f%3Frik%3D5ykfmjrjKqUh5Q%26pid%3DImgRaw%26r%3D0&amp;amp;exph=1080&amp;amp;expw=1920&amp;amp;q=postgresql+&amp;amp;simid=608021126569221321&amp;amp;FORM=IRPRST&amp;amp;ck=E2FF1DD7456D8F4FCA8BE51A8A3FB944&amp;amp;selectedIndex=2&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0" rel="noopener noreferrer"&gt;https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=ngvrPV8o&amp;amp;id=2393678AB1CECE331807E521A52AE33A9A1F29E7&amp;amp;thid=OIP.ngvrPV8oeZYqtVND9inJjwHaEK&amp;amp;mediaurl=https%3A%2F%2Fwebapp.io%2Fblog%2Fcontent%2Fimages%2F2019%2F11%2Fpostgres.png&amp;amp;cdnurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.9e0beb3d5f2879962ab55343f629c98f%3Frik%3D5ykfmjrjKqUh5Q%26pid%3DImgRaw%26r%3D0&amp;amp;exph=1080&amp;amp;expw=1920&amp;amp;q=postgresql+&amp;amp;simid=608021126569221321&amp;amp;FORM=IRPRST&amp;amp;ck=E2FF1DD7456D8F4FCA8BE51A8A3FB944&amp;amp;selectedIndex=2&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/PostgreSQL" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/PostgreSQL&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.postgresql.org/" rel="noopener noreferrer"&gt;https://www.postgresql.org/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://sl.bing.net/dX9KCCXicBE" rel="noopener noreferrer"&gt;https://sl.bing.net/dX9KCCXicBE&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/difference-between-mysql-and-postgresql/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/difference-between-mysql-and-postgresql/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://assets-global.website-files.com/6064b31ff49a2d31e0493af1/64550e9b8aa89a0c6cc96bb9_Postgres%20vs%20MySQL%20comparison%20table.jpg" rel="noopener noreferrer"&gt;https://assets-global.website-files.com/6064b31ff49a2d31e0493af1/64550e9b8aa89a0c6cc96bb9_Postgres%20vs%20MySQL%20comparison%20table.jpg&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.postgresql.org/about/" rel="noopener noreferrer"&gt;https://www.postgresql.org/about/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/PostgreSQL" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/PostgreSQL&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/postgresql/index.php" rel="noopener noreferrer"&gt;https://www.w3schools.com/postgresql/index.php&lt;/a&gt;&lt;/p&gt;

</description>
      <category>postgressql</category>
      <category>database</category>
      <category>programming</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Ember Essence</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Sun, 30 Mar 2025 20:49:13 +0000</pubDate>
      <link>https://dev.to/wlegard/ember-essence-16mf</link>
      <guid>https://dev.to/wlegard/ember-essence-16mf</guid>
      <description>&lt;p&gt;I came cross the name Ember.js and was curious to know more about what it actually is. I quickly discovered that is another framework used for web application, and also some of the companies I used often also use Ember.js. As I pursue a career as a software engineer, Ember.js is another framework that I can possibly add to my skillset. I would like to share what I've learned so far.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Ember.js?&lt;/strong&gt; &lt;br&gt;
Ember.js is a JavaScript framework for creating single-page web applications (SPAs) with dynamic and responsive user interfaces. It uses Model-View-Controller (MVC) pattern and includes helpful tools like a templating engine, a built-in router for navigation, and features to manage data and application state effectively.Ember.js was released in 2011 and was created by Yehuda Katz.&lt;/p&gt;

&lt;p&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%2Fkk1ymt7jg2f987w31ze6.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%2Fkk1ymt7jg2f987w31ze6.png" alt=" " width="202" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Concepts&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Routes: The app's state is tied to URLs, with each URL having a "route object" that controls what the user sees.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Models: Each route has a model containing data for that part of the app, typically managed and loaded by Ember Data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Templates: Define the app's HTML using HTMLBars, a version of Handlebars that directly creates DOM elements.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Components: Components are custom HTML tags that have their own behavior and look. They manage their own data and can interact with other components.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Services: Services are single-instance objects used to store long-term data, such as user sessions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&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%2Fd195qhg1fgkixwngta4b.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%2Fd195qhg1fgkixwngta4b.png" alt=" " width="800" height="695"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Convention-over-Configuration: letting developers focus on features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ember CLI:  command-line tool that helps manage projects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Two-Way Data Binding: Changes in the model update the view, and changes in the view update the model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Routing: handles navigation and state changes in single-page apps with nested routes and dynamic URLs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ember Data: Manages app data making it easy to fetch, create, update, and delete data from a server. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Templates and Handlebars: Uses the Handlebars templating engine to define dynamic HTML content.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Components: Reusable UI elements that combine logic and view.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Testing: focuses on testing by using built-in support for unit, integration, and acceptance tests to catch bugs early.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&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%2F0j8vj11ppvnzzg3bdxe5.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%2F0j8vj11ppvnzzg3bdxe5.png" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting Started with Ember.js&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make sure you install Node.js and npm on your system.&lt;/li&gt;
&lt;li&gt;Install Ember CLI globally with the following command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;npm&lt;/span&gt; &lt;span class="nx"&gt;install&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;g&lt;/span&gt; &lt;span class="nx"&gt;ember&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;cli&lt;/span&gt;
&lt;span class="nx"&gt;npm&lt;/span&gt; &lt;span class="nx"&gt;install&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;g&lt;/span&gt; &lt;span class="nx"&gt;phantomjs&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Create a New Ember Application.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;ember&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;my&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;app&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create a new Ember app with the default folder setup and settings.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run Your Application: Go to your project folder and start the Ember server.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;cd&lt;/span&gt; &lt;span class="nx"&gt;my&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;app&lt;/span&gt;
&lt;span class="nx"&gt;ember&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your app will be available at &lt;a href="http://localhost:4200" rel="noopener noreferrer"&gt;http://localhost:4200&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create Routes and Templates: You can add new routes and templates using Ember CLI:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;ember&lt;/span&gt; &lt;span class="nx"&gt;generate&lt;/span&gt; &lt;span class="nx"&gt;route&lt;/span&gt; &lt;span class="nx"&gt;about&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will create a new route for the "About" page and will have a template and JavaScript file.&lt;/p&gt;

&lt;p&gt;Time to start building your application.&lt;/p&gt;

&lt;p&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%2Fdhw4sez2m4wzjnnkq3xv.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%2Fdhw4sez2m4wzjnnkq3xv.png" alt=" " width="425" height="232"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Ember.js is a JavaScript framework for building complex web applications.Ember.js allows you to concentrate on writing code instead of  managing the framework. Ember offers tools and framework for effective development.&lt;/p&gt;

&lt;p&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%2Fk4kydnhaxruriyc8wb16.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%2Fk4kydnhaxruriyc8wb16.png" alt=" " width="222" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Ember.js" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Ember.js&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://guides.emberjs.com/v1.11.0/ember-cli/" rel="noopener noreferrer"&gt;https://guides.emberjs.com/v1.11.0/ember-cli/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://moldstud.com/articles/p-top-10-essential-emberjs-concepts-every-developer-must-know" rel="noopener noreferrer"&gt;https://moldstud.com/articles/p-top-10-essential-emberjs-concepts-every-developer-must-know&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=De0SJ1BB&amp;amp;id=5EA61F166F8F15ABE2BC761A6B48FC78ECF73FBA&amp;amp;thid=OIP.De0SJ1BBMaycxl92rxKsLQHaGb&amp;amp;mediaurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.0ded1227504131ac9cc65f76af12ac2d%3Frik%3Duj%252f37Hj8SGsadg%26riu%3Dhttp%253a%252f%252fvkhoi.com%252fwp-content%252fuploads%252f2018%252f10%252fember-core-concepts-1024x890.png%26ehk%3Dw9L70KZ3N4rV2RdEMx2UReWwdYOiCOvM%252flE8ProYwWM%253d%26risl%3D%26pid%3DImgRaw%26r%3D0&amp;amp;exph=890&amp;amp;expw=1024&amp;amp;q=ember.js+features&amp;amp;simid=608039534700949163&amp;amp;FORM=IRPRST&amp;amp;ck=C50B7F6B16AF246F08F33DDD95D22BF1&amp;amp;selectedIndex=10&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0" rel="noopener noreferrer"&gt;https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=De0SJ1BB&amp;amp;id=5EA61F166F8F15ABE2BC761A6B48FC78ECF73FBA&amp;amp;thid=OIP.De0SJ1BBMaycxl92rxKsLQHaGb&amp;amp;mediaurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.0ded1227504131ac9cc65f76af12ac2d%3Frik%3Duj%252f37Hj8SGsadg%26riu%3Dhttp%253a%252f%252fvkhoi.com%252fwp-content%252fuploads%252f2018%252f10%252fember-core-concepts-1024x890.png%26ehk%3Dw9L70KZ3N4rV2RdEMx2UReWwdYOiCOvM%252flE8ProYwWM%253d%26risl%3D%26pid%3DImgRaw%26r%3D0&amp;amp;exph=890&amp;amp;expw=1024&amp;amp;q=ember.js+features&amp;amp;simid=608039534700949163&amp;amp;FORM=IRPRST&amp;amp;ck=C50B7F6B16AF246F08F33DDD95D22BF1&amp;amp;selectedIndex=10&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=koGImJtb&amp;amp;id=B79BD21E286CBEC224A3F0F4464EF095109FD798&amp;amp;thid=OIP.koGImJtbKibV-rLSb1ICIQHaFj&amp;amp;mediaurl=https%3A%2F%2Fwww.aimprosoft.com%2Fwp-content%2Fwebp-express%2Fwebp-images%2Fdoc-root%2Fwp-content%2Fuploads%2F2023%2F01%2FEmber.js-features-and-peculiarities.png.webp&amp;amp;cdnurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.928188989b5b2a26d5fab2d26f520221%3Frik%3DmNefEJXwTkb08A%26pid%3DImgRaw%26r%3D0&amp;amp;exph=3002&amp;amp;expw=4000&amp;amp;q=ember.js+features&amp;amp;simid=608039139603464434&amp;amp;FORM=IRPRST&amp;amp;ck=04069B666A406D8AD32E4D81DA375763&amp;amp;selectedIndex=0&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0" rel="noopener noreferrer"&gt;https://www.bing.com/images/search?view=detailV2&amp;amp;ccid=koGImJtb&amp;amp;id=B79BD21E286CBEC224A3F0F4464EF095109FD798&amp;amp;thid=OIP.koGImJtbKibV-rLSb1ICIQHaFj&amp;amp;mediaurl=https%3A%2F%2Fwww.aimprosoft.com%2Fwp-content%2Fwebp-express%2Fwebp-images%2Fdoc-root%2Fwp-content%2Fuploads%2F2023%2F01%2FEmber.js-features-and-peculiarities.png.webp&amp;amp;cdnurl=https%3A%2F%2Fth.bing.com%2Fth%2Fid%2FR.928188989b5b2a26d5fab2d26f520221%3Frik%3DmNefEJXwTkb08A%26pid%3DImgRaw%26r%3D0&amp;amp;exph=3002&amp;amp;expw=4000&amp;amp;q=ember.js+features&amp;amp;simid=608039139603464434&amp;amp;FORM=IRPRST&amp;amp;ck=04069B666A406D8AD32E4D81DA375763&amp;amp;selectedIndex=0&amp;amp;itb=0&amp;amp;cw=1382&amp;amp;ch=626&amp;amp;ajaxhist=0&amp;amp;ajaxserp=0&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>ember</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Python Bytes</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Mon, 17 Mar 2025 03:47:50 +0000</pubDate>
      <link>https://dev.to/wlegard/python-bytes-2ehl</link>
      <guid>https://dev.to/wlegard/python-bytes-2ehl</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Python🐍?&lt;/strong&gt;&lt;br&gt;
Python is a programming language known for its simplicity and readability. It was created by Guido van Rossum and first introduced in 1991. Python supports many programming styles, including procedural, object-oriented, and functional programming. Python is named after the British comedy television show "Monty Python’s Flying Circus", not the snake! &lt;/p&gt;

&lt;p&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%2Fwk5l5ghy2kyp44uzy9w0.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%2Fwk5l5ghy2kyp44uzy9w0.png" alt=" " width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;br&gt;
Python code is executed line by line that simplifies debugging and testing. Python is beginner-friendly because of its English-like syntax and indentation-based structure. It aids in many programming styles like procedural, object-oriented, and functional programming.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fields used in Python:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Web development&lt;/li&gt;
&lt;li&gt;Software development&lt;/li&gt;
&lt;li&gt;Data science and machine learning&lt;/li&gt;
&lt;li&gt;Mathematics and scientific computing&lt;/li&gt;
&lt;li&gt;System scripting&lt;/li&gt;
&lt;li&gt;Artificial intelligence&lt;/li&gt;
&lt;li&gt;Game development&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Advantages&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to learn: simple syntax that's beginner-friendly&lt;/li&gt;
&lt;li&gt;Versatile and open-source: used in many fields and freely available.&lt;/li&gt;
&lt;li&gt;Enhances productivity: helps developers write faster and more efficiently.&lt;/li&gt;
&lt;li&gt;Supports a wide range of libraries: large ecosystem of libraries for different uses&lt;/li&gt;
&lt;li&gt;Extensive library ecosystem: large collection of already built modules and packages.&lt;/li&gt;
&lt;li&gt;Strong community: community providing support and resources&lt;/li&gt;
&lt;li&gt;Interpreted language: executes code line by line, simplifying debugging&lt;/li&gt;
&lt;li&gt;Cross-platform compatibility: runs on Windows, macOS, and Linux&lt;/li&gt;
&lt;li&gt;Scalable: scales from small scripts to large applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Disadvantages&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Design limitations: restricts some advanced use cases&lt;/li&gt;
&lt;li&gt;Memory inefficiency: uses more memory than other languages&lt;/li&gt;
&lt;li&gt;Weak mobile computing support: less suitable for mobile app development&lt;/li&gt;
&lt;li&gt;Prone to runtime errors: dynamic typing may lead to runtime errors&lt;/li&gt;
&lt;li&gt;Slower execution speed: slower than compiled languages like C or C++&lt;/li&gt;
&lt;li&gt;Limited multi-threading: Global Interpreter Lock (GIL) limits true multi-threading for Central Processing Unit(CPU)-bound tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Naming Convention&lt;/strong&gt;&lt;/p&gt;

&lt;p&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%2Fkopepkb18e44stt1uk1z.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%2Fkopepkb18e44stt1uk1z.png" alt=" " width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Snake_case is a naming convention used in Python. All words are written in lowercase and spaces between words are replaced with underscores (_).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python Syntax&lt;/strong&gt;&lt;br&gt;
 Python uses indentation to define code blocks that makes it structured and easy to follow.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print("Hello, World!")  # Output: Hello, World!

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Functions: Functions are defined using the def keyword, followed by the function name and parameters.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def greet(name):
    return f"Hello, {name}!"

print(greet("Jane"))  # Output: Hello, Jane!

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Comments: Single-line comments begin with the # symbol, and multi-line comments are enclosed in triple quotes ''' or """.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# This is a single-line comment
'''
This is a
multi-line comment
'''
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Variables: There is no need to declare variable types.  Python automatically assigns types at runtime.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = 15    
y = "Hello" 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Conditionals and Loops: Python supports if, else, elif for conditionals, and for and while for loops.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for i in range(8):
    print(i)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Some companies that use Python include:&lt;/p&gt;

&lt;p&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%2Fsie3st64fgbcmil70vjv.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%2Fsie3st64fgbcmil70vjv.png" alt=" " width="382" height="123"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dropbox&lt;/li&gt;
&lt;li&gt;Instagram&lt;/li&gt;
&lt;li&gt;Facebook&lt;/li&gt;
&lt;li&gt;NASA&lt;/li&gt;
&lt;li&gt;Pinterest&lt;/li&gt;
&lt;li&gt;Spotify&lt;/li&gt;
&lt;li&gt;YouTube&lt;/li&gt;
&lt;li&gt;Uber&lt;/li&gt;
&lt;li&gt;Airbnb&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Python's simple and readable  features make it a great choice for both beginner or experienced programmers. Its flexibility and large number of libraries make it easy to explore many areas of development.&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%2Fvfasq8zyuo8mkl6rqggz.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%2Fvfasq8zyuo8mkl6rqggz.png" alt=" " width="401" height="235"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/Python_(programming_language)" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Python_(programming_language)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.python.org/" rel="noopener noreferrer"&gt;https://www.python.org/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/python/python_intro.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/python/python_intro.asp&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.nextacademy.com/blog/python-101-easy-to-learn-beginners/" rel="noopener noreferrer"&gt;https://www.nextacademy.com/blog/python-101-easy-to-learn-beginners/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://sl.bing.net/jkn4sJQBmXk" rel="noopener noreferrer"&gt;https://sl.bing.net/jkn4sJQBmXk&lt;/a&gt;&lt;br&gt;
&lt;a href="https://sl.bing.net/kpfcnkn74DI" rel="noopener noreferrer"&gt;https://sl.bing.net/kpfcnkn74DI&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/python-features/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/python-features/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.britannica.com/technology/Python-computer-language" rel="noopener noreferrer"&gt;https://www.britannica.com/technology/Python-computer-language&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Let's take a VUE</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Mon, 03 Feb 2025 02:24:57 +0000</pubDate>
      <link>https://dev.to/wlegard/lets-take-a-vue-g9h</link>
      <guid>https://dev.to/wlegard/lets-take-a-vue-g9h</guid>
      <description>&lt;p&gt;Vue is a open source JavaScript framework for building user interfaces and single page applications. Vue was created by Evan You in 2014 after working for google using AngularJS. It works with HML, CSS, and JavaScript, providing a component-based to build interfaces no matter the complexity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { createApp, ref } from 'vue'

createApp({
  setup() {
    return {
      count: ref(0)
    }
  }
}).mount('#app')
template
&amp;lt;div id="app"&amp;gt;
  &amp;lt;button @click="count++"&amp;gt;
    Count is: {{ count }}
  &amp;lt;/button&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The result: count is 0;&lt;/p&gt;

&lt;p&gt;Vue has a rich ecosystem that has many tools, libraries, and resources, making is easier and more efficient. &lt;/p&gt;

&lt;p&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%2F1f8zsxtw93krs131oszu.jpg" 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%2F1f8zsxtw93krs131oszu.jpg" alt=" " width="550" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vue has key features that include: reactivity, declarative rendering, components, single-file components, and flexibility.&lt;br&gt;
&lt;strong&gt;Reactivity&lt;/strong&gt;&lt;br&gt;
Vue uses a data binding system that automatically updates the user interface when the data changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Declarative rendering&lt;/strong&gt;&lt;br&gt;
 Vue uses an easy and very powerful templating system that lets you see how the user interface would look based on the current  state of your data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Single-file Components&lt;/strong&gt;&lt;br&gt;
 Single-file Components are a special feature that allows you to define an entire component in one file. This file has the extension .vue and will have parts of a Vue component which are HTML, CSS, and JavaScript. They are separated into different sections within the same file to make it easy to control the components.&lt;br&gt;
The structure will have a template, script, and style. Template contains the component's HTML. Script contains data, methods, and properties. Style contains scoped CSS for the component. All these features make it easy to manage and maintain complicated applications.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script setup&amp;gt;
import { ref } from 'vue'
const count = ref(0)
&amp;lt;/script&amp;gt;

&amp;lt;template&amp;gt;
  &amp;lt;button @click="count++"&amp;gt;Count is: {{ count }}&amp;lt;/button&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;style scoped&amp;gt;
button {
  font-weight: bold;
}
&amp;lt;/style&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Flexibility&lt;/strong&gt;&lt;br&gt;
 Vue is designed to be flexible to allow you to use many project whether its a small website or business application.&lt;br&gt;
Component-Based architecture breaks down more difficult user interfaces into smaller, reusable pieces. Virtual DOM has efficient rendering that minimizes unnecessary DOM updates. Two-Way data binding will sync data between the model and user interface.&lt;/p&gt;

&lt;p&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%2Ffmrfvjulrd893oprxu4d.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%2Ffmrfvjulrd893oprxu4d.png" alt=" " width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The options API and composition API are two different ways to write code in Vue.&lt;/p&gt;

&lt;p&gt;Options API is the traditional way to write Vue component where it organizes and divide the components into options like data, methods, computed, watch, props. It gets harder to manage the options as the component grows.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export default {
  data() {
    return {
      message: 'Hello, Vue!'
    };
  },
  methods: {
    changeMessage() {
      this.message = 'Message changed!';
    }
  }
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Composition API that was introduced in Vue 3 gives you a more flexible way to organize logic. You can group similar code together instead of separating it into options like in the Options API.&lt;br&gt;
 You can reuse logic across components by creating reusable functions. It does require more more knowledge and may be challenging to understand for new users of Vue.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { ref } from 'vue';

export default {
  setup() {
    const message = ref('Hello, Vue!');

    const changeMessage = () =&amp;gt; {
      message.value = 'Message changed!';
    };

    return {
      message,
      changeMessage
    };
  }
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&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%2Fpfm47b867yv96zzs05rw.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%2Fpfm47b867yv96zzs05rw.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Vue is a great choice for developers looking to build dynamic, interactive web applications. Its powerful features like reactivity and component-based architecture make it choice among other JavaScript frameworks. Vue can offer an efficient approach to building complex web apps to make it enjoyable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://vuejs.org/guide/introduction.html" rel="noopener noreferrer"&gt;https://vuejs.org/guide/introduction.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Vue.js" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Vue.js&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://images.search.yahoo.com/search/images?p=vue+eco+system&amp;amp;fr=mcafee&amp;amp;type=E211US714G0&amp;amp;imgurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg#id=0&amp;amp;iurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg&amp;amp;action=click" rel="noopener noreferrer"&gt;https://images.search.yahoo.com/search/images?p=vue+eco+system&amp;amp;fr=mcafee&amp;amp;type=E211US714G0&amp;amp;imgurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg#id=0&amp;amp;iurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg&amp;amp;action=click&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://images.search.yahoo.com/search/images?p=vue+eco+system&amp;amp;fr=mcafee&amp;amp;type=E211US714G0&amp;amp;imgurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg#id=7&amp;amp;iurl=https%3A%2F%2Fwww.cloudifyapps.com%2Fcontent%2Fimages%2F2022%2F09%2Fimage-107.png&amp;amp;action=click" rel="noopener noreferrer"&gt;https://images.search.yahoo.com/search/images?p=vue+eco+system&amp;amp;fr=mcafee&amp;amp;type=E211US714G0&amp;amp;imgurl=https%3A%2F%2Fwww.esparkinfo.com%2Fwp-content%2Fuploads%2F2022%2F01%2FVue-JS-Ecosystem-1.jpg#id=7&amp;amp;iurl=https%3A%2F%2Fwww.cloudifyapps.com%2Fcontent%2Fimages%2F2022%2F09%2Fimage-107.png&amp;amp;action=click&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vue</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Introduction to SQL</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Sun, 26 Jan 2025 23:28:46 +0000</pubDate>
      <link>https://dev.to/wlegard/introduction-to-sql-3b7c</link>
      <guid>https://dev.to/wlegard/introduction-to-sql-3b7c</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction to SQL&lt;/strong&gt;&lt;br&gt;
SQL stands of Structured Query Language. It is programming language that is used to manage data in a relational data management system that was introduced in the 1970s. It was developed at IBM by Donald D. Chamberlin and Raymond F. Boyce after learning about the relational model from Edgar F. Codd.&lt;br&gt;
 SQL was formerly knowns as SEQUEL, but later shortened SQL. SQL allows you access and manipulate databases. Oracle was the first vendor to offer a SQL management system. &lt;/p&gt;

&lt;p&gt;SQL is used by software developers, data analysts, and data administers. These careers work with manipulating large amounts of data, and what why SQL is a great language to work with. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does SQL work&lt;/strong&gt;&lt;br&gt;
SQL is a language used to communicate with databases. It’s used to create, modify, retrieve, and manipulate data in relational databases.&lt;br&gt;
SQL can be used to create tables and interact with data in those tables.&lt;/p&gt;

&lt;p&gt;SQL use a server to process requests for data and then it will send back  results. A user will send a request with  SQL query. The query is sent to the SQL server. The server searches the database. The results are returned. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;SQL Query Received: A user sends a query and the SQL engine receives it from the application.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Query Parsing: The SQL engine's parser checks the syntax of the query to make sure that it’s valid. Once it's valid, the parser converts it into an internal representation called a parse tree.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Query Optimization: The optimizer checks out the query and decides the best  way to execute it. The main goal it is minimize time and resources that's needed to run this query.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Query Execution: The query is executed and results are received  according to the execution plan.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data Retrieval and Storage Access: The storage engine interacts with the physical storage to get data and possibly update records. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Return Results: The SQL engine sends the results back to the user or application.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;SQL Database Management Systems can be used with different Database Management Systems that offer their own way of using of SQL.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;MySQL: An open-source relational database management system.&lt;/li&gt;
&lt;li&gt;PostgreSQL: An advanced open-source database known for its ability to cover large databases.&lt;/li&gt;
&lt;li&gt;SQL Server: A relational database developed by Microsoft.&lt;/li&gt;
&lt;li&gt;Oracle: A widely used commercial relational database management system.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&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%2Fi9xqqicnqs7za2zjmxrp.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%2Fi9xqqicnqs7za2zjmxrp.png" alt=" " width="800" height="393"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Datatypes&lt;/strong&gt;&lt;br&gt;
 SQL Data Types&lt;br&gt;
SQL databases support a variety of data types to define the type of data each column in a table can hold.  &lt;/p&gt;

&lt;p&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%2Fx0lfgis20rwp56c14vep.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%2Fx0lfgis20rwp56c14vep.png" alt=" " width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SQL Comments&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* This is a multi-line
comment in SQL. */

-- This is a single-line comment in SQL.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;SQL Commands&lt;/strong&gt;&lt;br&gt;
 SQL commands are case-insensitive and are written uppercase for clarity.&lt;br&gt;
Statements end with a semicolon but it's not it is not needed.&lt;/p&gt;

&lt;p&gt;There are four main key commands used in SQL. &lt;br&gt;
SELECT is used to retrieve data.&lt;br&gt;
DELETE is used to remove data.&lt;br&gt;
INSERT is used to add new data.&lt;br&gt;
UDPDATE is used to modify data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-- Create Sales table

CREATE TABLE Sales (
    sale_id INT PRIMARY KEY,
    product_id INT,
    quantity_sold INT,
    sale_date DATE,
    total_price DECIMAL(10, 2)
);

-- Insert sample data into Sales table

INSERT INTO Sales (sale_id, product_id, quantity_sold, sale_date, total_price) VALUES
(1, 101, 5, '2024-01-01', 2500.00),
(2, 102, 3, '2024-01-02', 900.00),
(3, 103, 2, '2024-01-02', 60.00),
(4, 104, 4, '2024-01-03', 80.00),
(5, 105, 6, '2024-01-03', 90.00);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output&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%2Fm9khz8ajnxt3sgbgdcrl.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%2Fm9khz8ajnxt3sgbgdcrl.png" alt=" " width="713" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2F8op6wjci4cppii8u97zm.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%2F8op6wjci4cppii8u97zm.png" alt=" " width="736" height="901"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Conclusion&lt;br&gt;
SQL is a great programming tool for managing relational databases. You can create, manipulate, and retrieve data while keeping the data safe with great performance. SQL is the preferred language for relational database management if you are working with small or large databases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.w3schools.com/sql/sql_intro.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_intro.asp&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://aws.amazon.com/what-is/sql/" rel="noopener noreferrer"&gt;https://aws.amazon.com/what-is/sql/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/SQL" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/SQL&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.google.com/url?sa=i&amp;amp;url=https%3A%2F%2Fblog.quest.com%2Fsql-server-execution-plan-what-is-it-and-how-does-it-help-with-performance-problems%2F&amp;amp;psig=AOvVaw0lHPbks0-zqsEyhfgk04PQ&amp;amp;ust=1737951737028000&amp;amp;source=images&amp;amp;cd=vfe&amp;amp;opi=89978449&amp;amp;ved=0CBQQjRxqFwoTCJCIhfLEkosDFQAAAAAdAAAAABAK" rel="noopener noreferrer"&gt;https://www.google.com/url?sa=i&amp;amp;url=https%3A%2F%2Fblog.quest.com%2Fsql-server-execution-plan-what-is-it-and-how-does-it-help-with-performance-problems%2F&amp;amp;psig=AOvVaw0lHPbks0-zqsEyhfgk04PQ&amp;amp;ust=1737951737028000&amp;amp;source=images&amp;amp;cd=vfe&amp;amp;opi=89978449&amp;amp;ved=0CBQQjRxqFwoTCJCIhfLEkosDFQAAAAAdAAAAABAK&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.programiz.com/sql/comments" rel="noopener noreferrer"&gt;https://www.programiz.com/sql/comments&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://images.search.yahoo.com/search/images;_ylt=AwrJ.UPEwpZnDYwKGc9XNyoA;_ylu=Y29sbwNiZjEEcG9zAzEEdnRpZAMEc2VjA3BpdnM-?p=sql+data+types&amp;amp;fr2=piv-web&amp;amp;type=E211US714G0&amp;amp;fr=mcafee#id=7&amp;amp;iurl=https%3A%2F%2Fwww.softwaretestingo.com%2Fwp-content%2Fuploads%2F2023%2F01%2FSQL-Data-Types-Numeric-String-and-DateTime.png&amp;amp;action=click" rel="noopener noreferrer"&gt;https://images.search.yahoo.com/search/images;_ylt=AwrJ.UPEwpZnDYwKGc9XNyoA;_ylu=Y29sbwNiZjEEcG9zAzEEdnRpZAMEc2VjA3BpdnM-?p=sql+data+types&amp;amp;fr2=piv-web&amp;amp;type=E211US714G0&amp;amp;fr=mcafee#id=7&amp;amp;iurl=https%3A%2F%2Fwww.softwaretestingo.com%2Fwp-content%2Fuploads%2F2023%2F01%2FSQL-Data-Types-Numeric-String-and-DateTime.png&amp;amp;action=click&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>sql</category>
      <category>programmers</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What is Ruby?</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Mon, 20 Jan 2025 01:27:36 +0000</pubDate>
      <link>https://dev.to/wlegard/what-is-ruby-5287</link>
      <guid>https://dev.to/wlegard/what-is-ruby-5287</guid>
      <description>&lt;p&gt;Ruby is an object-oriented and general-purpose programming language created by Yukihiro Matsumoto (also known as Matz) in the 1990s in Japan.  His main goal for creating Ruby is to make programming enjoyable. His focus was  that systems design needs to emphasize human, rather than computer needs. Ruby's language was influenced by Perl, Smalltalk, and Eiffel. It is used by Github, Shopify, Twitter, Airbnb, Dribbble. Ruby's syntax is easy to learn and great for beginners.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages&lt;/strong&gt;&lt;br&gt;
Ruby's is small, elegant and powerful with fewer number of lines of code.&lt;br&gt;
Ruby allows simple and fast creation of Web application which means easier work.&lt;br&gt;
Ruby is a dynamic programming language because of it features supports the dynamic behavior during runtime. Ruby is flexible and adaptable the way the programs are written and executed.&lt;/p&gt;

&lt;p&gt;Anything that have a value is considered an object in Ruby and it supports powerful object-oriented concepts like inheritance, polymorphism, and encapsulation.&lt;/p&gt;

&lt;p&gt;Ruby improves its memory through their built-in garbage collection that manages memory automatically by cleaning up unused objects.&lt;br&gt;
Ruby follow the rules of duck typing where objects are identified by what they can do rather than what class they belong to.&lt;/p&gt;

&lt;p&gt;Developers can use RubyGems to import add-ons, libraries and code packages that makes it faster to debug and authenticate.&lt;br&gt;
Ruby uses a virtual machine that is part of an interpret to execute code.&lt;/p&gt;

&lt;p&gt;Ruby is a highly flexible and powerful language because of metaprogramming which allows you to write code that can modify, define, or invoke methods, classes, and modules dynamically at runtime. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disadvantages&lt;/strong&gt;&lt;br&gt;
Ruby is not the fastest language and runs slower than some other languages like C++ and Java, making less suitable for applications that require high performance.&lt;br&gt;
Ruby takes up more memory than some other languages due to it being a dynamic, object-oriented program and garbage collection.&lt;/p&gt;

&lt;p&gt;Ruby has scalability issues due to its design, runtime environment, performance and memory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;br&gt;
Ruby's Syntax is slightly similar to Perl and Python.&lt;br&gt;
Ruby has several built-in data types including strings, numbers, arrays, hashes, and Booleans. Its design is elegant, readable and easy to write.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Datatypes&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# String
name = "Jane"

# Integer
age = 30



# Boolean
is_student = true

# Array
numbers = [3, 4, 5, 6]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Stings use single or double quotes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;greeting = "Hello"
name = "Jane"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ruby use single-line and multi-line comments.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#This is a single line comment
=begin This is a double
 line comment 
=end
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hashes are (key-value pairs)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;person = {
name: "Jane",
age: 30
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Methods are defined with the def keyword and return values using the keyword return or implicitly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def greet(name)
return "Hello" , #{name}!

put greet(Jane) #output: Hello, Jane!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Classes are written with the keyword class.&lt;br&gt;
def defines the method and end close them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Human
def initialize (name, age)
@name = name
@age = age
end
human = new Human.new("Jane", 30)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Iterators are methods where you to loop through collections. &lt;br&gt;
Here is an example of the each method.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[3, 4, 5].each do |num|
puts num
end
#output
#3
#4
#5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Loops are used to repeat a block of code multiple times until a particular condition is met or for a fixed number of iterations. &lt;/p&gt;

&lt;p&gt;Here is an example of a for loop.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fruits = ["orange", "grapes", "apple"]
for fruit in fruits
  puts fruit
end
# Output:
# orange
# grapes
# apple
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Ruby is an dynamic, object-oriented programming language known for it's simplicity and elegance. It's a language that can be used by beginners and experienced programmers. Ruby's focus is for the programmer to have fun and be happy. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/Ruby_(programming_language)" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Ruby_(programming_language)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/ruby-programming-language/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/ruby-programming-language/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.ruby-lang.org/en/about/" rel="noopener noreferrer"&gt;https://www.ruby-lang.org/en/about/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Array and Object Access</title>
      <dc:creator>Whitley Legard Antoine</dc:creator>
      <pubDate>Fri, 15 Nov 2024 18:16:20 +0000</pubDate>
      <link>https://dev.to/wlegard/array-and-object-access-436f</link>
      <guid>https://dev.to/wlegard/array-and-object-access-436f</guid>
      <description>&lt;p&gt;&lt;strong&gt;What are objects?&lt;/strong&gt;&lt;br&gt;
Objects are used to store keyed collections of various data and more complex entities. Objects are variables, but they  can contain many values. An object can be created with brackets that can be empty or filled with key/value pairs. The key is a string, also called a property name, and value can be anything relating to the key. the key/value pairs are unordered. Objects can store other objects, functions, primitive data types, and arrays.&lt;/p&gt;

&lt;p&gt;Object literal is an empty object.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Dot Notation and Bracket Notation&lt;/strong&gt;&lt;br&gt;
You can access the value property by its key. You can modify the value of the existing property of the key. You can add a new property to an object.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dot Notation on objects&lt;/strong&gt;&lt;br&gt;
Dot Notation on objects will give you access to keys and methods of object. Dot notation is written with the object's name dot(.) the key/property.&lt;br&gt;
object.key&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};
console.log(user.name); //output "Carol"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To modify objects using object.key&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};

user.name = 'Bonnie'
console.log(user); //
//output 

name: '"Bonnie",
age: 30,
occupation: "Teacher"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add to objects using object.key&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};
user.favColor = 'Red'
console.log(user);
//output
age: 30,
  name: "Carol",
  occupation: "Teacher",
  favColor: "Red"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Bracket Notation on objects&lt;/strong&gt;&lt;br&gt;
This expression allows you  to access the object properties using a string(wrapped in quotes) or variable that holds the property name. This is useful when dot notation can not be used. Bracket notation allows you to use variables as property names, unlike dot notation&lt;br&gt;
object['expression'];&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};

console.log(user['name']);//output "Carol"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To modify an object&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};

user['name'] = 'Bonnie'
console.log(user);
//output
name: 'Bonnie',
age: 30,
occupation: 'Teacher'
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add to an object&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user = {
name: 'Carol',
age: 30,
occupation: 'Teacher'
};

user['favColor'] = 'Red'
console.log(user);
//output
name: 'Carol'
age: 30
occupation: 'Teacher'
user['favColor'] = 'Red'

};


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What Are Arrays?&lt;/strong&gt;&lt;br&gt;
An array can hold different values including number, string, Boolean, and null. Each value in an array is called element, and each element is accessed by its index that starts at 0. Index will give the position of an element. The elements are enclosed within in square brackets([]) and separated by commas. &lt;/p&gt;

&lt;p&gt;Empty array literal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var user =[]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;index:      0     1      2
var user = [1, 'Carol', true, ];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1 is a number and is located at the zero index.&lt;br&gt;
'Carol' is string and is located at the first index.&lt;br&gt;
True is a Boolean value and it's located at the third index.&lt;/p&gt;

&lt;p&gt;Array Methods are built in JavaScript methods where you add, remove, and modify elements.&lt;/p&gt;

&lt;p&gt;.push() allows you to add an element to the end of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];
vegetables.push('cauliflower')
console.log(vegetables)
//output
var vegetables = ['spinach', 'broccoli', 'green beans', 'kale', 'cauliflower'];

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.pop() allows you remove a value to the end of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['spinach', 'broccoli', 'green beans', 'kale', 'cauliflower'];
vegetables.pop()
console.log(vegetables);
//output
var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.unshift() allows you add a value to the front of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];
vegetables.unshift('Brussel sprouts');
console.log(vegetables);
//output
var vegetables = ['Brussel sprouts', 'spinach', 'broccoli', 'green beans', 'kale'];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.shift() allows you to remove a value to the front of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['Brussel sprouts', 'spinach', 'broccoli', 'green beans', 'kale'];
vegetables.shift();
console.log(vegetables);
//output
var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.length() property allows to get the number of items in an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];
console.log(vegetables.length); 
//output 4

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Bracket Notation on arrays&lt;/strong&gt;&lt;br&gt;
You can use bracket notation and index to get the value of an element in an array.&lt;br&gt;
The index starts at 0 which will give the first element and the index 1 will give you the second element, and then the next.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var vegetables = ['spinach', 'broccoli', 'green beans', 'kale'];
vegetables[0] = 'spinach';
vegetables[1] = 'broccoli';
vegetables[2] = 'green beans'
vegetables[3] = 'kale'
console.log(vegetables[0]);
//output 'spinach'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Arrays and objects are both collections in JavaScript where values can be manipulated. Arrays are ordered collections of primitive data types where you can access each element with a zero based index. Array methods are used to add, remove, or modify arrays with dot notation. Bracket notation along with the zero based index to access each element. Objects are a collection of unordered complex data types use keys to access values. Dot notation is used for simple keys and bracket notation is used for more complex keys. &lt;br&gt;
&lt;strong&gt;References:&lt;/strong&gt;&lt;br&gt;
1.&lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" rel="noopener noreferrer"&gt;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array&lt;/a&gt;&lt;br&gt;
2.&lt;a href="https://www.w3schools.com/js/js_arrays.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/js/js_arrays.asp&lt;/a&gt;&lt;br&gt;
3.&lt;a href="https://javascript.info/array" rel="noopener noreferrer"&gt;https://javascript.info/array&lt;/a&gt;&lt;/p&gt;

</description>
      <category>arrays</category>
      <category>objects</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
