<?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: Salman Siddique</title>
    <description>The latest articles on DEV Community by Salman Siddique (@salmansiddique).</description>
    <link>https://dev.to/salmansiddique</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%2F544608%2Fd87a9b11-9191-4d47-9ccc-e4312389b260.jpeg</url>
      <title>DEV Community: Salman Siddique</title>
      <link>https://dev.to/salmansiddique</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/salmansiddique"/>
    <language>en</language>
    <item>
      <title>Magento Maintenance Issues and their Solutions</title>
      <dc:creator>Salman Siddique</dc:creator>
      <pubDate>Wed, 06 Apr 2022 14:49:00 +0000</pubDate>
      <link>https://dev.to/salmansiddique/magento-maintenance-issues-and-their-solutions-2i43</link>
      <guid>https://dev.to/salmansiddique/magento-maintenance-issues-and-their-solutions-2i43</guid>
      <description>&lt;p&gt;Magento is one of the most popular and successful eCommerce platforms available. Because Magento is a feature-rich platform, it can be difficult to navigate, but if you know where to go, you can resolve the majority of Magento-related issues (Yes, a guide like this one).&lt;/p&gt;

&lt;p&gt;Everyone meets issues when working with an e-commerce platform, and some of them are complex, while others may be simpler to resolve. Simply because you deal with a robust and complex platform like Magento does not preclude you from resolving the issue without the assistance of an expert.&lt;/p&gt;

&lt;h2&gt;
  
  
  Delete Cache
&lt;/h2&gt;

&lt;p&gt;Certain Magento 2 users are experiencing issues with upgrading, and the frontend pages are not displaying the updates. The cache must be cleaned in order for Magento to use the most recent settings. Additionally, clearing the cache improves the website's performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Magento 2 - Slow Page Loading
&lt;/h2&gt;

&lt;p&gt;Magento 2 is not designed to run slowly by default. If Magento 2 is operating slowly, there are several ways to speed it up. To begin, verify that your server and device requirements are current; utilize the most recent versions. Utilize fully optimized images, enable caching, and make use of extension-free features.&lt;/p&gt;

&lt;p&gt;The following points can assist improve the performance of your Magento-based eCommerce website:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reconfigure the JavaScript and CSS configurations&lt;/li&gt;
&lt;li&gt;Magento must be updated to the newest version.&lt;/li&gt;
&lt;li&gt;Varnish Cache Enable&lt;/li&gt;
&lt;li&gt;Create flat categories and products to boost the database's read speed.&lt;/li&gt;
&lt;li&gt;Establish a Content Distribution Network (CDN)&lt;/li&gt;
&lt;li&gt;Optimize your photos and themes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Numerous inexperienced Magento users underestimate the performance of their Magento store, which results in lost prospective clients and conversion rates. If you want to increase the quality of your leads, it is vital to optimize your website's performance.&lt;/p&gt;

&lt;p&gt;By enabling the Compilation option, you may significantly increase the speed of your Magento store. It would boost page load efficiency by 25% to 50%.&lt;/p&gt;

&lt;p&gt;To enable the Magento Compilation feature, navigate to the admin area &amp;gt; System &amp;gt;Tools &amp;gt; Compilation &amp;gt; Run Compilation Process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting Up a Blog on Magento 2
&lt;/h2&gt;

&lt;p&gt;Magento 2 does not have any options for creating blogs, but a well-designed blog can help develop brand awareness and drive additional visitors to your website. It would be beneficial if you used Magento extensions to establish a blog for your website.&lt;/p&gt;

&lt;p&gt;Magento Connect includes many extensions that will assist you in setting up a blog in a matter of minutes. For the same reason, Magento Blog – Community Version is one of the most popular free extensions.&lt;/p&gt;

&lt;p&gt;After installing the extension, you'll notice an additional section called Blog at the top of your admin area. You can customise the blog's settings, add or remove posts, and create new ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  CSS and Scripts 404 Error
&lt;/h2&gt;

&lt;p&gt;When you see a 404 error in static resources for scripts and CSS, this can occur even when you are not in development mode; Magento 2 automatically produces symlinks for certain static resources. Go to app/etc/di.xml to solve the problem, and find the section called virtualType name=” developerMaterialization. Here, the element name=” view preprocessed “should be changed or removed. Change the content from&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to &lt;code&gt;Magento\Framework\App\View\Asset\MaterializationStrategy\Copy&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Additionally, deleting the pub/static folders will remove all existing symlinks. However, exercise caution! Do not delete the .htaccess file.&lt;/p&gt;

&lt;h2&gt;
  
  
  No graphics are displayed after Installation
&lt;/h2&gt;

&lt;p&gt;The route to the images and stylesheets may be incorrect as a result of a rewriting of an invalid base URL or an incompatible server. To begin, ensure that your static assets are correctly located (in the frontend and adminhtml directories under your Magento, install dir&amp;gt;/pub / static/). Then, search your Apache server's rewrite settings and your Magento website's base URL. AllowOverride must be set or the software will be unable to retrieve static files.&lt;/p&gt;

&lt;p&gt;Furthermore, the &lt;strong&gt;magento setup: static-content: deploy command&lt;/strong&gt; can be used in production mode to distribute static view files. Only the command is capable of operating in all modes up to Magento 2.2. However, beginning with Magento 2.2, you must include the -f key: &lt;strong&gt;magento setup: static-content: deploy -f&lt;/strong&gt; if you wish to deploy it in development mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  Enable permalinks that are optimized for search engines
&lt;/h2&gt;

&lt;p&gt;Magento simplifies the process of enabling SEO-friendly URLs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Login to the Magento Admin area.&lt;/li&gt;
&lt;li&gt;Select the Configuration option.&lt;/li&gt;
&lt;li&gt;Now, select "Web" from the left side.&lt;/li&gt;
&lt;li&gt;Select the tab Search Engine Optimization and check the box labelled "Yes" for Use Web Server Rewriting.&lt;/li&gt;
&lt;li&gt;Click on the "Save Config" button to enable search engine-friendly URLs in Magento.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Create a Contact Form on a Magento Website
&lt;/h2&gt;

&lt;p&gt;Magento was built with contact form functionality in mind. Typically, a contact form link is displayed at the footer of your Magento site, but it may be added to any page in your web store.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configure it using the procedures below;&lt;/li&gt;
&lt;li&gt;Access the Admin area by logging in.&lt;/li&gt;
&lt;li&gt;Pages &amp;gt; CMS Access&lt;/li&gt;
&lt;li&gt;To edit an existing page or create a new one, click on the page you wish to update.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, using the WYSIWYG editor's HTML option, paste the following section:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;!– CONTACT FORM CODE BEGIN–&amp;gt;{block type=’core/template’ name=’contactForm’ template=’contacts/form.phtml’}&amp;lt;!– CONTACT FORM CODE END–&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For More Issues and their Solutions: &lt;a href="https://www.shopdev.co/blog/magento-maintenance/?utm_source=devto&amp;amp;utm_medium=rep.content&amp;amp;utm_campaign=devto.content"&gt;14 Magento Maintenance Issues [and their working solutions]&lt;/a&gt;&lt;/p&gt;

</description>
      <category>magento</category>
      <category>ecommerce</category>
    </item>
    <item>
      <title>JAM v LAMP v MERN v MEAN Stack</title>
      <dc:creator>Salman Siddique</dc:creator>
      <pubDate>Wed, 23 Dec 2020 13:50:29 +0000</pubDate>
      <link>https://dev.to/salmansiddique/jam-v-lamp-v-mern-v-mean-stack-470l</link>
      <guid>https://dev.to/salmansiddique/jam-v-lamp-v-mern-v-mean-stack-470l</guid>
      <description>&lt;p&gt;At the heart of the stack, JAM is an acronym for the three main concepts: JavaScript, API, and Markup. But we need to dig a little deeper in order to find out what JAMstack is capable of, and how developers can use these technologies together to make for better experiences.&lt;/p&gt;

&lt;p&gt;JAMstack refers, in practical terms, to web apps built using the following stack:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Javascript&lt;/strong&gt; - The websites in the browser use Javascript as the runtime.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;API&lt;/strong&gt; - All processes on the server-side or database operations act as a custom-built, reusable API that connects to third party services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Markup&lt;/strong&gt; - When deployed, the HTML markup is pre-built.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workflow of JAMstack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;There is a decoupled building and hosting.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A page is requested by a user. The file is already compiled and will be served directly to the browser from the CDN.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Core updates are pushed via Git; the site is entirely re-built by modern development tools such as static site generators (Gatsby, Hugo).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Updates to content are pushed via Git or a static CMS site&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YNqtZSvr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/9wk8729bhvd8qqsw21pe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YNqtZSvr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/9wk8729bhvd8qqsw21pe.png" alt="LAMP-1-600x338"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Image Ref: synergytop.com - blog&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  LAMP
&lt;/h2&gt;

&lt;p&gt;For Linux based environments, LAMP is the standard stack. The LAMP stack consists of a Linux operating system (L),  an Apache Web server (A), a MySQL database layer (M), and a PHP scripting layer (P). The main challenge is the high learning curve with this stack. This increases the timeline for setting up a working app and can potentially contribute to performance and security issues for applications with concurrent users.&lt;/p&gt;

&lt;h2&gt;
  
  
  MEAN
&lt;/h2&gt;

&lt;p&gt;This stack consists of a database (MongoDB-M), Express.js(E) for the web application backend framework, Angular.js(A), a web development frontend framework, Node.js(N), a JavaScript run-time setting. As you can see, MEAN is based quite a bit on JavaScript. For large, non-relational data sets, it is recommended, with a simple downer being the performance issues of JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  MERN
&lt;/h2&gt;

&lt;p&gt;The stack consists of a database of MongoDB(M) documents, Express.js(E), which is a back-end application web application platform, React(R), which is a library of JavaScript user interfaces, Node.js(N), a JavaScript runtime setting. Similar to MEAN, MERN is JavaScript-based.&lt;/p&gt;

&lt;h2&gt;
  
  
  How is JAMStack Different?
&lt;/h2&gt;

&lt;p&gt;Let's take a look at the other stacks and see how JAMstack manages its awesomeness in order to grasp JAMstack better. Before their development, developers used various methods to set up web sites and applications as such.&lt;/p&gt;

&lt;p&gt;You have to wonder why we need another tech stack. &lt;br&gt;
&lt;strong&gt;I have five easy explanations why you'd like to use JAMstack:&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Better Performance:
&lt;/h3&gt;

&lt;p&gt;JAMstack driven applications generate pages at deployment as they are mostly stored as markup and can be delivered over a CDN.&lt;/p&gt;

&lt;h3&gt;
  
  
  High Security:
&lt;/h3&gt;

&lt;p&gt;Since they are all HTML files and CDN-served external API links, static websites have limited vulnerability potential. The risk of website attacks is significantly reduced by this simple design. It is simple to integrate SSL certificates, and JAMstack can also exploit the use of server-side microservice APIs to secure pages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fast Deployment:
&lt;/h3&gt;

&lt;p&gt;Without the hassle of configuring and securing the databases, JAMstack websites can easily be deployed. Developers simply work quickly to get up and run static files.&lt;/p&gt;

&lt;h3&gt;
  
  
  Awesome Programming Experience:
&lt;/h3&gt;

&lt;p&gt;The simplicity of using architecture and instruments is one of the most important advantages of using JAMstack. With only HTML, CSS, and JS, developers can build complex websites. Using site generators removes the need to maintain a separate stack for content and marketing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Supportive Community:
&lt;/h3&gt;

&lt;p&gt;Support for several features appears every day. The production of local community meetings is even more exciting. The online community is also amazing, too.&lt;/p&gt;

&lt;p&gt;You can read more about what JAMstack is and how it is allowing the headless tech to thrive. &lt;br&gt;
Published on Cloudways: &lt;a href="https://www.cloudways.com/blog/what-is-jamstack/"&gt;What is JAMstack? How is it Enabling Headless Tech to Thrive?&lt;/a&gt;&lt;/p&gt;

</description>
      <category>jamstack</category>
      <category>lamp</category>
      <category>mern</category>
      <category>mean</category>
    </item>
  </channel>
</rss>
