在Redis的经典ASP(VBScript)的 [英] Redis under Classic ASP(VBScript)

查看:917
本文介绍了在Redis的经典ASP(VBScript)的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发展下的经典ASP(espeically VBScript)的网站。为了提高网站性能,我正在考虑使用Redis的(键 - 值数据库)。从 http://redis.io/clients ,没有使用VBScript没有客户。作为一个研究,我必须开发一个服务/ COM,以适应我的要求。

I'm developing a website under Classic ASP(espeically VBScript). To enhance site performance, I'm considering to use Redis(key-value database). From http://redis.io/clients, there is no client with VBScript. As a research, I have to develop a service/COM to fit into my requirement.

有谁有这样的经历?或者你可以分享一些code /提示。非常感谢。

Does anybody has such experience? or maybe you can share some code/tip. Thanks a lot.

推荐答案

我已经研究了同样的memcached的/ couchbase。

I have researched the same for memcached/couchbase.

您有几个选择:你可以​​找一个JavaScript(Node.js的?)实现。传统的ASP也可以用JavaScript编写的,而不是VBscript的。这可能是可能的端口code到传统的ASP。

You have a few options: you can look for a javascript (node.js?) implementation. Classic ASP can also be written in javascript instead of VBscript. It might be possible to port the code to classic ASP.

我会建议你使用WSC来封装code。一个WSC就像一个COM组件,除了写在VBScript或JScript。你可以用它完全像一个COM对象,但你可以动态地改变code,无需重新注册它每一次。下面是一些更多的信息:

I would advise you to use a WSC to encapsulate the code. A WSC is like a COM component, except written in vbscript or jscript. You can use it exactly like a COM object, but you can dynamically change the code without re-registering it every time. Here is some more info:

http://aspalliance.com/414_Windows_Scripting_Components_WSC_in_ASP
http://$p$pcompiled.word$p$pss.com/2007/11/26/hmac-sha1-encryptie-onder-classic-asp/

(请注意,链接到WSC的不再工作,但也有反射镜评价)

http://aspalliance.com/414_Windows_Scripting_Components_WSC_in_ASP http://precompiled.wordpress.com/2007/11/26/hmac-sha1-encryptie-onder-classic-asp/
(note that the links to the WSC's no longer work, but there are mirrors in the comments)

您可以采取第二条路径是要找到一个.NET客户端和COM包装包裹。如果你有源$ C ​​$ C和Visual Studio应该可以揭露.NET组件的COM。上一些更多的信息是在这里:

The second path you can take is to find a .NET client and wrap it with a COM wrapper. If you have the source code and Visual Studio it should be possible to expose the .NET component as COM. Some more info on that is here:

http://msdn.microsoft.com/en-us/library/ ms404285.aspx

祝你好运!结果
埃里克

Good luck!
Erik

这篇关于在Redis的经典ASP(VBScript)的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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