September 14, 2015

Gulp – catch and log less errors

To work efficiently its indispensable to get detailed error messages. If you simply pipe the gulp-less task to your stream you will receive a error message – but your whole gulp task will crash.

what we get:

Avatar photo

theCodeCampus
Developer at thecodecampus </>


September 10, 2015

[SEO] AngularJS remove Hashbang from URL’s – seosafe

By default AngularJS projects use the hashbang syntax for urls to handle navigation without forcing the client to reload the whole application on every state change. Since the (HTML5) History API is available in all modern browsers the usage of the hashbang is not really required anymore. Furthermore urls look way cleaner without the hashbang. […]
READ MORE

Avatar photo

theCodeCampus
Developer at thecodecampus </>


August 14, 2015

Speed up your Less build with Gulp

Problem Earlier this year, we started to port a customer website from a old css-style to a more modern bootstrap-style. To be more flexible, we switched from plain css to less (as a css-precompiler) and automated the build with grunt. The build was very basic and just compiled the less files into css files, we […]
READ MORE

Avatar photo

theCodeCampus
Developer at thecodecampus </>


June 3, 2015

Client-side Errors in Rich Internet Application-Architectures

Problem When building applications with frameworks like AngularJS, we usually create so called “Rich Internet Applications” (RIA). The architecture of a RIA differs from a “traditional” application in several aspects: The server is (almost) stateless The client is stateful Server and client communicate over a coarse-grained interface The client contains (more) business logic With good […]
READ MORE

theCodeCampus Autor Roman Roelofsen

Roman Roelofsen
Developer at thecodecampus </>


May 13, 2015

Legacy DataTable sorting with moment.js

Recently I had the requirement to add sorting to a legacy DataTables (1.7.5), the column contains data in [Monthname] YYYY and DD.MM.YYYY – DD.MM.YYYY format. For example: December 2014 15.10.14-30.10.14 January 2015 The normal DataTables sorting algorithm can only sort the column alphabetically, so we needed some improvement. After a short search on the DataTables […]
READ MORE

Avatar photo

theCodeCampus
Developer at thecodecampus </>