Saturday, March 25, 2006

NFJS Examples available

I've now been able to build and deploy the examples from my talks at No Fluff Just Stuff. The version number is still 0.0.1 and probably will be for some time. You can obtain a pre-compiled WAR, or a source distribution (with out without the PowerPoint slides) from http://howardlewisship.com/repository/com/howardlewisship/nfjs-tapestry/0.0.1/.

2 comments:

  1. Anonymous1:05 AM

    Good stuff!
    I'm curious though - what's the idea /philosophy behind making f.ex. PasswordEncoder a Hivemind service, when all of it's methods might as well be public static, since no state is involved? Should all traditionally utility methods be made into services?

    ReplyDelete
  2. A HiveMind service is more than just the code you provide, through interceptors you can extend its behavior without writing more code. For example, to add logging, or transaction management.

    This is a very simple example.

    For testing purposes, it is easier to mock the PasswordEncoder (and be able to have the mock encode passwords as "encoded" rather than a big long hex string).

    ReplyDelete

Please note that this is not a support forum for Tapestry. Requests for help will be deleted. Please subscribe to the Tapestry user mailing list if you are in need of support, or contact me directly for professional (for pay) support.

Spammers: Don't bother. I delete your comments and it's a waste of time for both of us. 垃圾邮件发送者:不要打扰。我删除您的评论和它的时间对我们双方的浪费