<?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: Salah Bentayeb</title>
    <description>The latest articles on DEV Community by Salah Bentayeb (@halasproject).</description>
    <link>https://dev.to/halasproject</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%2F405683%2Fc7dbdd19-f6c8-4db6-970b-04a508a5d298.jpg</url>
      <title>DEV Community: Salah Bentayeb</title>
      <link>https://dev.to/halasproject</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/halasproject"/>
    <language>en</language>
    <item>
      <title>Smart Way to Structure Vuex</title>
      <dc:creator>Salah Bentayeb</dc:creator>
      <pubDate>Mon, 13 Jul 2020 20:59:36 +0000</pubDate>
      <link>https://dev.to/halasproject/smart-way-to-structure-vuex-2aoa</link>
      <guid>https://dev.to/halasproject/smart-way-to-structure-vuex-2aoa</guid>
      <description>&lt;p&gt;After using vuex in several projects, i got used archetecture to import the modules, which will facilitate the code process, and not clutter our store file with several states,getters ... I let you discover this:&lt;/p&gt;

&lt;p&gt;First we create a directory store and inside it add a new file &lt;strong&gt;index.js&lt;/strong&gt;, but before that don't forget to import it into your main file like this:&lt;/p&gt;

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

&lt;p&gt;Edit your &lt;strong&gt;store/index.js&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;and we notice that we have a new folder &lt;strong&gt;modules&lt;/strong&gt; which will contain all our modules &lt;strong&gt;(*.js)&lt;/strong&gt; and an &lt;strong&gt;autoloader.js&lt;/strong&gt; file&lt;/p&gt;

&lt;p&gt;The autoloader.js will import all modules inside directroy and create a new object to eject it in vuex.store&lt;/p&gt;

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

&lt;p&gt;Ok, now the rest is up to you, you just have to create &lt;strong&gt;(.js)&lt;/strong&gt; files inside the &lt;strong&gt;modules&lt;/strong&gt; folder and of course respect the vuex structure for each module like this : &lt;/p&gt;

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

&lt;p&gt;Our final structure directroy will look like this:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G0dLo4Fy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vbtdgr99851txk3mr09v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G0dLo4Fy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vbtdgr99851txk3mr09v.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I preferred to Screen the code than to write it so that you understand what you are going to write rather than coppy &amp;amp; past :D &lt;/p&gt;

</description>
      <category>vue</category>
      <category>vuex</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Auditing Techniques and Security Of Linux Server</title>
      <dc:creator>Salah Bentayeb</dc:creator>
      <pubDate>Wed, 10 Jun 2020 00:41:22 +0000</pubDate>
      <link>https://dev.to/halasproject/auditing-techniques-and-security-of-linux-server-2amn</link>
      <guid>https://dev.to/halasproject/auditing-techniques-and-security-of-linux-server-2amn</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fz6liq88byhmfirh5oxsf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fz6liq88byhmfirh5oxsf.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any developer in this world manages to create their own server to host websites or other ... but we do not subscribe to security, especially since these are servers containing important data.&lt;/p&gt;

&lt;p&gt;Which made me to write a gitbook which summarizes all the steps to do as soon as we have the hand in a linux server,These are personal notes During this gitbook, I share with you some security audit technique for Linux servers. In other words, the operations to perform when you check the server for the first time, browse the server and try to discover its current configuration. First look at the boot process, then the system, then the service, etc.&lt;/p&gt;

&lt;p&gt;The book is divided into 7 parts as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start-up process&lt;/li&gt;
&lt;li&gt;Materials&lt;/li&gt;
&lt;li&gt;System&lt;/li&gt;
&lt;li&gt;Users&lt;/li&gt;
&lt;li&gt;Logs&lt;/li&gt;
&lt;li&gt;Services&lt;/li&gt;
&lt;li&gt;Network&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will find the gitbook in this link &lt;a href="https://osc.halas.pro/" rel="noopener noreferrer"&gt;https://osc.halas.pro/&lt;/a&gt;&lt;br&gt;
If you have any modifications or techniques to add for the operating system audit, you are welcome. 🤗&lt;/p&gt;

</description>
      <category>security</category>
      <category>linux</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
    <item>
      <title>ES6 Feature Data Store</title>
      <dc:creator>Salah Bentayeb</dc:creator>
      <pubDate>Wed, 10 Jun 2020 00:10:24 +0000</pubDate>
      <link>https://dev.to/halasproject/es6-feature-data-store-4lm9</link>
      <guid>https://dev.to/halasproject/es6-feature-data-store-4lm9</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6GtEIe9J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fwpfnd6mdkyrp2okat3c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6GtEIe9J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fwpfnd6mdkyrp2okat3c.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>babel</category>
    </item>
  </channel>
</rss>
