Archives de
Auteur : Jean Bernard

Java Annotations

Java Annotations

Annotation has been a part of the core Java API from JDK5 onwards. Annotation means adding comments or instructions into the Java code so that the compiler provides a special treatment to the designated element. This feature, when incorporated appropriately, can leverage productivity by reducing bugs in the code. Annotation instructs the compiler to enforce some specific rules. These rules, if violated, crop compiler time errors. Errors are better managed if they surface during compilation simply because error messages often…

Lire la suite Lire la suite

Pace.js, automatic page load progress bars

Pace.js, automatic page load progress bars

Pace.js is a lightweight (~4kb minified and gzipped) and standalone JavaScript library to create beautiful progress indicators for your page load and ajax request. It automatically monitors AJAX requests, event loop lag, document ready state, and elements on your page to decide the progress. On ajax navigation it will begin again. Pace.js currently comes with 15 themes and 10 color variables, you can customize all these themes. Minimal Flash Barber Shop Mac OSX Fill Left Flat Top Big Counter Corner…

Lire la suite Lire la suite

Less, CSS pre-processor

Less, CSS pre-processor

We all know CSS can be a bit frustrating to write, especially when it comes to more serious projects with thousands of lines of code. You end up duplicating the same rules all over the place and using your editor’s search and replace for every color change. It takes a lot of effort and discipline to keep your CSS maintainable. But it doesn’t have to be this way. Luckily, the web development community has solved this problem. We now have…

Lire la suite Lire la suite