Logos are needed in different formats and sizes: Apple touch icons, favicon and much more. And maybe they are needed in several projects.
Wouldn’t it be nice only store the logo one time at one place, all the projects use them and resize it to the needed formats and sizes?
Continue reading One logo to rule them all
Continue reading TypeScript and Performance: Monomorphic vs Polymorphic Code
Having periodically posts without much effort is easy to reach with the WordPress API. I will describe here what’s the use case and which solution I use.
Continue reading Autopublish WordPress posts after an interval of silence
Facebook has the feature to show a summary of a webpage by writing the URL into a post. I will describe which information Facebook use and how its possible to change them.
Continue reading Open Graph Tags for Facebook
Using third party libraries or not is a hard decision for beginners. The advantages are not immediately visible in the first time and its so much faster to just start with exactly what you need.
Continue reading Using third party libraries or write your own
In some scenarios (e.g. having a landing page with the login to the client) the assets needed for subsequent pages are known, can preloaded into the cache and speeds up their first page view.
Continue reading Preloading assets into the cache for subsequent pages
Continue reading Package manager or public CDN
Node.js is single threaded. To use the capacity of multi CPU environments clustering is needed. There are solutions already available, so just have a quick look at one of them.
Continue reading Node.js clustering in multi CPU environments
Applications needs configuration depends on the environment, e.g. the credentials of a database. Lets have a look at different approaches solving this requirement, their advantages and disadvantages.
Continue reading Split configuration and code
Closures are functions which use variables from the surrounded context. Using them without think about can result in unpredictable side effects.