有人知道点击框架吗?
有人向我推荐了 Apache 的 Click 框架。但我找不到任何讨论基准、评论、优点、缺点、有用性、易于实施等的论坛。
有人要求我使用它来开发一个网站,但我对其一无所知优点和缺点。
它该死的名字没有帮助!点击 ?嘿阿帕奇!将您的下一个框架称为“the”只是为了好玩。我赌你。
那么有人可以评论一下他使用 Click 的经历吗?
I've been recommended the Click framework from Apache. But I can't find any forums talking about benchmark, reviews, advantages, disavantages, usefulness, ease of implementation, etc.
I've been asked to use it to develop a web site, but I'm completly in the dark about its strengths and weaknesses.
And its damn name isn't helping !! Click ? Hey Apache ! Call your next framework "the" just for fun. I dare you.
So can anyone comment on his experience with Click ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我个人喜欢 Click 框架的一点是它非常接近 HTML/HTTP 和 Servlet API。没有需要熟悉的巨大抽象。您有一个 Page 类、一个 Form 类……如果您需要在调用之间保留状态,您可以将其放入会话中或通过 URL 传递它……这使得开始使用它变得很容易。控制生成的 HTML 页面也很简单。听起来它可能是一个非常基本的框架,但简单性实际上是它最大的优势之一。
其他框架(例如 Seam)更适合创建具有大量可重用组件和复杂页面流的大型 Web 应用程序,但学习曲线要陡峭得多。所以对我来说,Click 非常适合中小型网站。
What I personally like about the Click framework is that it is fairly close to HTML/HTTP and the Servlet API. There is no huge abstraction to get familiar with. You have a Page class, a Form class, ... If you need to preserve state across invocations you put it in the session or you pass it through the URL... This makes it easy to start using it. It is also straightforward to control the HTML pages being generated. It may sound like it is a very basic framework but the simplicity is actually one of it greatest strengths.
Other frameworks (e.g. Seam) are more suitedr to create a very large web application with lots of reusable components and complicated pageflows but the learning curve is much steeper. So for me Click works well for small to medium sized websites.
这是一个 apache 孵化器项目,但这并不意味着该项目不稳定,而是反映了它正在过渡到 Apache 项目模型。
Click 是 Apache 版本的基于组件的 Web 框架,相当于 JSF(其他基于组件的 Java 框架有 Tapestry 和 Wicket)
点击评级为 Ohloh
有一个 官方博客和一些维基百科参考:框架比较和信息页面
It's an apache incubator project but that does not mean the project is not stable, rather it reflects that it is in transition to the Apache project model.
Click is Apache's version of a component based web framework equivalent to JSF (other component base Java Frameworks are Tapestry and Wicket)
Click is rated at Ohloh
There is an official blog and some Wikipedia references: Framework Comparision and info page