Problem situation Web content templates are easy to write in Liferay, but as they become more complex they tend to contain a lot of scripting. Moreover, complex Velocity or Freemarker scripts are hard to maintain and even harder to debug. Also, unit testing your scripts is impossible. Macros A first possible optimization is to [...]
Peter Mesotten
Software development is craftsmanship. It is not only about delivering a product that works, but more about delivering a product that is well designed and that can stand the test of time. Different methodologies and practices exist to achieve this goal and doing code reviews is one of them. In this article I’ll sum up 10 important [...]
Ward Vijfeijken
In our previous post we covered the setup of our AngularJS project. We created a template, controller and directive to display our media feed on the index page. In this post we will write a test to make sure that we do not break our feed in the future. Running JavaScript tests with Karma We will use a test runner called Karma to run the [...]
Dorien Jorissen
Recent Comments