<?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>Forem: Marco Castillo</title>
    <description>The latest articles on Forem by Marco Castillo (@digitalprimeint).</description>
    <link>https://forem.com/digitalprimeint</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%2F578183%2F224dedb9-2508-43ac-9342-818523ff9a02.png</url>
      <title>Forem: Marco Castillo</title>
      <link>https://forem.com/digitalprimeint</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/digitalprimeint"/>
    <language>en</language>
    <item>
      <title>MVC Framework for NodeJS</title>
      <dc:creator>Marco Castillo</dc:creator>
      <pubDate>Fri, 12 Feb 2021 12:54:41 +0000</pubDate>
      <link>https://forem.com/digitalprimeint/mvc-framework-for-nodejs-1nij</link>
      <guid>https://forem.com/digitalprimeint/mvc-framework-for-nodejs-1nij</guid>
      <description>&lt;p&gt;Hi NodeJS lovers. &lt;/p&gt;

&lt;p&gt;Let's focus in business logic and avoid issues with bad practices driving you to the callback hell!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;plugdo-mvc&lt;/code&gt; is a module that implements mvc web software architecture on top of express module. It help you focus in the implementation of the business logic, instead of writing express routing each time you need a new section. &lt;/p&gt;

&lt;p&gt;It also avoid the callback hell because you are forced to implement your request methods like get, post, put and delete using class and async functions ES6. &lt;/p&gt;

&lt;p&gt;You don't even have access to the res and next functions provided by express module, ... maybe yes... but you must create your own middleware.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install plugdo-mvc --save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And follow the documentation:&lt;br&gt;
&lt;a href="https://www.npmjs.com/package/plugdo-mvc"&gt;https://www.npmjs.com/package/plugdo-mvc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would like to hear some honest feedbacks from the community. It will help me to improve the module.&lt;/p&gt;

</description>
      <category>npm</category>
      <category>node</category>
      <category>mvc</category>
      <category>es6</category>
    </item>
  </channel>
</rss>
