<?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: Guy Romelle Magayano</title>
    <description>The latest articles on DEV Community by Guy Romelle Magayano (@mguyromelle).</description>
    <link>https://dev.to/mguyromelle</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%2F335772%2F8e48ab3f-25ee-4b61-ae48-3cffc381adfb.png</url>
      <title>DEV Community: Guy Romelle Magayano</title>
      <link>https://dev.to/mguyromelle</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mguyromelle"/>
    <language>en</language>
    <item>
      <title>What is JAMstack: An Intro</title>
      <dc:creator>Guy Romelle Magayano</dc:creator>
      <pubDate>Wed, 19 Feb 2020 02:46:07 +0000</pubDate>
      <link>https://dev.to/mguyromelle/what-is-jamstack-and-why-should-you-care-p6a</link>
      <guid>https://dev.to/mguyromelle/what-is-jamstack-and-why-should-you-care-p6a</guid>
      <description>&lt;p&gt;To simply put, JAMstack refers to a new way or method of building websites and apps that delivers better performance, higher security, lower scaling cost and a better developer experience. Furthermore, according to its website, JAMstack is a modern web development architecture based on client-side Javascript, reusable APIs, and prebuilt Markup - pretty straightforward, if you ask me.&lt;/p&gt;

&lt;p&gt;A website built with JAMstack has the following characteristics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Must have &lt;strong&gt;Javascript&lt;/strong&gt; running entirely on the client for request/response cycle. This could mean utilising any front-end framework, library, or just plain JavaScript.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Must have &lt;strong&gt;APIs&lt;/strong&gt; integrated into the website for all server-side processes or database actions. Such APIs can be custom-built or leverage third-party services (some are free or subscription-based).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Must have &lt;strong&gt;Markup&lt;/strong&gt;, specifically templated markup, that should be prebuilt at deploy time. This is usually established by site generators for content sites or a build tool for web apps.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On the other hand, a website is not considered a JAMstack when it relies on a tight integration between a client and server.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A site built on a CMS (&lt;em&gt;Content Management System&lt;/em&gt;) which has server-side features. Such CMS include WordPress, Drupal, Joomla, or even SquareSpace.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A single page app that utilises isomorphic rendering to build views on the server at runtime.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A monolithic server-run web app that depends on backend language such as Ruby, PHP, Node, etc.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now that you know the differences of a JAMstack website and those that aren't, the question is, why should we care about JAMstack in the first place? Well, here's why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better Performance&lt;/li&gt;
&lt;li&gt;Cheaper, Easier Scaling&lt;/li&gt;
&lt;li&gt;Higher Security&lt;/li&gt;
&lt;li&gt;Better Developer Experience&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Performance is usually at the top priority list of most developers when building websites/apps. Thus, with JAMstack, websites are not only generated at deploy time but are loaded blazingly-fast over a CDN (Content Delivery Network).&lt;/p&gt;

&lt;p&gt;Website/app costs are a big deal to most clients, that we developers know and understandingly consider every time. Thus, when the scale of such projects grow, we developers often prefer a cheaper hosting solution that quickly deploys the website/app but compromises on the maintainability - in terms of overall features - of the website/app long term. With JAMstack, scaling options are more flexible, cost-efficient and simpler to maintain. When deploying a JAMstack website/app, its only a matter of serving files in more places. CDNs are great options for this setup and often include scaling in ALL of their pricing options.&lt;/p&gt;

&lt;p&gt;Regarding the security of a website/app often depends on many factors like the hosting features, server configurations, and how the website was developed. With JAMstack, server-side processes are abstracted into microservice APIs which results in a more robust website/app against random attacks. In addition to, developers could leverage the expertise of third-party services to enhance the security features of your website/app.&lt;/p&gt;

&lt;p&gt;Finally, with JAMstack, developers can now focus on more important things on the development - for instance, developing new functionalities or debug critical errors in a targeted area of control. JAMstack allows for a loose coupling and separation of controls which eliminates the need for developers to maintain a separate stack for content/marketing and the overall functionalities of the website/app.&lt;/p&gt;

&lt;p&gt;Learn more about the JAMstack through this &lt;a href="https://jamstack.org/"&gt;website&lt;/a&gt;. For best practices, check this &lt;a href="https://jamstack.org/best-practices/"&gt;website&lt;/a&gt;. Still curious? Great resources can be found &lt;a href="https://jamstack.org/resources/"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>jamstack</category>
      <category>api</category>
      <category>javascript</category>
      <category>markup</category>
    </item>
  </channel>
</rss>
