<?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 adonis simo on Medium]]></title>
        <description><![CDATA[Stories by adonis simo on Medium]]></description>
        <link>https://medium.com/@simoadonis?source=rss-754972b6ff2d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GF_PR_ddeLONHzEjA6lpdg.jpeg</url>
            <title>Stories by adonis simo on Medium</title>
            <link>https://medium.com/@simoadonis?source=rss-754972b6ff2d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 23:47:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@simoadonis/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[Startup thinking has almost killed my “doer” spirit.]]></title>
            <link>https://simoadonis.medium.com/startup-thinking-has-almost-killed-my-doer-spirit-e518d1fdcafe?source=rss-754972b6ff2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e518d1fdcafe</guid>
            <category><![CDATA[ideas-to-execution]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[planning]]></category>
            <dc:creator><![CDATA[adonis simo]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 21:36:23 GMT</pubDate>
            <atom:updated>2021-04-02T21:36:23.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qO3RzdEtvx3AK0Tf" /><figcaption>Photo by <a href="https://unsplash.com/@mbaumi?utm_source=medium&amp;utm_medium=referral">Mika Baumeister</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Do it just for fun</h4><p>A Few years ago in 2015 (~2016) I had built a really small project during the summer, a web application to allow a car driving school to track and manage all the trainees, it was simple enough to be useful, since I was working on it with an owner of a driving school (my mother had bought a new car and she was re-learning to drive). He was pretty happy with it, i learned a lot with that little experience (how to deploy in a small company, speaking with end user, etc), back in school the next year we had a project contest in school and the goal was to show something working, useful and sellable, I was in a enginering school where one of the things we learned was to present our project as entrepreneurs or marketer, so one of the requirements was to present it in the way it could be sold to someone. At the first glance i didn’t wanted to be a part of that, but my friend convinced me to go and present my project, since he knew it and i said yes. I made the presentation for about 10 minutes. I was mainly showing the project and it’s features, at the end the judge asked me:</p><blockquote>“is it all ? How can you make money with this ?”</blockquote><p>I felt empty at that moment, i had no idea of how to do it, where to start, i was just thinking about my friend who convinced me in the beginning to be a part of this. I hangry at him for that bad moment i was having infront of everyone.</p><h4>Mind refractoring</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XhT6BB2a84EE2e0v" /><figcaption>Photo by <a href="https://unsplash.com/@epicantus?utm_source=medium&amp;utm_medium=referral">Daria Nepriakhina</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>After that he gave me a lot of insights, he explained me a whole process of how I could reshape the product and search for stakeholders to make it more sellable. And I liked what he said, it stayed in my empty mind and it was like a reference example when I was planning to write a monetization plan for something else (even now i still think with that approach). I didn’t know what was coming with this knowledge. Then I started all my projects (even smallest one) with a plan of monetization, I always had that in mind, more important, in our school we could ended up in a project contest at any moment without planning ahead, so we always had to have projects ready to be pitched during an improvised contest (even student in networking class had to stay prepared with projects in their fields).</p><h4>Mindset shift</h4><p>That habit took slowly a great pleace in all my mental process to choose, design and realise projects, even personnal projects. With a real lack of business knowledge, I mostly ended up doing nothing most of the time. The I shifted from the mindset of a “<strong>doer</strong>” to the one of a “<strong>thinker</strong>”. I was always planning stuff ahead and trying to see at least one way of monetization. My goal was now to have at least one monetization channel, so I could happily show it to someone who may be ready to take the project to a further step(investing, startup incubation, etc.).</p><p>Let’s be clear, it’s not a bad idea to think like that, but it can be a pain point at some point, especially if you are an engineer. I was in a mindset of stopping to imagine great think just because I was not able to figure out how to make money out of it at some point in the future (even potentially). This is what I think is bad at all this, I am trying to remove that mindset and start doing things just for the sake if doing them, and this come with a lot of procrastination.</p><p>It haven’t been that bad for me since i am working as a Tech Product manager in a early stage tech startup in HR Tech (<a href="https://www.workerly.io/">Workerly</a>) and most of my work is to figure out the feautres to build and make a lot of planning ahead. Now i am trying to regain my “<strong>doer</strong>” mindset.</p><p>Thank for reading, I just wanted to write this down like a personnal therapy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e518d1fdcafe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I am 24 and i “still” virgin.]]></title>
            <link>https://simoadonis.medium.com/i-am-24-and-i-still-virgin-20015c5d56df?source=rss-754972b6ff2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/20015c5d56df</guid>
            <category><![CDATA[trust]]></category>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[sex]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[society]]></category>
            <dc:creator><![CDATA[adonis simo]]></dc:creator>
            <pubDate>Mon, 09 Sep 2019 04:48:49 GMT</pubDate>
            <atom:updated>2021-04-02T19:46:28.545Z</atom:updated>
            <content:encoded><![CDATA[<h3>24, “still” virgin.</h3><p>A fiction about Josh struggling with society’s rules. Why does stuff are going as the do ?</p><figure><img alt="just a man somewhere" src="https://cdn-images-1.medium.com/max/1024/0*Fpd7KjdCxObuGleT" /><figcaption>Photo by <a href="https://unsplash.com/@clemono2?utm_source=medium&amp;utm_medium=referral">Clem Onojeghuo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Well, yes, I “still” virgin as in our current society, it seems to be risky or cliché to be virgin at a such age, especially for a boy, why? Don’t ask me or just ask to the society. When I say it like that, most of peoples will directly see a young boy who fears to talk or even more, to speak to a woman, but because he is too shy and lack of the most useful quality for that: the confidence, or self-esteem.</p><p>But no, am a young guy totally open when it comes to play or to do anything with a woman, even when it became sexual, some people in my sibling know about my situation, and some of them like to make fun of it.</p><p>Am coming from a religious family, a christian one, from both of my parents, they used to bring all of us (my brothers and i) to the church we have been baptised at a very young age. My parent really follows what is written in the Bible, at leat they try. They told us every time when child that we should know the man or woman (have sex) after being married, because of the Bible and I took it very seriously till now, but at the time I was not engaged, not in a relationship. I really value the opinion of my mother, and more in this field of life.</p><p>The thing is, now my mother is on top of the list of peoples who seem to be afraid of my situation, in fact the main problem from what I’ve seem is: you are already so old and you don’t know anything about sex, you are not in a relationship right now. Sometime I am at a point where I don’t really know what they (event the society) expect from me.</p><p>It is literally a pressure that is being put on me because of that, I don’t really understand this, because in my head it sounds like: “man you must have sex right now, where are you going? You don’t know anything”. And my problem is the fat that same people who teach us to remain virgin until the engagement want us to lose that virginity before it, really weird I think. I don’t really see it as a finality, at leat for my point of view.</p><p>I asked for my mother why all this pressure about that and she told me stuff like I have to know woman before starting in life, in my head it sound like f**king for the sake of knowing, but according to our education it was just for making children IN the marriage with the lifetime partner we chose. She even reminds me of my younger brother (19 years old) who already has a girlfriend, and they have already done more that kissing each others.</p><p>I don’t really understand this controversy, for me it is one, most of my society are christian and that same society want me to have sex before getting married, why? because most of them did the same? Don’t get me wrong, am not dreaming of one of those cliche like, I am waiting for the perfect one, a person with whom it gonna be magic and all those stuff, am just not interested at the time, and it seems like I am a marginal for that. I think I not too ugly and with my actual reports with girls it won’t be too difficult to find out some to love and who will love me back, that is just what am looking for, love.</p><p>Anyway, I think sex or having sex and all it related activities should be free and peoples should be self aware of what they want and sure of what the trust in before starting, and it remains truthful for a lot of things in life.</p><p>From a dreamer.<br>Josh, 24 y.o.<br>CannYon City, 2100 after J.C.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20015c5d56df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a SaaS application with Django Web framework. Part 1/2 : The principe]]></title>
            <link>https://simoadonis.medium.com/building-a-saas-application-with-django-web-framework-part-1-2-the-principe-2f0730a6693f?source=rss-754972b6ff2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f0730a6693f</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[django]]></category>
            <dc:creator><![CDATA[adonis simo]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 03:37:22 GMT</pubDate>
            <atom:updated>2024-08-07T20:50:45.046Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a SaaS application with Django Web framework. Part 1/2 : The principle</h3><p>A software which is running directly into the web browser and users have to pay for it on diverse way like per hour, or even per user, etc.… is called a Software as-a Service application (SaaS). Since those last years this model is very widely used by startup out there to sell their services. In this first article we are going to learn about the core principles of this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mxhWy2lwPrRLIff5Kh9YTg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/uv5_bsypFUM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Hack Capital</a> on <a href="https://unsplash.com/search/photos/software-as-a-service?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>Update</strong>: <em>I’ve republished this article on my personal blog here: </em><a href="https://blog.adonissimo.com/building-a-saas-application-with-django-web-framework-the-principle"><em>blog.adonissimo.com</em></a></p><h3>Ok let’s start, the principle.</h3><p>Actually from my small experience talking about SaaS application design and infrastructure involve talking about data management, I mean questions like <strong>how to store data in the database</strong>? <strong>how to access them</strong>? <strong>What kind of Database should be used</strong>? <strong>How to send an incoming request to the right application version</strong>? and so on. Globally the concept is to allow the existence of many versions of the same application, each instance, should only show his data and manage only his clients.</p><h3>1. So, How are data actually saved into the DB, what about accessing them?</h3><p>In SaaS application each instance of the application is called a tenant, so the deal here is to choose a <strong>data separation technique</strong>, properly:</p><blockquote>A way to store tenant’s data by ensuring that they are saved without being mixed.</blockquote><p>Ok, actually this can be done directly into the database, usually there are 3 main ways to separate stored data, they can be called data isolation level within the database. So we have: <strong>Low isolation</strong>, <strong>semi-isolation</strong> and <strong>high isolation</strong>. Let dive into them before start coding.</p><h4>- Low isolation of data</h4><p>The principle here is to store tenant’s data within the same database and same tables. So you are in a case where each table has a column name for example, as tenant_uuid this column hold a unique identifier for a tenant, and there is a table in your database named for example as: tenants, it should store each tenant’s information like: <em>name, uuid, registration_date, status, pricing_plan_id </em>etc… In this case for all queries to the database, you will have to add a statement to ensure that you are retrieving right tenant’s data like:</p><pre>SELECT * FROM &#39;table_name&#39; WHERE tenant_uuid = 5</pre><p>or with the Django’s ORM :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9da497d4dec4cf1a4de4b787212c5a1/href">https://medium.com/media/e9da497d4dec4cf1a4de4b787212c5a1/href</a></iframe><h4>- Semi-isolation of data</h4><p>The principle here is to save data within the <strong>same database, same table BUT different schemas</strong>. A schemas can be seen as a database into a database, it holds tables from as a normal database and you can create many schemas as you DBMS allow you, for those who use PostgreSQL, they use to work in the default schema named: <strong>public</strong> and SQL queries to table look sometimes like</p><pre>SELECT * from <strong>public.</strong>table_name</pre><p>With that said, semi isolation method consists in creating new schema for new tenants (your clients, the people who use your SaaS application), and all the created schemas contain the same tables. In this case the users’ data are not saved in the same place. They are technically in a separated table (or databases). So retrieving data with ORM is like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab2d0a42d212a05710440465082a0aa9/href">https://medium.com/media/ab2d0a42d212a05710440465082a0aa9/href</a></iframe><p>we assume that there is a database router which is in charge to select the right schemas for the query’s execution. We’ll set it up in the next part of this article’s serie.</p><h4>- High data isolation level</h4><p>The principle here is to save tenant’s data within <strong>different databases</strong>. In this case when you have a new client you will just create a new empty database to store data. This is why we talk about high isolation, database can be even destroyed, but only one client will be affected, but it can be very heavy in terms of resource consumption. Accessing data with Django ORM can be done like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9413b1946f1386988805204aa2e0a357/href">https://medium.com/media/9413b1946f1386988805204aa2e0a357/href</a></iframe><p>the <em>using()</em> method (or parameter) is directly available in Django, by default its value is <em>‘default’; where</em> to find it ? In the <em>settings.py</em> file, at the database information credentials :</p><pre>DATABASES = {<br>    &#39;default&#39;: {},<br>    &#39;users&#39;: {<br>        &#39;NAME&#39;: &#39;user_data&#39;,<br>        &#39;ENGINE&#39;: &#39;django.db.backends.mysql&#39;,<br>        &#39;USER&#39;: &#39;mysql_user&#39;,<br>        &#39;PASSWORD&#39;: &#39;superS3cret&#39;<br>    },<br>    &#39;customers&#39;: {<br>        &#39;NAME&#39;: &#39;customer_data&#39;,<br>        &#39;ENGINE&#39;: &#39;django.db.backends.mysql&#39;,<br>        &#39;USER&#39;: &#39;mysql_cust&#39;,<br>        &#39;PASSWORD&#39;: &#39;veryPriv@ate&#39;<br>    }<br>}</pre><p>In the example above, there are 3 databases actually registered by their aliases :<strong>default, users, customers</strong>, so by default ( if you don’t specify <em>using()</em>) django will choose <strong>default.</strong></p><h3>2. How to know which tenant is required for a specific incoming request ?</h3><p>Incoming request represents here a user of your application who is connected via the browser and is about to use the application. The point here is to define what is called a <strong>tenant detection strategy</strong>;</p><p>It is a proper way to know how to interact with data stored in the database, it is not really related to the isolation level you have implemented in your application, the result of this operation is the name of the <strong>schema</strong> (in case of mid-isolation level) or the <strong>tenant uuid</strong> (in case of low isolation level) or <strong>database</strong> (in case of high isolation level) to use for data retrieval.</p><p>Usually to do that, developers use URL, by adding some indications within it, one of the most simplest and elegant way to do that IMO is by defining a sub-domain for each <strong>tenant</strong>; Let assume that you application is a blog engine named <a href="http://www.bloghost.com/"><em>www.bloghost.com</em></a> each client will have a sub-domain and a url pointing directly to his blog like: <em>client1.bloghost.com</em>, another way is by defining url parameter as follow: <a href="http://www.bloghost.com/85DE5148WFE848-WSS158WDW185"><em>www.bloghost.com/85DE5148WFE848</em></a> and this token can be a hash used to identify the <strong>schema | tenant’s uuid | database</strong> related to the actual client’s data. This will totally depend on you.</p><p>Now when you have identified which tenant is aimed by a request you will just need to use the appropriate query to the database. You can even achieve this by using cookies. I won’t go too far in this article about that because the Django package we are going to use will handle this process for us, so I just tried to explain the concept.</p><p>Thank for reading this first part, it was just about knowing how it works and general terms used in this world. The next article will be more practical.</p><blockquote>I am Adonis SIMO, mobile and backend (aspiring FullStack) developer , i usually work in JavaScript/Python and React Native. I have an orientation into eCommerce solutions, mobile apps or web platform, i am also proficient at writing APIs, units test and backend infrastructure design. OpenSource contributor also ;)</blockquote><blockquote>github: @simo97 |twitter: @flux_97 | simoadonis AT gmail.com | www.dev.to/simo97</blockquote><p>Have a good time.</p><p>Some useful link :</p><ul><li><a href="https://books.agiliq.com/projects/django-multi-tenant/en/latest/">Building Multi Tenant Applications with Django - Building Multi Tenant Applications with Django 2.0 documentation</a></li><li><a href="https://docs.microsoft.com/en-us/azure/sql-database/saas-tenancy-app-design-patterns">Multi-tenant SaaS patterns - Azure SQL Database</a></li><li><a href="https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-1-4049a3cc229d">A full-featured multi-tenant app with Laravel Part 1 — Setup</a></li><li><a href="https://dev.to/simo97/comment/5ice">Hi mate, I think i can help you. You want t... - DEV</a></li></ul><figure><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_image"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2IVAl0TbsfES9cFGYr40g.png" /></a></figure><p><strong>This story is published in Noteworthy, where 10,000+ readers come every day to learn about the people &amp; ideas shaping the products we love.</strong></p><p><strong>Follow our publication to see more product &amp; design stories featured by the </strong><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_text"><strong>Journal</strong></a><strong> team.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f0730a6693f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>