<?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 Charles Jerry on Medium]]></title>
        <description><![CDATA[Stories by Charles Jerry on Medium]]></description>
        <link>https://medium.com/@jerrycharles586?source=rss-aaed4158db17------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Hrs8K7DbqFugaaJx.jpg</url>
            <title>Stories by Charles Jerry on Medium</title>
            <link>https://medium.com/@jerrycharles586?source=rss-aaed4158db17------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:40:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jerrycharles586/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[All about my SINATRA portfolio]]></title>
            <link>https://medium.com/@jerrycharles586/all-about-my-sinatra-portfolio-867807c922cd?source=rss-aaed4158db17------2</link>
            <guid isPermaLink="false">https://medium.com/p/867807c922cd</guid>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[sinatra]]></category>
            <dc:creator><![CDATA[Charles Jerry]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 14:31:57 GMT</pubDate>
            <atom:updated>2019-08-20T19:04:12.738Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*Qxr47VaP3LqyCurC8mjueg.jpeg" /><figcaption><a href="https://blog.eduonix.com/web-programming-tutorials/10-coming-web-programming-languages/">https://blog.eduonix.com/web-programming-tutorials/10-coming-web-programming-languages/</a></figcaption></figure><p>This app was built with Sinatra, extended with <a href="https://github.com/ruby/rake">Rake tasks</a> for working with an SQL database using <a href="https://github.com/rails/rails/tree/master/activerecord">ActiveRecord ORM</a>.</p><p>The LabInfo app provides a database and web interface for users to:</p><ul><li>Sign up as a student or workshop leader</li><li>Users can review all workshops and users available</li><li>Each user can ONLY modify content of their own workshop/registration:</li><li>An workshop leader can create, read, update, and delete (CRUD) a workshop</li><li>A student can create, read, update, and delete (CRUD) a workshop registration</li><li>User inputs are validated for account/workshop/registration creation</li></ul><h3>Usage</h3><p>After checking out the repo, run bundle install to install Ruby gem dependencies.</p><p>You can start one of Rack’s supported servers using the <a href="https://github.com/rtomayko/shotgun">shotgun</a> command shotgun</p><p>Shotgun can be used as an alternative to the complex reloading logic provided by web frameworks or in environments that don’t support application reloading.</p><h3>Model Classes</h3><p>The LabInfo app database includes three model classes: User, Workshop, UserWorkshop</p><ol><li>User: stores user attributes, including:</li></ol><ul><li>Full Name</li><li>Username</li><li>Email</li><li>Password (Secured with <a href="https://github.com/codahale/bcrypt-ruby">Bcrypt</a> hashing algorithm)</li><li>Biography</li><li>Workshop_leader, a boolean value to indicate if a user is an workshop leader</li></ul><ol><li>Workshop: stores workshop attributes, including:</li></ol><ul><li>Name</li><li>Descirption</li><li>Icon, a string value that is commonly an emoji</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*FxRLxr4M6pM-C1Aa.png" /></figure><ul><li>Level, indicates workshop difficulty (Beginner == 0, Intermediate == 1, Advance == 2)</li><li>workshop_leader_id, to associate workshop with an workshop leader</li></ul><ol><li>UserWorkshop: stores student workshop registrations attributes, including:</li></ol><ul><li>Confirmation, indicates registration status (Pending == 0, Waitlist == 1, Enrolled == 2)</li><li>Notes, student’s request to enroll in a workshop</li><li>User_id, to associate registration with a student</li><li>Workshop_id, to associate registration with a workshop</li></ul><p>While waiting for it to be online, you can visit it on my GitHub account, merge it and test it. <a href="https://github.com/Jerrycharles44/labinfo">https://github.com/Jerrycharles44/labinfo</a></p><p>You can see the demo with this link: <a href="https://youtu.be/5N1qGm6YSuo">https://youtu.be/5N1qGm6YSuo</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=867807c922cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>