<?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 laly on Medium]]></title>
        <description><![CDATA[Stories by laly on Medium]]></description>
        <link>https://medium.com/@lalysion?source=rss-7230d3db59c2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Mz9BNKvi1s2q4moXRq6F2w.jpeg</url>
            <title>Stories by laly on Medium</title>
            <link>https://medium.com/@lalysion?source=rss-7230d3db59c2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:44:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lalysion/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[1. L’Amour de soi — la confiance en soi c’est lié avec avoir la Foi]]></title>
            <link>https://medium.com/@lalysion/1-lamour-de-soi-la-confiance-en-soi-c-est-li%C3%A9-avec-avoir-la-foi-42c71dce6604?source=rss-7230d3db59c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/42c71dce6604</guid>
            <category><![CDATA[spiritualité]]></category>
            <category><![CDATA[développement-personnel]]></category>
            <category><![CDATA[foi]]></category>
            <category><![CDATA[humanité]]></category>
            <category><![CDATA[amour-de-soi]]></category>
            <dc:creator><![CDATA[laly]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 23:56:50 GMT</pubDate>
            <atom:updated>2025-12-19T23:56:50.443Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. L’Amour de soi — la confiance en soi c’est lié avec avoir la Foi</h3><p>J’écris une série de petits articles sur l’Amour de soi parce que j’en ressens l’élan</p><p>Pourquoi ? Je rencontre beaucoup de personnes qui n’ont pas confiance en elles, qui sont bloquées dans des schémas répétitifs, qui se tirent vers le bas, en bref qui ne s’aiment pas. J’ai eu envie de partager ce que j’ai observé et ce que j’ai expérimenté. J’apprends au fil des années a m’aimer et m’accepter pleinement sans le rechercher a travers les yeux d’autres personnes. Si ce que je partage peut aider même juste une personne, j’en serai la plus heureuse! Je pense qu’une Humanité en harmonie commence par des êtres qui s’aiment et se respectent eux-mêmes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PMv1s-fipFUj4LYiFKXfQg.jpeg" /></figure><p>spoiler : je n’ai pas fait d’études dans le domaine de la psychologie, de l’enseignement ou n’importe quel autres études supérieures bien que tous les sujets du monde me passionnent. Les preuves purement scientifiques ne sont pas le socle de ce que je vais partager. C’est un travail s’appuyant en majeure partie sur mon vécu, sur ma propre observation de l’humain et de moi-même, de mes réflexions personnelles… Cependant, j’ai beaucoup lu, et continue en permanence de me nourrir en connaissance sur le fonctionnement humain, du monde et du domaine spirituel</p><h4>La confiance en soi c’est quoi ?</h4><p>Étymologiquement confiance veut dire “se fier”, “avoir la foi avec”, ça veut dire se fier a soi même… a la partie de nous qui est une étincelle de vie !</p><p>Si on commence a partir d’une naissance, en général, un bébé nait avec une confiance totale en lui et en la vie. J’ai rarement vu un bébé être de mauvaise humeur si tous ses besoins essentiels étaient comblés. Ce sont les expériences de vie qui font que l’on peut perdre confiance en nous-mêmes, surtout si l’entourage ne nous apprend pas a avoir confiance parce qu’eux-mêmes ne l’ont pas appris. Nous héritons de tellement de mécanismes de notre famille et ceux qui nous sont appris par le reste de l’entourage — ça mérite un article entier !</p><p>Pour en revenir a la confiance en soi, si nous prenons en compte les expériences qui laissent des marques + un entourage qui n’encourage pas cette confiance + notre manière de réagir ça peut créer des distorsions dans notre confiance en nous-mêmes et puis certains peuvent se retrouver a avoir une très faible confiance en eux et continuent parfois toute leur vie, mais, heureusement, ça se travaille si on en a l’envie</p><p>Pour retrouver la confiance en soi je dirai que dès que l’on a compris qu’il y avait un blocage dans un domaine, il faudra déjà accepter la situation. Ensuite, aller peut-être analyser le passé pour voir quelle expérience a créé ce blocage, et puis si on ne trouve pas, ce sera de se surpasser pour débloquer, ça dépend un peu de chaque situation… Ne pas hésiter a se tourner vers les bonnes personnes. Notre intuition nous dit en général bien vers qui/quoi aller !</p><p>Pour moi, la confiance en soi c’est avoir la connaissance que nous sommes capables de réaliser n’importe quel projet imaginé</p><p>Pour retrouver cette confiance il faut simplement laisser son étincelle revivre et enlever tous les voiles qui sont autour de ce potentiel qui ne demande qu’a grandir. Pas de pression, ça se fait en temps voulu une fois qu’on est sur le chemin, les expériences nous font évoluer pour laisser cette lumière se révéler de plus en plus</p><p>Pour aller un peu plus loin, je dirais que la confiance en soi découle de la Foi</p><h4>La confiance en soi est liée avec avoir la Foi</h4><p>Avoir la Foi, c’est quoi ?</p><p>Quand je parle de Foi, je parle de la Foi en la vie, en la nature, les animaux. Je ne parle pas nécessairement de la Foi religieuse, qui pour moi est souvent trop limitée dans sa manière de voir Dieu/La Source. Pour moi avoir la Foi ne rime pas nécessairement aller dans un lieu de culte pendant 1h chaque semaine ou allumer un bâton d’encens tous les jours, mais plutôt s’en remettre a une Force plus grande que soi quand on le sent, quel que soit l’endroit ou l’on se trouve et tout dépend de la manière de le faire, si c’est d’une manière robotisée ou faite avec le cœur. La Foi est bien plus que prier et méditer… avoir la Foi signifie pour moi avoir une Confiance totale.</p><p>Se dire que chaque expérience mène vers une Foi encore plus forte. Et que cette confiance en soi découle directement de cette Foi qu’on a en la vie. Si on a la Foi, on est capable de déplacer des montagnes et du coup de concrétiser des aspirations qui vont dans le sens de la Lumière</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2vy-0NfcOWCYLUgtvTAkfg.jpeg" /></figure><p>La Source, pour moi, n’est pas un personnage qui élève la voix dès que nous faisons un pas de travers, au contraire, La Source aide pour qu’il y ai compréhension de l’enseignement derrière cette expérience. Par contre il y a aussi, d’après moi, cette évidence qu’en ayant des actes dirigés dans le sens de la non-lumière et de manière intentionnelle, il y aura une conséquence a un moment donné. Cela fait partie des lois universelles. D’où la phrase qui dit : “tu récoltes ce que tu sèmes” et pour moi il n’y a pas plus vrai… Si nous prenions tous conscience de ça, beaucoup arrêteraient de faire ce qu’ils font parce qu’ils auraient compris que c’est dans leur intérêt et du coup dans l’intérêt de toute l’Humanité ♡</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42c71dce6604" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Divide one network into 3 sub-networks (determine masks and addresses range)]]></title>
            <link>https://medium.com/@lalysion/divide-one-network-into-3-sub-networks-determine-masks-and-addresses-range-513ba2fac70e?source=rss-7230d3db59c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/513ba2fac70e</guid>
            <category><![CDATA[network]]></category>
            <category><![CDATA[address]]></category>
            <category><![CDATA[masks]]></category>
            <category><![CDATA[ip]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[laly]]></dc:creator>
            <pubDate>Sun, 24 Jan 2021 12:47:09 GMT</pubDate>
            <atom:updated>2025-12-20T00:01:58.880Z</atom:updated>
            <content:encoded><![CDATA[<h3>// ARCHIVE //</h3><p>Ill try to show how with a pair of an address and a mask we can divide them into 3 subgroups to create independant networks.</p><p>Ill try to show you how to calculate the mask for each sub network. Ill show you how to calculate the first and last addresses for the network range using the magic method.</p><blockquote>The mask represents the network’s address and defines how many machines can be on this network while the address represent the address for a machine on a network.</blockquote><blockquote>As for mask 255.255.224.0 = <em>11111111.11111111.111</em><strong>00000.00000000</strong></blockquote><blockquote>Numbers of 1 represent the network itself and the 0 is the space reserved for the adresses for the machines on the network.</blockquote><h3>How to know which is the first address and last address of this network?</h3><h4>Use the magic method ⚡️</h4><blockquote>256 minus octet in mask which makes the separation between network adress and ip. Separation of 1 bits and 0.</blockquote><h4>Let’s go?</h4><p>1st address : multiple of magic number equals or less than the octet corresponding in address</p><p>last address : next multiple from magic number minus 1</p><h3>Let’s calculate our first and last address for the pair address/mask : 192.168.160.0/255.255.224.0</h3><p>We take third octet in mask : 224</p><p>Magic number = 256–224 = 32</p><p>Address = 192.168.<strong>160</strong>.0</p><p>Multiple from 32 = 0,32,64,96,128,160,192</p><h4><strong>First address</strong></h4><p>Octet in address which separates network from address =160</p><p>160 = multiple of 32</p><ul><li>192.168.160.0</li></ul><h4>Last address</h4><p>Next multiple of 32 after 160: 192</p><ul><li>192.168.191.255</li></ul><p>So we got our first and last address for our network 👍</p><p>I want to divide this network (192.168.160.0/255.255.224.0) into 3 sub network groups</p><ul><li>550 students</li><li>130 teachers</li><li>10 admins</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FftAyb0CG1FNAIZt4SO%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FftAyb0CG1FNAIZt4SO%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FftAyb0CG1FNAIZt4SO%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/1903fd8a6d7a2821d436b7508dfeef4f/href">https://medium.com/media/1903fd8a6d7a2821d436b7508dfeef4f/href</a></iframe><h3>Need to calcul the masks for the 3 networks to know how many addresses needed on each network to have x machines?</h3><h4>Mask 1 for network student : 550 students machines</h4><p>2exp10 = 1024 machines -&gt; 10 bits needed on the network</p><p>Mask : 255.255.252.0</p><p>As 11111111.11111111.11111100.00000000 contains 10 bits set to 0</p><h4>Mask 2 for network teacher : 130 teachers machines</h4><p>2exp8 = 256 machines -&gt; 8 bits needed</p><p>Mask : 255.255.255.0</p><p>As 11111111.11111111.11111111.00000000 contains 8 bits set to 0</p><h4>Mask 3 for network admin : 10 admin machines</h4><p>2exp4 = 16 machines -&gt; 4 bits</p><p>Mask : 255.255.255.240</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-3fgsfXOn2967XKJPPECIg.jpeg" /></figure><h3>Calcul our ranges for mask 1,2 and 3</h3><blockquote>Students</blockquote><p>Mask: 255.255.<strong>252</strong>.0</p><p>Magic number will be useful to calculate the last address for our range for the student machines</p><h4>First address</h4><ul><li>192.168.160.0 (given in the beginning)</li></ul><h4>Last address</h4><p>Magic number = 256–252 =4</p><p>Multiple of 4 after 160 = 164</p><ul><li>192.168.163.255</li></ul><blockquote>Teachers</blockquote><p>Mask : 255.255.255.0</p><h4>First address</h4><ul><li>192.168.164.0 (as last address from student is 192.168.163.255, we set last octet to 0 and the second to last to 164)</li></ul><h4>Last address</h4><ul><li>192.168.164.255 (no need for magic number as the third octet in the mask has its 8 bits set to 1, so its not separated)</li></ul><blockquote>Admins</blockquote><p>Mask : 255.255.255.<strong>240</strong></p><h4>First address</h4><ul><li>192.168.165.<strong>0</strong></li></ul><h4>Last address</h4><p>Magic number = 256–240 = 16</p><p>Multiple of 16 after 16 * 0 (which corresponds to the last octet in 192.168.165.<strong>0</strong>) is 16 * 1 = 16</p><p>16–1=15</p><ul><li>192.168.165.15</li></ul><p>👋</p><blockquote>Exercise taken from <a href="https://openclassrooms.com/fr/courses/857447-apprenez-le-fonctionnement-des-reseaux-tcp-ip/853668-decoupage-dune-plage-dadresses">openclassroom.com</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=513ba2fac70e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laravel — One to one relationship ]]></title>
            <link>https://medium.com/@lalysion/laravel-one-to-one-relationship-e7e09833a779?source=rss-7230d3db59c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7e09833a779</guid>
            <category><![CDATA[laravel-framework]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[laly]]></dc:creator>
            <pubDate>Sun, 17 Jan 2021 18:57:47 GMT</pubDate>
            <atom:updated>2025-12-20T00:00:43.840Z</atom:updated>
            <content:encoded><![CDATA[<h3>// ARCHIVE //</h3><p>Simple explanation of what is a one to one relationship and how to implement it in Laravel.</p><p>Laravel’s documentation definition</p><blockquote>A one-to-one relationship is a very basic type of database relationship. For example, a User model might be associated with one Phone model. To define this relationship, we will place a phone method on the User model. The phone method should call the hasOne method and return its result. The hasOne method is available to your model via the model&#39;s Illuminate\Database\Eloquent\Model base class</blockquote><p>I will use an Address model (instead the Phone model). I will place an address method inside the User model which will call the Laravel hasOne method.</p><p>Structure’s tables</p><pre>users<br> id<br> name<br> email</pre><pre>addresses<br> id<br> street<br> number<br> postcode<br> user_id</pre><p>Create a migration and a model for the addresses table</p><pre>php artisan make:model Address -m</pre><p>Add the columns you want in the addresses table in the up() laravel method into the migration file we have juste created</p><pre>public function up()<br>{<br>    Schema::create(&#39;addresses&#39;, function (Blueprint $table) {<br>        $table-&gt;id();<br>        $table-&gt;string(&#39;street&#39;);<br>        $table-&gt;string(&#39;number&#39;);<br>        $table-&gt;string(&#39;postcode&#39;);<br>        $table-&gt;integer(&#39;user_id&#39;);<br>        $table-&gt;timestamps();<br>    });<br>}</pre><p>Migrate the thing!</p><pre>php artisan migrate</pre><p>Add the one to one relationship into the User model</p><pre>public function address()<br>{<br>    return $this-&gt;hasOne(Address::class);<br>}</pre><p>Insert data into the tables through a route</p><pre>Route::get(&#39;/addData&#39;, function(){<br>    User::<em>create</em>(<br>[&#39;name&#39; =&gt; &#39;Michel&#39;, &#39;email&#39; =&gt; &#39;michel@hello.fr&#39;]<br>    );<br>    Address::<em>create</em>(<br>[&#39;street&#39; =&gt; &#39;Coin Perdu&#39;, &#39;number&#39; =&gt; 11, &#39;postcode&#39; =&gt; 1000, &#39;user_id&#39; =&gt; 1]<br>    );<br>});</pre><p>Route to get the address for a user if he got one</p><pre>Route::get(&#39;/user/1/address&#39;, function($id){<br>   $user = User::<em>find</em>(1);<br>   return $user-&gt;address;<br>});</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*Px20xs0m04X-7dqfd31qPw.png" /></figure><p>We have defined an address method in the User model which calls the Laravel hasOne method which takes in the parameter the model we want to link this one to one relationship to. In out case it is the address model.</p><p>So Laravel finds the user with id 1. Then we access the address related to this user with id as in the address table we have a match with the user_id and the id from the user ⚡️</p><p>If you have any questions, let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7e09833a779" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laravel - Polymorphic relationship ]]></title>
            <link>https://medium.com/@lalysion/laravel-polymorphic-relationship-e36b333681b1?source=rss-7230d3db59c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e36b333681b1</guid>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[laravel-framework]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[laly]]></dc:creator>
            <pubDate>Sun, 10 Jan 2021 18:50:42 GMT</pubDate>
            <atom:updated>2025-12-20T00:02:33.170Z</atom:updated>
            <content:encoded><![CDATA[<h3>// ARCHIVE //</h3><h3>Laravel — Polymorphic relationship 🔥</h3><p>Today I am going to try to explain simply why a polymorphic relationship is useful and how to use it with Laravel.</p><p>I am learning Laravel so I might make some mistakes when I explain things, correct me if I am wrong!</p><p>You should know how to use migrations and models with Laravel 💪</p><p>In case you forgot :</p><ul><li>We use models to interact with the database. They represent tables and their relationships with other tables. We can retrieve insert, read, update, and delete data from these models. I will be using the word table and model interchangeably.</li><li>To add, delete, modify and update columns names and their data types within a table we use migrations files</li></ul><p>More info about these <a href="https://laravel.com/docs/8.x/eloquent#generating-model-classes">here</a></p><p>What does polymorphism even mean ? 😬</p><p><strong><em>Greek origin. Poly : many. Morph : shape. Many Shapes.</em></strong></p><p>Related to computer science : an object can be treated as having many different types.</p><p>Here is the Laravel Documentation’s definition for the polymorphic relationship</p><blockquote>A polymorphic relationship allows the child model to belong to more than one type of model using a single association.</blockquote><blockquote><em>For example, imagine you are building an application that allows users to share blog posts and videos. a </em><em>Comment model might belong to both the </em><em>Post and </em><em>Video models.</em></blockquote><p>I will switch the example and will be using a Picture model which belongs to both the User and Product models!</p><p>Imagine you have two tables :</p><ul><li>Users table</li><li>Products table</li></ul><p>You want for both tables to have the possibility to link pictures to the users and products objects.</p><p>You want to use the same table to store the pictures linked to both users and products.</p><p>We will use the same model (Picture) for two differents models (User and Product) and it is possible because of the polymorphic relationships we will create to the 3 models.</p><p>Structure’s tables</p><pre>users<br> id<br> name</pre><pre>products<br> id<br> brand</pre><pre>pictures<br> id<br> path<br> picturable_id<br> picturable_type</pre><p>picturable_id : the id from the product or the user will be stored</p><p>picturable_type : the model from the product or user will be stored</p><p>path : it will be the name for the picture we will retrieve for the User or Product model</p><p>We have 3 models :</p><ul><li>User</li><li>Product</li><li>Picture</li></ul><p>Let’s define the relationships for the models 💃</p><pre>class User extends Model<br>{<br>    public function photos()<br>    {<br>        return $this-&gt;morphMany(&#39;App\Models\Picture&#39;, &#39;picturable&#39;);<br>    }<br>}</pre><pre>...</pre><pre>class Product extends Model<br>{<br>    public function photos()<br>    {<br>        return $this-&gt;morphMany(&#39;App\Models\Picture&#39;, &#39;picturable&#39;);<br>    }<br>}</pre><pre>...</pre><pre>class Picture extends Model<br>{<br>   public function imageable()<br>    {<br>        return $this-&gt;morphTo();<br>    }<br>}</pre><ul><li>We define the imageable() method in the Picture model which creates the polymorphic relationship to the Picture table.</li><li>We define the method photos() to both the Product and the User model. The morphMany() Laravel method takes as first parameter the model which has the polymorphic relationship (picture table). The second argument is the column name in the picture table related to the other models (Product and User). In our case it is the word picturable. Because this is the word used in the pictures table in the picturable_id and picturable_type columns.</li></ul><p>Correct me if it is not right! 🙏</p><p>Let’s insert some data in our tables</p><pre>User<br>+----+--------+<br>| id | name   |  <br>+----+--------+<br>| 1  | Charlie| <br>+----+--------+</pre><pre>Product<br>+----+--------+<br>| id | brand  |  <br>+----+--------+<br>| 1  | Dell   | <br>+----+--------+</pre><pre>Picture<br>+----+------------------------+---------------+--------------------+<br>| id | path                   | picturable_id | picturable_type    |  |<br>+----+------------------------+---------------+--------------------+<br>| 1  | dellBlackComputer.jpeg | 1             | App\Models\Product |  |<br>+----+------------------------+---------------+--------------------+<br>| 2  | CharliePic.jpeg        | 1             | App\Models\User    |  |<br>+----+------------------------+---------------+--------------------+<br>| 3  | CharliePic2.png        | 1             | App\Models\User    |  |<br>+----+------------------------+---------------+--------------------+</pre><p>Let’s create a route which gets the pictures for our user object with id 1</p><pre>Route::get(‘/polymorphic/user/pictures’, function(){<br> $user = User::find(1);<br> $pictures = [];<br> foreach($user-&gt;photos as $photo){<br>    $pictures[] = $photo-&gt;path;<br> }<br> return $pictures;<br>});</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*_qPAZ1eBxOn8iFG10HPl8w.png" /><figcaption>Pictures for User with id 1</figcaption></figure><p>So what is going on here ?</p><ul><li>Laravel will find the user with id 1</li><li>We have defined a photos() method in the User model containing the polymorphic belonging to the Picture model.</li><li>We have two matches in the picture table matching the user id with the picturable_id. It returns both pictures paths.</li></ul><p>Another route to return the picture for the product with id 1</p><pre>Route::get(‘/polymorphic/product/pictures’, function(){<br> $product = Product::<em>find</em>(1);<br> $pictures = [];<br> foreach($product-&gt;photos as $photo){<br>    $pictures[] = $photo-&gt;path;<br> }<br> return $pictures;<br>});</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*Mh5OIXNQx7XsEIW85sPsmA.png" /><figcaption>Picture for Product with id 1</figcaption></figure><p>What is important for me to remember, is that even tho we have the same picturable_id in the picture table, Laravel is able to recognize fom which model it is from from the pictureable_type. As we defined the morphTo() relationship in the Picture model and the the two relationships morphMany() in the User and Product model.</p><p>Hope this is kind of clear 😉</p><p>Any constructive feedback is welcome!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e36b333681b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why project-based learning is the BEST [Web Development]]]></title>
            <link>https://medium.com/becode/why-project-based-learning-is-the-best-web-development-4ad0236e0d?source=rss-7230d3db59c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ad0236e0d</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[becode]]></category>
            <dc:creator><![CDATA[laly]]></dc:creator>
            <pubDate>Wed, 30 Oct 2019 15:44:51 GMT</pubDate>
            <atom:updated>2019-10-30T15:44:51.965Z</atom:updated>
            <content:encoded><![CDATA[<p>Want to know about what it is like to learn Web Development with a project-based approach? Curious about what it is like to learn new techs as a newbie to the world of the development of the Internet? This post could be for you. I am going through the first mini-PHP project for which we, learners from <a href="https://www.becode.org/">BeCode.org</a>, had to complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MXXT4M6sezQEnhUi4KWWBg.png" /><figcaption>Fight-mode on.</figcaption></figure><p>The mission was to develop a PHP script, display a contact form and process the inputs. Some of the new technical instructions of the project were along the lines of: include a HoneyPot for spams, sanitise and validate the form on the server side. Okay.</p><p>What I knew about PHP is that it is a back-end language, so it is run on the server-side and not the client-side. So imagine my face when I tried to understand Docker. Abstract. We had 3 days to do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*8KVdFEHieZXu9zFQShgSrA.gif" /></figure><p>For info, when we have a project given by our ace coachs, we work on GitHub, so the instructions given about projects are located on a nice README.md file.</p><h4>So what’s happening while creating this little project? <strong>LOTS.</strong></h4><p>There are so many new things to get that I spend a lot of my time researching + trying to understand how one tech/tool works and how it relates to other techs. Each time I understand a bit of something, I have another question popping up in my head. I talk with other learners about what they know about a tech/tool to grasp more of a concept. You guess it, I spend long hours getting information. I am blown away by what people invent with tech!</p><p>Tic-toc, bits of stress coming up, I realize I have to start planning the project. I have to begin even if I don’t understand everything and even if I am not sure where to start. Hello deadline.</p><p>I active my <strong>Fight-Mode On.</strong></p><p>Step one is designing the form’s mock-up, but, how to do that? It needs to be professional. I’m not a drawing artist, no paper and pen for me. I want to use a software which will make a pretty mock-up, so, there I am, learning how to use Figma on the go. Great!</p><p>I use Bootstrap and spend time styling the form + I’m a bit frustrated after spending an afternoon fighting to display the elements correctly :)</p><p>Cute dead-line reminding me I have to start attacking the PHP part. We work in pairs with another learner. We hurry-up to do some research on our own and test what we’re finding. Why is this sanitazation function not working? Trying to decrypt the PHP manual. By the end of the day there are elements in the script which don’t work still, but there is some progress. Motivated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qOpcZtT41NP8cDeKedx0Nw.png" /><figcaption>Made with Canva and Krita</figcaption></figure><p>Some hours left, my head is heavy. I find out I can’t deploy the site on GitHub. Nervous laugh. Long story short, I hear about Heroku. ANOTHER TOOL I need to understand? Fine. Site deployed.</p><p>Deadline is getting closer. Half an hour before I am supposed to finish, I realize I forgot to implement the honey-pot method. I turn pale and I want to throw my computer by the nearest window. I rush to finish.</p><h4><strong>It was challenging, but I learnt a lot</strong></h4><p>It was a messy process.</p><p>The task was like a massive knot, which I had to try to untie and understand. Not simple to be thrown that mess at filled with unknown. I wasn’t comfortable with being disoriented. Many times I was confused on how to do it, how to find my answers and where. I was trying to decide on which information was right for me in the ocean of the Internet.</p><p>I visited lots of websites in 3 days trying to look for answers, going through stack-over-flow posts dating from 2008, and tried decrypting manuals for techs which didn’t necessarily answer my questions. I had to find a way to do it, even if it was messy. I kept going through the same process which was Research, Find Info and Test.</p><p>I learnt things. Asking for help when I was stuck, managing myself and my time. Finishing up this mini-project built my confidence in my technical learning ability, which I will take on for the next project and that’s well satisfying.</p><p>I learnt being methodical about a task is key in delivering good projects. Having a clear plan for the design as well as the functionalities. If I approach it in the right way, it’s easier to build a pretty and functional end result.</p><p>It taught me about being okay in discomfort, and be like, this is challenging, but I can manage. Even if I go through roller-coaster brainfuc****g moments.</p><p>If I learnt all of the above quickly it is because I had lots of ??? on that mini-project with a dead-line, and perhaps this is an insight of what life will be when working as a developer?</p><p>No Problemo.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ad0236e0d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/becode/why-project-based-learning-is-the-best-web-development-4ad0236e0d">Why project-based learning is the BEST [Web Development]</a> was originally published in <a href="https://medium.com/becode">BeCode</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>