Week 17
Spent most of the week migrating PHPSandbox as a Vue SPA to Inertia JS. I've been trying to do this for a while and have passively been adjusting the underlying codes to make this swift when the time comes to fully migrate. The interesting thing was that PHPSandbox's early version was based on Inertia JS and had to be migrated to be a Vue SPA in the hope of making the frontend open source. That didn't work out as expected and won't even go in that direction anymore. I’ve tasted some of the downsides of having a SPA.
There are a couple of reasons why this migration back to Inertia JS is beneficial for PHPSandbox, the major reason being that every request now hits the Laravel backend first and that gives access to do a lot before returning a response. Also, routing is quite convenient now, we can do a little more dynamic SEO for our notebook pages. Vue SSR can achieve similar results, maybe even better, but it is too expensive in terms of code alterations and infrastructure (you will need a server).
We also get to benefit from having all the code in one monolithic codebase, we don't have to handle deployment workflows for multiple codebases or need to clone multiple repositories or serve multiple projects at once to get things running.
It wasn't as challenging as it looks since the code was being adjusted all along. The major part of this being possible is stubbing the Vue Router with Inertia's router so I won't have to start replacing Vue Router usage in every Vue file. I hope to write about some of these considerations in detail.
I finally got my degree certificate after lots of uncertainty. It's been over a month since I've been at trying to secure it.
I got interviewed by Mauro, about PHPSandbox and the story behind it. Apart from the fact that I'm excited that more of the PHP community will get to know PHPSandbox, talking about PHPSandbox has always somehow helped me to think about what could be the next thing for PHPSandbox moving forward. I remember having to rethink certain things PHPSandbox could be while narrating the stories to some people or when asked to tell them about PHPSandbox. I find this to be something I don't do enough and should do better at.
We finally finished The 100. After 7 seasons, it was good to see it come to an end. At some point, we got bored of the series seeing how some events played out and with a couple of plot twists. At this point, Mercy is getting sold out on watching more SciFi series. We are already eying The Expanse on Amazon Prime as our next SciFi series.