<?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: Justin Okpara</title>
    <description>The latest articles on DEV Community by Justin Okpara (@justin_okpara_23ffc03ea1e).</description>
    <link>https://dev.to/justin_okpara_23ffc03ea1e</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1489886%2F6245d6cc-f10e-479d-9734-cb6ef9cb33c7.png</url>
      <title>DEV Community: Justin Okpara</title>
      <link>https://dev.to/justin_okpara_23ffc03ea1e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/justin_okpara_23ffc03ea1e"/>
    <language>en</language>
    <item>
      <title>HTML semantics</title>
      <dc:creator>Justin Okpara</dc:creator>
      <pubDate>Sun, 26 May 2024 19:42:26 +0000</pubDate>
      <link>https://dev.to/justin_okpara_23ffc03ea1e/html-semantics-5fbj</link>
      <guid>https://dev.to/justin_okpara_23ffc03ea1e/html-semantics-5fbj</guid>
      <description>&lt;p&gt;Semantic HTML are tags that define the content they contain.&lt;/p&gt;

&lt;p&gt;Semantic HTML is widely used in HTML 5, which is the latest version of HTML.&lt;/p&gt;

&lt;p&gt;It requires organizing and arranging HTML tags in a well detailed manner using detailed elements.&lt;/p&gt;

&lt;p&gt;Such elements tags are: Header, nav, section, article, aside, figure, figcaption, main, time, address and footer.&lt;/p&gt;

&lt;p&gt;HTML semantics can be beneficial in the following ways: &lt;br&gt;
1 Code structuring &lt;br&gt;
2 SEO &lt;br&gt;
3 Accessibility &lt;br&gt;
4 Readable and reusable code.&lt;/p&gt;

&lt;p&gt;HTML tags:&lt;br&gt;
Header: used to define the header of a context, can be used in any part of the document apart from the footer.&lt;/p&gt;

&lt;p&gt;Nav: used to define navigation for links to different pages or any part of the document, the ul and li were formerly used before the nav were introduced &lt;/p&gt;

&lt;p&gt;Figure: used to contain an image, it houses the section of an image and the images caption.&lt;/p&gt;

&lt;p&gt;Figcaption: this is the caption for the image in the figure tag.&lt;/p&gt;

&lt;p&gt;NB: it is safe to note that most of the HTML semantics tags do not alter the style of the document or give it a specific style, rather it helps in organizing and ordering the code in a readable manner.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Data types in JavaScript and PHP</title>
      <dc:creator>Justin Okpara</dc:creator>
      <pubDate>Sun, 19 May 2024 11:29:09 +0000</pubDate>
      <link>https://dev.to/justin_okpara_23ffc03ea1e/data-types-in-javascript-and-php-3ag4</link>
      <guid>https://dev.to/justin_okpara_23ffc03ea1e/data-types-in-javascript-and-php-3ag4</guid>
      <description>&lt;p&gt;Data types are the ways by which data can be declared in a programming language, different programming languages use different data types, although some of them can be similar.&lt;/p&gt;

&lt;p&gt;JavaScript &lt;/p&gt;

&lt;p&gt;JavaScript: JavaScript has 8 data types.&lt;/p&gt;

&lt;p&gt;They are : Boolean, Array, object, number, undefined, null, string, Bigint&lt;/p&gt;

&lt;p&gt;Boolean: Is usually a true of false declaration or statement &lt;/p&gt;

&lt;p&gt;Array: Array is used to hold data types that are similar, can be declared by [], or the new array() function.&lt;/p&gt;

&lt;p&gt;Object: This is one of the most widely used data types in JavaScript, it is the collection of data using key value pairs, using keys to access values of data, and values being the data that are being stored.&lt;/p&gt;

&lt;p&gt;Undefined: Undefined can be defined as variables that weren't assigned any value, leaving them undefined until a data has been defined.&lt;br&gt;
They are important in different programming languages for different reasons and are well used in imperative programming.&lt;/p&gt;

&lt;p&gt;Null: Null can be defined as a variable that was intentionally defined to have no values.&lt;/p&gt;

&lt;p&gt;String: This is the most widely used data type, encompasses a series of letters or alphabets.&lt;/p&gt;

&lt;p&gt;Number: This data type is widely used for declaring variables which houses numbers or numerals as variables, they can come in as integers, double, or float.&lt;/p&gt;

&lt;p&gt;Bigint: This type of data type is used to declare variable containing a very large set of numbers or integers.&lt;/p&gt;

&lt;p&gt;PHP &lt;/p&gt;

&lt;p&gt;PHP: PHP which is a widely used backend programming language has 8 data types.&lt;/p&gt;

&lt;p&gt;They are: String, Array, object, resource, integers, float, Boolean and null.&lt;/p&gt;

&lt;p&gt;Similarities and differences in data types  between JavaScript and PHP &lt;/p&gt;

&lt;p&gt;Similarities&lt;/p&gt;

&lt;p&gt;1 strings: The strings data type is similar in both languages, they're a series of letters or alphabets housed by a variable, the only difference between both of them is how  they are being declared in each of the languages.&lt;/p&gt;

&lt;p&gt;2 Boolean: Boolean in PHP or JavaScript are similar, they are used to represent truthy or falsy values.&lt;/p&gt;

&lt;p&gt;3 Null: This data type is also very similar between both JavaScript and PHP, they are used to intentionally define  variables with no values &lt;/p&gt;

&lt;p&gt;Differences &lt;/p&gt;

&lt;p&gt;1 Array: The array data type is different in both language, though they are the same in terms of the functionality but are different in terms of how they are being declared, the array data type is used to hold values that are similar.&lt;br&gt;
To declare an array in JavaScript we use the [], or use the new array() method.&lt;br&gt;
While to declare an array in PHP we only use the array() method, in as much as they have different syntax, both of them serve the same purpose which is to house data of similar kind.&lt;/p&gt;

&lt;p&gt;2 Numbers vs integers and float: Each of this data type has a similar purpose which is to store anything that's numerical.&lt;br&gt;
JavaScript uses the number data type, which is used to to store anything that is a numerical value, JavaScript does not group them in types but treats them all as one.&lt;br&gt;
PHP is different in terms of how it treats numerical values, it uses the integer data type to store a numerical value that is a whole number, and uses the float data type do store numbers with exponential or decimals.&lt;/p&gt;

&lt;p&gt;3 Objects: Objects are widely used in different programming languages and are used in both JavaScript and PHP.&lt;br&gt;
JavaScript objects are used to store data with key value pairs and can be defined using the curly braces {}.&lt;br&gt;
PHP on the other hand uses object but mainly as a version of the oop, which is the object oriented programming syntax, it creates a class with different methods and instances and uses the object function to initiate a class.&lt;/p&gt;

&lt;p&gt;Both JavaScript and PHP have similar syntax in some aspects and still have their differences in their syntax, but they both can be used to solve the same type of issues.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Data structures and importance in programming language</title>
      <dc:creator>Justin Okpara</dc:creator>
      <pubDate>Tue, 14 May 2024 11:21:01 +0000</pubDate>
      <link>https://dev.to/justin_okpara_23ffc03ea1e/data-structures-and-importance-925</link>
      <guid>https://dev.to/justin_okpara_23ffc03ea1e/data-structures-and-importance-925</guid>
      <description>&lt;p&gt;What is data structures?&lt;br&gt;
Data structures are essential components that help to store and organize data.&lt;/p&gt;

&lt;p&gt;In the newer world as we see today, data is large and very essential, so there's great importance for data to be well structured for specific purposes, data is so powerful in our modern world it needs to be structured and organized very properly.&lt;/p&gt;

&lt;p&gt;Data structures can come of different types as there are various means which data can be stored and structured, each having it's not specialty.&lt;/p&gt;

&lt;p&gt;Understanding the importance of data data structures is very crucial as loss of data or unkept data could lead to serious disasters and security threats, which brings us to how different data should be structured or stored.&lt;/p&gt;

&lt;p&gt;With the two main categories of data structures being linear data and non linear data structures&lt;/p&gt;

&lt;p&gt;Data structures can be applied in database management systems, compiling and many more, it is of importance to structure data so it will be easily retrieve and key in data properly and know how we we can manage data for different tasks and purposes.&lt;/p&gt;

&lt;p&gt;Eg Trying to store data for a file system would highly require a hierarchical data structure as it has different branches through which data can be stored or accessed, unlike storing data on the web browser local storage which would require a linear data structure, probably a stack structure, therefore it is of importance to understand all this concept to enable and analyze which system is best suited for storing different type of data.&lt;/p&gt;

&lt;p&gt;Another concept that's of importance to know about in structuring data is to know about static and dynamic data structuring.&lt;/p&gt;

&lt;p&gt;Static data structuring from the name static talks about data that is fixed, it's mainly used in array type of structuring where the data memory is fixed and cannot be altered, allowing easy means of identifying each specific data being stored.&lt;/p&gt;

&lt;p&gt;Dynamic data structuring on the other hand has to do with data memory that can vary, meaning it can be changed and altered allowing data memory &lt;br&gt;
to be allocated or deallocated.&lt;/p&gt;

&lt;p&gt;It's advisable to understand both types of data structuring to know which is more available for a project and best suit an application.Eg dynamic data structuring would be useful for large data storage as it would enable data to be removed and added easily, example would be a database storage for an e-commerce website which enables users to add account and also be able to delete there account.&lt;/p&gt;

&lt;p&gt;Therefore it is really important to understand the aspect of data structuring as it enables one to easily know how to manipulate, store and handle data for different tasks and purposes.&lt;/p&gt;

&lt;p&gt;How is does data and programming relate and what is the importance of data structure to programming?&lt;/p&gt;

&lt;p&gt;Data and programming and intertwined, to programe an application or software, one will need data, and to store, organize or structure data, one will need to program. In terms of programming languages it's very beneficial to learn data structuring, here are why are importance of it&lt;/p&gt;

&lt;p&gt;1: Helps to know what data structure suits a programming language.&lt;/p&gt;

&lt;p&gt;2: Helps to reduce complexity of code when trying to use and structure data in a programming language.&lt;/p&gt;

&lt;p&gt;3: Create reusable and more scalable data &lt;/p&gt;

&lt;p&gt;4: For security purposes to know which language best helps in safe keeping and for the encryption or storage of data.&lt;/p&gt;

&lt;p&gt;5: To know which language is best suited for handling large amount of data or vice versa.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
