Eliminating GWT ActivityMapper boilerplate

前端 未结 6 1117
盖世英雄少女心
盖世英雄少女心 2021-02-05 16:26

I am using the GWT Activities and Places framework to structure my application and it is turning out nicely. One thing that annoys me though is that the ActivityMapper

6条回答
  •  鱼传尺愫
    2021-02-05 17:04

    I found a neat approach by Igor Klimer. He uses the visitor pattern to push the decision logic into the Place implementation, that way the ActivityMapper stays quite simple. Check out his blog post for implementation details.

提交回复
热议问题