Thursday, 24 September 2009

swagswap: see it, browse it, or even install and run it

Hi Sam here. While Scott has been bla bla blogging up a storm, I've actually been ticking out the application. I'm proud to announce that in record time it's ready for public consumption.

Currently (version 0,1) the included technology features:
  • RESTful Spring MVC controllers with annotations
  • A service layer with annotated Spring transactions
  • Spring JDO DAOs
  • Unit tests galore
  • An advanced ant script
  • Eclipse ready

You can now:

I'll report on some appengine difficulties I've had in my next post.

1 comment:

  1. Looked over the code briefly, some quick comments :

    1. Name, tags etc do not seem to be html escaped in the display table.

    2. There's some sillyness in the javascript.


    if (agree)
    return true ;
    else
    return false ;
    }

    could obviously better be writen as

    return agree;


    3. getDefaultImage uses a very inefficient way to read a file. It reads the image byte by byte instead of using a buffer.

    org.springframework.util.FileCopyUtils.copy would probably be a better choise to use. It also does the buffering for you

    4. using a get for a destructive action such as delete is unwise. When google spiders your site you might end up loosing al of your swag

    ReplyDelete