请分享您使用 JavaScriptMVC 的经验以及替代方案

发布于 2024-07-25 09:00:12 字数 291 浏览 9 评论 0原文

我一直在阅读 JavaScriptMVC 框架的文档,它看起来很有趣。 我想知道这里是否有人使用过该框架,以及取得了什么成功。

因此,如果您有的话,请分享您使用 JavaScriptMVC 的经验。 如果您可以推荐另一个 MVC javascript 框架,那就太好了。

最好的问候,埃吉尔。

I have been reading through the documentation on the JavaScriptMVC framework and it looks interesting. I am wondering if anybody here has used the framework, and with what success.

So please share your experience with JavaScriptMVC, if you have any. If you can suggest another MVC javascript framework that is fine to.

Best regards, Egil.

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

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

发布评论

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

评论(4

风吹雨成花 2024-08-01 09:00:27

JavascriptMVC 是轻量级的、简单的、不引人注目的。 我们对此有很好的经验。

JavascriptMVC is lightweight, simple, non-obtrusive. We've had good experience with it.

一笑百媚生 2024-08-01 09:00:25

我没有使用 JavaScriptMVC 的经验,但我的两点意见是:我的背景主要是 C++/Java,尽管如此,我已经进行 Web 编程一年了,主要是 ActionScript,但也有服务器端 Java、JavaScript、CSS 等。 我最近开始了一个 Javascript/DWR 项目,并且正在使用 PureMVC,我已经在我的 flex/actionscript 作品中使用并喜欢它。 顺便说一句,PureMVC 是 Fl​​ex/Actionscript 中最流行的 MVC。 它还已被移植为数十种语言,并且自其构思以来就考虑了与语言无关的方法。

您可能知道 ActionScript 3 和 javascript 的语法非常相似,因此很容易从一件事跳到另一件事。 因此,我认为这对您检查 PureMVC 是有好处的。

I have no experience with JavaScriptMVC, but here goes my two cents: My background is mostly C++/Java nonetheless I have been doing web programming for a year now, mostly actionscript, but also server side java, and javascript, css, and so on. I've been initiated in a Javascript/DWR project recently and I'm using PureMVC, which I already use and like on my works on flex/actionscript. PureMVC is the single most popular mvc for flex/actionscript btw. It also has been ported for dozens of languages and since its conception had a language agnostic approach in mind.

You might be aware of how similar the syntaxes of actionscript 3 and javascript are, so it's really easy to jump from one thing to the other. Therefore I think that would be one point in favor for you checking PureMVC out.

罗罗贝儿 2024-08-01 09:00:23

我没有 JavascriptMVC 经验。 然而,另一个真正著名的 Javascript MVC 框架是 ActiveJS http://www.activerecordjs.org/ ,它的出现大约一年前。 它是由 Aptana 制作的,Aptana Studio 和 Jaxer(服务器端 javascript)。 我确实相信这可能会更有价值,因为 Jaxer 是一项令人惊叹的技术,所以我毫不怀疑 Aptana 对此进行了很多思考。

我还使用一个名为 Ajaxy 的 jQuery 项目,它为我自己的项目中的 Ajax 请求提供控制器。 http://github.com/balupton/AJAXY/

I have no experience with JavascriptMVC. However another really famous MVC framework for Javascript is ActiveJS http://www.activerecordjs.org/ which came out about a year ago. It's by Aptana the people who make Aptana Studio and Jaxer (server side javascript). I do believe that would probably hold more merrit as Jaxer is amazing technology so I have no doubt Aptana have thought about this a lot.

I also use a jQuery project called Ajaxy which offers Controllers to Ajax requests in my own projects. http://github.com/balupton/AJAXY/

以为你会在 2024-08-01 09:00:19

我喜欢 JavaScriptMVC。 当然,我是一个贡献者。 许多人已经使用 JavaScriptMVC 取得了成功(主页上列出了一些人)。 我已经在 10 万行代码项目中使用了它,还为我朋友的父母制作了简单的页面。

当我们提供相关培训时,我可以看出它需要改变您对应用程序架构的看法,特别是它对瘦服务器架构的关注。 这也是另一套需要学习的“规则”。 但最棒的是,如果您和您的团队学习并遵循这些规则,那么维护和修复其他人的代码就会变得非常容易。

I love JavaScriptMVC. Of course, I am a contributor. Many people have had success with JavaScriptMVC (a few are listed on the homepage). I've used it on 100k lines-of-code projects to simple pages I've made for my friend's parents.

When we give trainings on it, I can tell it requires a shift in how you think about application architecture, specifically with it's focus on Thin Server Architecture. It also is another set of 'rules' to learn. But the great thing is that if you and your team learn and follow these rules, it becomes really easy to maintain and fix other people's code.

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