Let’s have a look at how to split application code and configuration for your Golang app. As an example I’d like to show how to use TOML to load your database configuration.
I came to write this because I was dabbling with exporting WordPress posts to TOML front matter / hugo and needed to be able to swap out database servers for development and production servers.
Continue reading “Golang TOML Configs Example: MySQL Connection”
Frameworks are making your life easier, since they take care of common tasks you without them would have to repeat for every project or even within projects.
I have assembled a small list of promising candidates for you, they may not be the most commonly used, but they teach best practices, principles like MVC and have communities and thereby helping hands on the internet.
This post was originally written for the semester blog of my class, therefore it also focusses on the types of database queries supported by the frameworks, we have a dedicated module in SQL and databases, which is why it is pretty relevant to the students of my semester. Continue reading “Best PHP MVC frameworks of 2013”