你好,游客 登录 注册 搜索
背景:
阅读新闻

Vaadin 7.0.0.beta5 发布,RIA 开发框架

[日期:2012-10-21] 来源:oschina.net  作者:Linux [字体:大 中 小]

Vaadin 是一个RIA的基于浏览器的富客户端的Web框架。与 JavaScript 库或者是基于浏览器插件的解决方案不同,Vaadin 包含一个服务器端的结构,主要的应用逻辑都在服务器端运行,浏览器通过 Ajax 技术跟服务器端进行交互。Vaadin 提供多种各样的UI组建,例如按钮、表格、树形列表等等,每个组件都具有事件、侦听器、数据绑定和业务逻辑等功能。

Vaadin 发布 7.0 的第 5 个 Beta 版本,该版本包含众多改进记录,主要内容如下:

  • GWT is now built into Vaadin Framework
    • New SuperDevMode allows debugging client-side Java code in the browser without any plugins
  • Navigation API for view navigation
    • View navigation with bookmarking/linking with URI fragments and browser history support
    • Access control for views, view change confirmation
  • Component and UI extensions
  • Resource loading (JS/CSS) by the framework
  • Complete overhaul of the client-server communication architecture
    • All add-on components that have widgets need to be ported to Vaadin 7
    • Integration of a GWT widget is done in a connector class
    • Component-to-widget mapping now defined on the client-side, in the connector
    • No more Paintable or VariableOwner
    • Server-side component and client-side widget can have a shared state object which is automatically synchronized
    • Both client-side and server-side can make RPC calls to the other side
      • Communicated in the next request/response
      • No return values
      • Typically for communicating events
    • Support for JavaScript components - GWT integration code not required
    • Handle JavaScript callbacks on the server-side
    • UIDL is deprecated
    • Compatibility layer for Vaadin 6 included for easy migration
  • Form is deprecated and form hand is replaced with the FieldGroup
  • Get computed style of a component from the browser
  • Support for border, padding, and margin in core layout components
    • Applications are now written by extending the UIclass
      • UIs use heartbeat to detect closing
    • The Applicationclass is removed altogether
      • ApplicationServlet is replaced with VaadinServlet
      • ApplicationResource is replaced with ConnectorResource
    • Themeing with SASS in addition to CSS
      • SASS themes need to (and CSS themes can) be compiled to a single CSS stylesheet with the vaadin-theme-compiler
    • Add-ons can modify the startup page
    • All addListener() methods have changed to listener-specific methods, such as addClickListener(), addValueChangeListener(), etc.
    • Packaging has changed, now in a ZIP package (see Package Contents above)

更多关于 Vaadin 7 的介绍可看发行说明。

Vaadin 的下载地址:请点这里

linux
相关资讯       Vaadin 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款