<?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 MAINAK BHATTACHARYA on Medium]]></title>
        <description><![CDATA[Stories by MAINAK BHATTACHARYA on Medium]]></description>
        <link>https://medium.com/@mainak92?source=rss-c6823bfb0851------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PgfTMhgu-44VTICAE1GTIQ.jpeg</url>
            <title>Stories by MAINAK BHATTACHARYA on Medium</title>
            <link>https://medium.com/@mainak92?source=rss-c6823bfb0851------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 14:38:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mainak92/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[End of Javascript?]]></title>
            <link>https://medium.com/@mainak92/end-of-javascript-bbfe61d62d5e?source=rss-c6823bfb0851------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbfe61d62d5e</guid>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[webassembly]]></category>
            <dc:creator><![CDATA[MAINAK BHATTACHARYA]]></dc:creator>
            <pubDate>Fri, 07 Sep 2018 09:46:50 GMT</pubDate>
            <atom:updated>2018-09-07T09:46:50.085Z</atom:updated>
            <content:encoded><![CDATA[<p>As we know, since 1995 when Brendon developed JavaScript in just 10 days he revolutionized the web technology by which we discovered interactive web pages. However, the web pages at that time was not so advanced like we have in 2018. It was not very dynamic, single page react type app. At that time it was more of static web pages with very few and minimal user interactions.</p><p>Since then other languages like Java Applets, ActiveX etc. have come along and that is pretty much the history of web. We are now in 2018 and still the only possible language we think of to create a web page is JavaScript. JavaScript is the only language officially supported by the web. But is it really so? Is JavaScript the only possible language to build web pages? Is a technology which was built way back in 1995 still is reliant and feasible enough in terms of performance with such dynamic web pages build daily? We will figure it out in a while.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxT9IgzUuC5Ss6ZnTEs%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Foriginals-bob-ross-stick-around-xT9IgzUuC5Ss6ZnTEs&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxT9IgzUuC5Ss6ZnTEs%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="292" frameborder="0" scrolling="no"><a href="https://medium.com/media/b83288680861cbc7d3bf5590dfef06c3/href">https://medium.com/media/b83288680861cbc7d3bf5590dfef06c3/href</a></iframe><h4>Comparing the differences in modern era</h4><p>We need to understand that javascript has changed a lot in 2018 by the time it was originally invented. Today we use javascript not only for web interactivity but also for other many purposes that it serves for eg: build tools, server, mobile devices and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e0eQH_9X8jN7yC6AEqlvdQ.jpeg" /><figcaption><a href="https://alpha.wallhaven.cc/wallpaper/33246">https://alpha.wallhaven.cc/wallpaper/33246</a></figcaption></figure><p>Previously when JavaScript is build there wasnot much processing behind the scenes and we used to write plain simple JavaScript and used to render in page. But in today&#39;s world no no no no no. We write JavaScript code it goes through a lot of processing called as transpiling, minification, bundling and many of such advanced transformations and by the time it lands on our browser it is something like above picture.</p><p>We have started using JavaScript as in Assembly language. But the fact is JavaScript is not a very good assembly language. To no surprise because to refer to to context to which it was built for. It was never designed to be an assembly language.</p><h4>Why Javascript is not a good Assembly language?</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o7TKEP6YngkCKFofC%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftvlandclassic-andy-griffith-the-show-3o7TKEP6YngkCKFofC&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o7TKEP6YngkCKFofC%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="327" frameborder="0" scrolling="no"><a href="https://medium.com/media/10446088d978035d37f26cf5437b9480/href">https://medium.com/media/10446088d978035d37f26cf5437b9480/href</a></iframe><p>We need to understand how JavaScript is served in the browser. We write a code, it gets transpiled into a Abstract syntax tree(AST), then it is converted into byte code and then it is run into an interpreter. That was it. These days, along with the above tasks performed we have worked on a lot in optimizing JavaScript. In run time it will start making assumptions and optimization of the code happens so that the code is executed faster. Now this is getting complicated. JavaScript will first parse, compile, optimize, probably re-optimize if the code is not efficient enough then execute and at last garbage collection. Just one thing developers want is the performance of the code to be executed quick and application becomes interactive. But do you thing so much added task in the poor soul of JavaScript will perform better? Definitely not.</p><p>So what can be the alternative? In my next article I will be focusing on <strong>WebAssembly </strong>which can indeed be a killer of JavaScript.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbfe61d62d5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS Perspective]]></title>
            <link>https://medium.com/@mainak92/css-perspective-f31d7dc5582e?source=rss-c6823bfb0851------2</link>
            <guid isPermaLink="false">https://medium.com/p/f31d7dc5582e</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[dom]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[mix-blend-mode]]></category>
            <category><![CDATA[perspective]]></category>
            <dc:creator><![CDATA[MAINAK BHATTACHARYA]]></dc:creator>
            <pubDate>Tue, 21 Aug 2018 12:04:10 GMT</pubDate>
            <atom:updated>2018-08-21T13:22:59.798Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever tried to display an element more like a 3D way? First thing which comes in our mind when we say 3D is z-index. However, it is completely not correct. In this blog we will learn how can we achieve an element to display in 3D with the help of <strong>perspective in CSS</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F2NTRqX2cIHwLS%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F2NTRqX2cIHwLS%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F2NTRqX2cIHwLS%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="202" frameborder="0" scrolling="no"><a href="https://medium.com/media/17140b3cda8fc71e3db143d0e2de2dfe/href">https://medium.com/media/17140b3cda8fc71e3db143d0e2de2dfe/href</a></iframe><h4>What is Perspective?</h4><p>It is nothing but a property found in CSS3 which can be given to the parent DOM element which will help the child element to have more like a 3D effect with proper attributes passed to it. The lower the value of perspective, higher is the 3D effect. Still not clear? Do not worry.</p><p>Today we will learn about perspective element in CSS with the help of a small real time example. Without wasting any further time lets dig deep into it.</p><p>Before we start let me quickly show by the end of this blog we will acheive something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*7jHiSWI7D9Z01cRT1-ObDA.png" /><figcaption>final-output</figcaption></figure><p>To build this we have a very plain and simple HTML which will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*-2fbd3e3sRWJrzeG7wyjVA.png" /><figcaption>perspective.html</figcaption></figure><p>For every <em>&lt;li&gt;</em> element we have we need the 3D display hence we will put perspective to the parent element which is <em>&lt;ul&gt;</em> in our case. Our CSS file structure for <em>&lt;ul&gt;</em> and <em>&lt;li&gt;</em> will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*EFnXeOs9bzjkBZExsDLfNA.png" /></figure><p>If you closely look I have added mix-blend-mode property as well in order to have the &lt;li&gt; tiles stacked one upon other and part of it is transparent.</p><p>Our final CSS file will be as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*2L7nr-8ws89HUG5qBjNebQ.png" /><figcaption>perspective.css</figcaption></figure><p>If you are not very familier with <strong>mix-blend-mode</strong> property then not to worry, I will be writing another blog explaining in detail about it. So stay tuned.</p><p>Find the full code here:</p><p><a href="http://cssdeck.com/labs/jln99ieu">Page is Under Review</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f31d7dc5582e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>