<?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 AJIT SHARMA on Medium]]></title>
        <description><![CDATA[Stories by AJIT SHARMA on Medium]]></description>
        <link>https://medium.com/@itsAjitSharma?source=rss-e66894c5bf6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*j80O1pJ0l8JZQtoZxJXbYQ.jpeg</url>
            <title>Stories by AJIT SHARMA on Medium</title>
            <link>https://medium.com/@itsAjitSharma?source=rss-e66894c5bf6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 13 Nov 2026 10:42:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@itsAjitSharma/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[React for Beginners]]></title>
            <link>https://medium.com/@itsAjitSharma/react-for-beginners-1ff18fd6ff36?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ff18fd6ff36</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 05:34:41 GMT</pubDate>
            <atom:updated>2022-10-03T05:34:41.853Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>React</strong> is a<strong> Javascript library</strong>. So it is important to have a basic knowledge about HTML, CSS and JS. React is used for building user’s interfaces, it helps in building rich UI. The user interface is the point of human-computer interaction and communication in a device. <em>This includes display screens, a mouse and the appearance of the desktop</em>. So by considering the above information we conclude that react is used in building rich UI in a faster and efficient way. Before going deep into it let’s focus on some general knowledge about <em>react</em>.</p><p>This JS library is created by a software engineer named <em>Jorden Walke</em> who was working in <strong>Facebook</strong> (may be still working I don’t know) and since then it is being maintained by the Facebook itself. It was first deployed for <em>Facebook News feed around 2011</em>. Later on in 2013 <em>React</em> was <a href="https://github.com/facebook/react"><strong>open sourced</strong></a><strong> </strong>at JS conference. An open source project is where the code to a certain project is completely open that means like anybody can readily see the code that went into a project. Open source project are community based and accept help from other programmers globally as a part of contribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Q4ZAuKWoRoE9kdVKaNg2Ew.jpeg" /><figcaption>Facebook’s headquarters</figcaption></figure><p>One of the basic doubt often students face about its naming notations like <em>React.js</em> , <em>React</em> or something like <em>ReactJS</em> → so all these naming notations can be used; different websites use different notations. <br>React creates a Virtual Dom in computer memory which is why we don’t need internet connection once it gets loaded to the browser. React knows only one thing that is to create an awesome UI.</p><h3>About React</h3><p>React follows the <em>component based approach</em>. A component is one of the core building blocks of react. We can say that every application we are going to develop in React will be made up of pieces called components. Components make the task of building UIs much easier and reduce the repetition of code.<br>React uses a <em>declarative approach</em> means react only changes what it needs to be changed (i.e., suppose you went into a hotel and ask for some food later on you are served with food, now you don’t care how the food was prepared likewise the declarative process works ).<br>React is designed for speed, simplicity and scalability.</p><h3>How to Use</h3><p>To use and learn React, one should set up a React Environment on computer. It uses <strong>create-react-app </strong>tool which is an officially supported way to create React application. <br><em>Node.js (node-modules)</em> is also required to use the react application so make sure you have installed <a href="https://nodejs.org/en/download/"><strong><em>node.js</em></strong></a> !</p><p><strong>→Open Visual studio code<br></strong> <strong>→Click on terminal<br>→Click on new terminal<br>→You will see a pop up to the bottom of window !<br> → Run the command </strong><strong><em>npx create-react-app app-name</em> !<br></strong><em>note that </em><em>npx always uses the latest version of </em><em>create-react-app </em><strong><br> → Wait for some time (it may take more time depending on the strength of your PC or Computer).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hC92PM0h86JBmnsmmMkBBQ.png" /></figure><p>After it installed you will see something like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*CuC9Vv4qsIIZmTJ8VIERUg.png" /></figure><p>Now run the command <strong>cd app-name </strong>in order to change the directory and then again run another command <strong>npm start</strong> and press<em> ENTER</em> to see the magic in your default browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9SYLnWiQihamwLAFyyoGw.png" /><figcaption>rotational geometry of default react app</figcaption></figure><p><strong>→Open your folder by selecting your project name ( </strong><strong>app-name )</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0V4VlkiL74uWqLtkEt0ew.png" /></figure><p>→ <strong>Go to </strong><strong>app.js file of </strong><strong>src folder and start coding in react</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gb9sIrvIumZzbrgtiTRYeg.png" /><figcaption>src --&gt; App.js</figcaption></figure><pre><strong><em>PROGRAMMING IS A GAME, PLAY IT ON YOUR OWN WAY !</em></strong></pre><p><a href="https://medium.com/u/e66894c5bf6e">AJIT SHARMA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ff18fd6ff36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Bootstrap ??]]></title>
            <link>https://medium.com/@itsAjitSharma/what-is-bootstrap-de0e11581e95?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/de0e11581e95</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[bootstrap]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 17:33:08 GMT</pubDate>
            <atom:updated>2022-01-13T17:33:08.188Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Bootstrap ??</h3><p>When I started to learn bootstrap it was an amazing experience, I don’t think every commercial websites are possible without using bootstrap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*WVArRtf79umNmzcsgHR2rQ.png" /></figure><p>Bootstrap is an amazing HTML, CSS, and Java-Script framework which helps in responsive, mobile type projects on web.</p><h4>Why to use Bootstrap ?</h4><p>Since it is launched in August 2011, bootstrap has attend a lot of light. Bootstrap has become the developer’s choice for UI development. And there are so many reason which gives it a boost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*3CMj-9Yr9tcWz-tLpu1mJA.jpeg" /></figure><p>A developer’s choice: → Unlike most of the framework available in the market, bootstrap is one of the simplest to implement and use in the market; its implementation is as simple as importing CSS and using the classes available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*kB7kvDWekGBm59zzGaWf5w.jpeg" /></figure><p><strong>Device friendly</strong> : Bootstrap responsiveness makes it all much simple ! it can intelligently “sense” the device’s resolution and screen width an adjust the content accordingly.</p><p><strong>Customisable :</strong> Bootstrap is easily customisable. Before downloading the version from the site, you can set your own custom fonts, sizes, colour schemes and everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*e7bOlC_r7lApCF9309hUgA.png" /></figure><p><strong>Huge community:</strong> Bootstrap is supported by the huge open source community present on Git-hub. Any bugs and issues are resolved in no time for the release !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*_QpCeZ6R0qDjJqzRgKDdxg.png" /></figure><p><strong>Development friendly :</strong> With almost all the common features that is to require in web applications or websites pre-built, it makes the developers</p><p>job much easier and reduces the time required for development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*r3OzIf1chhtE4o2SLzxseg.jpeg" /></figure><p><strong>JavaScript aided :</strong> Bootstrap comes in with a pre-built JS file that adds a lot of functioning features to support its elements.</p><p><strong>Well documented :</strong> he official bootstrap site offers inn detail documentation of all the elements and features provided by it. It’s easy to understand and offers in-depth explanations.</p><p><strong>Grid system : </strong>→ Bootstrap uses a 12-columns grid system that is responsive. It also offers offset feature and nested screen sizes in mind or can be just simply used to structure your content efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*Cf5iLm2ck7yYB1pGihvMsA.png" /></figure><p>All these are just a few points that makes bootstrap popular. There are many more which we get know on our own as we make ourselves familiar with it.</p><p>THANK YOU !</p><p>by <a href="https://medium.com/u/e66894c5bf6e">AJIT SHARMA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de0e11581e95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CHANGES IN GLOBE SINCE 2000]]></title>
            <link>https://medium.com/@itsAjitSharma/changes-in-globe-since-2000-b54b6393ba7b?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b54b6393ba7b</guid>
            <category><![CDATA[people]]></category>
            <category><![CDATA[world]]></category>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 17:17:32 GMT</pubDate>
            <atom:updated>2022-01-13T17:17:32.992Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Well</strong> if we are a human being, we all are going to face the same situation just at a level →during the beginning of our sense. This blog is about one of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*uhHVoq64xVUp7wtCzf9ivg.jpeg" /><figcaption>Not just nature; Some people are destroying their inner soul as well !</figcaption></figure><p>This is having a mass meaning (GLOBE) but I am going to share the changes I faced around my village circle. Skipping the first five years(was so sensitive to remember the things). It was year 2006 when I came to know that actually there is a long time database running in the world, and it has twelve columns like something called months. But the life has to go on anyway. It was spring, I was sitting in between the mango trees(tree garden) with many homo sapiens. Some of them were discussing about years, politics, do’s and don’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*KVLAW9KAUqhFIqeotTYv1w.jpeg" /><figcaption>I wish if I could go back in childhood !</figcaption></figure><p>At evening I came to my legend <em>mother;</em> in a fancy way (in my local language )</p><p>I uttered “<em>weather is very clear, that slowing and fastening wind is really effective</em>”, she laughed a little and said to me “<em>this is not going to be permanent” </em>I didn’t get her, but her meaning was<em> “time changes</em>”.</p><p>Everything was developing and growing with me. In 2007 I remember there was an election, it was some crowdy atmosphere aside my house(near gov. school) → I hate politics !</p><p>So, as it is true -&gt; “time changes” and it changed the whole HTML (structure) of my village. Changes in surroundings, changes in that greenery atmosphere, changes in people’s mentality as well; they started occupying unowned land, started to fight each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*pqLV_bVAMTbTHfRUIm2a3A.jpeg" /></figure><p>What hurts me a lot; they shared that greenery mango trees among them(disjoint-families) and had cut their own part trees, either they sold it or had eaten but left that space for being deserted (still uncovered). Also they made two parties in village and they fought brutally at least twice in a year.</p><p>It is goodness of the village that after eight years they realized, they have something to loose.</p><p>I mentioned the title as GLOBE because I think such type of incidents are being happened approx in every village of INDIA especially that conspiring politics.</p><p>May be these things were as usual before I landed but its all about the changes a kid faced, losing the expectations of that atmospheric affection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/289/1*UOowwKDBkPaHz44aYTre6w.jpeg" /><figcaption>Try enough to protect it !</figcaption></figure><p>Everyone is selfish now, eagerly they are applying for the form of jealousy.</p><p>An author<strong><em> ZIG ZIGLAR </em></strong>said “<strong>A clear rejection is better than a fake promise</strong>”.</p><p>But a person drowning in the sea of selfishness, can’t get its meaning →never.</p><p>These were the things I wanna share in life, I am done with it today.</p><p>There are mores to write upon.</p><p>THANKS FOR READING !</p><p>by <a href="https://medium.com/u/e66894c5bf6e">AJIT SHARMA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b54b6393ba7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compiling vs Transpiling]]></title>
            <link>https://medium.com/@itsAjitSharma/compiling-vs-transpiling-a42e36848e76?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a42e36848e76</guid>
            <category><![CDATA[js]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 12:45:04 GMT</pubDate>
            <atom:updated>2022-01-11T12:56:15.064Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*7-pxt4_FzZuvwUrLzzkUIA.jpeg" /></figure><p>You might have heard about compiler, may be unfamiliar to transpiler: let’s deep dive in both and making an approach to transpiling and compiling.</p><p>Before understanding Transpiling and compiling we should make a direct focus on compiler and transpiler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*oWM2gvd_HJ1Y7FGniLxHMQ.png" /></figure><p>COMPILER<br>Compiler is the term which is used to describe a program that takes our programmable code written in a particular language and convert it into human readable format or we can say convert it into some other language.<br>Like we have heard about the <strong>gcc</strong> compiler which we use for compiling our source code written in <strong>C</strong> language, and produces binary executable, machine familiar as output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*uyZ92koPJD2kJouh-QNoTg.png" /></figure><p>TRANSPILERS <br>Transpilers are known as source to source compiler as its name indicates it basically transplant the same language source code into it different version set but without changing the surroundings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*7cKLz1UEzmZxcvJHS8bY6w.png" /></figure><p>For example : ES6 is latest <br>and ES5 is its older version, most of the browser engine support the old version of ECMA. So developers use transpiler in order to maintain the compatibility of the browser and the process is known as Transpilation.<br>Some of the tranaspilers are Emscripten(transpiles C/C++ to javascript), Babel (Transpiles ES6 to ES5 ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*MAQQ0G0BaUNIGWuYhxDjmw.png" /></figure><p>Now we can say that compiling is a general form for moving the source code written in one language to another. <br>Transpiling is a specific term for transforming the source code written in one language to another language, that has a similar level of abstraction like we discussed earlier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a42e36848e76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Temporal Dead Zone]]></title>
            <link>https://medium.com/@itsAjitSharma/temporal-dead-zone-48818b1d82f2?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/48818b1d82f2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[temporal-dead-zone]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[webdev]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 11:34:22 GMT</pubDate>
            <atom:updated>2022-01-11T11:55:07.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*J-t7uArWDpiVkJKs_Dgx9w.png" /><figcaption>sounds like scary..! chill &gt; its easy to get.</figcaption></figure><p>T.D.Z which stands for Temporal Dead Zone having a declared meaning in itself. Temporal Dead Zone sounds like a sci-fi phrase, but we should come across these three magical words to understand what the terms and concept we work with everyday. So before moving ahead let’s deep dive into these three words which are Temporal, Dead and Zone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*JOZF9o85qogqrdTxB6dO9Q.png" /><figcaption>accessing value of “a” before initialization !</figcaption></figure><p>Temporal which indicates something like temporary, the word dead which means somehow lifeless state, and zone denotes an area which means in programming world related to memory or it can be considered as the time period or phase. So combining all these three terms narrates that some entity is temporarily in a lifeless or inactive state and can not be used for any kind of work. To understand this topic, one must have knowledge about let and const keyword in JavaScript to get it wisely. We must have a slight look over let and const and their scope in this particular section ! <br>Const and let declarations both have block scoped, it means they are only accessible within the { } surroundings; var has no such restriction and so it is defined in a function scope. <br><strong><em>&lt;script&gt; <br>let age = 5;<br>let birthday= true;<br>if(birthday){<br>let age = 6;<br>}<br>console.log(age); // 5<br>&lt;/script&gt; <br></em></strong>its output is 5 because the re-declaration of age to 6 is only available inside the curly braces. Hence “let” keyword has a block scope. <br>Likewise :<br><strong><em>&lt;script&gt; <br>var age = 5;<br>var birthday= true;<br>if(birthday){<br>var age = 6;<br>}<br>console.log(age); // 6<br>&lt;/script&gt; <br></em></strong>now its output is 6, this is because “var” keyword has a global scope and it accesses the re-initialization of variable with different value.</p><p>DECLARATION &amp; INITIALIZATION</p><p>Declaration of a variable states that we are allocating memory for that variable, while initialization states that we are assigning some value to the variable.</p><p>Again coming to TDZ, you might be thinking that why there is need to access any variable before initialization ?? Its true and is a wrong practice but has a specific reason of letting the developers write good code and make debugging easy in regard of <em>let</em> and <em>const</em> keyword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*f08yGcJt2Co56igt1pDVfg.jpeg" /></figure><p>Let’s us understand TDZ closely :<br><strong><em>&lt;script&gt;<br>console.log(x);</em></strong>// undefined<strong><em><br>var x= 6;<br>console.log(x);</em></strong> //6<br><strong><em>&lt;/script&gt;<br></em></strong>Here global execution context is created and memory is allocated to x; means x got a place in memory and JS engine puts undefined, now thread execution phase starts during this <strong>console.log</strong> statement executes ans prints the value store in x, which is undefined. <br>Now in the next line there is x assigned to 6, and the undefined value of x gets replaced by 6. <br><em>Now using the some code in regard of </em><strong><em>let</em></strong><em> and </em><strong><em>const</em></strong><em> : <br></em><strong><em>&lt;script&gt; <br>console.log(x);<br>console.log(z); <br>var x=6;<br>let z = 4;<br>console.log(x);<br>console.log(z);<br>&lt;/script&gt;<br>// </em></strong>undefined <br>// referenceError : can’t access z before initialization <br>Again first of all the global execution context will be created, and the memory allocation phase starts, during this the variable <strong>x</strong> puts undefined there. Sooner <strong>z</strong> gets a space in different place of memory and same as <strong>x</strong> undefined will be assigned as value. Now the thread execution phase starts, during this <strong><em>console.log(x)</em></strong> statement executes ans prints the value of x, which is undefined.<br>Coming to the next line, there is <strong><em>console.log(z) j</em></strong>avaScript will throw <strong>reference error</strong> in this case and program will be stopped(causing tdz).</p><p><strong><em>“So we can say that TDz is the time since when this let variable was hoisted and till it is initialized some value, the time between them is known as Temporal Dead Zone”</em></strong></p><p>Thank you !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48818b1d82f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[History/Origin of JavaScript]]></title>
            <link>https://medium.com/@itsAjitSharma/history-origin-of-javascript-5b6cee4c4839?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b6cee4c4839</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ajax]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[history]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 12:35:25 GMT</pubDate>
            <atom:updated>2022-01-10T12:35:25.784Z</atom:updated>
            <content:encoded><![CDATA[<p>Well if we talk about web-dev, JavaScript has its own world inside it with different ECMA to ECMA versions and getting improved day by day. So if we talk about this camel case word <strong><em>javaScript</em></strong><em>, </em>it<em> </em>was invented by a Netscape developer named <strong>Brendan Eich</strong> in 1995 (seems latest). It was developed for <strong>Netscape 2</strong>, and became the <strong>ECMA-262</strong> standard in 1997. Later Netscape handed javascript over to ECMA, and side by side Mozilla foundation continued developing JavaScript for its browser Firefox, its latest version was 1.8.5 which was somehow identical to ES5. <br>Mid 1990s was an important time for the internet something was to merge strongly which was developed in 10 days by Brendan; isn’t it shocking ?? <br>off course it is !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0KW4Fwa8HtSuQY3BxGxQPA.jpeg" /></figure><p>Originally JavaScript was named as Mocha then as Livescript and now we are here to know the history of JavaScript and we have known about its 60% of history; congrats !</p><p>WHY ECMA ??</p><p>Discussed earlier as JS got a new position late on 1997 and due to its rapid growth, it became clear that this language needs a proper management technique and hence Netscape again won the war, handed the work of creating specified language to <strong><em>European Computer Manufacturers Association</em></strong> ( ECMA ) once again congrats; we know its full form !<br>Maths’ lover can differentiate ECMA to get its shorter version ES and choose the type of your version, Lol !<br>Between 1997 and 1999, ECMA-262 had three revisions, but nearly 10 years later its different version paced in the market which comes as something interesting to the controversial features such as <em>generators</em> , <em>iterators</em> as <em>destructuring</em> assignments which have been included in recent ECMAScript4.</p><p>HOW JS GOT A BOOSTER …</p><p>2005 was a big celebrations for JavaScript. A paper released by Jesse James Garrett who introduced <strong>Ajax</strong>, which proved to be revolutionary suit of technology that included JavaScript. AJAX vastly improved user experience by allowing web pages to feel more like native desktop apps and this JavaScript got a spotlight as a professional programming language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSriOMJ33UG9qXGjSb0t4A.jpeg" /></figure><p>JAVASCRIPT TODAY</p><p>From its slightly rocky start, JavaScript has risen to be the most popular programming language in the world. As per the GitHub Octoverse report in 2018, there are more JavaScript repositories than any other languages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VHekcLSSULSFzIX53qSEw.jpeg" /></figure><p>Thank You !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b6cee4c4839" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JDK, JRE and JVM]]></title>
            <link>https://medium.com/@itsAjitSharma/jdk-jre-and-jvm-f96d36aa6368?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f96d36aa6368</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[jre]]></category>
            <category><![CDATA[jvm]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Thu, 28 Oct 2021 14:03:22 GMT</pubDate>
            <atom:updated>2022-01-13T17:35:58.891Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys, welcome to the<strong> <em>part 2nd</em></strong> of the blog <a href="https://t.co/fYTMJ6oOaU?amp=1">https://link.medium.com/wqFSu65Yykb</a> . In this blog we are about to proceed with the next working functionality of java programming which is not possible without these (JDK, JRE &amp; JVM) . Let me standardise each one of these <strong>JDK</strong> stands for <em>Java Development Kit</em>, <strong>JRE</strong> stands for <em>Java Runtime Environment</em> and <strong>JVM</strong> stands form <em>Java virtual machine.</em> Now proceeding ahead, have a look at the following pic :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*uIWnXgd4yB7tWleW08voGg.jpeg" /></figure><p>This pic shows the relativity and connection between <strong><em>jdk, jre </em></strong><em>and</em><strong><em> jvm.</em></strong><br>Java Development kit is basically a package, a set of files. It provides an environment to develop and and run the java program. It consists things like development tools, provides and environment to develop our program. If we want to write some java program or need to create some application program simply we need JDK for it. It contains all those libraries and things we require. It also consists java runtime environment as we can see in the above pic like it is <strong>JDK = JRE + Development tools</strong>. In short Java runtime environment is used to run our program. So overall if we want to develop our program JDK is required as it contains different type of development tools. JRE which means Java Runtime Environment is an <em>installation package</em> set of files and stuffs which provides environment to only run the program which consists of different packages installed in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*-J4JFAu23YTI-0fGU2Z2Qg.jpeg" /></figure><p>It provides an environment to create a java program. It consists of deployment technologies, user interface toolkits, integration libraries, base libraries and java virtual machine(JRE = JVM + libraries classes). After we get “.class file”, the next process done at runtime. Class loader loads all classes needed to execute the program. JVM needs code to byte code verifier to check the format of the code. <br><em>HOW JAVA RUNTIME ENVIRONMENT WORKS</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/1*bsR2BFAoYQQ70IxdSG-IYg.png" /></figure><p>It reads “.class” file and generate binary data. An object of this class is created in heap. JVM verifies the “.class file”. It allocates memory for class variable &amp; default values. It replaces symbolic reference from the type with direct references. It initializes all static variables which are assigned with their values defined in the code and static block. JVM contains the stack and Heap memory allocation. On the other hand we can say that JRE is more like a box and there is the actual content inside the box, whatever work is being done by JVM, it is possible because of JRE whatever libraries, files and everything that JVM needs; JRE provides these things. JRE contains all these libraries as well as it contains some extra files that JVM uses in order to do dome extra work. <br>Java Source Code → JDK [compilation process is done here] → (.class file)Byte code → JVM ←→JRE<br>JVM does all the work and whatever it needs, it asks to JRE for it. <br>Before reading this blog I suggest you to read its first part; link is given above !<br>THANK YOU <br>by <a href="https://medium.com/u/e66894c5bf6e">AJIT SHARMA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96d36aa6368" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JAVA, Platform independent??]]></title>
            <link>https://medium.com/@itsAjitSharma/java-platform-independent-bd3551f2165a?source=rss-e66894c5bf6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd3551f2165a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[bytecode]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[AJIT SHARMA]]></dc:creator>
            <pubDate>Fri, 22 Oct 2021 13:36:59 GMT</pubDate>
            <atom:updated>2021-10-28T14:06:10.600Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back to my another blog. In this blog I am about to <em>discuss</em> over how does a java program execute, its way of working internally, its various forms, and the various steps involved in it. So simply what we do is we just write the code in human readable format and at the end machine only understands 0’s and 1’s; means its impossible for us to write the entire applications, software in the form of 0’s and 1’s. <strong>So <em>what are the middle functionality </em></strong>??<br>In order to make all these codes in human readable format we use programming languages and java is one of them=&gt;A <strong><em>Platform Independent</em></strong> language !!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_8qZVlLNm49ilydveCC8rw.jpeg" /></figure><p>So all the code that we write is in java file having extension .java (pronounced as <em>dot java</em>). We will be writing the java code and the java file has the extension of “.java”. Now let’s go to somewhere else; in c and cpp (c plus plus); we give the code to compiler (<em>software program in our system) →</em>the roll of compiler is to take entire code file and convert it into the machine code format 0’s &amp; 1’s. Java is different from them. Java too has a source code (.java file) and its compiler converts the entire file into something called byte code ( .class file). It doesn’t directly convert into the machine code. The extension of that particular byte code file is “.class”, that means when we take a .java file and compile it ; it gives .class file which contains <em>byte code</em>.<strong><em> What is this byte code?? <br></em></strong>This is something intermediate language of java or we can say alien language ( <strong>byte codes</strong> are compact numeric forms, constants, and references normally numeric addresses)!<br><strong><em>Why do we have this byte code ?? Another good questions !!<br></em></strong>This java code can’t directly run on the system. We need java virtual machine (<strong><em>JVM</em></strong>) to run this; and once JVM runs this byte code, it get converted into the machine code.<br><strong>HAVE A LOOK HERE : → <br>.java file(</strong><em>readable format</em><strong>) →compiler →.class file(</strong><em>byte code</em><strong>) →interpreter(</strong><em>step by step</em><strong>) →machine code(</strong><em>0’s and 1&#39;s</em><strong>)<br></strong>Not getting interpreter !=&gt; Interpreter means it executes instructions written in a programming language without previously converting them to an object code or machine code. Python is an interpreted language, code is executed line by line. <br>Now from the above representation we may have a little amazement that something different language is formed in the form of byte code at a middle stage which is interpreted line by line through JAVA VIRTUAL MACHINE (JVM) and this is how it converts “.java” file into machine code. In c or cpp that middle part doesn’t exist. This is the reason JAVA is<strong><em> platform independent. <br>Platform independent </em></strong>means that byte code can run on all operating systems: that is wow…. !!<br><strong>THANK YOU </strong><br>by <a href="https://medium.com/u/e66894c5bf6e">AJIT SHARMA</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd3551f2165a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>