Experimenting with Repositories

So I guess this is somewhat of a live coding session, only in a Github Gist format. I’m still trying to wrap my head around the Repository Pattern in Laravel.

In this Gist, I have a hypothetical Wiki application. I want to have users to be able to create a static markdown file (ex. post.md). That particular file then gets detected and stored in the database. Then the stored markdown can be retrieved and converted into HTML. The user can also edit the article within a dashboard/admin.

Here is a rough concept (probably doing it wrong):

enter image description here

Going to be editing this Gist until I have a nailed down concept. ¯_(ツ)_/¯


Tyler Souza

Tyler is a very passionate full-stack developer who thrives on a challenge. He specializes in programming (mainly in Python), REST API development, and keeps up with the latest front-end technologies. When not coding, he loves to eat ramen, BBQ, and travel.

You may also like...