<?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: Yağmur</title>
    <description>The latest articles on DEV Community by Yağmur (@yagmurmutluer9).</description>
    <link>https://dev.to/yagmurmutluer9</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%2F597408%2Ff0227d52-91ea-4ff4-b970-b6e6bbdfc443.jpg</url>
      <title>DEV Community: Yağmur</title>
      <link>https://dev.to/yagmurmutluer9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yagmurmutluer9"/>
    <language>en</language>
    <item>
      <title>If You're a Junior, Apply Jobs</title>
      <dc:creator>Yağmur</dc:creator>
      <pubDate>Mon, 22 Mar 2021 18:01:55 +0000</pubDate>
      <link>https://dev.to/yagmurmutluer9/if-you-re-a-junior-apply-jobs-5heb</link>
      <guid>https://dev.to/yagmurmutluer9/if-you-re-a-junior-apply-jobs-5heb</guid>
      <description>&lt;p&gt;Hi, everyone! I'm a senior computer science student and junior developer. I applied some dev jobs and I want to share my experience about why we should apply jobs more often.&lt;/p&gt;

&lt;p&gt;Usually people don't apply a job unless they feel enough for the job. But how do you know you're enough good? or if you are on the wrong path, then who will tell you? The best way is applying a job! &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you want a career you basically needs two things: soft and hard skills. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You probably heard some interview questions. &lt;em&gt;"Tell me about yourself, why you choose this career, etc"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Maybe you think you are good at replying for these questions but with excitement you may not. &lt;/p&gt;

&lt;p&gt;You need experience to be &lt;strong&gt;REALLY&lt;/strong&gt; good. &lt;/p&gt;

&lt;h3&gt;
  
  
  For hard skills:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;you will learn how the language/tech used by companies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can say &lt;strong&gt;I know Javascript&lt;/strong&gt;. But how companies use javascript is different that knowledge. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;you will what should you &lt;strong&gt;know&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They might ask you some technologies or languages that you do not know. Take note and learn after the interview! So that is how you gain experience from it. &lt;/p&gt;

&lt;p&gt;You can take note about the questions that you think you did not answer well. &lt;/p&gt;

&lt;h3&gt;
  
  
  A list of questions that i remember/love:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;What is your biggest success/failure?&lt;/li&gt;
&lt;li&gt;Why you want to work in that field?&lt;/li&gt;
&lt;li&gt;What is your favorite thing about this &lt;strong&gt;language&lt;/strong&gt;?&lt;/li&gt;
&lt;li&gt;Do you know software development methodologies? (agile)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And my favorite question,&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Tell me about yourself.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Tthis is the hardest question for myself. You have to explain yourself as well as possible within two minutes or less. &lt;/p&gt;

&lt;p&gt;I hope everyone will find a good job to start their career, thank yyou for reading!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>juniordev</category>
      <category>career</category>
    </item>
    <item>
      <title>Let's Create Anime App - Part 1</title>
      <dc:creator>Yağmur</dc:creator>
      <pubDate>Mon, 22 Mar 2021 09:09:43 +0000</pubDate>
      <link>https://dev.to/yagmurmutluer9/let-s-create-anime-app-part-1-12ko</link>
      <guid>https://dev.to/yagmurmutluer9/let-s-create-anime-app-part-1-12ko</guid>
      <description>&lt;p&gt;Hi everyone! Today we'll create an vue anime app using &lt;a href="https://jikan.docs.apiary.io"&gt;Jikan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;github repo: &lt;a href="https://github.com/yagmurmutluer9/vue-anime-app"&gt;https://github.com/yagmurmutluer9/vue-anime-app&lt;/a&gt;&lt;br&gt;
demo: &lt;a href="https://vue-anime-app.netlify.app"&gt;https://vue-anime-app.netlify.app&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Everything i write or code is for the learning of my vue journey. So  I write what I learn. I want to develop this app while I'm learning new stuff. I hope you enjoy. =)&lt;/p&gt;
&lt;h2&gt;
  
  
  How to pass data to a child component?
&lt;/h2&gt;

&lt;p&gt;Component is a piece of code that we use in our application. If the code will appear at different places or the code that we write getting complicated then we use components. &lt;/p&gt;

&lt;p&gt;Let's create an component called Hello in our application.&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;template&amp;gt;

&amp;lt;p&amp;gt; Hello, {{ username }} &amp;lt;/p&amp;gt;

&amp;lt;/template&amp;gt;

&amp;lt;script&amp;gt;

export default {

props: ["username"]
}
&amp;lt;/script&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Let's add Hello component into App.vue.&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;template&amp;gt;

&amp;lt;p&amp;gt; Hello, {{ username }} &amp;lt;/p&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script&amp;gt;

import Hello from './components/Hello.vue'
export default {
  name: 'App',
  components: {
    Hello
  },
  data() {
    return {
      username: "Yağmur"

    }
  },
&amp;lt;/script&amp;gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  How to pass data to a parent component?
&lt;/h2&gt;

&lt;p&gt;Let's modify our Hello component. We add input&amp;amp;button so when user search and submit it we display it from our main application. &lt;/p&gt;

&lt;p&gt;We pass input with v-model named search and when button clicked Search method pass data to parent component. &lt;/p&gt;

&lt;p&gt;When we passing a value we giving that value a tag or an id which is searchedResult in here.&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;template&amp;gt;

&amp;lt;p&amp;gt; Hello, {{ username }} &amp;lt;/p&amp;gt;
&amp;lt;input type="text" placeholder="search something" v-model="search"&amp;gt; 
&amp;lt;button @click="Search"&amp;gt; submit &amp;lt;/button&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script&amp;gt;
export default {
    props: ["username"],
    data() {
        return{
            search: ''
        }
    },
    methods: {
        Search() { 
            this.$emit("search", this.search)

        }

    }

}
&amp;lt;/script&amp;gt;

&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;&amp;lt;template&amp;gt;
&amp;lt;Header/&amp;gt;
&amp;lt;Hello :username="username" @searchedResult="FetchedResult"/&amp;gt;
&amp;lt;p&amp;gt; {{ result }}&amp;lt;/p&amp;gt;
&amp;lt;/template&amp;gt;

&amp;lt;script&amp;gt;
import Hello from './components/Hello.vue'

export default {
  name: 'App',
  components: {
    Hello
  },
  data() {
    return {
      username: "Yağmur",
      result: ''

    }
  },
  methods: {
     FetchedResult(result) {
       this.result = result;
     }
  }
}
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Differences between v-model and v-bind
&lt;/h2&gt;

&lt;p&gt;V-model is for two-way data binding. Whenever we chage input then our data will change too. &lt;/p&gt;

&lt;p&gt;V-bind is for one-way data binding. We can't change original data using v-bind. &lt;/p&gt;

&lt;p&gt;There's an example shows difference between two.&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;div id="app"&amp;gt;
  &amp;lt;input type="text" v-model="msg"&amp;gt;
  &amp;lt;p&amp;gt;Data bound with v-model: {{ msg }}&amp;lt;/p&amp;gt;
  &amp;lt;input type="text" v-bind="msg"&amp;gt;
  &amp;lt;p&amp;gt; Data bound with v-bind {{msg}} &amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

new Vue({
  el: "#app",
  data: {
    msg: 'custom',
  },
})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In part two I'll explain v-for then we'll move to firebase auth.&lt;/p&gt;

&lt;p&gt;This project will contain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;routers&lt;/li&gt;
&lt;li&gt;firebase auth/database&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vue</category>
      <category>api</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Routers in Vue JS</title>
      <dc:creator>Yağmur</dc:creator>
      <pubDate>Tue, 16 Mar 2021 13:40:20 +0000</pubDate>
      <link>https://dev.to/yagmurmutluer9/routers-in-vue-js-32ko</link>
      <guid>https://dev.to/yagmurmutluer9/routers-in-vue-js-32ko</guid>
      <description>&lt;p&gt;Hi there! I'm learning Vue and one of the best practice is sharing what you learn. So here i am with routers. Let's go!&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we use routers?
&lt;/h2&gt;

&lt;p&gt;Let's think about you are on a web page. Whenever you click at a link or etc page will be directed to a new page. But there are two ways to do this logic. &lt;/p&gt;

&lt;p&gt;First one which is traditional one is multi page application. Everytime we send a request for a page we wanted. &lt;/p&gt;

&lt;p&gt;The second which is called single page application logic is that once load all pages and play with the links. So everything done in user browsers. That will make our website faster.&lt;/p&gt;

&lt;p&gt;Since Vue is a SPA this is explaination of why we use routers.&lt;/p&gt;

&lt;p&gt;Let's move the code now. Let's create a folder and with manual selection choose router options with vue 3.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vue create routers-vue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let's look at the router folder which has index.js&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'

const routers = [{
  path:'/',
  name:'Home',
  component: Home
}
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We import createRouter and createWebHistory from node-modules.&lt;br&gt;
We have an array called routers that will be contain pages. &lt;br&gt;
Finally we import the router so in the main.js we can use. &lt;/p&gt;
&lt;h3&gt;
  
  
  How we define inside routers array?
&lt;/h3&gt;

&lt;p&gt;path -&amp;gt; which is the direction&lt;br&gt;
name - &amp;gt; when we define custom navigations, we can use name instead of paths. so if path change in the future, we don't need to modify everything. &lt;br&gt;
component -&amp;gt; we can define component in two way. above we can see the first option. let's see the second one. Don't forget to create an about page.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  {
        path: '/about',
        name: 'About',
        component: function() {
            return import ('../views/About.vue')
        },

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

&lt;/div&gt;



&lt;p&gt;Let's add two buttons to App.vue In the template we see router-view and router-link which are special to vue router.&lt;/p&gt;

&lt;p&gt;With router-link we can navigate to an another page.&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;template&amp;gt;
  &amp;lt;div id="nav"&amp;gt;
    &amp;lt;router-link :to="{name:'Home'}"&amp;gt;Home&amp;lt;/router-link&amp;gt; |
    &amp;lt;router-link :to="{name: 'About'}"&amp;gt;About&amp;lt;/router-link&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;router-view/&amp;gt;
&amp;lt;/template&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Previously we said we can use name instead of path. This is an example of usage. &lt;/p&gt;

&lt;p&gt;If we use path-way: &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;router-link to="/Home"&amp;gt; Home &amp;lt;/router-link&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can see ":" which is a v-bind. V-bind is a way to we change the value with bounding data. we usually use with html attribute.&lt;/p&gt;

&lt;p&gt;Next post I'll explain nested dynamic routers, redirect and 404 Pages. &lt;/p&gt;

</description>
      <category>vue</category>
      <category>routers</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
