<?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: Ipicky2</title>
    <description>The latest articles on DEV Community by Ipicky2 (@adrien09972856).</description>
    <link>https://dev.to/adrien09972856</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%2F49277%2Fa40e1598-4707-4781-80ce-b2c2d40080fb.jpg</url>
      <title>DEV Community: Ipicky2</title>
      <link>https://dev.to/adrien09972856</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adrien09972856"/>
    <language>en</language>
    <item>
      <title>Become a better developer</title>
      <dc:creator>Ipicky2</dc:creator>
      <pubDate>Tue, 11 Feb 2020 13:21:01 +0000</pubDate>
      <link>https://dev.to/adrien09972856/become-a-better-developer-36fg</link>
      <guid>https://dev.to/adrien09972856/become-a-better-developer-36fg</guid>
      <description>&lt;p&gt;Actually, I have been developing since five years, always at school. But since one year and a half I work for a company, three days per week. I don't think that I'm the best developer but not the worst. And for this year I has deciding to be a better developer. But why ?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My definition of good developer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I read many post on DEV or other forum, and frequently I saw this :&lt;br&gt;
"A good developer is fast, writes few lines, very specialized."&lt;br&gt;
"Companies search a developer very qualified in one domain."&lt;/p&gt;

&lt;p&gt;I'm not ok. It's not be a good developer to write three lines instead of ten, if no one can take the code after it. It's not be a good developer to code quickly, if the code is ugly. I prefer take my time, but my code is good for me, for the company and for the person who takes my code afterwards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can I become a better developer ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To become a better developer I separate my year with three objectives :&lt;/p&gt;

&lt;p&gt;1) Refactoring&lt;br&gt;
2) Testing&lt;br&gt;
3) Performances&lt;/p&gt;

&lt;p&gt;I chose these objectives because, for me, it's the definition of good developer. &lt;/p&gt;

&lt;p&gt;1) A code clean, whoever takes my code, it will be easy to take back.&lt;br&gt;
2) A constant code, the company is based on a tested and clean code.&lt;br&gt;
3) Code that doesn't use more resources than necessary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Refactoring&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I searched many books on refactoring, mainly for JS. And I found this :&lt;/p&gt;

&lt;p&gt;Refactoring : Improving the Design of Existing Code / Martin Fowler&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hG3vl815--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3puvv4eqvfq7psgywth1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hG3vl815--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3puvv4eqvfq7psgywth1.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think this book should be read by all developers. I have learned so much ! Analyze and understand how it is possible to refactor your code, this is what is explained in this book, with very clear examples. &lt;br&gt;
I highly recommend it.&lt;/p&gt;

&lt;p&gt;And last week at my job, I finish a PHP code and I decide to refactoring my code by applying what I learned. And it's the better satisfaction. My book is the second edition with examples on JS, but the first edition is on Java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My list of books&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Clean Coder: A Code of Conduct for Professional Programmers / Robert C. Martin&lt;/p&gt;

&lt;p&gt;Clean Code: A Handbook of Agile Software Craftsmanship / Robert C. Martin&lt;/p&gt;

&lt;p&gt;Clean Architecture: A Craftsman's Guide to Software Structure and Design / Robert C. Martin &lt;/p&gt;

&lt;p&gt;Clean Agile: Back to Basics / Robert C. Martin &lt;/p&gt;

&lt;p&gt;Test Driven Development: By Example / Kent Beck&lt;/p&gt;

&lt;p&gt;Implementation Patterns / Kent Beck&lt;/p&gt;

&lt;p&gt;Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation / Jez Humble&lt;/p&gt;

&lt;p&gt;High Performance JavaScript / Nicholas C Zakas&lt;/p&gt;

&lt;p&gt;These are mainly books on refactoring, because I haven't researched other objectives yet. I don't have an exceptional level of English, I would even say that it is poor, but if we go to great lengths we are always rewarded. Sorry for my English, if you read until the end. I will do other articles on my readings. Feel free to give me references, or anything else in comments. Thanks for reading.&lt;/p&gt;

</description>
      <category>books</category>
      <category>motivation</category>
      <category>codequality</category>
    </item>
    <item>
      <title>Call data ejs to database MongoDB</title>
      <dc:creator>Ipicky2</dc:creator>
      <pubDate>Thu, 28 Dec 2017 08:59:36 +0000</pubDate>
      <link>https://dev.to/adrien09972856/call-data-ejs-to-database-mongodb-1aag</link>
      <guid>https://dev.to/adrien09972856/call-data-ejs-to-database-mongodb-1aag</guid>
      <description>&lt;p&gt;Hi, for a web development project, i need to send data from my database to my index.ejs, to display. It's a success ! Now I would like recover the same data and send to another collection in my database.&lt;br&gt;
(I display my products with "products collection", and when the user clicks on "buy", the product is sending to "basket collection".)&lt;br&gt;
If somebody can help me. I have my two functions on the same .js.&lt;br&gt;
I attached the screen of index.ejs and method.js (where I do my functions).&lt;/p&gt;

&lt;p&gt;index.ejs (display) :&lt;br&gt;
&lt;a href="https://thepracticaldev.s3.amazonaws.com/i/lx9yvtejp261xncmcxvd.png"&gt;https://thepracticaldev.s3.amazonaws.com/i/lx9yvtejp261xncmcxvd.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;method.js (function basket) :&lt;br&gt;
&lt;a href="https://thepracticaldev.s3.amazonaws.com/i/3ee21psgg0i3qh92pyhh.png"&gt;https://thepracticaldev.s3.amazonaws.com/i/3ee21psgg0i3qh92pyhh.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;method.js (function products to display on index.ejs) :&lt;br&gt;
&lt;a href="https://thepracticaldev.s3.amazonaws.com/i/zaskox2q384li0lqr7yz.png"&gt;https://thepracticaldev.s3.amazonaws.com/i/zaskox2q384li0lqr7yz.png&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to create a session / login with ejs ?</title>
      <dc:creator>Ipicky2</dc:creator>
      <pubDate>Thu, 14 Dec 2017 09:50:29 +0000</pubDate>
      <link>https://dev.to/adrien09972856/how-to-create-a-session--login-with-ejs--2l7</link>
      <guid>https://dev.to/adrien09972856/how-to-create-a-session--login-with-ejs--2l7</guid>
      <description>&lt;p&gt;Hi, for a web development project, I want to make a login page on my website, but I don't know how to create a session, and compare the login with my .json. &lt;br&gt;
I tried to do my login system with passport, express-session ans socket.io, but I didn't succeed. I don't understand the logic required.&lt;/p&gt;

&lt;p&gt;Could someone please help me ? Explain to me the logic ? Show me an example code which help me ?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>node</category>
      <category>login</category>
    </item>
  </channel>
</rss>
