<?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: Abhigyan Singh</title>
    <description>The latest articles on DEV Community by Abhigyan Singh (@discussdesk).</description>
    <link>https://dev.to/discussdesk</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%2F468390%2F5805fe59-a225-4ef4-86f5-86b3e2efecda.jpg</url>
      <title>DEV Community: Abhigyan Singh</title>
      <link>https://dev.to/discussdesk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/discussdesk"/>
    <language>en</language>
    <item>
      <title>Design Patterns Used In PHP Applications</title>
      <dc:creator>Abhigyan Singh</dc:creator>
      <pubDate>Fri, 16 Oct 2020 07:22:05 +0000</pubDate>
      <link>https://dev.to/discussdesk/design-patterns-used-in-php-applications-3ljl</link>
      <guid>https://dev.to/discussdesk/design-patterns-used-in-php-applications-3ljl</guid>
      <description>&lt;p&gt;In this article, we will teach about how to use a [design pattern in PHP application[(&lt;a href="https://www.discussdesk.com/top-5-design-patterns-used-in-php-applications.htm"&gt;https://www.discussdesk.com/top-5-design-patterns-used-in-php-applications.htm&lt;/a&gt;)&lt;br&gt;
Many organizations are keen on hiring PHP developers who can help them build some great applications. When almost 8/10 websites you visit are using PHP in some way or another, it is a great idea to know about the design patterns used to make PHP applications.&lt;br&gt;
Do you know, PHP is used by 78.9% of websites with a server-side language.&lt;br&gt;
Let’s take a look at the 5 most commonly used designed patterns in the PHP world these days.&lt;br&gt;
&lt;strong&gt;Factory&lt;/strong&gt;&lt;br&gt;
The factory pattern is ideal when you want to build an object. When making a new object you need to create it and then initialize it. Usually, one needs to perform several steps to apply a certain logic. With all the steps involved, it makes sense to have all the steps in one place and re-use whenever you need to build a new object in the same way. This is how a factory pattern works.&lt;br&gt;
&lt;strong&gt;Let us understand it with a code example.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;?php&lt;br&gt;
interface FriendFactoryInterface {&lt;/p&gt;

&lt;p&gt;public function create() : Friend&lt;/p&gt;

&lt;p&gt;}&lt;br&gt;
?&amp;gt;&lt;/p&gt;

&lt;p&gt;Here you can read the full article on design patterns used to make PHP applications&lt;/p&gt;

</description>
      <category>php</category>
      <category>webdev</category>
      <category>design</category>
      <category>ecommerce</category>
    </item>
    <item>
      <title>How to Install GitHub Desktop </title>
      <dc:creator>Abhigyan Singh</dc:creator>
      <pubDate>Tue, 13 Oct 2020 06:39:24 +0000</pubDate>
      <link>https://dev.to/discussdesk/how-to-install-github-desktop-5an</link>
      <guid>https://dev.to/discussdesk/how-to-install-github-desktop-5an</guid>
      <description>&lt;p&gt;In this article, we will teach you how to install the GitHub Desktop. Here are some of the features that you get by using the desktop version.&lt;/p&gt;

&lt;p&gt;A GitHub Desktop allows you to have complete control over GitHub from the easy access of your desktop. If you're the type of person who doesn't want to rely on the web browser, &lt;a href="https://www.discussdesk.com/how-to-install-github-desktop.htm"&gt;install GitHub Desktop&lt;/a&gt; is spot on for you. &lt;br&gt;
It will make the whole &lt;a href="https://www.discussdesk.com/setup-or-upload-your-local-project-to-github-using-command-line.htm"&gt;project &lt;/a&gt;to GitHub using faster, easier, and credible.&lt;/p&gt;

&lt;p&gt;Downloading GitHub desktop to set up GitHub terminal, we are going to dive deep into the whole process. Sit back and relax because this is going to be fun.&lt;/p&gt;

&lt;p&gt;GitHub on the desktop is an efficient way of working.web browsers are mostly unreliable, the desktop app does the trick for you. It is the most efficient toolbox for working with Git repositories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;New &amp;amp; Updated GitHub Desktop Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Branch off&lt;/em&gt;: They allow you to change and review your code on GitHub right within the app. And select current branches or create a new one.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Merge and Deploy&lt;/em&gt;: It merges and deploys code right from the app by sending it to the master branch.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Collaboration Tool&lt;/em&gt;: A Collaboration is made easy. You don't have to leave the app for sharing it with&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Generate QR Code using php</title>
      <dc:creator>Abhigyan Singh</dc:creator>
      <pubDate>Sun, 13 Sep 2020 17:47:48 +0000</pubDate>
      <link>https://dev.to/discussdesk/generate-qr-code-using-php-3cdf</link>
      <guid>https://dev.to/discussdesk/generate-qr-code-using-php-3cdf</guid>
      <description>&lt;p&gt;These days, the term QR code is gaining more popularity due to its common use in daily routine life. It is commonly used on online shopping and digital payment. A QR code (Quick Response code) is a two-dimensional barcode that is first designed in 1994 for use in the automotive industry in Japan. &lt;/p&gt;

&lt;p&gt;It is a machine-readable label that contains some amount of information about the product or item. This QR code can be easily scanned by any scanner device and able to read the stored information.&lt;/p&gt;

&lt;p&gt;In this article, I will show you to easily &lt;a href="https://www.discussdesk.com/how-to-generate-qr-code-using-php.htm"&gt;generate QR code in PHP&lt;/a&gt;. I have used PHP as a language to generate QR code because it is a widely used language online. Now I will be the PHP QR Code library to generate QR code.&lt;/p&gt;

&lt;p&gt;There are several QR code generators is available online but there are some situations where we need to integrate custom code in our application. So this tutorial will get more insight about to generate QR code using PHP.&lt;/p&gt;

&lt;p&gt;Here I will create a file in PHP called index.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
include('library/php_qr_code/qrlib.php');
$frm_link ="";
$filename="";
$errorCorrectionLevel="";
$matrixPointSize="";
$framePointSize="";

QRcode::png($frm_link, $filename, $errorCorrectionLevel, $matrixPointSize, $framePointSize);

?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;These are the argument passed in above function QRcode::png()&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$frm_link&lt;/code&gt; : A input parameter for which we need to generate QR code.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$filename&lt;/code&gt;: It is just a path or location to store generated QR code. This also defines the name of each QR code.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$errorCorrectionLevel&lt;/code&gt; : It shows the capability.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$matrixPointSize&lt;/code&gt; : It defines the pixel size of QR code.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$framePointSize&lt;/code&gt;: The size of QR code.&lt;/p&gt;

&lt;p&gt;These generated QR codes can also be stored in the database by its generated name for further use in our application. &lt;/p&gt;

</description>
      <category>qrcode</category>
      <category>php</category>
      <category>webdev</category>
      <category>qr</category>
    </item>
  </channel>
</rss>
