<?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 Sandoche ADITTANE on Medium]]></title>
        <description><![CDATA[Stories by Sandoche ADITTANE on Medium]]></description>
        <link>https://medium.com/@sandoche?source=rss-6b8ad8344834------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*W56N9CnA0jqjCm6LByXmjg.png</url>
            <title>Stories by Sandoche ADITTANE on Medium</title>
            <link>https://medium.com/@sandoche?source=rss-6b8ad8344834------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:16:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sandoche/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[DJing for Beginners: The Basics and Beyond]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/learning-lab/djing-for-beginners-the-basics-and-beyond-4388a98a356f?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/768/0*NNpAM1wj5HyBPSAi.jpg" width="768"></a></p><p class="medium-feed-snippet">Tips and tricks to learn how to mix like a DJ</p><p class="medium-feed-link"><a href="https://medium.com/learning-lab/djing-for-beginners-the-basics-and-beyond-4388a98a356f?source=rss-6b8ad8344834------2">Continue reading on Learning Lab »</a></p></div>]]></description>
            <link>https://medium.com/learning-lab/djing-for-beginners-the-basics-and-beyond-4388a98a356f?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/4388a98a356f</guid>
            <category><![CDATA[mixing]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[learning-music]]></category>
            <category><![CDATA[dj]]></category>
            <category><![CDATA[music]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Sat, 20 May 2023 09:10:11 GMT</pubDate>
            <atom:updated>2023-05-20T09:10:11.526Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to use ChatGPT anywhere on Telegram]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://sandoche.medium.com/how-to-use-chatgpt-anywhere-on-telegram-1189c88682d9?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/1920/1*4v8Pu8bT9Vifx0m43Oh3oQ.png" width="1920"></a></p><p class="medium-feed-snippet">Use ChatGPT in any Telegram conversation in a few seconds</p><p class="medium-feed-link"><a href="https://sandoche.medium.com/how-to-use-chatgpt-anywhere-on-telegram-1189c88682d9?source=rss-6b8ad8344834------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sandoche.medium.com/how-to-use-chatgpt-anywhere-on-telegram-1189c88682d9?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/1189c88682d9</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[gpt-3]]></category>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 08:14:00 GMT</pubDate>
            <atom:updated>2023-03-03T08:14:00.784Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Everything you Need to Become a Web3 Developer]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/learning-lab/everything-you-need-to-become-a-web3-developer-309dfa71a89f?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/2600/1*OBOKSBbLjHpRgQoELX6Ghw.png" width="3840"></a></p><p class="medium-feed-snippet">Tips and tricks to get started with Solidity and Web3 Development</p><p class="medium-feed-link"><a href="https://medium.com/learning-lab/everything-you-need-to-become-a-web3-developer-309dfa71a89f?source=rss-6b8ad8344834------2">Continue reading on Learning Lab »</a></p></div>]]></description>
            <link>https://medium.com/learning-lab/everything-you-need-to-become-a-web3-developer-309dfa71a89f?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/309dfa71a89f</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 15 Nov 2022 18:26:31 GMT</pubDate>
            <atom:updated>2023-04-06T07:17:54.003Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building a Video Game in One Week With Godot]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/learning-lab/building-a-video-game-in-one-week-with-godot-a663479e44b0?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/1920/1*wkoUu2cC0pU5Yckef3OqZQ.png" width="1920"></a></p><p class="medium-feed-snippet">Learning the Godot Engine by building a full-featured video game</p><p class="medium-feed-link"><a href="https://medium.com/learning-lab/building-a-video-game-in-one-week-with-godot-a663479e44b0?source=rss-6b8ad8344834------2">Continue reading on Learning Lab »</a></p></div>]]></description>
            <link>https://medium.com/learning-lab/building-a-video-game-in-one-week-with-godot-a663479e44b0?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/a663479e44b0</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[indiedev]]></category>
            <category><![CDATA[game-engine]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 02 Nov 2021 06:55:45 GMT</pubDate>
            <atom:updated>2021-11-02T06:55:45.553Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Automate Notion with Telegram]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://sandoche.medium.com/automate-notion-with-telegram-a5899f658159?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/1440/1*rJOpWKExAkOQUsxssC7R4w.png" width="1440"></a></p><p class="medium-feed-snippet">Set up your Telegram to Notion Integration in a few seconds</p><p class="medium-feed-link"><a href="https://sandoche.medium.com/automate-notion-with-telegram-a5899f658159?source=rss-6b8ad8344834------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sandoche.medium.com/automate-notion-with-telegram-a5899f658159?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5899f658159</guid>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[notion]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Thu, 22 Jul 2021 13:20:59 GMT</pubDate>
            <atom:updated>2021-07-22T13:21:27.680Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Getting Started with Ethical Hacking]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/learning-lab/getting-started-with-ethical-hacking-1aa6401355fa?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/1906/1*8MaqmqN0dBvGrMRMQs-h3A.png" width="1906"></a></p><p class="medium-feed-snippet">A simple guide for anyone who wants to learn ethical hacking</p><p class="medium-feed-link"><a href="https://medium.com/learning-lab/getting-started-with-ethical-hacking-1aa6401355fa?source=rss-6b8ad8344834------2">Continue reading on Learning Lab »</a></p></div>]]></description>
            <link>https://medium.com/learning-lab/getting-started-with-ethical-hacking-1aa6401355fa?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/1aa6401355fa</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hacking-tools]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 09 Mar 2021 07:53:15 GMT</pubDate>
            <atom:updated>2021-03-09T07:53:15.361Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Use Drawings to Boost Your Imagination]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/learning-lab/how-to-use-drawings-to-boost-your-imagination-90f86380732a?source=rss-6b8ad8344834------2"><img src="https://cdn-images-1.medium.com/max/2600/1*ba6rcELOYNcjfcEZagZ7_Q.png" width="3689"></a></p><p class="medium-feed-snippet">Learning how to draw Rakugaki, a Japanese drawing style</p><p class="medium-feed-link"><a href="https://medium.com/learning-lab/how-to-use-drawings-to-boost-your-imagination-90f86380732a?source=rss-6b8ad8344834------2">Continue reading on Learning Lab »</a></p></div>]]></description>
            <link>https://medium.com/learning-lab/how-to-use-drawings-to-boost-your-imagination-90f86380732a?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/90f86380732a</guid>
            <category><![CDATA[art]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[drawing]]></category>
            <category><![CDATA[illustration]]></category>
            <category><![CDATA[creativity]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 26 Jan 2021 16:42:45 GMT</pubDate>
            <atom:updated>2021-01-26T16:42:45.852Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Why I am quitting WhatsApp? ‍♂️]]></title>
            <link>https://sandoche.medium.com/why-i-am-quitting-whatsapp-%EF%B8%8F-2ea70c56415c?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ea70c56415c</guid>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[detox]]></category>
            <category><![CDATA[centralization]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[legal]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Sun, 24 May 2020 15:20:25 GMT</pubDate>
            <atom:updated>2020-05-24T17:02:36.042Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Tale of a Giant Losing a Tiny Customer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_AedTI0gX5rI331BGIkX6w.png" /></figure><h3>Short Story (TL;DR)</h3><p>I have recently been contacted by <strong>WhatsApp lawyers and they asked me to shut down one of my apps called WhatsBlast</strong> (an app to send customized group messages). I tried to come up with different alternatives such as removing the “connection” with WhatsApp or even to put the app open source and remove it totally from the Apple Store and the Google Play Store. <strong>They did not accept any of my alternative solutions because the Terms &amp; Conditions are soooooooo broad that they cover any case they don’t like 🤦‍♂️</strong>. I lost one battle, and because I never liked WhatsApp (I used it only because of social pressure),<strong> I decided to quit WhatsApp. If you want to keep in touch with me, please contact me through Telegram, Twitter, or Email.</strong></p><h4>What’s in the long story?</h4><p>In this blog post I will explain and show:</p><ul><li>Why I don’t like the service and the apps provided by WhatsApp</li><li>Why I think it’s unfair that they didn’t accept my proposed changes to comply with their Terms &amp; Conditions</li><li>Why we have to be careful with giant tech corporations</li><li>What are the alternatives to these giants</li><li>How to delete your account</li></ul><h3>WhatsApp services s*ck</h3><p>As a developer, I spend a lot of time on my computer; therefore I mostly use all my instant messaging from my desktop. This is the main problem WhatsApp, their desktop app. It is very very bad 😞:</p><ul><li>It can only work if your phone is on and connected.</li><li>If your phone has a bad connection or is killing the app by lack of memory, the desktop app will not be able to get or send messages.</li><li>Also, each time I load the WhatsApp desktop app it takes me at least 20 seconds to load. So I better not be in a hurry.</li></ul><p>WhatsApp also has other annoying problems:</p><ul><li>Sending files are limited in size</li><li>When you send an image, it gets compressed</li><li>You need to connect it to a cloud provider such as Google Drive to save your history</li><li>WhatsApp belongs to Facebook, another tech giant (which leads to centralization of power)</li><li>By default, it downloads all the pictures and videos you receive and it can be quickly spammy and space-consuming</li><li>The search doesn’t let you find links</li><li>WhatsApp is not developer friendly</li></ul><h4>Why was I even using it?</h4><p>I started to use it when I started my job in IBM to be integrated into the team chat, and be socially accepted, be part of the group, and so on. Basically because of social pressure 😶.</p><h3>Rest In Peace WhatsBlast</h3><p>WhatsBlast was the app I build to send personalized group messages. To give a bit of background, it is a pretty tiny app: it has been installed by 22 000 people and uninstalled by 20 000 of them.</p><h4>How did it work?</h4><p>It worked the following way:</p><ol><li>Create a group, let’s call this group “Friends”, made of 42 of my phone contacts.</li><li>Write your message using the tags for example “Hello &lt;Firstname&gt;, I would like to invite you to my bye-bye party on Saturday 12th. Are you joining ?”.</li><li>Once the message is written you can see a preview with all the 42 messages filled with the first name of your contacts.</li><li>Then you press send and the “magic” happens, WhatsBlast would open an URL like this: <a href="https://wa.me/33603030303?text=Hello">https://wa.me/$PHONE?text=</a>$MESSAGE replacing the $PHONE by the phone number of the first contact and $MESSAGEby the message with the first name of the contact. By opening this URL, WhatsApp will open the chat page of the contact with the message prefilled (if the contact is using WhatsApp of course).</li><li>The user has to press send (after eventually correcting the message) and press the back button.</li><li>When pressing the back button the step 4 and 5 will be repeated with the 2nd contact of the group, and then repeated again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again (42 times because there were 42 contacts in the “Friends” group) 😅.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*w_DRaVaSPx4Uq26nbafjWQ.gif" /><figcaption>It’s more or less like doing this 42 times on your smartphone</figcaption></figure><h4>That’s not very magic, right?</h4><p>Because this app was not very automated, I got a loooot of bad reviews on Google Play because users expect to have full bulk messaging to send messages in one click to a lot of users. They were expecting this “magic” and got disappointed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*8eHzvEujdV8D_O7ixHYsaA.png" /><figcaption>Screenshot from WhatsBlast on Google Play</figcaption></figure><p>Therefore spamming was pretty hard. You would get tired very fast if you would like to send 1000 messages or even worst 1000 messages every day it would kill you, it wasn’t made for that because it required<strong> A LOT OF MANUAL EFFORT from the USER</strong>! This was nothing like automated messaging or bulk messaging.</p><h4>Then why did WhatsApp lawyers ask me to remove it?</h4><p>Because of confidentiality statement in their email, I am not sure I can copy-paste their email, therefore I will quote some parts of their <a href="https://www.whatsapp.com/legal/#terms-of-service">Legal Info</a> that they asked me to comply with.</p><p>Basically by using WhatsApp I have to comply with their Terms of Service that forbids the following:</p><ul><li>“violate, misappropriate, or infringe the rights of WhatsApp”</li><li>“involve sending illegal or impermissible communications, such as bulk messaging, auto-messaging, auto-dialing, and the like;”</li><li>“non-personal use of our Services unless otherwise authorized by us”</li><li>“create derivative works”</li><li>“interfere with or disrupt the safety, security, or performance of our Services”</li><li>“collect the information of or about our users in any impermissible or unauthorized manner”</li></ul><p>Also, they asked me to remove my app from the app stores and social media, to not violate WhatsApp Terms of Service again, and not to use WHATS or WHATSAPP on my app name, and not to design a similar logo.</p><p>From all these statements there was one of them I agree I was violating: “Create derivative works” my branding was green and also my name was pretty similar to theirs, WhatsBlast.</p><p>That’s why when I answered them all my proposals were including to delete the current app and recreating a new one with another name.</p><p>Among the proposal two of them were in my opinion not violating the terms and condition at all (this is exactly what I sent them):</p><p><strong>Option 1</strong></p><ul><li>To create a new app with whatever name, let’s say “FastBlast”</li><li>This app will have the same flow as the current WhatsBlast BUT</li><li>The app will not be linked to WhatsApp</li><li>The user will have to fill an input with any messenger “deeplink” (for example for WhatsApp it’s this one “<a href="https://wa.me/">https://wa.me/</a>&quot; and for viber something like this “viber://add?number=”)</li><li>Deep links will not be provided, it is up to the user to find the right one and to add it</li><li>The word WhatsApp will be removed from description</li></ul><p><strong>Option 2</strong></p><ul><li>To put the source code open (without providing any APK, or IPA) on GitHub</li><li>To remove the WhatsApp deeplink from the source code</li></ul><p>For your information: a deeplink is a URL that instead of opening a webpage, opens a mobile application.</p><p>The lawyers disagreed, for them it still violates the terms and conditions because they use a magic word, that I call <strong>wildcard. </strong>🤯</p><h4>The power of the wildcard in the legal world</h4><blockquote>In software, a <strong>wildcard character</strong> is a kind of <strong>placeholder</strong> represented by a single character, such as an asterisk (*), which can be interpreted as a number of literal characters or an empty string. It is often used in file searches so the full name need not be typed<br>- Wikipedia</blockquote><p>Here is the wildcard I saw in their terms and conditions:</p><blockquote>Legal And Acceptable Use. You must access and use our Services only for legal, authorized, and acceptable purposes. You will not use (or assist others in using) our Services in ways that: […] (e) involve sending illegal or impermissible communications, such as bulk messaging, auto-messaging, auto-dialing, <strong>and the like;<br></strong>- Whatsapp Legal Info — <a href="https://www.whatsapp.com/legal/#terms-of-service">https://www.whatsapp.com/legal/#terms-of-service</a></blockquote><p>Basically my app was not doing any of these: “involve sending illegal or impermissible communications, such as bulk messaging, auto-messaging, auto-dialing,” but was falling into the “<strong>and the like”.</strong></p><p>“<strong>and the like;” — </strong>There is the wildcard!</p><p>I had a call with the lawyer and my brother who is used to work with lawyers, and we asked “What is the exact definition of bulk messaging”<strong> they said there is no strict definition of it</strong> 😡 and my app falls into the “<strong>and the like”.</strong></p><p>Basically <strong>ANYTHING </strong>can fall into this category!</p><p>Here is a piece of code I just wrote. For non-coders: it is just comments, basically. Just read it!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/acf371a230d6ed9418eb8b9813c6499d/href">https://medium.com/media/acf371a230d6ed9418eb8b9813c6499d/href</a></iframe><p>Technically this can go against WhatsApp Terms &amp; Conditions because I (while writing this article) am a user of WhatsApp, therefore, I have to comply with their Terms &amp; Conditions. So I cannot assist others to send illegal bulk messaging <strong>and the like</strong>. Depending on your interpretation, showing this piece of code could be considered as illegal, in my opinion, it’s not.</p><p><strong>So where is the limit?</strong> Is there a way to know it without spending a ton of money in a lawyer? In this world money is king, and I don’t have enough to fight against a giant.</p><h4>Rest in peace my dear WhatsBlast ⚰️</h4><p>So yes, I ended up giving up 😢, and I removed the app from the stores as they asked me to do. I ended up complying to their merciless rules. I am a real respectful citizen of the world now… but at what cost 😐?</p><p>The app is just dead now, and the source sadly private.</p><p>R.I.P. WhatsBlast, I really enjoyed building you.</p><p>You can still check out its tomb:</p><p><a href="https://whatsblast.learn.uno/">WhatsBlast Bulk Messaging</a></p><h4>Any legal alternative?</h4><p>I don’t know any legal alternative, maybe I can try to build something in the decentralized web, but would it be legal? I don’t know. <strong>If you are a legal expert and know any legal alternative, to share my code, or to revive WhatsBlast feel free to comment.</strong></p><p>I will just not take any risk doing something illegal, don’t forget: I am a respectful citizen of the world after all.</p><h3>Beware of the giants (GAFAM)</h3><p>You probably heard of the acronym <strong>GAFAM</strong>: Google Apple Facebook Amazon Microsoft (in case you forgot WhatsApp and Instagram belong to Facebook), they are the ones I call the giants or the new gods. When people say “God bless America” they probably talk about them…Who knows.</p><p>I am not the best to talk about these giants because I use a lot of their services, I rely a lot on Google (Google Search, Gmail, Agenda, Google Maps, Google Analytics, Android with Google Services, Youtube, …) and Microsoft (Windows, Github, LinkedIn) and I can hardly manage without them because they do provide a good service.</p><p>The only thing I know now is that if I have to open a new account in some service or download new software, I will try to look for: Open Source, End to End Encryption, and Decentralized solutions.</p><p>Giving too much power to these giants by giving access to your data and just using them can lead to two major problems:</p><ul><li>Censorship 🚫 —They can just decide what you need to see and what you don’t, it created <a href="https://www.thecut.com/2016/11/how-facebook-and-the-filter-bubble-pushed-trump-to-victory.html">the filter bubble that lead to Trump’s election</a> and the <a href="https://www.theguardian.com/media/2016/jul/03/facebook-bubble-brexit-filter">Brexit</a>, or it can go against <a href="https://www.forbes.com/sites/rogerhuang/2020/12/31/googles-censorship-of-cryptocurrencies-goes-way-beyond-youtube/#10f37ac832aa">progress and decentralization like Google did</a>, or even worst<a href="https://techcrunch.com/2019/07/29/github-ban-sanctioned-countries/"> forbid the access to open source code</a> to Iranian’s users (open-source belongs to everyone, it should be a human right)!!</li><li>Privacy 🔒— As Edward Snowden and Pavel Durov (founder of Telegram) state, WhatsApp is supposed to be end-to-end encrypted app but it <a href="https://telegra.ph/Why-Using-WhatsApp-Is-Dangerous-01-30-4">is very likely to have backdoors</a>, and <a href="https://twitter.com/snowden/status/1179857507281494017?lang=en">foresure governments are pushing to add them</a>. Also, a lot of other services people use and I do too, are not encrypted which leads to privacy issues and can lead to governments to read any of your information.</li></ul><p>These two problems are often linked to government pressure. For example, thanks to <a href="https://en.wikipedia.org/wiki/CLOUD_Act">the CLOUD Act</a>, the government can get anything from the US companies. As you can see in the below article, non-US companies are also getting pressured!</p><p><a href="https://telegra.ph/What-Was-TON-And-Why-It-Is-Over-05-12">What Was TON And Why It Is Over</a></p><p>And here is an inspiring quote from Pavel Durov (CEO of Telegram).</p><blockquote>I want to conclude this post by wishing luck to all those striving for decentralization, balance and equality in the world. You are fighting the right battle. This battle may well be the most important battle of our generation. We hope that you succeed where we have failed.<br>- Pavel Durov</blockquote><h4>We are not doomed! 😌</h4><p>Don’t worry we are not doomed. There are still some ways to escape that.</p><p>There are still other options, and more and more people conscious about those problems, here are some alternatives:</p><ul><li>Using a privacy-focused service</li><li>Using open source</li><li>Using a decentralized and anonymous (or pseudonymous) technology</li></ul><p>Here are a few links (and tools) to continue this way:</p><ul><li>Privacy-friendly alternatives to Google that don’t track you — <a href="https://nomoregoogle.com/">https://nomoregoogle.com/</a></li><li>Tech that won’t spy on you — <a href="https://secured.fyi/">https://secured.fyi/</a></li><li>Secure Email Based in Switzerland — <a href="https://protonmail.com/">https://protonmail.com/</a></li><li>The decentralized internet — <a href="https://blockstack.org/">https://blockstack.org/</a></li><li>Self-hosted tools — <a href="https://github.com/awesome-selfhosted/awesome-selfhosted">https://github.com/awesome-selfhosted/awesome-selfhosted</a></li><li>Decentralized web tools — <a href="https://github.com/gdamdam/awesome-decentralized-web">https://github.com/gdamdam/awesome-decentralized-web</a></li></ul><h3>Yes I am doing it, I am closing my WhatsApp account</h3><h4>How to delete a WhatsApp account 📱🙅‍♂️</h4><p>Here is my home-made tutorial!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2FR80p8T0xZws%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3DR80p8T0xZws&amp;image=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2FR80p8T0xZws%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a067b4fab089f1aec2da2d1c9b08807b/href">https://medium.com/media/a067b4fab089f1aec2da2d1c9b08807b/href</a></iframe><h4>Should you delete your account too?</h4><p>Do whatever you feel like. I had my own reasons to close my account if you have yours just do it.</p><h4>Will I survive?</h4><p>I will 😅.</p><h4>How to get used to it?</h4><p>In 2019 I built this service to create a fake app to replace a real one: Detoxify.</p><p>It’s free and open-source, and I will use it 🙌!</p><p><a href="https://www.detoxify.app/">Detoxify.app</a></p><h4>What is next?</h4><p>I am still on Facebook for business purpose mainly, I guess the next step will be to get rid of it.</p><h3>How to reach me?</h3><h4>Do you know me personally?</h4><p>If so, contact me by <strong>Telegram</strong>, I use the same number!</p><h4>You don’t?</h4><p>Just contact me through <a href="https://www.sandoche.com">my website</a> or <a href="https://twitter.com/sandochee">twitter</a>.</p><p><strong>If you liked this post, please click the clap 👏button below a few times to show your support! Also, feel free to comment and give any kind of feedback. Don’t forget to follow me!</strong></p><p>Want to see more articles like this one?<strong> Support me on </strong><a href="https://www.patreon.com/sandoche"><strong>Patreon</strong></a><strong> </strong>🙌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ea70c56415c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a SaaS with TypeScript, ExpressJS, and SOLID principles: the good the bad and the ugly]]></title>
            <link>https://medium.com/learning-lab/building-a-saas-with-typescript-expressjs-and-solid-principles-the-good-the-bad-and-the-ugly-d93da05d1f5c?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/d93da05d1f5c</guid>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 06:43:16 GMT</pubDate>
            <atom:updated>2021-01-24T08:40:32.417Z</atom:updated>
            <content:encoded><![CDATA[<h4>#14 — Learning how to create a clean project with TypeScript following the SOLID principles</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IXGT_ROzruXqFShaeBGQ2g.png" /></figure><p>It has been 3 years where every month (or two) I learn about one new topic. It’s what I call the <a href="https://medium.com/learning-lab/why-i-decided-to-learn-something-new-every-month-and-how-i-will-do-it-e749580d2c7">Learning Lab challenge</a> 🚀. This time I took a bit longer to learn about both the TypeScript language and the SOLID architecture.</p><p>As a developer, I constantly need to be updated with the latest technology, principles, and paradigms. I don’t necessarily need to master them but at least to know what they are so that I am able to jump easier on projects.</p><p>When I start a backend or full-stack project I usually go for Symfony (a well-known PHP Framework) when it’s a big or middle-sized project, or ExpressJS (Node.JS) when it’s a smaller one. Symfony is pretty amazing, everything comes out of the box, building an API is almost magic, is more putting the right settings and annotation than “real programming”, the framework is very structured and forces you to follow it. On the other hand ExpressJS is very handy and easy to start with, but regarding structure, you are on your own. YOU and only YOU can make the code well structure and clean 🤔.</p><p>After talking with other developers, I found two ways to make an ExpressJS project more structured:</p><ol><li>By using a SOLID architecture</li><li>By using TypeScript</li></ol><p>That’s why I decided to learn SOLID Architecture and TypeScript together🙌.</p><p>In this article, I will give a brief overview of TypeScript and the SOLID principles, how I built my SaaS with them, and finally, take a look back at this experience to give my opinion.</p><h3>How to learn the SOLID principles and TypeScript?</h3><p>Once again, I followed the <a href="https://medium.com/learning-lab/why-i-decided-to-learn-something-new-every-month-and-how-i-will-do-it-e749580d2c7">Learning Lab</a> methodology.</p><ol><li><strong>Finding a mentor<br></strong>I didn’t look for a mentor this time. When it comes to learning any coding related skill, there are plenty of tutorials and articles online</li><li><strong>Defining the scope of the topic</strong><br>The scope of this topic is understanding the SOLID Architecture and how to use TypeScript (and create types of course)</li><li><strong>Choosing a learning resource<br></strong>I found a lot of interesting resources from different places, you can find them here: <a href="https://learn.uno/learning/typescript-solid/">https://learn.uno/learning/typescript-solid/</a></li><li><strong>Defining a project<br></strong>I took one of the projects I had in my backlog of ideas: a SaaS that aggregates sales reports from Google Play and the App Store. I called this project <a href="https://revenual.com">Revenual</a> 💵.</li></ol><h3>Why SOLID &amp; TypeScript are good co-workers?</h3><h4>What is TypeScript about?</h4><p>TypeScript is an open-source language created by Microsoft, it has the same syntax as JavaScript but it adds Types. Therefore you can have more robust code, and TypeScript transpiles to JavaScript, if of course there is no type errors! This is something that you cannot have in JavaScript and what makes it so amazing.</p><p>TypeScript makes JavaScript more object-oriented, with inheritance, interfaces, abstract classes. This makes it possible to follow the SOLID Principles because a lot of the principles rely on interfaces!</p><h4>What is SOLID Architecture?</h4><p>SOLID Architecture or SOLID Principles are a set of principles to make your code more re-usable, easy to maintain, and less coupled.</p><p>SOLID is an acronym. Here is what it stands for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*lX4bp3my3ZJtmPBf.png" /><figcaption>Source: <a href="https://devopedia.org/solid-design-principles">https://devopedia.org/solid-design-principles</a></figcaption></figure><p>If you want to know more about the SOLID Principles, read the following article.</p><p><a href="https://devopedia.org/solid-design-principles">SOLID Design Principles</a></p><h3>How to build a SOLID SaaS from 0 to 1</h3><p>Here is the process I followed to build my SaaS!</p><h4>1. Find a problem to solve 🤔</h4><p>I previously built some mobile apps with <a href="https://medium.com/learning-lab/lessons-learned-on-writing-apps-with-nativescript-vuejs-bd6a3066f0cb">NativeScript VueJS</a> and <a href="https://medium.com/learning-lab/flutter-vs-nativescript-a-web-developers-perspective-1e9d4b9d8ad9">Flutter</a> with In-App Purchases. The problem is that Google Play doesn’t give you an easy to digest report and, also, I had to go back and forth between iOS and Google Play platforms to see my sales per product. Moreover, because I have my own company I need invoices for my bookkeeping. I really wanted to automate this process.</p><h4>2. Check what are the existing alternatives</h4><p>Before answering your problem, check if there isn’t anyone who has answered it already, how they have answered it, and their pricing strategy, to be able to be different from them! In my case, in my initial research, I didn’t find any direct competitor. After building the core of the app a friend of mine found a competitor. But the competitor is targeting more subscriptions and not any sort of sales!</p><h4>3. Check the feasibility manually</h4><p>Before starting Revenual, I built a proof of concept just to check if the project is technically feasible. Basically I needed to know if there was a way to download sales data from both Google Play and the App Store. I found a library called <a href="https://www.npmjs.com/package/apple-reporter">“apple-reporter”</a> to do it easily from the App Store, and I managed with Google Play after a bit of struggle. I built two small scripts in JS to prove it and it worked 🙌!!</p><h4>4. Define the UX Flow</h4><p>I based the UX Flow on my user’s need. I just took a paper and a pencil and draw it. I thought about how I would feel as a user, and update it until it would satisfy me.</p><h4>5. Define the architecture of the information</h4><p>Once the UX is more or less defined, I define for each of the pages the EXACT content that needs to be written (with the exact text)! This will shape the UI but also helps to define the data model of the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*47cZKmBXAS94-47ZmuIzfg.png" /><figcaption>This is an example of the content I wanted to display in the sales reports page.</figcaption></figure><p>I talk more about the information architecture in this article.</p><p><a href="https://medium.com/learning-lab/4-how-i-learnt-how-to-steal-like-an-artist-in-a-month-and-designed-built-my-new-companys-c5c68ffcf251">How I learnt how to steal like an artist in a month and designed &amp; built my new company’s website</a></p><h4>6. Draw the wireframes</h4><p>Once you know what to put on each page you can draw the UI of each page. You can find a part of the UI/UX of Revenual. As you can see it’s both UI and UX to go faster. Also, I used the content defined at the previous step!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0MeRFPgx8UwHTncPTDBVsQ.jpeg" /><figcaption>Here is one parts of my UI/UX. Pretty ugly right ? 😅 The most important is to be able to read it yourself!</figcaption></figure><h4>7. Define the pricing model</h4><p>At some point, you need to define a pricing model. In my case, I started with one model based on the number of Google Play/App Store accounts connected, but after getting some feedback I changed it, to something related to the number of products sold that scales with the user. Try to get feedback as soon as you can. For both the pricing, the UI, the idea, anything. Don’t be shy, share your idea, no one will steal it.</p><h4>8. Define your data model</h4><p>Based on all your previous info you can now build your data model, you know that you have:</p><ul><li>users</li><li>subscription</li><li>accounts</li><li>reports</li><li>…</li></ul><p>And of course for each data model, define how they relate to each other and what are their attributes so you can later code it!</p><h4>9. Chose your stack</h4><p>Now we have the data model and the information of architecture, we need to choose a stack. What I usually do is to take something I am the most familiar with that fits the need of the project. The app should:</p><ul><li>Connect to accounts</li><li>Download reports, unzip them and parse them</li><li>Parse reports</li><li>Save reports</li><li>Display reports</li><li>Charge the user</li></ul><p>As you can see a lot of these steps are asynchronous. One way is to use a synchronous solution along with background jobs. The other way is to use an asynchronous language.</p><p>Since I also wanted to learn TypeScript, I went for Node.JS. I like to start with boilerplate and I found a TypeScript boilerplate made by Microsoft that included already authentication and was connected to MongoDB. So my choice was done.</p><p><a href="https://github.com/Microsoft/TypeScript-Node-Starter">microsoft/TypeScript-Node-Starter</a></p><p>Here is my stack 🧱</p><ul><li>NodeJS</li><li>TypeScript</li><li>Express.JS</li><li>MongoDB</li><li>Stripe</li></ul><h4>10. Define the architecture</h4><p>From the UX, and the data model defined before we can do a few things:</p><ol><li>Draw a sequence diagram</li><li>Defines the routes of the website</li><li>Split the project in services (user, accounts, reports, invoices, subscriptions)</li><li>Define interfaces (here is where you can feel the power of the SOLID principles and TypeScript)</li><li>Define where you need which design pattern</li></ol><p>For the file structure and code architecture I recommend this article:</p><p><a href="https://dev.to/remojansen/implementing-the-onion-architecture-in-nodejs-with-typescript-and-inversifyjs-10ad">Implementing SOLID and the onion architecture in Node.js with TypeScript and InversifyJS</a></p><p>Also, I did two choices that are faster for me:</p><ul><li>To have a monolithic architecture but independent enough to be able to split them into microservices in the future</li><li>To not build an API but to render pages (to avoid having to build a frontend app and a backend), but to be able to change it easily in the future</li></ul><h4>11. Write code <a href="https://emojipedia.org/man-technologist/">👨‍💻</a></h4><p>Now everything is defined, I just wrote the code, tested on the fly with my data, fix the bugs, handled errors... I’ve also learned a lot from the following link, explaining all the best practices.</p><p><a href="https://github.com/goldbergyoni/nodebestpractices">GitHub - goldbergyoni/nodebestpractices: :white_check_mark: The Node.js best practices list (July 2024)</a></p><h4>12. Write tests</h4><p>I wrote some simple tests for the most critical part of the code only, such as parsing the data from Google Play, App Store, and the report generation.</p><h4>13. Design the UI and implement it</h4><p>As concern the UI, I was highly influenced by this book that is pretty amazing: <a href="https://refactoringui.com/book/">https://refactoringui.com/book/</a></p><p>I used the twig templating engine to implement it, and I used SCSS and split the style into components to later switch easily to a full frontend web app.</p><h4>14. Make users test</h4><p>Last but not least, I tested with real users and fixed the bugs.</p><h4>15. Release</h4><p>Time to release now 🚀, on Product Hunt, Hacker News, and Reddit to start with!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FxT5LMHxhOfscxPfIfm%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fmedia.giphy.com%2Fmedia%2FxT5LMHxhOfscxPfIfm%2Fgiphy.gif&amp;image=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fi.giphy.com%2Fmedia%2FxT5LMHxhOfscxPfIfm%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="328" frameborder="0" scrolling="no"><a href="https://medium.com/media/56c11e405540b2db965e1b6443f73960/href">https://medium.com/media/56c11e405540b2db965e1b6443f73960/href</a></iframe><h3>The Good the Bad and the Ugly</h3><p>Here is the good, the bad, and the ugly of my experience with TypeScript with the SOLID Principles. The overall experience is excellent but there are a few takeaways to avoid mistakes for the next SaaS I’ll build!</p><h4>The good 👍</h4><p>I really enjoyed TypeScript, here are the most remarkable reason and lessons from this experience:</p><ul><li>Types — Types are amazing. Adding types does not make the coding experience slower, instead, they make you make fewer mistakes, and also it makes the code easier with the auto-complete that tells you exactly what type you need to put in your functions.</li><li>Linters — You cannot work on a TypeScript project without linter; they make your code consistent but also detects potential security leaks. It is sometimes annoying but mostly good for your code quality and consistency.</li><li>TypeScript Node Starter — This boilerplate was key. Because it adds some initial structure to your project but also includes the authentication and user management. That is one thing you don’t have to take care of! If you didn’t see it before, here it is: <a href="https://github.com/Microsoft/TypeScript-Node-Starter">https://github.com/Microsoft/TypeScript-Node-Starter</a></li><li>Libraries — Node JS is very good in general because you have a lot of libraries on NPM, for every problem, there is a library to solve it. It is also very easy to create your own reusable modules and make the code more clear!</li><li>Interfaces — I usually don’t create Interfaces, but it’s a key to the SOLID principles. It was very fascinating to be using them. I used them to implement the connection of the different accounts (Google Play, App Store) and also to manage the logic of the data aggregation.</li><li>Dependency Inversion — Event though I am not sure I applied the Dependency Inversion as suggested by the SOLID principles, I used dependency injection which is key for automated testing. I don’t often write tests, but when I do I am very proud of it, and thanks to that I finally understand fully the purpose of dependency injection. Without dependency injection, testing is a lot more complicated. I used the library <a href="https://github.com/jeffijoe/awilix">Awilix</a> to manage the dependency injection.</li><li><a href="https://pm2.keymetrics.io/">PM2 </a>— It is an amazing tool that I didn’t know before to manage the deployment of the app. It made everything very easy and will restart your server in case of a crash, which is very useful.</li><li>Full understanding — Last but not least, writing a website is NodeJS / ExpressJS forces you to understand everything that you do, unlike frameworks like Symfony that handles a lot of crazy things out of the box.</li></ul><h4>The Bad and the Ugly 👎</h4><p>Now let’s talk about the bad side of NodeJS, Express, and TypeScript:</p><ul><li>Discipline — To have a good code following SOLID principle, you need crazy self-discipline, you need to force yourself to do good, and to keep refactoring when you didn’t.</li><li>File Structure — The file structure is up to you, you decide everything, it’s good sometimes for small scale projects, but as soon as it gets big it can be chaotic.</li><li>State — NodeJS is stateful so you have to make it stateless by persisting any data.</li><li>Error management — When an error is not caught your server can just crash, so you need a tool like PM2 to ensure that it reboots, but also have a very well built error management system, which requires a lot of work and experience to make it perfect.</li></ul><h4>My key learning</h4><p>I really liked TypeScript and the SOLID principles are very good. But if I had to redo Revenual, I would build it with Symfony mainly and will trigger jobs in NodeJS / TypeScript to handle all the data aggregation.</p><h3>Check out the result 🙌</h3><p>Here it is: <a href="https://revenual.com">https://revenual.com</a><br>Revenual — Aggregated sales reports for app makers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KL9-OSQ2V9lg5iZZct5lvw.png" /><figcaption>Sales report of Revenual</figcaption></figure><p>I hope you like it 😀.</p><p><strong>If you liked this post, please click the clap 👏button below a few times to show your support! Also, feel free to comment and give any kind of feedback. Don’t forget to follow me!</strong></p><p>Want to see more articles like this one?<strong> Support me on </strong><a href="https://www.patreon.com/sandoche"><strong>Patreon</strong></a><strong> </strong>🙌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d93da05d1f5c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learning-lab/building-a-saas-with-typescript-expressjs-and-solid-principles-the-good-the-bad-and-the-ugly-d93da05d1f5c">Building a SaaS with TypeScript, ExpressJS, and SOLID principles: the good the bad and the ugly</a> was originally published in <a href="https://medium.com/learning-lab">Learning Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter vs NativeScript: a Web Developer’s perspective]]></title>
            <link>https://medium.com/learning-lab/flutter-vs-nativescript-a-web-developers-perspective-1e9d4b9d8ad9?source=rss-6b8ad8344834------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e9d4b9d8ad9</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[nativescript]]></category>
            <category><![CDATA[mobile-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Sandoche ADITTANE]]></dc:creator>
            <pubDate>Tue, 11 Feb 2020 07:51:08 GMT</pubDate>
            <atom:updated>2021-01-24T08:41:32.277Z</atom:updated>
            <content:encoded><![CDATA[<h4>#13 — A comparison between Flutter and NativeScript from the eye of a web developer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nL8SS9o0NlAKa-WNjLL8aQ.png" /></figure><p>Two years ago I started the <a href="https://learn.uno">Learning Lab challenge</a>: to learn about one new topic every one or two months. The previous months, after learning about <a href="https://medium.com/learning-lab/how-i-learnt-nutrition-in-two-months-and-redefined-my-diet-6d260ee8f70a">nutrition</a>, I decided to learn the framework Flutter 🙌.</p><p><a href="https://flutter.dev/">Flutter - Build apps for any screen</a></p><p>Flutter is a toolkit, made by Google, to build native apps for mobile (iOS and Android), web and even desktop with one codebase. My friend <a href="https://www.linkedin.com/in/etiennevalette/">Etienne</a>, challenged me to learn it with him. I didn’t want in the beginning since I am a Web developer, and also I recently learnt how to build mobile apps with <a href="https://medium.com/learning-lab/lessons-learned-on-writing-apps-with-nativescript-vuejs-bd6a3066f0cb">NativeScript VueJS (and I loved it!)</a>. But I took this challenge as an opportunity to compare NativeScript and Flutter.</p><p><em>Disclaimer: I am originally a Web Developer and I love VueJS! I also built 2 native mobile apps with NativeScript VueJS and I loved the programming experience. So this comparison may be a bit opinionated, I’ll try my best to be objective and give pros and cons in this article.</em></p><h3>How to learn Flutter?</h3><p>Once again, I followed the <a href="https://medium.com/learning-lab/why-i-decided-to-learn-something-new-every-month-and-how-i-will-do-it-e749580d2c7">Learning Lab</a> methodology.</p><ol><li><strong>Finding a mentor<br></strong>I didn’t look for a mentor since I was going to learn along with my friend <a href="https://www.linkedin.com/in/etiennevalette/">Etienne</a>, he is a mobile developer so I consider that he has more experience than me!</li><li><strong>Defining the scope of the topic</strong><br>The scope of this topic is knowing how to start a flutter project and how it is structured and therefore learning Dart’s syntax.</li><li><strong>Choosing a learning resource<br></strong>I only used one resource, the official documentation, it’s very good and complete: <a href="https://flutter.dev/docs">https://flutter.dev/docs</a></li><li><strong>Defining a project<br></strong>I took one of the projects I had in my backlog of ideas that we agreed on with my friend: Infinideas — An infinite feed of crowdsourced ideas (from Twitter and Reddit).</li></ol><h3>Things Flutter do better than NativeScript</h3><p>Let’s start with the positive side of Flutter 👍.</p><h4>Performance</h4><p>The app built with Flutter is more responsive than the one I built with NativeScript, especially the scroll it’s sleek! Nevertheless, we can see some lag on the animation when opening a webview!</p><h4>Integration with Android Studio and VSCode</h4><p>Installing Flutter is very easy and it integrates itself perfectly in both Android Studio and Visual Studio Code thanks to a very good official extension.</p><h4>Debugging</h4><p>Debugging is very easy because of this strong integration described above but also because Flutter uses Dart’s language which is typed. It will not compile if types are not respected which is not the case with NativeScript and can lead to some errors and a lot of time for debugging.</p><h4>Community</h4><p>Both Flutter and NativeScript have a good community. I was using a lot the NativeScript Slack full of nice and helpful people, and issues on Github or StackOverFlow to solve most of my problems. Nevertheless, Flutter’s community seems a bit bigger since it has more canals, you can see it here: <a href="https://flutter.dev/community">https://flutter.dev/community</a></p><h3>Things both Flutter and NativeScript are good at</h3><p>Let’s be honest, both Flutter and NativeScript are very good framework they come with a lot of good stuff 🙂.</p><h4>Command Line Interface</h4><p>Both Flutter and NativeScript comes with good CLI tools, that you can use to install updates, libraries, or just to check if everything is good (type tns doctor or flutter doctor )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GyB3mT2rLL6AMaHYd7ap2g.png" /></figure><h4>Build in the cloud with Codemagic &amp; Sidekick</h4><p>Thanks to <a href="https://codemagic.io/">Codemagic</a> and <a href="https://www.nativescript.org/nativescript-sidekick">Sidekick </a>you can build and sign your app (Android and iOS) in the cloud without having a Mac! That’s awesome for a windows user like me. Note that I didn’t try Codemagic, it’s more a CI/CD tool for Flutter whereas Sidekick is a GUI tool to manage your NativeScript project (run, build, change assets, icons, …). Also, there is not an official tool for CI/CD tool for NativeScript, you can use any such as Travis or CircleCI.</p><h4>Libraries</h4><p>At the time I am writing there are 3246 Flutter libraries and 1200 NativeScript libraries. It’s a strong advantage for Flutter that is younger! But keep in mind that you can use many of the NodeJS libraries with NativeScript since the app comes with a Node runtime. Similarly, Flutter apps can use any Dart library!</p><h3>Things NativeScript do better than Flutter</h3><p>Flutter is good, but it has a lot of downsides, at least for the web developer that I am 🤔!</p><h4>Framework choices</h4><p>NativeScript is perfect for Frontend Web Developers you have the choice between Angular, VueJS or simple Vanilla JS with XML for templating.</p><h4>Templating language</h4><p>Templating languages is for me what is totally missing in Flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*y9eDcwYWQl8Ll4lkzT1aWQ.gif" /><figcaption>This is how I felt while building the UIs with Flutter!</figcaption></figure><p>You can see the following code written in dart, it is the build method of the widget. It’s very verbose. Note that to make the code more readable we use some style / theming functions that are in separate files.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/69006a78788294249c3879eb120e1c25/href">https://medium.com/media/69006a78788294249c3879eb120e1c25/href</a></iframe><p>Here is the same code (without the style also) written in NativeScript VueJS.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f5a293fdc633fac0126cc36f171064b/href">https://medium.com/media/2f5a293fdc633fac0126cc36f171064b/href</a></iframe><p>It’s about taste and I find that using a tempting language more readable and easier to write. It is easier to avoid forgetting parenthesis!</p><p>Note that there were some issues opened in Flutter to ask a templating language similar to JSX, the templating language used in React. Also, someone built one called DSX, you can give a try here: <a href="https://spark-heroku-dsx.herokuapp.com/index.html">https://spark-heroku-dsx.herokuapp.com/index.html</a></p><h4>Separation of concerns</h4><p>In both previous example I poorly did the separation of concerns, I know! I should have the content out of the template, my bad, it was just faster to do it like this.</p><p>Nevertheless, in Flutter, the separation of concerns is harder to do, it’s totally up to you whereas in NativeScript, especially with VueJS you have to deal with.vue files that are separated in 3 sections:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8bbb6dbcc403420daa0330e353bcb488/href">https://medium.com/media/8bbb6dbcc403420daa0330e353bcb488/href</a></iframe><p>Note that you can also be lazy and put your style directly in your template with NativeScript, but having a style section forces you to put your style there!</p><h4>Ease to build a web version</h4><p>Flutter let you use the same codebase to build a web version but the web version will look exactly look like your mobile app as you can see in this example: <a href="https://flutter-web-demo.firebaseapp.com/">https://flutter-web-demo.firebaseapp.com</a></p><p>Whereas in NativeScript Vue you can partly reuse some code (the core javascript functions, the vuex store) and then you just need to rebuild the UIs and it goes very fast.</p><p>I built in a day this website: <a href="https://git.news">https://git.news</a></p><p>Just by reusing the store and core functions of the NativeScript mobile app: <a href="https://gitnews.learn.uno">https://gitnews.learn.uno</a></p><h4>Ability to test on an iOS device from a Windows laptop</h4><p>Last but not least, thanks to Nativescript Sidekick, I was able to test on an iOS device from my windows device, and that’s awesome.</p><h3>Check out the result</h3><p>Check out Infinideas our new app built with Flutter 🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPadxnVIEgw3PshOYTlUiQ.png" /></figure><p><a href="https://infinideas.learn.uno">Infinideas</a></p><p>Unfortunately, the AppStore didn’t accept our app, that is why we decided to put the source open: <a href="https://github.com/sandoche/Infinideas-app">https://github.com/sandoche/Infinideas-app</a> (the code quality is pretty bad, so please don’t judge us !)</p><p>Also, if you want to compare with a very similar app I built with <strong>NativeScript VueJS</strong>: GitNews — Trending repositories from GitHub, HackerNews &amp; Reddit, just check this out below.</p><p><a href="https://gitnews.learn.uno">GitNews</a></p><h3>Conclusion</h3><p>Both Flutter and NativeScript are very good frameworks. Even though I prefer NativeScript, my friend Etienne enjoyed developing with Flutter 🙂.</p><p>So, I would say, if you are a VueJS or Angular developer go for NativeScript, if not go for Flutter. If you liked typed languages go for Flutter or Angular NativeScript with TypeScript, if not go for NativeScript VueJS.</p><p><strong>If you liked this post, please click the clap 👏button below a few times to show your support! Also, feel free to comment and give any kind of feedback. Don’t forget to follow me!</strong></p><p>Want to see more articles like this one?<strong> Support me on </strong><a href="https://www.patreon.com/sandoche"><strong>Patreon</strong></a><strong> </strong>🙌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e9d4b9d8ad9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learning-lab/flutter-vs-nativescript-a-web-developers-perspective-1e9d4b9d8ad9">Flutter vs NativeScript: a Web Developer’s perspective</a> was originally published in <a href="https://medium.com/learning-lab">Learning Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>