Day 102: PHP Laravel

Dan Esmail - 4/12/2023

Intro

With my looks into PHP routing, one frame kept popping up that was Laravel. It seems like Laravel is one of the most popular PHP frameworks. It has a bunch of great features. Some of which are its routing, requests, and views.

MVC

Laravel has an MVC architecture. which is model view control. Basically, it has a model that will handle all the data. There is a view that helps display what the user is going to see. Finally, there is a controller that interacts with the model to tell it what view needs to be seen.

Routing

Now this MVC is great because it set me up for success with my website. It will help make my life easy when routing for my website. This will make it so I'm not making a switch statement to put all my routes into. Instead, I'll be creating routes that will give a path to the URL. this can also be used to make generic paths. I want to use generic paths for my blog posts especially.

Conclusion

Laravel seems to be really promising. It has all the things that I'm going to need to start routing my website. The big hurdle I have right now is finding out how to install it with Hositger and then developing the code for it.



Day 1

Day 1