易于使用的框架,只需最少的编码即可使用 GWT MVP
我正在寻找一个能够生成大部分/所有通用 MVP 代码本身的框架/库,以便我可以扩展该代码。在默认的 GWT-Eclipse IDE 设置中,我必须手动编写每一点代码。
我见过一些像 Tessel 这样的框架,它们的目的是生成大部分样板代码...您推荐哪种框架用于此目的,以便我可以以最少的努力/麻烦创建新的 MVP-GWT 应用程序?
I am looking for a framework/library that generates most/all of the generic MVP code itself, so that I can then extend that code. In default GWT-Eclipse IDE setup, I have to write every bit of code by hand.
I have seen a few frameworks like Tessell which aim at generating a large part of the boiler plate code...Which framework do you recommend for this purpose, so that I can create new MVP-GWT apps with minimal effort/fuss?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
看看 Tessell:
Tessell 是一个 GWT 应用程序框架
功能
Take a look at Tessell:
Tessell is a GWT application framework
Features
我知道有人在一些大型项目中有效地使用过 mvp4g。
I know people who have used mvp4g on some large projects effectively.
我在两个项目中使用了 gwtp,效果非常好。
它具有嵌套演示者/视图的概念,如果您想创建可重用的 MVP 组件,这可能会很方便。
I used gwtp in two projects and it worked really well.
It has the concept of nested presenters/views which might come handy if you want to create reusable MVP components.
GPE(Google Plugin for Eclipse)和 Google Window Builder 将一起使用 GWT 库生成 MVP 代码所需的大部分内容。您转到“新建”->“窗口生成器”->“GWT UIBindder”->“MVP”->“MVP 视图”。向导将生成 uibinder 代码、UI 界面、UI 实现、位置和活动。如果您正在使用客户端工厂,它也会使用客户端工厂。如果您有 client.place 和/或 client.activity 包,它还会为您将地点和活动放入这些包中。
The GPE (Google Plugin for Eclipse) and Google Window Builder together will generate most of what you need for MVP code using the GWT libraries. You go to New ->Window Builder->GWT UIBindder->MVP->MVP View. The Wizard will generate the uibinder code, a UI interface, a UI implementation, a place, and an activity. It will also use a client factory if you are using one. If you have a client.place and/or a client.activity package(s) it will also put the places and activities in those packages for you.