Random thoughts about IT

Posts Tagged ‘web

Introduction to clean javascript design

with 3 comments

Despite all the efforts spent to replace it with something more decent (e.g. Flex, DartSilverlight,…), javascript is still today the language of choice for browser-side scripting. And given the huge spotlight that HTML5 is directing on the browser, it becomes again an extremely popular language.

Javascript is powerful and comes with a rich ecosystem. Its major problem though is a syntax so permissive that care is required in order to avoid ending up with a bunch of unmaintainable spaghetti code.

The purpose of this post is to present basic design tips which help keeping things clean and organized. I hope it to be useful for javascript developers struggling with code design or experienced designers struggling with javascript… Read the rest of this entry »


Written by Svend

January 4, 2012 at 10:04 pm

What I love and hate about Play 1

with 5 comments


Play 2 has been announced a few weeks ago.

I am currently working on a project based on version 1 of this framework, as I am envisaging a migration, I decided to write two blog posts about this experience. The text below contains my personal thoughts on Play 1, I’ll try at a later stage to hunt for some time to use this as a comparison point for my feed-back on Play 2 and the migration process (if I confirm it should happen…)

Here are some major characteristics of Play (just check their online docs for more details, that is not the point of this post):

  • Web framework for Java and/or Scala
  • Not based on servlet, although a project can be converted to a war package
  • No server-side session
  • Java controller methods are public static void

Read the rest of this entry »

Written by Svend

December 2, 2011 at 12:11 pm

Posted in Uncategorized

Tagged with , ,