Javascript

An article related to JavaScript. Anything from things I work on to tools that I use.

By Jeff , 28 May, 2026

This lesson was all about the database functions in Laravel. This is one thing that I have to give Laravel some credit. I do like their migration feature. They have abstracted away the database to a file that will create and remove tables as you need to though the artisan script.

By Jeff , 28 May, 2026

Kind of knew already what MVC is. Laminas uses a MVC structure for their framework as well. It is pretty simple and a similar to what Laminas does, just in a slightly different way. With Laminas you have a route configuration in the module's config.php file. In there you do your dependency injection and setup of the Controller. With Laravel, they have (at least currently) a separate file for routes that is so far kind of hard coded. Where as the Laminas can be more dynamic. Again this is just a boot camp. 

By Jeff , 22 May, 2026

Had to do a few things to my setup a bit to make things work a little better. Some things I might not need or need to change if I put this in production. Ran into a bit of CORS issue once I had to rebuild the project directory. Due to the Docker container I had a bit of an issue with the Vite configuration. It needed a couple things to get things working for the server that runs when you run dev with Composer. After some googling and a small chat with AI. I ended up adding the following to the vite.config.js file:

By Jeff , 21 May, 2026

I have decided to start with Laravel as it seems to be the most popular currently. From what I have learned from starting their boot camp, I can see why. Though it kind of frustrates me a bit which I will explain. It seems to be a big ecosystem involved with it. They have embraced AI and have added their own cloud system as well. It is a bit overwhelming, coming from a guy that prefers to host his own projects. Digging in a bit and looking past all of the external pieces, it does look like you can build an application with it and still host it locally.

By Jeff , 21 May, 2026

I have been using the PHP framework Laminas for as long as it has been around. I started with the Zend Framework and followed it up to the current iterations of Laminas. It has been a great PHP framework. I love the individual components, the flexibility it has and the ease it is to setup.