<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammad Farhan on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Farhan on Medium]]></description>
        <link>https://medium.com/@MaaliLightsCribe?source=rss-1fcd3a6e32b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ijJkeY_tf9fCd8qq8Y-lnA.jpeg</url>
            <title>Stories by Muhammad Farhan on Medium</title>
            <link>https://medium.com/@MaaliLightsCribe?source=rss-1fcd3a6e32b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 17:32:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MaaliLightsCribe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Is React…??]]></title>
            <link>https://medium.com/@MaaliLightsCribe/what-is-react-8d7f04ca7725?source=rss-1fcd3a6e32b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d7f04ca7725</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[spa-vs-mpa]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Muhammad Farhan]]></dc:creator>
            <pubDate>Sat, 23 Mar 2019 20:11:46 GMT</pubDate>
            <atom:updated>2019-03-23T20:11:46.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*qI1CHTQCWk_pflFX6j9yDA.jpeg" /></figure><p>React is also known as React.js, It is a javascript library owned by facebook Community. React can be used for the development of single page and mobile applications, While big Application using React also require some additional libraries for state management, routing and interaction with API.</p><h3>Why I choose React..??</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*dMm-TmH4XVKfYtjh615Jjg.jpeg" /></figure><p>According to BuiltWith.com more than one million websites currently using REACT, When I Analyze popularity of this Technology in a very short period of time, I learn this technology (I Recommend you to Learn ES6 First). We have notice after completing two projects in “comsoules technologies” that it has very big advantages in web development so that’s why we completely shifts to this young Technology having following benefits…</p><h4>1. Development Efficiency:</h4><p>Basically React will take less development time and gives you a better quality then other frameworks like Angular, you can write clean code by breaking them into few modules, through which you can reuse your code and save your time.</p><h4><strong>2. Flexibility:</strong></h4><p>Like Spring MVC it is more easy to code and maintain as well as you can update your code due to its structure. React Applications are Flexible and thorough which you can save your time and money in the long time.</p><h4>3. Performance:</h4><p>In React the main feature is virtual DOM, It store image of the real DOM and when you modify your code it will change only that part of code, other part will remain same, so as you will get high performance, you can make big apps which are really fast.</p><h4>4. Open Source &amp; SEO Friendly:</h4><p>More Attraction to a developer and client as well that it helps you to more visibility for your site React based Applications are better optimized for SEO, having high performance and speed. Secondly React is free Open Source Technology including tools like Flux, Redux and Node.js also using for back-end you can easily download it from <em>npm.</em></p><h4>5. Reliable &amp; Easily Transferable to React Native:</h4><p>React is reliable and up to date technology having strong community support, A React Developer can easily transfer from React to React Native(Mobile Development framework) based on React.</p><h3>Single Page Application vs Multi Page Application</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8y4KZXYmGiqd-kx6A_DSA.jpeg" /></figure><p>When web development was started there html documents were connected through links, then there was an introduction of a forms tag which started the web applications world. there was very huge demand for complex web applications because they were replacing desktop applications everywhere. and after that the world is slowly moving from browser-based web applications into mobile applications. There are two major design patterns for web application SPA &amp; MPA.</p><p>Multi Page Applications is an old way of development it means every time the application have to submit data back to the server and display, It has to request a new page from the server and then render it in the web browser. It is better approach for small applications but if there is need to busy user interface then the page may be become complex, so generating rich pages on a server and move them to the client over the internet and rendering them into the browser this will take to much time to respond will also degrade user experience. In the end of 20th century MAP was improved by introducing AJAX, through which we can refresh only particular part of pages and not the whole page. it improves user experience but page becomes more complex.</p><p>In 2010 SPA pattern introduce basically it is evolution of MPA+AJAX design pattern, in which only the main page is generated on the server and all GUI is rendered by browser with JavaScript code. SPA request data and html separately, and render page into the browser directly. This is because of the new Advanced JavaScript frameworks known as MVVM like AngularJS or KnockoutJS. MVVM (Model-view-viewmodel) is a software architectural pattern, which provide separation of GUI from the Business logic or back-end logic (the data model).</p><p>We are describing some advantages &amp; disadvantages of SPA over MPA:</p><h4>SPA Advantages over MPA:</h4><ol><li>Faster page loading time.</li><li>Better user experience due to the data loading in the background from server.</li><li>No need to write the code for render pages on the server.</li><li>Decoupling on front-end &amp; back-end development.</li><li>Simplified mobile Development: you can reuse the same backend code for web application &amp; mobile application.</li></ol><h4>SPA Disadvantages over MPA:</h4><ol><li>Heavy client frameworks which are required to be loaded to the client.</li><li>GUI code is not compiled, so it’s harder to debug and it’s exposed to potential malicious user.</li><li>SEO (search engine optimization) implications: since your pages are built in the browser, the search engine crawler will see different version of the page than that of your users.</li></ol><p><strong>NOTE:-</strong> I would suggest not to mix the SPA and MPA approaches when developing a particular application. Each of those patterns is good for its own use case, but mixing them together is not very beneficial.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d7f04ca7725" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>