<?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 Nikhil Patil on Medium]]></title>
        <description><![CDATA[Stories by Nikhil Patil on Medium]]></description>
        <link>https://medium.com/@indienik?source=rss-8cd71f9bd5b2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_gqGXrvbxlHcuDW7TKIkBQ.jpeg</url>
            <title>Stories by Nikhil Patil on Medium</title>
            <link>https://medium.com/@indienik?source=rss-8cd71f9bd5b2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:52:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@indienik/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[Enrolling in the Medium Partner Program]]></title>
            <link>https://medium.com/indienik/enrolling-in-the-medium-partner-program-cf6b9dfd7786?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf6b9dfd7786</guid>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[lifestyle]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Fri, 23 Aug 2024 02:18:32 GMT</pubDate>
            <atom:updated>2024-08-23T02:22:53.886Z</atom:updated>
            <content:encoded><![CDATA[<h3>Enrolling in the Medium Partner Program: A New Chapter for Indian Writers</h3><p>As a hustler constantly looking for ways to share my ideas and connect with readers, joining the <strong>Medium Partner Program </strong>has been an exciting development. Now that it’s available for Indian writers, this opportunity feels like a major shift in the landscape of digital writing. Let me take you through why this moment is so significant.</p><p>--</p><h4>Why the Medium Partner Program is a Game-Changer for Indian Writers</h4><p>The <strong>Medium Partner Program</strong> allows writers to earn money based on the engagement their stories receive—be it reading time, claps, or comments. For the first time, Indian writers can now get compensated for their content, creating an ecosystem that rewards quality writing.</p><p>---</p><h4>How It Works</h4><p>Once you&#39;re in the program, monetizing your writing is simple. By linking your account to Stripe for payments, you can earn money as members engage with your stories. You even have the option to place older stories behind a paywall. This isn’t just about more articles—it’s about writing better articles that readers truly engage with.</p><p>--</p><h4>A Clear Path to Earning</h4><p>The best part of this program is how straightforward it is to get started:</p><ol><li>Sign Up: Create or link your Medium account to Stripe for payments.</li><li>Publish &amp; Engage: Write new stories or place existing ones behind the paywall.</li><li>Get Paid: Earn based on the time paying members spend reading your stories.</li></ol><p>It’s all about quality content that resonates with readers—something that aligns with my own writing philosophy.</p><p>--</p><h4>Conclusion: A New Era for Indian Writers</h4><p>The availability of the <strong>Medium Partner Program</strong> in India opens up a world of possibilities for writers. Now, you can focus on what truly matters—creating stories that inspire, inform, and engage—while earning for the effort and time you put into your work.</p><p>Hey, if you’re already part of the Medium Partner Program or thinking of joining, let me know in the comments below. I’d love to hear about your experiences!</p><p>---</p><p><em>Keep Writing, Keep Growing!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf6b9dfd7786" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/enrolling-in-the-medium-partner-program-cf6b9dfd7786">Enrolling in the Medium Partner Program</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to lazy load your images?]]></title>
            <link>https://medium.com/indienik/how-to-lazy-load-your-images-87ce77b3f437?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/87ce77b3f437</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[image-optimisation]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Fri, 29 Oct 2021 01:53:38 GMT</pubDate>
            <atom:updated>2021-10-29T01:53:38.631Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*9UZotlBU3yCvVAwdfWC7fQ.png" /></figure><p>In the <a href="https://www.linkedin.com/pulse/how-improve-performance-angular-application-optimising-nikhil-patil/">last article</a>, we learnt about Image Optimisation techniques which could result in 50% faster webpage loads. Today, we’re going to take this a step further and see how we can improve on that by “lazy loading” our images.</p><p>Sounds exciting? Read on!</p><h3>So, What is Lazy Loading anyway?</h3><p>This is probably best explained with an example.</p><p>You land on a page, and begin to scroll as you go through the content. At some point, you see a placeholder or a blurry image which is <strong>magically replaced</strong> by a crisp HD image. Déjà vu? That, ladies and gentlemen, is lazy loading for you!</p><p>Now that you know what I’m talking about, let’s understand how to implement this magic in our own website!</p><h3>How is Lazy Loading implemented? The basics!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*0KlSdxQZ_ce8BGRSpZYMGQ.png" /><figcaption><strong>src</strong> and <strong>data-src</strong> attributes in an inline <strong>&lt;img&gt;</strong> tag</figcaption></figure><p>Refer the above code which has both the <strong>src</strong> and <strong>data-src</strong> attributes in an inline <strong>&lt;img&gt;</strong> tag. Browser loads the content of “placeholder-image.jpg” into the <strong>&lt;img&gt;</strong> tag because it does not recognise the <strong>data-src</strong> or <strong>data-srcset</strong> attributes. The lazy loading tactic is now a 2 step process:</p><ol><li>Check if the image is in the viewport.</li><li>If yes, replace the <strong>src</strong> (and sometimes <strong>srcset</strong>) attribute with the value in data-<strong>src</strong> (or <strong>data-srcset</strong>)</li></ol><p>Cool, right? I was flabbergasted when I understood this too! 🤯</p><h3>Multiple ways of Lazy Loading</h3><p>There are various ways you can implement this into your website. Three are 3 ways that I know of. Please feel free to add more in the comments section and I’ll include them in the following list. I’ve referenced the sources of each method so you can start right away after deciding which one to go for. Alright, here are the 3 ways:</p><ul><li>Using event handlers such as <a href="https://developers.google.com/web/fundamentals/performance/lazy-loading-guidance/images-and-video#using_event_handlers_the_most_compatible_way">scroll &amp; resize</a>- Most compatible across browsers.</li><li>Using <a href="https://developers.google.com/web/fundamentals/performance/lazy-loading-guidance/images-and-video#using_intersection_observer"><strong>Intersection Observers</strong></a> - Compatible with most modern browsers.</li><li>Lazy loading via attribute (<strong>loading=”lazy”</strong>) - Simplest of all but Incompatible with Safari. Check the compatibility <a href="https://caniuse.com/#feat=loading-lazy-attr">here</a>.</li></ul><h3>3rd Party Libraries</h3><p>If you’re not up for churning out code that implements Lazy Loading from scratch all by yourself, don’t worry! There are quite a lot of options that you can choose from which provide the same experience as above with minimal overhead.</p><h3>Enter lazysizes</h3><p><a href="https://github.com/aFarkas/lazysizes"><strong>lazysizes</strong></a> is a fast (jank-free), SEO-friendly and self-initialising lazyloader for images (including responsive images picture/srcset), iframes, scripts/widgets and much more. It also prioritises resources by differentiating between crucial in view and near view elements to make perceived performance even faster. lazySizes is written in VanillaJS and with high performance in mind.</p><h3>How does it work?</h3><p>Simply add the JS to your website and put the class “lazyload” to all img elements, which should be lazy loaded and voila! Here are the detailed steps to help you out:</p><ol><li>Download the lazysizes.min.js script and include lazysizes in your webpage (<strong>&lt;script src=”lazysizes.min.js” async=””&gt;&lt;/script&gt;</strong>)</li><li>Add the class “<strong>lazyload</strong>” to your images along with a <strong>data-src</strong> and/or <strong>data-srcset</strong> attribute which hold the actual image. Optionally you can also add a src attribute with a low quality image which tells the user to expect something till the actual image loads.</li></ol><h3>Conclusion</h3><p>Lazy loading images can dramatically lower the initial load time and network downloads on your site. Users won’t incur any processing costs of images they may never see, unless and until they really want to.</p><p>Awesome! So, you’ve learned <em>what “Lazy loading” is</em>, <em>why it is required</em> and <em>how/ways to implement the same</em> into your website. If you haven’t, please feel free to reach out to me in the comments section and hopefully I’ll be able to solve your queries.</p><p>With all these optimisations in place, your Angular app is now pretty fast and thus resulting in a Great User Experience! 😊</p><h3>What next?</h3><p>In the next articles, I’ll discuss about the following:</p><ul><li>How to serve images in next-gen formats and handle fallbacks for browsers that don’t support them?</li><li>How to automate these in your Angular Build Flow using CLI tools?</li></ul><p>Till then, keep learning and have fun while you’re at it.</p><p><em>Keep on Hacking!</em></p><p><em>PS: I’m not a subject matter expert in any of these areas but I am learning. So, if you find any mistakes or have any suggestions, please leave a comment.</em></p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/how-lazy-load-your-images-nikhil-patil/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87ce77b3f437" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/how-to-lazy-load-your-images-87ce77b3f437">How to lazy load your images?</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ember.js vs React.js — When to use what?]]></title>
            <link>https://medium.com/indienik/ember-js-vs-react-js-when-to-use-what-ebe8d7c2fa58?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebe8d7c2fa58</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[indienik]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[emberjs]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Wed, 27 Oct 2021 01:02:19 GMT</pubDate>
            <atom:updated>2021-10-27T01:02:19.898Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ember.js vs React.js — When to use what?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*5S0knHv2OlRR-K-t" /><figcaption>Ember.js vs React.js — When to use what?</figcaption></figure><p>Few years ago, Devtips — a popular Youtube channel started a series in which they decided <a href="https://www.youtube.com/watch?v=bgsuOm_pse4">to build an online business</a>, covering all the aspects of it from crafting a business plan to building a functional website. All in all, I think it’s going to be a FUN series to witness :D</p><p>So when the time came to build the designed prototype for the website, they chose to go with <a href="https://reactjs.org/">React.js</a> — An enormously popular JS Library. I couldn’t understand why they did not choose <a href="https://emberjs.com/">Ember.js</a> over React.js, especially because Ember.js was so easy to get started with.</p><h3>Why did we not use Ember.js?</h3><p><a href="https://www.youtube.com/watch?v=OsBrp15zTIE">Watch the video</a> where MPJ and David answer my question in detail and explain why they chose React.js over Ember.js for prototyping.</p><p>Wow! I didn’t expect a full blown video answering my doubt (as a comment on their previous Youtube video), but this is just great in so many aspects. So thank you #DevTips 😊</p><h3>What I learnt from this video</h3><p>It’s not about what framework/library is better but more about what tool is best for the task at hand and for whom. Also, it’s already a well known fact that comparing React with Ember is like comparing an Apple to an Orange :D</p><p>What could have been a more worthy comparison is between <a href="https://reactjs.org/">React.js</a> and <a href="https://glimmerjs.com/">Glimmer.js</a>. Here is a useful comparison between between them: <a href="https://engineering.linkedin.com/blog/2018/03/how-we-built-the-same-app-twice-with-preact-and-glimmerjs">React’s Preact vs Ember’s Glimmer</a></p><h3>In this specific case, I see that Ember.js wasn’t chosen because</h3><ol><li>They wanted to learn about React.js (02:50)</li><li>(04:05) React.js is a well established, battle tested, has a great ecosystem and is very small compared to Ember.js in overall size.</li><li>Ember.js uses a templating engine (HTMLbars), whereas React.js uses the JSX approach which MPJ believes (02:04) is a much better approach while rapidly prototyping (04:25)</li><li>Plus React.js is in itself just the view layer, so it makes it the perfect choice for prototyping.</li></ol><h3>Now, few noteworthy points about the latest developments in Ember.js</h3><ol><li>Ember.js is like they said a full blown package. It has all the necessary layers for a production grade web app. Hence the bulky size but with an upcoming Packager Feature, it will increase the flexibility of Ember’s build pipeline, paving the way for other neat features like code splitting and tree shaking and finally allowing developers to further reduce the file size of their applications by dramatic amounts.</li><li>Ember.js also has this plug-and-play philosophy, in that, you can easily skip the data-layer (Ember Data)</li><li>Ember.js has a booming ecosystem (See <a href="https://emberobserver.com/">EmberObserver.com</a>). It’s slow but I see more and more of the web applications adapting Ember.js (LinkedIn and Heroku, for example)</li><li>With the “train” release model, it becomes very easy to cope up with Ember.js’ release cycles every 6 weeks. This wasn’t the case with it a few years ago, that is why you still see a lot of outdated information scattered all over the internet. But that’s changing, and for better!</li></ol><p><strong>Few other details..</strong></p><p>Anybody who wants to learn Ember.js, head over to <a href="https://guides.emberjs.com/">Ember.js Guide</a>. You’ll be surprised at how easy this framework is to get up to speed with! ❤️</p><p><em>PS: These are strictly my views/opinions on Ember.js as a framework and I’ve just begun my journey into the JS world. So please excuse any wrong interpretations or misguided information that may have crept in. Also, I haven’t used React.js myself yet, so I have no right to comment on its use cases or pros and cons.</em></p><p>Cheers,</p><p><em>Keep on Learning and Keep on Hacking! </em>😊</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/emberjs-vs-reactjs-when-use-what-nikhil-patil/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebe8d7c2fa58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/ember-js-vs-react-js-when-to-use-what-ebe8d7c2fa58">Ember.js vs React.js — When to use what?</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I automated an hour long process within seconds using Google Sheets]]></title>
            <link>https://medium.com/indienik/automate-an-hour-long-process-within-seconds-using-google-sheets-4a6b9d825999?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a6b9d825999</guid>
            <category><![CDATA[google-app-script]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[indienik]]></category>
            <category><![CDATA[google-sheets]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Mon, 25 Oct 2021 02:33:38 GMT</pubDate>
            <atom:updated>2021-10-27T07:33:44.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Nikhil Patil (indieNik) talks on How to automate an hour long process to run within seconds using Google Sheets" src="https://cdn-images-1.medium.com/max/1024/1*lDj1pj90L1EIFnHL0koVlA.png" /><figcaption>Automate an hour long process within seconds using Google Sheets — Nikhil Patil (indieNik)</figcaption></figure><p>As a hustler, I always look at automating things and building useful solutions. One such opportunity came up when I saw that <a href="https://www.google.com/sheets/about/">Google Sheets</a> was being used to manually fill up the leads from Google Ad Campaigns. This sheet would then be consumed by BDA’s to touch base with potential clients.</p><h3>Problem?</h3><p>The entire process took about an hour or two depending on the number of leads. This same time could be used elsewhere for more efficiently leading to increased productivity.</p><h3>Possible Solutions</h3><p>While researching to see if this process could be made more efficient, I came across <a href="https://zapier.com/?referral_id=10151315">Zapier</a> where you could connect different channels to setup automations. But the price was too high for such a small process. I came across other workflow <a href="https://www.woopra.com/blog/the-7-best-marketing-automation-tools">automation platforms</a> but they all had the same drawback — Too costly for a single process automation.</p><p>On further researching I came across <a href="https://developers.google.com/apps-script">Google App Scripts</a> which gave me a SUPER POWER to create and manage Google Sheets. After about 3 to 4 hours of tinkering, I was able to automate the entire process and complete it end-to-end in under 20 seconds or less.</p><ul><li>The script would run every 2 hours to populate the leads from an API.</li><li>Used this opportunity to get an additional property, i.e., state of the lead using the city/address provided using built-in Maps service.</li></ul><pre>Maps.newGeocoder().geocode(address)</pre><ul><li>This super power also allowed me to format and adjust the alignments of the cells once the population was complete. Added bonus!</li></ul><h3>Impact</h3><p>As a result of this, I was able to free up close to 2 hours per day for our Digital Marketer that led him to productively utilise his time strategising different ad campaigns.</p><blockquote><em>One of automation’s best feature is that it gives you the opportunity to use talent and do what humans do best: create ingenious business plans to eliminate costs, make important decisions, etc. Creative and innovative methods that an automated system can’t do.</em></blockquote><h3>Conclusion</h3><p>Automation enables companies to focus on creating efficient workflows that can effectively and efficiently add business value instead of maintaining manual, tedious tasks. So look out for opportunities in your company or project. You’ll be surprised how many manual tasks eat up your team’s bandwidth which could be productively used elsewhere.</p><p>Hey, if you automated any task or process at your company, let me know in the comments below :)</p><p>Have Fun Automating!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a6b9d825999" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/automate-an-hour-long-process-within-seconds-using-google-sheets-4a6b9d825999">I automated an hour long process within seconds using Google Sheets</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Party analogy to understand Authentication VS Authorisation]]></title>
            <link>https://medium.com/indienik/a-party-analogy-to-understand-authentication-vs-authorisation-e1e4557eb837?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1e4557eb837</guid>
            <category><![CDATA[authorization]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[indienik]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Sat, 23 Oct 2021 21:00:43 GMT</pubDate>
            <atom:updated>2021-10-23T21:00:43.838Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OdGlvx_QPwOct_K6xQg7bA.png" /><figcaption>Nikhil Patil (indieNik) explains the difference between Authentication and Authorisation using a party analogy</figcaption></figure><p>Assuming you’ve watched the hit <a href="https://en.wikipedia.org/wiki/Lucifer_(TV_series)">Netflix series Lucifer</a>, let’s say Lucifer arrives to a party. He arrives at the entrance and nobody stops him from entering because well, he freaking owns the nightclub — LUX! Lucifer actually lives in the penthouse of the building. So, it goes without saying that he has access to every nook and corner of Lux.</p><p>On the contrary, if you were to enter Lux, you would have to first acquire a pass and get past through the security at the entrance; ergo, you would need to “authenticate yourself” as somebody who has paid and has permission to enter the nightclub. If you were let in, it basically means that you were authenticated and you’re free to wander and have fun in Lux <em>(assuming you did not bribe the bouncers, if you did though, wouldn’t that be “hacking” your way in? </em>😂 <em>Let me know in the comments)</em>.</p><p>Moving on<strong>,</strong></p><p>As you’re partying, you see a VIP section and try to get in but you’re immediately stopped and asked to see if you have permission to enter. You tell them you have already shown your pass at the entrance, that you have already been “authenticated”, but that doesn’t cut it; ergo, you do not have permission or you have no proper authorisation to access the VIP section.</p><h3>Authentication:</h3><p>Receiving a 401 response is the server telling you, “you aren’t authenticated — either not authenticated at all or authenticated incorrectly — but please re-authenticate and try again.”</p><h3>Authorisation:</h3><p>Receiving a 403 response is the server telling you, “I’m sorry, I know who you are — I believe who you say you are — but you just don’t have permission to access this resource.</p><h4>Important note:</h4><p>What you also have to understand from this example is this:</p><blockquote><em>There is no Authorisation without Authentication</em></blockquote><p>Makes sense?</p><h3>Let’s recap</h3><p>A 401 Unauthorised response should be used for missing or bad authentication, and a 403 Forbidden response should be used afterwards, when the user is authenticated but isn’t authorised to perform the requested operation on the given resource.</p><p>I’ll see you in my next post. Till then, keep learning and have fun while you’re at it.</p><p><em>Keep on Hacking!</em></p><p><em>PS: I’m not a subject matter expert in any of these areas but I am learning. So, if you find any mistakes or have any suggestions, please leave a comment.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1e4557eb837" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/a-party-analogy-to-understand-authentication-vs-authorisation-e1e4557eb837">A Party analogy to understand Authentication VS Authorisation</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to improve performance of an Angular application by optimising images?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/indienik/how-to-improve-performance-of-an-angular-application-by-optimising-images-1cce034f87dd?source=rss-8cd71f9bd5b2------2"><img src="https://cdn-images-1.medium.com/max/820/1*PChgqLiBveruU1QhuUT5PA.png" width="820"></a></p><p class="medium-feed-snippet">High resolution images can slow down your website&#x2019;s page speed. I&#x2019;ve a 3 step solution which might help you load your site much faster. R&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/indienik/how-to-improve-performance-of-an-angular-application-by-optimising-images-1cce034f87dd?source=rss-8cd71f9bd5b2------2">Continue reading on All things Dev  -   indieNik »</a></p></div>]]></description>
            <link>https://medium.com/indienik/how-to-improve-performance-of-an-angular-application-by-optimising-images-1cce034f87dd?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1cce034f87dd</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Sat, 06 Jun 2020 18:45:29 GMT</pubDate>
            <atom:updated>2020-06-06T18:45:29.736Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How hard can Angular (4/5/6) be?]]></title>
            <link>https://medium.com/indienik/how-hard-can-angular-4-5-6-be-ec75c0833a99?source=rss-8cd71f9bd5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec75c0833a99</guid>
            <category><![CDATA[angular-5]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular-4]]></category>
            <category><![CDATA[indienik]]></category>
            <dc:creator><![CDATA[Nikhil Patil]]></dc:creator>
            <pubDate>Sat, 09 Dec 2017 22:22:10 GMT</pubDate>
            <atom:updated>2017-12-09T22:22:10.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*yl2DIQE2JFpqe24LqcIRmg.png" /><figcaption>Image Credits: CronJ</figcaption></figure><p>With 3 days of theory followed by a whole day of tutorials, I could finally come up with a basic version of my Angular 5 Application. It is a <a href="https://angular-checklist.firebaseapp.com/">Simple Checklist</a> in which you can add and delete your to-do’s , basically covering the CRUD operations.</p><p>AngularFire and AngularFirestore libraries do what they’re supposed to do and they just nail it! :)</p><p>Using Angular CLI was pretty easy and quite handy to generate files and I love how they have used the elements of Ember CLI (Oh, I love <a href="http://emberjs.com/">Ember.js</a>!)</p><p>I even wrote an alias for building the app in production mode and for deploying it to Firebase (yeah, call me lazy!) and called it ngfireDeploy (ngf TAB + ENTER and boom!).</p><p>Oh! Did I mention I was building a <a href="https://developers.google.com/web/progressive-web-apps/">PWA</a>? I love PWA’s and I personally think they are going to outsmart the native apps. Talk about installable web applications, push notifications, offline persistence of data and more importantly a native app like feel bundled in smaller file sizes. What more could you ask for?</p><p>Have a look at my <a href="https://developers.google.com/web/tools/lighthouse/">Lighthouse </a>score below to know how I am “progressing” with my Progressive Web App ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/0*PL5jNjGAxAUcEoxS.png" /></figure><p>Yes, I am working on the optimization part :) Going through this <a href="https://in.udacity.com/course/website-performance-optimization--ud884">Udemy course</a> to understand how the Browser consumes and parses the HTML, CSS and JS to finally paint those pixels. Does it not sound like magic? It did, for me before going through this course though!</p><p>Coming to data persistence, using the new Firestore queries were a breeze and relying on webpack to compile my SASS automatically was a real blessing. I am planning to use these more often now.</p><p>All in all, the learning curve for understanding the basic nitty gritties of Angular5 (and yes TypeScript) wasn’t that steep. May be this has to do with my familiarity with EmberJS.</p><p>As a bonus, I switched from Brackets to VS Code. Now I know why people use VS Code for Angular. :D (Although I have to admit, I did configure the keyboard shortcuts in VSCode to mimic that of Brackets.)</p><p>Few Fun Facts:</p><ol><li>Do you know LinkedIn uses EmberJS to fire up it’s UI?</li><li>Turns out Angular CLI was directly borrowed “as-is” from Ember CLI. (Do not quote me on that, we already have enough framework wars! :P )</li></ol><p>Anyway, have a look at my <a href="https://angular-checklist.firebaseapp.com/">Simple Checklist</a> app and let me know if there’s any feedback you want to provide or any suggestions you guys have to offer, to someone like me who has just begun his Angular Journey!</p><p>Till then, Keep Learning and Keep on Hacking! :) (DevTips Fan, anyone?)</p><p>PS: If this post was helpful to you, please leave a clap or two :)</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec75c0833a99" width="1" height="1" alt=""><hr><p><a href="https://medium.com/indienik/how-hard-can-angular-4-5-6-be-ec75c0833a99">How hard can Angular (4/5/6) be?</a> was originally published in <a href="https://medium.com/indienik">All things Dev  -   indieNik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>