< description

Notes, thoughts, failures. A blog.

< tags | sort -R | ಠ_ಠ
soyuka@soyuka.me ~/soyuka.me/

Use Gulp to ease your angularjs workflow

I’m often seeing people having trouble managing angular dependency injection, minification, templates etc. I never had such issues, because my gulp-based workflow already handles everything for me.

~1100 Words

Call nodejs frameworks routes programmatically

All those examples will call GET /some/other/path when GET / is called with different frameworks.

~300 Words

Dockerize a node app in 2 minutes

For the following I’m using a project of mine : Explorer. It’s a directory listing tool. To run it only needs a configuration file.

~200 Words

Use dependency injection!

Take a nodejs app, which has :

  • a global configuration
  • a redis client (or it could be a database connection)

Those both will most likely be instancianted once in your application. A database pool might have a more complicated behavior, but at the end it’ll has the same result: a pool instance to work with.

~600 Words

An unpleasant babeljs experiment

We all love new technologies, and we want to use them as soon as they’re out. ES6 comes with really nice features, for example: arrow function default function argument value block scopes rest parameters etc… Thing is, nodejs doesn’t allow the use of all those new, and mostly nice features, yet. This is why some folks build the well known Babeljs. Yeah, this was my reaction too at first sight.…