Marklogic是否有编写JavaScript代码的框架? [英] Is there any frame work for Marklogic to write javascript code?

查看:74
本文介绍了Marklogic是否有编写JavaScript代码的框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Marklogic,这是一个NoSQL数据库和功能强大的服务器引擎.我以前使用* .xqy文件编写代码,但是marklogic 8的高级功能是可以直接编写javascript代码.为了更快地在数据库中搜索,我想将xquery项目移植到javascript项目.但是没有现有框架来构建我的项目.实际上,我在我的xquery项目中使用了Roxy框架.而且我需要用于javascript的相同MVC框架.

For Marklogic, it's a NoSQL db and powerful server engine. I use *.xqy file to write code before,but marklogic 8 has an advanced function is that it can write javascript code directly.For more speed to search at database, I want to transplant the xquery project to javascript project.But there is no existing frame to build my project. Actually, I was use the Roxy frame for my xquery project. And I need the same MVC framework for javascript.

推荐答案

在这里有很多需要解开的地方.

There’s a lot to untangle here.

首先,用XQuery和JavaScript编写的等效功能之间的运行时性能差异可以忽略不计.我建议您在其他因素之间进行权衡时,要权衡其他因素.例如,您的开发人员将最有生产力吗?语言生态系统的哪些部分与您相关?您的数据主要是XML还是JSON?

First, the runtime performance differences between the equivalent functionality written in XQuery and JavaScript will be negligible. I’d suggest you weigh other factors more heavily when deciding between them. For example, what will your developers be most productive with? What parts of the language ecosystem will be relevant to you? Is your data primarily XML or JSON?

对于 Roxy ,目前在JavaScript世界中没有等效的功能.如果您有兴趣创建叉子,我相信社区会愿意提供指导.

As for Roxy, there currently isn’t an equivalent in the JavaScript world. If you’re interested in creating a fork, I’m sure the community would be willing to offer guidance.

这篇关于Marklogic是否有编写JavaScript代码的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆