丰富的SDK框架的优势

发布于 2024-08-23 17:20:13 字数 540 浏览 7 评论 0原文

浏览互联网,我发现了新的 Ample SDK JavaScript 框架。从他们的关于部分

Ample SDK 是一个基于标准的跨浏览器 JavaScript GUI 框架,用于构建富互联网应用程序。它采用 XML 技术(例如 XUL、SVG 或 HTML5)进行 UI 布局,采用 CSS 实现 UI 样式,采用 JavaScript 实现应用程序逻辑。它使浏览器变得平等,并为那些缺少任何技术的人提供技术支持。

他们网站上的例子看起来非常有前途。

有人尝试在实际项目中使用这个框架吗? 使用 Ample SDK 的优点和缺点是什么?

我主要对您的主观真实使用体验感兴趣,而不是他们网站上已有的信息。

Browsing the Internet, I found the new Ample SDK JavaScript framework. From their about section:

Ample SDK is a standard-based cross-browser JavaScript GUI Framework for building Rich Internet Applications. It employs XML technologies (such as XUL, SVG or HTML5) for UI layout, CSS for UI style and JavaScript for application logic. It equalizes browsers and brings technologies support to those missing any.

Examples from their website look very promising.

Did anybody try using this framework in real projects? Which are the pros and cons of working with Ample SDK?

I'm mainly interested in your subjective real usage experience, and not in the information already available at their web-site.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

狼性发作 2024-08-30 17:20:13

Ample SDK 创建者的另一个非常主观的意见;)

优点:

  • 标准技术和 API 使脱机变得更简单
  • 基于标记的 UI 易于创建和维护
  • 良好的关注点分离 - UI、逻辑和样式
  • 易于创建新的 UI 元素和整个语言
  • 非侵入式 - 只接管 HTML 页面上的指定区域

缺点:

  • 不利于网站的良好开发(对此 jQuery 就足够了),它主要适用于在浏览器中运行的客户端应用程序仅与服务器通信数据。

Another very subjective opinion from the creator of Ample SDK ;)

Pros:

  • Standard technologies and APIs make it simpler to take off
  • Markup-based UI is easy to create and maintain
  • Good separation of concerns - UI, Logic and Style
  • Easy to create new UI elements and entire languages
  • Non-obtrusive - only takes over designated areas on the HTML page

Cons:

  • Does not aid well development of web-sites (for which jQuery is just enough), it is mainly suitable for client-side apps that run in browser and communicate only data with server.
沦落红尘 2024-08-30 17:20:13

我们在企业应用程序的组件之一中使用了 Ample。
我们体验到的优势:

  • 针对完善的 API(DOM、Dom Events)进行编程可带来更好的代码可读性、更稳定的最终产品实现,无需针对特定浏览器进行编程。
  • 开发周期也比正常开发时间缩短了 50%。
  • 为组件标记创建自定义命名空间的能力帮助我们创建了一个通用 UIComponent 库,可以在我们所有未来的产品中轻松更改、修改和使用它。
  • 通过创建自定义语言本身来分离 UIComponent 和应用程序的关注点最大的优势之一。我们现在只专注于实现业务逻辑,而不是皮肤组件和修复视图相关问题。由于最终产品的稳定性,我们的问答周期也比平时短得多

。 缺点。

  • 几乎没有。该框架非常稳定,到目前为止我们还没有遇到 Ample 的任何问题。

We've used Ample in one of the components of our Enterprise Application.
Advantages we've experienced:

  • Programming against well established API's (DOM, Dom Events) led to better code readability, more stable implementation of the end product, no programming against specific browsers.
  • The development cycle was also reduced by up to 50% of our normal development time.
  • The ability to create custom namespaces for component markup helped us to created a library of common UIComponents that can easily be changed,modified and used in all our future products
  • The separation of the concerns of the UIComponents and the Application by creating a custom language itself is one of the big advantages. We now only focus on implementing the business logic instead of skinning components and fixing view related problems. The Q&A cycles we're also much shorter than normally because of the stability of the end product

Disadvantages.

  • Hardly any. the framework is really stable and so far we did not ran into any problems with Ample.
小忆控 2024-08-30 17:20:13

我暂时在一个项目中使用:http://www.programma.tv/

至于那种体验,我没有使用A-SDK中的任何“UI语言”(当然XHTML除外),只是使用了核心。我还编写了自定义 UI 语言(“频道”、“天”、“项目”和其他一些元素),如果您熟悉 javascript,那么这非常简单。

但是:在实现您自己的 UI 语言(即自定义组件)之前请三思——也许使用 A-SDK 中的某些内容会更快?

无论如何,如果你让我选择一个词来概括我的观点,我会选择这个:“简单”。

I used in one project for the moment: http://www.programma.tv/.

As for that experience, I did not use any "UI language" (except XHTML, of course) from the A-SDK, just the core. Also I wrote custom UI language ("channels", "days", "items" and some more elements) and that was really simple in case you know javascript well.

But: think twice before implementing your own UI language (i.e. custom components) - maybe it'll be faster use something from the A-SDK?

Anyway, if you'll ask me to choose one word to summarise my opinion, I'd choose this one: "SIMPLE".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文