<?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 Aanchal on Medium]]></title>
        <description><![CDATA[Stories by Aanchal on Medium]]></description>
        <link>https://medium.com/@aanchal641?source=rss-c69fd568f1e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*eAVPGrLC8lf0BMJ2IbSyhA.jpeg</url>
            <title>Stories by Aanchal on Medium</title>
            <link>https://medium.com/@aanchal641?source=rss-c69fd568f1e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 22:47:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aanchal641/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[All About JavaScript !!]]></title>
            <link>https://medium.com/@aanchal641/all-about-javascript-85ad493c1d98?source=rss-c69fd568f1e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/85ad493c1d98</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Aanchal]]></dc:creator>
            <pubDate>Sun, 12 Dec 2021 16:05:58 GMT</pubDate>
            <atom:updated>2021-12-13T03:53:24.294Z</atom:updated>
            <content:encoded><![CDATA[<h3>All About JavaScript !!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*8AcIyzgCiPl6P7-nKGLOGw.png" /><figcaption>Source: Google Images</figcaption></figure><p>JavaScript is a scripting language that adds functionality and behaviour to the web page. In other words, we can create any web page using HTML and CSS. But this web page will be a static one. HTML and CSS can only provide structure and style to a web page. In order to make the web page interactive and dynamic we need to add JavaScript to it.</p><p>Let’s say we have a static web page with a button in it. Now if we want to count the number of times this button is clicked. We will therefore have to add a JavaScript code that will do this for us. Adding JavaScript to the webpage makes it interactive.</p><p>As per the <a href="https://insights.stackoverflow.com/survey/2021#technology-programming-scripting-and-markup-languages-professional-developers">Stack Overflow 2021’s</a> survey , JavaScript is the most commonly used programming language all around the world. And its not the first time that JavaScript is chosen to be the widely used programming language but it has completed its ninth year in a row.</p><p><strong><em>So why is Javascript so popular?</em></strong></p><p>There are tremendous factors that add to it.</p><p>1. First of all, it is very easy to learn. The creation of Javascript was done keeping in mind that the end user needs not to be a trained or a skilled developer. <br>2. No extra set up is required to get started with this language unlike others.<br>3. With the introduction of NodeJs we can do end to end programming (frontend as well as backend). <br>4. Rich JavaScript libraries and framework.<br>5. All the modern web browsers provide support for it.<br>6. Large and supportive community.</p><p>JavaScript has a lot more to offer than the above. Lets have a look into the details of Javascript to get some more insights of it.</p><p><strong>History<br></strong>The development of JavaScript began with a vision to provide more power to web by making it more dynamic. Something more than just HTML and CSS was the need of the time that can make browsers more lively.</p><p>JavaScript was developed in 1995 by Brendan Eich, a Netscape programmer. It is believed to be developed just in around 10 days. It was previously called Mocha, it was first renamed to LiveScript and finally to JavaScript.</p><p>During that time, Netscape ruled the world by creating the best browser in the world. But at the end of 1995, Microsoft’s Internet Explorer began to gain popularity and threatened NetScape. NetScape then teamed up with Sun to offer Microsoft a strong competition. <br>The main objective of this ally was to serve JavaScript as a companion to Java as Visual Basic was for C ++. The similarity of the name to Java was just a kind of marketing strategy.</p><p>Unfortunately, things did not go well for JavaScript as expected in the early versions. JavaScript didn’t get the eye it deserved. But few years later, it started being observed and gaining popularity.</p><p><strong>ECMAScript and JavaScript</strong><br>Slowly and gradually, JavaScript began out to grow to be one of the famous picks for developers. With the rising need for JavaScript, the Netscape programmers handed it over to ECMA (European Computer Manufacturers Association) for standardization as it required a continuous support. <br>The name ECMAScript was chosen to preserve it much like ECMA and JavaScript.</p><p>ECMAScript is a standard for scripting languages. It is basically a standardization guideline whereas JavaScript is its implementation.</p><p><strong>Is JavaScript a compiled language or an interpreted language?</strong><br>This is the most debated topic on the internet. So lets dive into it.</p><p>Javascript is an integrated language as it can be directly run into the browser without needing to convert it to an intermediate language.</p><p>So why do some people believe it is a compiled language?<br>It is because some JavaScript engines such as V8, SpiderMonkey compiles the code before execution using JIT(Just In Time) compilers to improve the performance. This creates all the ambiguity.</p><p>Since the compilers are being used rather than interpreters, most of us think that its a compiled languge.</p><p>But this is not correct. Let’s have a detailed look into why its not a compiled language.</p><p>Normally, any compiled language produces an executable that must run the code, but this is not the case with JavaScript. No intermediate code is produced here. <br>The compilation is done at the runtime by the engine itself and that also for the sake of enhancing the speed. <br>We can run the JavaScript code directly in the web browsers unlike the compiled languages such as C, C++, Java.<br><br> To sum up, the above specifications make JavaScript different from other compiled languages ​​and closer to interpreted languages.</p><blockquote><strong>JavaScript is therefore an interpreted language. During the execution, whether it is compiled or interpreted depends completely on the engine.</strong></blockquote><p><strong>Future of Javascript<br></strong>Earlier, Javascript was primarily a client-side language that ran in the web browser, but with the introduction of Google V8 Engine and NodeJS, Javascript is also one of the most popular choices for the backend. Today there are lots of libraries and frameworks that are developed with Javascript such as Angular, ReactJs, VueJs etc.</p><p><strong>Javascript is a native language of the Web and as it is growing day by day, there is a possibility that Javascript is the future of web development.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85ad493c1d98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An introduction to PWA]]></title>
            <link>https://medium.com/@aanchal641/an-introduction-to-pwa-5fba5a132e80?source=rss-c69fd568f1e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fba5a132e80</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[pwa]]></category>
            <dc:creator><![CDATA[Aanchal]]></dc:creator>
            <pubDate>Sun, 21 Apr 2019 17:15:55 GMT</pubDate>
            <atom:updated>2019-04-21T17:26:55.311Z</atom:updated>
            <content:encoded><![CDATA[<p>In recent times, all of us must have heard a lot about PWA but we have less information related to it. So lets figure it out what is it and why is it gaining so popularity.</p><p><strong>What is PWA?</strong><br>PWA stands for Progressive Web Apps. As the name suggests, it is a combination of website and mobile native-app. PWA is a new form of application development which brings out the best features of both website and mobile native-app and combines them. A PWA is just like a website which launches in our web browser and then provides us many native-app features such as offline access,push notification, launch from home screen on a single click and so on. PWA always runs in the background and keep us updated with useful information through push notifications just like any other native-app.<br>When we first visit a PWA site, it prompts us to pin it to our homescreen. As soon as we allow, it gets pinned to our homescreen with other mobile apps. We just need to click the icon when we want to launch the app next time .</p><p><strong>Why PWA? </strong><br>As per the latest trends, we have seen a tremendous increase in the use of mobile users. For about more than 60% of the internet usage is due to mobile users. It does not mean that in the upcoming time the demand for website will vanish. We need to support both the web and mobile apps to satisfy all our users. But it is quite difficult to provide support to both web and mobile users technically as well as financially.<br>Here PWA comes into play. PWA provides us with a solution to create a common application which is supported by all the platforms. As a result of which we don’t need to maintain different application base for our application development or deployment(web, android and ios separately)</p><p><strong>Advantages of PWA :-</strong></p><p>1. Performance — According to the survey, more than 40–45% of the users leave the website that takes more than 3 sec to load. Web applications have always faced an issue of low performance when it comes to loading as compared to mobile apps. But this is not the case with PWA. It makes use of <a href="https://developers.google.com/web/fundamentals/primers/service-workers/">service worker</a>s(A service worker is a script which runs in the background by our browser).</p><p>Service worker is the key component of PWA. The entire credit for the performance goes to service workers. The service worker plays a very important role in caching, updating background content , sending push notifications and loading content fast when visiting the site next time.</p><p>2. Offline Access — This is one of the most important features of PWA. While using a normal website, whenever we are offline we see a blank screen showing message “Unable to connect to the internet” (with the dinasaur game). In case of PWA, this is not the case.We don’t get any new data, but atleast we are able to view old data on our screen. This is due to the caching supported by PWA.</p><p>3. Easy to maintain — Since we have a single codebase which is supported by all the platforms, we don’t have to worry much about the code maintenance issues .</p><p>4. Time saving — There is no need to install PWA from the App Store or Play Store. As we can directly pin it our homescreen, we don’t need to waste our time on the review process followed by AppStore/ Play Store to make our app live.</p><p>Besides having so many advantages, <strong>PWA has some limitations</strong> as well(as of now — April 19,2019). <br>1. Not able to access native features. — Though PWAs helps us to make use of some of the native features (bluetooth ,GPS..) but still many of them are not yet supported (alarms, phonebook access…). PWA does not have the capability to interact with other mobile apps installed.</p><p>2. Push notifications not supported in IOS. — Currently PWA is completely supported by android. IOS provides support for PWA partially and not completely. IOS does not allow us to send any push notification .</p><p><strong>Is PWA the future of development?</strong><br>As of now, PWA won’t completely replace native apps. Native apps have their own beauty and usage. Though PWA has some limitations when it comes to use native features but these limitations are subject to change. As per the technical advancement and development going on , it can be predicted that all the browsers will completely extend their support to enhance PWA app usage.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fba5a132e80" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>