<?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 Vedant Sasane on Medium]]></title>
        <description><![CDATA[Stories by Vedant Sasane on Medium]]></description>
        <link>https://medium.com/@vedant.sasane?source=rss-b87b1c775556------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*675llVvrMzx-2kAKAbo9KQ.jpeg</url>
            <title>Stories by Vedant Sasane on Medium</title>
            <link>https://medium.com/@vedant.sasane?source=rss-b87b1c775556------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:43:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vedant.sasane/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[Enhancing Farmer Connectivity: The Fasal App’s Journey with Push Notifications]]></title>
            <link>https://medium.com/fasal-engineering/enhancing-farmer-connectivity-the-fasal-apps-journey-with-push-notifications-e9a9290d0880?source=rss-b87b1c775556------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a9290d0880</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[meteor]]></category>
            <category><![CDATA[firebasecloudmessaging]]></category>
            <category><![CDATA[push-notification]]></category>
            <category><![CDATA[cordova]]></category>
            <dc:creator><![CDATA[Vedant Sasane]]></dc:creator>
            <pubDate>Fri, 16 Feb 2024 03:19:26 GMT</pubDate>
            <atom:updated>2024-02-16T03:29:40.995Z</atom:updated>
            <content:encoded><![CDATA[<h3>Enhancing Farmer Connectivity: Fasal App’s Journey with Push Notifications</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F1fW7hTnoWZo6QOfihqflw.png" /></figure><p>At <a href="https://fasal.co/">Fasal</a>, staying connected with the farmers and providing real-time updates is crucial. Push Notifications play an important role in delivering essential information to farmers, like rainfall forecasts, personalized irrigation advisories, crop growth stage updates etc.</p><p>In this blog we will delve into the overall architecture of how we send push notifications to the farmers, and how we transitioned from deprecated raix:push Meteor package to a more robust solution.</p><h4>The Need for Migration</h4><p>The <a href="https://github.com/Meteor-Community-Packages/raix-push"><strong>raix:push</strong></a><strong> </strong>plugin<strong>, </strong>Fasal’s initial push notification solution, served its purpose well, However with its deprecation and lack of crucial features , including analytics we decided to seek a more dependable solution.</p><p>We explored various Notification service providers like <strong>Onesignal</strong>, <strong>Clevertab</strong> etc.. Still, we decided to go with the native FCM approach by using an <a href="https://github.com/havesource/cordova-plugin-push">open source cordova plugin</a> for having more control over our setup.</p><p>Also, check out our push implementation specifics in our earlier days,</p><p><a href="https://medium.com/fasal-engineering/raix-push-support-for-android-channels-f3060b1bb7db">Raix:Push - Support for Android Channels</a></p><h3>Key points on which we improved upon migration</h3><h4><strong>1 . Analytics and Insights :</strong></h4><p>Firebase Cloud Messaging Provides detailed analytics on notification engagement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DywswussSZ2XVnGme9EtXQ.png" /><figcaption>FCM statistics</figcaption></figure><h4><strong>2. Rich Push Notifications</strong></h4><p>We can now send the Notification with images and action buttons</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c7lHHAaWEAMzppT1dzBkKg.png" /><figcaption>Rich Push Notifications with images &amp; action buttons</figcaption></figure><h4><strong>3. Up to Date with the latest Firebase Admin SDK</strong></h4><p>For sending the push notifications to users we were using Firebase Legacy HTTP Protocol API but Firebase has announced its plan to terminate the usage of legacy Firebase Cloud Messaging (FCM) APIs effective June 20, 2024. So we have fully migrated to Firebase Admin SDK to send the notifications. <a href="https://firebase.google.com/docs/cloud-messaging/migrate-v1">Official documentation link</a></p><h3>New Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ti1SfI31uN-txelk9TufaQ.png" /></figure><p>The flow of sending the notifications looks like this</p><ol><li><strong>Event Triggering via AWS SQS<br></strong>When a specific event occurs in one of the services, the service packages the event details and triggers an AWS SQS queue by sending message on it. This message includes the necessary information for the notification .</li><li><strong>Worker Processing for Token Retrieval <br></strong>A dedicated worker continuously polls the SQS queue for new messages. Upon receiving a message, the worker processes it by first identifying the users affected by the event. <br>After that, it retrieves their device tokens, which are necessary for sending push notifications through FCM. This step involves querying a database where user tokens are stored, mapping the event to the users’ device identifiers</li><li><strong>Notification Dispatch via Firebase Cloud Messaging (FCM)<br></strong>With the device tokens retrieved, the worker constructs the push notification payload according to the event’s context (e.g., message content, data payload for app interaction). It then sends this payload to FCM, specifying the retrieved tokens as the destination. Firebase Cloud Messaging handles the delivery of these notifications to the user&#39;s devices</li></ol><h4>Finally..</h4><p>The migration to Firebase Cloud Messaging (FCM) has significantly improved Fasal’s ability to engage with farmers by providing real-time updates and essential information like rainfall forecasts, irrigation advisories, and crop growth stages. With FCM’s detailed analytics, Fasal now has a deeper understanding of notification engagement, allowing for more informed decisions and strategies to further increase user interaction and satisfaction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a9290d0880" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fasal-engineering/enhancing-farmer-connectivity-the-fasal-apps-journey-with-push-notifications-e9a9290d0880">Enhancing Farmer Connectivity: The Fasal App’s Journey with Push Notifications</a> was originally published in <a href="https://medium.com/fasal-engineering">Fasal Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deeplinking In Meteor Part 2]]></title>
            <link>https://medium.com/fasal-engineering/deeplinking-in-meteor-part-2-5593f628b5aa?source=rss-b87b1c775556------2</link>
            <guid isPermaLink="false">https://medium.com/p/5593f628b5aa</guid>
            <category><![CDATA[deep-link-android]]></category>
            <category><![CDATA[meteor]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[deeplink]]></category>
            <dc:creator><![CDATA[Vedant Sasane]]></dc:creator>
            <pubDate>Thu, 16 Feb 2023 06:01:22 GMT</pubDate>
            <atom:updated>2023-02-16T06:01:22.690Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deep linking In Android App — Meteor JS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tWxPD94_OyNp_MY2M0dxnA.png" /></figure><p>This blog will be in continuation of our <a href="https://medium.com/fasal-engineering/deep-linking-in-meteor-js-a-step-by-step-guide-with-examples-b322eaa1202f">previous blog</a>, in which my teammate explained what are deep links why we need them and how can we integrate deep-linking in our meteor app.</p><p>This blog majorly focuses on some additional steps which are required to make deep-linking work in our app (in newer android versions) and some debugging techniques to check if our links are actually working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FO3XkSWGygFVKRxb.png" /></figure><h3>Associating the App with our Websites</h3><p>In order to verify if our android app is associated with the website we need to publish the <a href="https://developers.google.com/digital-asset-links"><strong>Digital Asset Links</strong></a> file on our websites. This <strong>JSON file</strong> will look something like this,</p><pre>[<br>  {<br>    &quot;relation&quot;: [&quot;delegate_permission/common.handle_all_urls&quot;],<br>    &quot;target&quot;: {<br>      &quot;namespace&quot;: &quot;android_app&quot;,<br>      &quot;package_name&quot;: &quot;com.meteorapp.test&quot;,<br>      &quot;sha256_cert_fingerprints&quot;: [<br>        &lt;YOUR-SHA256&gt;<br>      ]<br>    }<br>  }<br>]</pre><h4>Testing the association</h4><p>This above file should be accessible with the URL, <a href="https://yourappdomain.com/.well-known/assetlinks.json%60">https://YourAppDomain.com/.well-known/assetlinks.json`</a></p><h4>Creating Digital Asset Links in Meteor App</h4><p>In M<strong>eteorJS</strong> you can create .well-known directory inside your <strong>public</strong> folder and you can add assetlinks.json inside this directory.</p><p><em>Now the question is,</em></p><h4>How to get that <strong>SHA256</strong> fingerprint?</h4><p>This SHA256 fingerprint can be generated from the <strong>Keystore</strong> which is basically your app’s signing certificate</p><p>If you want to create a Keystore, you can follow this <a href="https://developer.android.com/studio/publish/app-signing/">documentation</a></p><p>If you have the keystore file then you can generate this SHA256 Just by using this command</p><pre>keytool -list -v -keystore my-app-key.keystore</pre><p>You can copy that SHA256 and paste in <em>assetlinks.json</em> file</p><blockquote><strong>Note :- </strong>if you dont have access to this keystore, you can still get this SHA256 from the <strong>Google Play Console</strong> just go to Release &gt; Setup &gt; App integrity</blockquote><h3>How to Test Deep linking in your local environment?</h3><h4>Step 1: Get the SHA256 of your debug keystore</h4><p>Whenever you run your app through android studio or directly using the command,</p><p>meteor run android-device</p><p>it will run your app in debug mode, and by default, it will use the <strong>debug keystore</strong> which can be found in .android folder which is present in your root directory,<br>for more information about the debug key, you can check this <a href="https://developer.android.com/studio/publish/app-signing#debug-mode">Official Documentation</a>.</p><p>Get the SHA256 from debug keystore using the command,<br>keytool -list -v -keystore ~/.android/debug.keystore</p><p>and the <strong>password</strong> for this keystore is android . now we can use this SHA256 for testing deep links locally.</p><h4><strong>Step 2: Build your meteor app</strong></h4><p>For building your meteor app you can use the command</p><pre>meteor build ../output --server=http://&lt;IP-ADDR&gt;:3000 --mobile-settings settings.json</pre><p>and run the meteor app in another tab using the command</p><pre>meteor run --settings settings.json --port http://&lt;IP-ADDR&gt;:3000</pre><blockquote>Note : Your phone should be connected to the<strong> same Wifi network</strong> and you need to enter your <strong>network ip address.</strong></blockquote><p>Here make sure your asset-links file is accessible with the URL,</p><p>http://&lt;IP-ADDR&gt;:3000/.well-known/assetlinks.json</p><h4>Step 3: Open The build folder in android studio</h4><p>Open android studio and open the folder output/android/project in android studio and select the device and run the app using the play button.</p><h4>Step 4: Open Android App Links Assistant</h4><p>In android studio on the top bar go to tools and then open the Android app link assistant,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ZVzLV38APEnAd8QIsNoPQ.png" /></figure><p>This is a great feature in android studio to test our deeplinks.</p><p>If you go to the Open URL Mapping Editor you will see the universal links that you added in your mobile configs will be visible over here</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0YGOLURmcb7dQV2AVm2iw.png" /></figure><blockquote>Note: If your Links that you have entered in mobile configs are not visible in URL Mapping Editor then their might be some issue in build folder , you can try to reset the project using meteor reset and rebuild the app.</blockquote><h4>Step 5: Test your links</h4><p>Now go to Test App Links section and enter the URL. this Url should be present in your URL mapping Editor. and finally, your link should open your app.</p><h4>Still needs to be fixed? :(</h4><p>Here are some steps to follow, if your deep links are still not working:</p><p>1 ) Cross-verify the SHA256 of your apk with the SHA256 generated by the keystore and which is in your <em>.well-known .</em> you can extract the SHA256 directly from the <strong>generated apk</strong> by using this command.</p><pre>keytool -printcert -jarfile &lt;apk-name&gt;.apk</pre><p>2) If you are testing on <strong>Android 12, o</strong>pen your app settings and inside app info check if your web links are verified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJRN3ZDDzxnjkDU6NQ0dQA.png" /><figcaption>Image from Android’s Official Documentation</figcaption></figure><p>In the development environment, you can manually verify those which check the checkbox or you can do it using <strong>ADB</strong> command you can <a href="https://developer.android.com/training/app-links/verify-android-applinks#invoke-domain-verification">refer</a> and run the tests again.</p><p>3) If you are facing issues opening deep links in your deployed version<br>you can use this <a href="https://developers.google.com/digital-asset-links/tools/generator">Statement List Generator and Tester</a> to check if your Host grants app deep linking to your app.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxT1XGwZ2FhCBloPgxW%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxT1XGwZ2FhCBloPgxW%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FxT1XGwZ2FhCBloPgxW%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="239" frameborder="0" scrolling="no"><a href="https://medium.com/media/d328e7424756ca0a3ff0fd5ba7dbf0c1/href">https://medium.com/media/d328e7424756ca0a3ff0fd5ba7dbf0c1/href</a></iframe><p><strong>That was all about Deep linking in the Meteor android app.</strong></p><p>In the next part, we will discuss how to implement and test deep linking in the meteor ios app. Stay tuned for that!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5593f628b5aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fasal-engineering/deeplinking-in-meteor-part-2-5593f628b5aa">Deeplinking In Meteor Part 2</a> was originally published in <a href="https://medium.com/fasal-engineering">Fasal Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sass Learning Series Part 2: Everything About SASS Variables]]></title>
            <link>https://medium.com/fasal-engineering/sass-learning-series-part-2-everything-about-sass-variables-45bcb772ce80?source=rss-b87b1c775556------2</link>
            <guid isPermaLink="false">https://medium.com/p/45bcb772ce80</guid>
            <category><![CDATA[sass-variables]]></category>
            <category><![CDATA[css-preprocessors]]></category>
            <category><![CDATA[sass]]></category>
            <dc:creator><![CDATA[Vedant Sasane]]></dc:creator>
            <pubDate>Mon, 07 Mar 2022 03:28:35 GMT</pubDate>
            <atom:updated>2022-03-07T03:28:35.612Z</atom:updated>
            <content:encoded><![CDATA[<p>Variables are one of the most important features in Sass which makes our stylesheet code reusable and maintainable, so in this article, we will see what are Sass variables and how we can use them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oE4Wvydgv-qUUaLaHe0YVQ.png" /></figure><h3>What are Sass Variables?</h3><p>With the help of Sass variables, we can assign a value to a name that begins with <strong>$</strong>, and we can use that name instead of the value itself throughout the defined scope. In short, it is just like the variables that we use in any programming language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t6sjQotlCMbAU3f7ySSFDw.png" /><figcaption>Sass Variable Declaration</figcaption></figure><h4>Scoping Rules</h4><p>All the variables declared on top of the stylesheet are <strong>global. </strong>They can be accessed from anywhere inside the module. However, the variables declared inside a particular scope are considered as <strong>local variables</strong>, which means they cannot be accessed outside of that scope.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9m_L2MjBfAlK4cjvH891w.png" /></figure><h4>Variable Shadowing in Sass</h4><blockquote><strong>Variable shadowing</strong> occurs when a variable defined inside inner scope has the same name as a variable in the outer scope.</blockquote><p>In Sass, If local variables are declared with the same name as the global variables, then they will be considered as different variables with the same name. Hence, the local variables <strong>will not</strong> change the value of global variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bY9DZbQIsWEjPQBsr4VCqA.png" /></figure><p>But <strong>what if we need to change the global variable’s value from within a local scope?</strong></p><p>We can do it with the help of <strong>!global</strong> flag. Let’s take the same example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k0WgUGJPH8RD43TPlHcXoQ.png" /></figure><p>Just like the <strong>!global</strong> flag, there is one more important flag which is <strong>!default.</strong></p><blockquote>If a Variable is defined with <strong>!default</strong> flag, then it checks if that variable has assigned with any value in higher up the load order or not. If assigned, then it will take that already assigned value or else it will take the default value.</blockquote><p>Let’s understand it with the below example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vbim2UUPKhKgAuMhyLD4g.png" /></figure><p>As you can see here, <strong>variables.scss </strong>file contains all the default values. So if we want to change the value of some variables without actually editing the variables.scss file, we can create another file named <strong>custom_variables.scss<br></strong>in the same folder and write the variables along with the values that you want to change. We can then import the files in the main <strong>style.scss</strong> file.<br>Compiled CSS file will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*nKzUPIB7SCAdPiP1l9r0tg.png" /><figcaption>Output CSS file</figcaption></figure><blockquote><strong>Note:</strong>The custom_variables file should be imported <strong>before</strong> variables.scss file, since <strong>!default</strong> flag checks for presence of that variable in higher up load order.</blockquote><p>This was a small example to get the idea of how <strong>!default</strong> flag actually works. <br>Just like this, we can customize the variables of the front-end frameworks like <strong>Bootstrap</strong>, <strong>MaterializeCSS, </strong>etc.</p><h3>What is the difference between Sass variables and CSS variables(Custom Properties)?</h3><p>Here are Some Features which make CSS Variables much more powerful than Sass Variables.</p><ul><li>We can override the values of variables by simply assigning the value to the same variable in any other selector.</li><li>We can manipulate CSS variables in Javascript.</li><li>CSS Variables are included in CSS output, unlike Sass variables which will get compiled away.</li></ul><p><strong>Then why we are using Sass variables?<br></strong>Well, the main reason is CSS variables were introduced to the CSS standards when CSS preprocessors were already there, and at that time browser support for CSS variables was very less. But currently, it has more than <strong>96%</strong> of global support!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HNRkWOhT3btqyGqmW1RdYg.png" /></figure><h4>Conclusion:</h4><p>That was all about Sass variables, in the next part we will be focusing on nesting and Flow Control Rules, so stay tuned :)</p><p>This is Part-2 of the series I started for Sass learning. If you jumped here directly you may refer to part-1 from the following link:</p><p><a href="https://medium.com/fasal-engineering/what-is-sass-a-comprehensive-guide-sass-learning-series-part-1-introduction-to-sass-8aa1d52eff15">SASS Learning Series Part 1: Introduction to SASS</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45bcb772ce80" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fasal-engineering/sass-learning-series-part-2-everything-about-sass-variables-45bcb772ce80">Sass Learning Series Part 2: Everything About SASS Variables</a> was originally published in <a href="https://medium.com/fasal-engineering">Fasal Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SASS Learning Series Part 1: Introduction to SASS]]></title>
            <link>https://medium.com/fasal-engineering/what-is-sass-a-comprehensive-guide-sass-learning-series-part-1-introduction-to-sass-8aa1d52eff15?source=rss-b87b1c775556------2</link>
            <guid isPermaLink="false">https://medium.com/p/8aa1d52eff15</guid>
            <category><![CDATA[what-is-sass]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[css-preprocessors]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Vedant Sasane]]></dc:creator>
            <pubDate>Wed, 02 Feb 2022 03:47:23 GMT</pubDate>
            <atom:updated>2022-02-02T03:54:17.983Z</atom:updated>
            <content:encoded><![CDATA[<h3>Sass Learning Series Part 1: Introduction to Sass</h3><p><strong>DRY (Don’t Repeat Yourself)</strong> is a basic Principle that every good Software Engineer should follow. But when it comes to styling your web application, we often make a lot of repetitive actions in our style.css file, and in the end, that file becomes hard to maintain. So whenever we need to update a particular style we need to make the changes in a lot of places in the file and that’s where <strong>CSS Preprocessors</strong> come into the picture.</p><blockquote>A <strong>CSS preprocessor</strong> is a program that lets you generate <strong>CSS</strong> from the preprocessor&#39;s own unique <strong>syntax.</strong></blockquote><figure><img alt="Types of CSS Preprocessors" src="https://cdn-images-1.medium.com/max/1024/1*Wfa06JroxxDUNTYTFCtPtQ.png" /><figcaption>CSS Preprocessors</figcaption></figure><h3>What is Sass?</h3><p><a href="https://sass-lang.com/"><strong>Sass</strong></a><strong> (Syntactically Awesome Style Sheet) </strong>is one of the <strong>CSS preprocessors</strong> which lets you write clean, reusable CSS code which is easy to maintain and it has features that don’t exist in CSS yet like nesting, mixins, inheritance, etc.</p><p>Let’s understand <strong>How Sass actually works?</strong></p><figure><img alt="How SASS Actually Works" src="https://cdn-images-1.medium.com/max/1024/1*xZ2Akw_be4e1ezT21IytJQ.png" /><figcaption>Sass Workflow</figcaption></figure><p>Your <strong>Sass</strong> code gets converted into a normal <strong>CSS</strong> code with the help of the <strong>compiler</strong>. Sass compilers are built on top of Sass implementations. There are multiple Sass implementations and we will be using <a href="https://sass-lang.com/dart-sass"><strong>Dart Sass</strong></a> though-out this series.</p><figure><img alt="Various Sass Implementations" src="https://cdn-images-1.medium.com/max/1024/1*VzqD4tTGtMCL4t7eMMne4w.png" /><figcaption>Sass Implementations</figcaption></figure><p>If you want a GUI-based application to Compile your Sass, here is a list of <a href="https://themefisher.com/sass-compiler/">SASS Compiler Tools</a>.</p><blockquote><strong>Note: </strong>While installing any SASS Compiler tool , please note which Sass implementation they use. In the above list shared, there are many tools which uses ruby sass which is no longer supported.</blockquote><p>For simplicity, we will use <strong>Dart Sass’s</strong> stand-alone <strong>command-line executable</strong> to compile our Sass code.</p><blockquote>Dart Sass’s stand-alone command-line executable uses the <strong>blazing-fast Dart VM</strong> to compile your stylesheets.</blockquote><h3>Installation</h3><h4>For Windows:</h4><p>You will need the <a href="https://community.chocolatey.org/packages/chocolatey">Chocolatey</a> package manager and you can install Dart Sass by running</p><pre>choco install sass</pre><h4>For Mac OS X or Linux:</h4><p>You will need <a href="https://brew.sh/">the Homebrew package manager</a> and you can install Dart Sass by running</p><pre>brew install sass/sass/sass</pre><p>If you use<strong> Node.js,</strong> you can also install Sass using <a href="https://www.npmjs.com/">npm</a> by running</p><pre>npm install -g sass</pre><blockquote><strong>Note: </strong>this will install the <strong>pure JavaScript</strong> implementation of Sass, which runs somewhat <strong>slower</strong> than the other options listed here. But it has the <strong>same interface</strong>, so it’ll be easy to swap in another implementation later if you need a bit more speed!</blockquote><p>Now we are all set up and ready, we can run the <strong>Sass</strong> executable to compile <strong>.sass</strong> or <strong>.scss</strong> files to <strong>.css</strong> files.</p><pre>sass <strong>[</strong>sass/scss file path<strong>]</strong> <strong>[</strong>.css file path<strong>] </strong></pre><p>For example, considering the .scss file and .css file are in the same folder, we can use the <strong>-w</strong> flag to autorun the command if any changes are detected in the .scss file.</p><pre>sass index.scss index.css -w</pre><h3>Difference between SASS and SCSS</h3><p>The working of SASS and SCSS(<strong>Sassy CSS</strong>) is the same, the only difference between them is <strong>Syntax</strong>. SASS uses <strong>Indented Syntax (older syntax)</strong> while SCSS Uses<strong> brackets and semicolons (newer syntax).</strong></p><figure><img alt="Sass and Scss Difference" src="https://cdn-images-1.medium.com/max/1024/1*re-jGlkNWEsJu2NEbG_xYQ.png" /><figcaption>Syntax of Sass and Scss</figcaption></figure><h4>Conclusion</h4><p>That was the complete introduction and installation process of Sass, in the next part we will be focusing on Sass features like Nested Rules, Helper functions, Inheritance, Mixins, Partials, <em>etc</em>. So stay tuned for that :).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8aa1d52eff15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fasal-engineering/what-is-sass-a-comprehensive-guide-sass-learning-series-part-1-introduction-to-sass-8aa1d52eff15">SASS Learning Series Part 1: Introduction to SASS</a> was originally published in <a href="https://medium.com/fasal-engineering">Fasal Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>