<?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: QueTeddy</title>
    <description>The latest articles on DEV Community by QueTeddy (@queteddy).</description>
    <link>https://dev.to/queteddy</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%2F557784%2F05fd5b42-f9f0-46a6-a7df-3526fb4cbd15.jpeg</url>
      <title>DEV Community: QueTeddy</title>
      <link>https://dev.to/queteddy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/queteddy"/>
    <language>en</language>
    <item>
      <title>Understanding Database Concepts</title>
      <dc:creator>QueTeddy</dc:creator>
      <pubDate>Wed, 12 Jul 2023 05:45:06 +0000</pubDate>
      <link>https://dev.to/queteddy/understanding-database-concepts-9bd</link>
      <guid>https://dev.to/queteddy/understanding-database-concepts-9bd</guid>
      <description>&lt;p&gt;&lt;strong&gt;Understanding Database Concepts&lt;/strong&gt;&lt;br&gt;
A database is the organized storage of related data records into fields in a table which is persistent in nature, the stored data or records are generally related with a form of connection between them. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2a4e0z3R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ddvof44x4ie0g3xa42zl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2a4e0z3R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ddvof44x4ie0g3xa42zl.png" alt="Components of a database table" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database Schema&lt;/strong&gt;&lt;br&gt;
This is a design that represents how the database would be structured. Database designers/administrators design schemas which detail the relationship among the data in the database, the constraints among others. Schemas could be represented visually by schema diagrams. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iexd77p---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ygjc35202tauvdnl9lg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iexd77p---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ygjc35202tauvdnl9lg.png" alt="Example of database schema" width="456" height="588"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Entity Relationship&lt;/strong&gt;&lt;br&gt;
An entity is an object that is identifiable. An example would be staffs in a company, they could be considered as entities. All these entities have some attributes or properties that give them their identity. Relationship is the connection between entities across tables, it allows division of information into useful components that allows readability and efficiency. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--U9L81BS3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sq6psf3d03ho5edawmal.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--U9L81BS3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sq6psf3d03ho5edawmal.png" alt="Visual representation of entity and relationships" width="624" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The example below shows the relationship between the tables Student, Enrollment, Lecture, Lecturer and Subjects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KfQhakRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5x1pfmo84pq1wxo90dhs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KfQhakRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5x1pfmo84pq1wxo90dhs.png" alt="Image description" width="720" height="575"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Normalization *&lt;/em&gt;&lt;br&gt;
This is a database design technique that helps minimize data redundancy (creation of multiple copies of the same data in the database).  Using normalization, a database table could be broken up into smaller tables with links within them to ensure the relationship within them. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rX5XSlJr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9xsdghk6mzcgeq22ju0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rX5XSlJr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i9xsdghk6mzcgeq22ju0.png" alt="Normalization of a table" width="616" height="648"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Normalization also helps prevent data anomalies like insertion, deletion and updation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Modelling&lt;/strong&gt;&lt;br&gt;
A database has to be modelled first, which means it has to be designed in an architectural format that organizes the data description, the constraints on the data accepted and the data semantics. This helps understanding the database, building logical conception of the database and identifying missing and redundant data. It makes infrastructural upgrade and maintenance cheaper.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VozTwHU5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v8bk8bo27kofdkglyjbj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VozTwHU5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v8bk8bo27kofdkglyjbj.png" alt="Various types of data models" width="659" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hOyCSFzH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndks4qzek6kvx5izhmlp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hOyCSFzH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndks4qzek6kvx5izhmlp.png" alt="Example of a data model" width="688" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Queries&lt;/strong&gt;&lt;br&gt;
A database query allows for requesting data from the database either to manipulate or to retrieve the data requested. It is generally done using Structural Query language (SQL). SQL retrieves information from the database using a set of specified instructions example of database queries&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KH45CQVo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/az8kdtuu2vsu40qrml5k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KH45CQVo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/az8kdtuu2vsu40qrml5k.png" alt="Example of SQL query" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Integrity&lt;/strong&gt;&lt;br&gt;
Data integrity is a process that ensures the security, accuracy, and overall quality of data. This makes sure that the data collected or stored in the database is validate and accepted plus store in the intended space for it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wEwD0AZo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1gpg9vdiuqn5jk0dp6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wEwD0AZo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1gpg9vdiuqn5jk0dp6y.png" alt="Description" width="800" height="331"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;References &lt;br&gt;
&lt;a href="https://teachcomputerscience.com/the-database-concept"&gt;https://teachcomputerscience.com/the-database-concept&lt;/a&gt;&lt;br&gt;
&lt;a href="https://static.javatpoint.com/blog/images/database-schema.png"&gt;https://static.javatpoint.com/blog/images/database-schema.png&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.tutorialspoint.com/dbms/dbms_data_schemas.htm"&gt;https://www.tutorialspoint.com/dbms/dbms_data_schemas.htm&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.guru99.com/database-normalization.html"&gt;https://www.guru99.com/database-normalization.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.javatpoint.com/dbms-normalization"&gt;https://www.javatpoint.com/dbms-normalization&lt;/a&gt;&lt;br&gt;
&lt;a href="https://teachcomputerscience.com/the-database-concept/"&gt;https://teachcomputerscience.com/the-database-concept/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.javatpoint.com/dbms-normalization"&gt;https://www.javatpoint.com/dbms-normalization&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.educative.io/blog/what-is-database-query-sql-nosql"&gt;https://www.educative.io/blog/what-is-database-query-sql-nosql&lt;/a&gt;&lt;/p&gt;

</description>
      <category>database</category>
      <category>aws</category>
    </item>
    <item>
      <title>Understanding Infrastructure As Code</title>
      <dc:creator>QueTeddy</dc:creator>
      <pubDate>Wed, 12 Jul 2023 05:26:54 +0000</pubDate>
      <link>https://dev.to/queteddy/understanding-infrastructure-as-code-2j9</link>
      <guid>https://dev.to/queteddy/understanding-infrastructure-as-code-2j9</guid>
      <description>&lt;p&gt;&lt;strong&gt;Infrastructure As Code&lt;br&gt;
Infrastructure&lt;/strong&gt;&lt;br&gt;
In software, infrastructure refers to the underlying technological components and resources required to support the operation and deployment of software systems. It encompasses the hardware, software, networks, and services necessary to run, manage, and scale software applications. Think of it as the backstage machinery that makes your favorite app or website work. Without infrastructure, software wouldn't be able to run, store data, or communicate with other systems just like a house that needs a foundation, walls, electricity, and plumbing to function properly.&lt;br&gt;
Examples of infrastructure&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Hardware: This includes physical devices like servers, computers, routers, switches, and storage systems. These devices provide the computational power and storage capacity needed to host and run the application.&lt;/li&gt;
&lt;li&gt; Operating System: An operating system, such as Windows or Linux, is required to manage the hardware resources and provide a platform for running the application software.&lt;/li&gt;
&lt;li&gt; Web Server: A web server, like Apache HTTP Server or Nginx, is used to handle incoming requests from clients and serve web pages or other content to users.&lt;/li&gt;
&lt;li&gt; Database: Many applications require a database to store and retrieve data. Examples include MySQL, PostgreSQL, or MongoDB. The database handles data storage, retrieval, and querying.&lt;/li&gt;
&lt;li&gt; Security Infrastructure: To protect the application and its data, various security measures are implemented, such as firewalls, intrusion detection systems (IDS), encryption, and access controls.&lt;/li&gt;
&lt;li&gt; Monitoring and Logging: Monitoring tools and logging infrastructure help track the performance and health of the application. They provide insights into resource utilization, errors, and overall system behavior.&lt;/li&gt;
&lt;li&gt; Cloud Services: If the application is deployed on a cloud platform like Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP), additional infrastructure components such as virtual machines, cloud storage, load balancers, and serverless functions may be utilized.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Infrastructure as Code (IaC)&lt;/strong&gt;&lt;br&gt;
Infrastructure as Code (IaC) is a way of defining and managing infrastructure through code, using machine-readable configuration files or scripts.&lt;br&gt;
With Infrastructure as Code, the infrastructure configuration is expressed in code, just like software application code. This code can be version controlled, tested, and deployed using established software development practices. IaC treats infrastructure as a software-defined entity that can be created, modified, and destroyed programmatically.&lt;br&gt;
IaC tools, such as Terraform, AWS CloudFormation, Azure Resource Manager, and Ansible, facilitate the implementation of infrastructure as code. These tools provide a way to describe the desired infrastructure state and handle the provisioning and configuration process.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fFBMrtXp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xst063iedftgq7ms8zfh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFBMrtXp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xst063iedftgq7ms8zfh.png" alt="Infrastructure as code (Suntechnologies)" width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Uses of Infrastructure as Code&lt;/strong&gt;&lt;br&gt;
● Infrastructure Provisioning: IaC allows Infrastructure provisioning which involves automating the creation and configuration of infrastructure resources using code, resulting in consistent, scalable, and repeatable infrastructure setups.&lt;br&gt;
● Version Control: This allows tracking and managing changes made to infrastructure code over time, allowing for collaboration, history tracking, and easy rollback to previous versions if needed.&lt;br&gt;
● Automated Testing: This involves the automated execution of tests against the infrastructure code to ensure its correctness, validate configurations, and identify any potential issues or misconfigurations before deploying the infrastructure.&lt;br&gt;
● Infrastructure Monitoring: Involves implementing automated monitoring systems and tools to track the health, performance, and availability of the infrastructure resources defined in the code, providing real-time insights, alerts, and metrics for effective infrastructure management and troubleshooting.&lt;br&gt;
● Deployment Automation: This allows for the automation in the process of setting up and configuring infrastructure resources. Eliminates the need for manual and error-prone deployment steps, ensuring consistent and reliable deployments of infrastructure components. It simplifies the deployment process, saves time, and allows for easy replication and scaling of infrastructure setups.&lt;br&gt;
● Configuration Management: This involves managing and maintaining the configuration settings and properties of infrastructure resources through code. It allows consistent and controlled management of configurations across different environments, facilitates easy tracking and auditing of changes, and simplifies the process of updating and maintaining infrastructure configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples of Infrastructure as Code Tools&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AmmAIGmg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/444bjmzw8k2b7k1uvuxk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AmmAIGmg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/444bjmzw8k2b7k1uvuxk.png" alt="Examples of IaC Tools" width="800" height="758"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For further reading, please visit: &lt;a href="https://spacelift.io/blog/infrastructure-as-code"&gt;Infrastructure as Code: Best Practices, Benefits &amp;amp; Examples&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://www.suntechnologies.com/service/infrastructure-as-code/"&gt;https://www.suntechnologies.com/service/infrastructure-as-code/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.c-sharpcorner.com/blogs/what-is-infrastructure-as-a-code"&gt;https://www.c-sharpcorner.com/blogs/what-is-infrastructure-as-a-code&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.redhat.com/en/topics/automation/what-is-infrastructure-as-code-iac"&gt;https://www.redhat.com/en/topics/automation/what-is-infrastructure-as-code-iac&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.terraform.io/"&gt;https://www.terraform.io/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>aws</category>
      <category>infrastructureascode</category>
      <category>cloudformation</category>
    </item>
    <item>
      <title>Internships and I (HNG)</title>
      <dc:creator>QueTeddy</dc:creator>
      <pubDate>Mon, 16 Aug 2021 14:08:23 +0000</pubDate>
      <link>https://dev.to/queteddy/internships-and-i-hng-4kcj</link>
      <guid>https://dev.to/queteddy/internships-and-i-hng-4kcj</guid>
      <description>&lt;p&gt;Fellow humans of earth (yea, I think there are aliens out there too), I have been trying to get an internship for as long as 4 months now, it appears &lt;strong&gt;Python&lt;/strong&gt; is a very common stack but so is Mathematics (if you get what I mean), during my very long dry spell, I searched and combed every corner I could to see if I could be accepted into any, even if I don't get a dime from it (I needed accountability and experience badly). My breakthrough came through the &lt;strong&gt;&lt;a href="https://zuri.team"&gt;Zuri&lt;/a&gt;&lt;/strong&gt; team in partnership with &lt;strong&gt;HNGxI4G&lt;/strong&gt; and Slack(the platform). Then I discovered the internship is a very high paced one with thousands of individuals competing for less than 500 spaces and I would be working with &lt;strong&gt;python for backend web development&lt;/strong&gt;  (what are the odds right???). Am stating my goals here for constant remembrance and for accountability (also because it's required as the first task). &lt;/p&gt;

&lt;h2&gt;
  
  
  My Goal
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Get that damn Tee Shirt! 
I think everything I'll do would evolve around this, its going to be a very long 8 weeks, this is the starting point.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tutorials I'll turn to Bible
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=g6rQFP9zCAM"&gt;Figma&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/GIT/default.asp"&gt;Git&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/html/html_intro.asp"&gt;HTML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/python/python_intro.asp"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h6&gt;
  
  
  So help me, myself.
&lt;/h6&gt;

</description>
      <category>career</category>
      <category>python</category>
    </item>
  </channel>
</rss>
