Wednesday, April 30, 2008

Front end development info

After a while of developing back-end applications I'm back at doing some front-end work. In relation to this I did some resource and found a few sites that are worth visiting:

http://www.webrichtlijnen.nl/richtlijnen/

This site is developed by the Dutch government and aims to provide web developers information about creating quality websites.

http://quirksmode.org/

Contains tons of JS and CSS information and examples

Wednesday, April 23, 2008

Handy links to pages about Wicket

http://wicketstuff.org/wicket13/compref/
http://wicketstuff.org/wicket13/
http://cwiki.apache.org/WICKET/reference-library.html

Sunday, April 20, 2008

How to run a demo Wicket application in two minutes

Inspired by the enthousiastic reports of other people I decided to have better look at Wicket, the upcoming MVC framework.
Wicket is great for seperation of code and gui. A web page is made out of a class and an html page, no need for jsp's! For more information have a look at the site: http://wicket.sourceforge.net/Features.html
I decided that the best way to get my first Wicket experience was to install the Maven archetype project. And well, after a few minutes I was looking at the first Wicket page that was served from within my own Eclipse IDE!


If you have Maven 2 and Eclipse installed, all you need to do is:
1. go to the command line
2. type: mvn archetype:generate
3. choose the wicket archetype (at this time, it is nr. 36)
4. fill in the options (choose 'wicket' as artefactid)
5. change to the 'wicket' directory that now has been created
6. create an eclipse project file by typing 'mvn eclipse:eclipse'
7. start Eclipse
8. import the Wicket project by selecting 'import existing project' and the 'wicket' directory as source
9. run the 'Start' class as a Java app
10. type in the url http://localhost:8080/wicket/ and there you go!
The start class is not really part of the Wicket application, all it does is start an embedded Jetty server that runs the demo app.