Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby & The Repository Pattern (With Hanami) - Heather Lim #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,52 @@ <h1>devPunks</h1>
<footer>
</footer>
</article>

<article class='female'>
<hgroup>
<header>💻 “Ruby &amp; The Repository Pattern <em>With Hanami!😊” - Heather Hsin Yi Lim</header>
</hgroup>

<figure>
<a title='Heather Lim' href='https://pbs.twimg.com/profile_images/680194548669091841/QMgLf7lg.jpg' rel='modal' target='picture'>
<img alt='First Guest' src='https://pbs.twimg.com/profile_images/680194548669091841/QMgLf7lg.jpg'>
</a>

<figcaption>
<a title='Heather Lim' rel='twitter' target='twitter' href='http://twitter.com/heatherhsin'>@Heatherhsin</a>
Heather Lim
</figcaption>
</figure>

<blockquote>
<q>Learning Hanami was my personal benefit. If you just know Rails you will always be in that <q>Rails way</q> mindset and that's not necessarily true <strong>All</strong> the time. Choices are <u>always</u> nice!</q>
</blockquote>

<figure>
<video controls='yes'></video>

<figcaption>30:00 minute viewing time</figcaption>
</figure>

<p>Many of us that use Ruby are familiar with using Rails. Ruby is my first language and Rails is my first framework. However, once I started working with another framework in another language, I found that I had been taking ActiveRecord for granted and treating it as the only way to do things. I took this as an opportunity to explore another framework in Ruby.

<p>Hanami is a lightweight web framework for Ruby. It’s easy to use and productive. Unlike Rails, it doesn’t have models that inherit from ActiveRecord that tend to mix business logic with persistence. Objects are simpler with more clear cut responsibilities. This talk explores creating a simple app with Hanami that shows the repository pattern in action.

<aside>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@heatherlim I'll get this cleaned up. This was from an example I used from Jessica Kerr.

<header>Jessica Kerr</header>

<nav>
<li class='twitter'>
<a title='@JessiTron (Jessica Kerr)' href='http://twitter.com/JessiTron'>@JessiTron</a>
<li class='github'>
<a title='@JessiTron (Jessica Kerr)' href='https://github.com/JessiTron'>https://github.com/JessiTron</a>
</nav>
</aside>

<footer>
</footer>
</article>

</section>

<section id='sponsors'>
Expand Down