DWR 和 WebSphere Commerce - 这是一个很好的组合吗?

发布于 2024-08-06 21:29:05 字数 395 浏览 7 评论 0原文

我当前的任务是将使用 DWR 实现 AJAX 功能的 J2EE 应用程序 (JDK5) 迁移到 WebSphere Commerce 平台(J2EE 1.4、JDK1.4)。在WebSphere Commerce 中,其想法是让AJAX 调用在Commerce 平台中编写的命令。 WebSphere Commerce 有自己的 AJAX 方法(由 Dojo 提供支持),但我希望能够避免学习曲线并利用 DWR 上的现有知识。

不知道是否有人尝试过在WebSphere Commerce 中使用DWR?

有什么建议(关于 DWR 和 WebSphere Commerce)可以帮助我开始吗?或者...学习 WebSphere Commerce AJAX 方法更好吗?

---- 如果需要通过评论进行更多说明,请提出建议。多谢。

My current task is to migrate a J2EE application (JDK5) that is using DWR for its AJAX capability, into WebSphere Commerce platform (J2EE 1.4, JDK1.4). In the WebSphere Commerce, the idea is for the AJAX to call commands those are written in Commerce platform. WebSphere Commerce has its own AJAX approach (powered by Dojo), but I am hoping I could avoid the learning curve and leverage existing knowledge on DWR.

I wonder if anyone has tried using DWR in WebSphere Commerce?

Any advice (re DWR & WebSphere Commerce), to get me started? or... is it better to learn WebSphere Commerce AJAX approach?

---- Please advice if more clarification is required via comments. Thanks a lot.

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

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

发布评论

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

评论(2

不奢求什么 2024-08-13 21:29:05

我还没有尝试过 DWR,但在 Websphere Commerce 上使用过 DOJO 和 jQuery。 IMO,您使用哪个 JavaScript 库并不重要,因为它可以通过任何方式调用底层 Websphere Commerce 命令...既然您已经熟悉 DWR,我建议您使用它,而不是使用 DOJO,我觉得 DOJO 很麻烦与 jQuery 相比。

I haven't tried DWR yet but have used DOJO and jQuery both and on Websphere Commerce. IMO it doesn't matter which JavaScript library you use since it is any way going to call underlying Websphere Commerce Commands... Since you are already familiar with DWR I would suggest you to go with that instead of using DOJO which I feel is cumbersome compared to jQuery.

情绪 2024-08-13 21:29:05

与 WebSphere Commerce 的许多方面一样,坚持使用 OOB Dojo 实现的主要(/唯一)原因是 IBM 销售团队。

如果你偏离了 IBM 的指导方针,你的 CEO 会去参加一些商业开放日,看到一些奇特的 3D 动画购物篮,然后决定他必须花一些可耻的钱来购买最新的功能包,而你将成为一个可怜的笨蛋,解释说他刚刚花钱买的奇特的 3D 动画购物篮不起作用,因为它与某某页面上的 jQuery 操作相冲突等等。

我觉得在技术网站上提供政治答案很肮脏。也许我已经转向了黑暗面……但我也曾加入过一些团队,他们放弃了 Dojo,转而使用(当时)精简得多的 jQuery 库,并目睹了后来政治大屠杀的展开……

As with many aspects of WebSphere Commerce, the main (/only) reason to stick with their OOB Dojo implementation turns out to be the IBM sales team.

If you stray outside the IBM guidelines your CEO will go to some Commerce open day and see some whizzy 3D animated shopping basket and decide that he must spend some obscene sum of money to buy the latest featurepack and you'll be the poor sap who has to explain that the whizzy 3D animated shopping basket that he's just forked out for won't work because it conflicts with the jQuery actions on such-and-such page etc. etc.

I feel dirty offering the political answer on a technical site. Perhaps I have been turned to the dark side... But I've also been on teams that have ditched Dojo for the (at the time) far leaner jQuery libraries and watched the political carnage unfold later...

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