So the past weeks I’ve rewritten the entire website from PHP to Spring Boot. There are a few reasons behind this decision:
- I’m way better at Java than PHP, this means I can speed up development quite a lot by working in my favorite language. I initially made it in PHP because I wanted to get better at it, but it quickly grew into a big mess.
- Using Java gives me a lot more control over the system that the application is running on, like easier managing of the thousands of files this site is going to host.
- More control over the web protocols the site uses, easy configuration of HTTP headers or maybe Websocket connections.
- Creating a REST API using Spring Boot is about as easy as banging rocks together, I already have a fully functioning API, just need to write some docs for it.
Here is another preview of the possibilities using file lists on PixelDrain: http://pixeldra.in/u/TNfcUQ. I downloaded all episodes of my favorite podcast and dragged them into the PixelDrain home page and BAM, I had an autoplaying playlist to listen to while programming.
Also, as a tribute to PixelDrain being able to play WebM files, here’s something I made: http://pixeldra.in/u/j2tsIN