<?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: Marios T.</title>
    <description>The latest articles on DEV Community by Marios T. (@mariosffx).</description>
    <link>https://dev.to/mariosffx</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%2F261427%2Fa5e6fd35-af89-43f3-9e89-41782e48d2b0.png</url>
      <title>DEV Community: Marios T.</title>
      <link>https://dev.to/mariosffx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mariosffx"/>
    <language>en</language>
    <item>
      <title>What can I do with the Debugger for Chrome?</title>
      <dc:creator>Marios T.</dc:creator>
      <pubDate>Fri, 14 Aug 2020 07:51:25 +0000</pubDate>
      <link>https://dev.to/mariosffx/what-can-i-do-with-the-debugger-for-chrome-5cc7</link>
      <guid>https://dev.to/mariosffx/what-can-i-do-with-the-debugger-for-chrome-5cc7</guid>
      <description>&lt;p&gt;Hello.&lt;br&gt;
I have started using Gatsby and developing my own websites in it,&lt;br&gt;
and so far I have been developing web apps with Live Servers, auto refresh with autosave on with Visual Studio Code and I am fixing issues/bugs/code just like that.&lt;br&gt;
If I make a mistake I just read the Errors in Console.Log/Browser and fix them myself.&lt;/p&gt;

&lt;p&gt;I have never used a debugger and I don't know how it would help me.&lt;/p&gt;

&lt;p&gt;What is the Debugger, what it does?&lt;/p&gt;

&lt;p&gt;And how do I configure Visual Studio Code, Gatsby and Chrome for the debugger?&lt;/p&gt;

</description>
      <category>gatsby</category>
    </item>
    <item>
      <title>How do I change the state of sibling items on button press?
</title>
      <dc:creator>Marios T.</dc:creator>
      <pubDate>Thu, 02 Apr 2020 12:13:01 +0000</pubDate>
      <link>https://dev.to/mariosffx/how-do-i-change-the-state-of-sibling-items-on-button-press-2o3k</link>
      <guid>https://dev.to/mariosffx/how-do-i-change-the-state-of-sibling-items-on-button-press-2o3k</guid>
      <description>&lt;p&gt;Hello.&lt;/p&gt;

&lt;p&gt;I'm trying to inverse the status of each button text.&lt;/p&gt;

&lt;p&gt;Here's what I'm trying to do:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codesandbox.io/s/mystifying-sanderson-h3g43"&gt;https://codesandbox.io/s/mystifying-sanderson-h3g43&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By default "red" is on and the others are "off".&lt;/p&gt;

&lt;p&gt;I want when I press on "green" red and blue to be off.&lt;/p&gt;

&lt;p&gt;I don't know how to do this in both JS and React.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Questions about Full Stack JS</title>
      <dc:creator>Marios T.</dc:creator>
      <pubDate>Wed, 30 Oct 2019 17:47:20 +0000</pubDate>
      <link>https://dev.to/mariosffx/questions-about-full-stack-js-4ie6</link>
      <guid>https://dev.to/mariosffx/questions-about-full-stack-js-4ie6</guid>
      <description>&lt;p&gt;I'm fairly new to the world of Node.js and I have some questions because I am greatly confused.&lt;/p&gt;

&lt;p&gt;I did a project via Online Courses in Udemy&lt;br&gt;
&lt;a href="https://yelpcamp-web-coders.herokuapp.com"&gt;https://yelpcamp-web-coders.herokuapp.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What got me confused, is that I read blog posts, did several google searches, and I found billions of courses, books, blog posts, technologies and this is where I am really greatly confused and I need to sort them on my head.&lt;/p&gt;

&lt;p&gt;The only solution for me right is to create something on my own without any other courses, I got tired.&lt;/p&gt;

&lt;p&gt;Doing courses and homework is easy, for example: write a sort function, make some classes or objects, sort by age, create some event listeners and so on. But what happens when you want to make a Full Stack Web App? And that's exactly where I'm stuck.&lt;/p&gt;

&lt;p&gt;In the above project which was created in May, that project used Javascript 5 but that's ok. I learned a little bit of Node.js, npm, view engines and somehow managed to do it.&lt;/p&gt;

&lt;p&gt;For starting I would like to create my own blog as full stack app&lt;/p&gt;

&lt;p&gt;I know I can create a blog with Static HTML/CSS/Javascript and some JSON files but I want to do something more complex like for example when I or the user visits the following URL:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; /blog/posts // Select only the Title and a Short Description from the Table Posts &lt;/li&gt;
&lt;li&gt;/blog/posts/post_id // Select all from the selected title&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My goal is to use 2 tables, the 1st will contain only id, post_title, and the 2nd will contain the post, date_created, primary_id, foreign_key (id from the 1st table) and will make them appear on my browser will relationships and I will also add comments from users via a different table. I'm sure with this I will be able to learn the basics for real.&lt;/p&gt;

&lt;p&gt;Now, these are my problems:&lt;br&gt;
1) Is node.js good for MySQL or PostgreSQL?&lt;/p&gt;

&lt;p&gt;2) Which Template Engine should I use? I searched and I found many people mention Handlebars, pug, ejs. &lt;/p&gt;

&lt;p&gt;As I mentioned I want to be able to pull data from a database and make it appear to the user. What is the best to be used with FrontEnd, I want for example something like:&lt;/p&gt;

titleposts

&lt;p&gt;Where title and posts will get them from the Database, also I would like to learn Angular and ReactJS in the future, &lt;br&gt;
How can I render my webpages with ReactJS or Angular, do I have to use a template engine like ejs and combine ejs with React or is there any different way?&lt;/p&gt;

&lt;p&gt;3) Should I learn webpack? I read webpack's description if I understand correctly if for example, I have billions of CSS and JS files, webpack combine all of them and serve only 1 CSS and 1 JS file to the end user, is that correct?&lt;/p&gt;

&lt;p&gt;4) Should I learn Docker?&lt;br&gt;
I have 3 PCs, A desktop with Windows, A laptop with Ubuntu and a VPS with Ubuntu Server, if I have understood correctly, with Docker you create a container, throw your app, nginx, MySQL server and with a command, you are done.&lt;/p&gt;

&lt;p&gt;I know how to create services, install apps on Linux and I think it might be a lifesaver if I want to change VPS and for testing purposes to all of my machines (I think so)&lt;/p&gt;

&lt;p&gt;Thanks a lot.&lt;/p&gt;

</description>
      <category>help</category>
      <category>javascript</category>
      <category>node</category>
    </item>
  </channel>
</rss>
