正在学习 Caché数据库很难来自关系数据库和像Delphi这样的面向对象编程语言吗?
我目前正在我的系统上运行本地版本的Caché,以确定我是否可以(并且将会)承担一个新的可能项目。
当前项目使用Delphi 7作为前端,调用Caché dll,其中业务逻辑存储在数据库中。
我有 Sqlserver 和 Firebird(以及在 Access 和 Paradox 之前)作为数据库的背景。
我 95% 的 Windows 开发都使用 Delphi 7,因此我了解对象编程。
我希望收到使用过 Caché 和 SqlServer、Firebird 或 Oracle 并使用 Delphi(或 C++ 或 C# - 一种面向对象语言)开发的人员的意见。
我已阅读过以下文章的优点和缺点其他问题,但我不是要问这个,我需要 Caché 开发人员的意见。
提前致谢。
I am currently running the local version of Caché on my system in order to determine if I can (and will) take on a new possible project.
The current project uses Delphi 7 as a front end calling a Caché dll where the business logic is stored in the database.
I have a background of Sqlserver and Firebird (and before Access and Paradox) as databases.
I use Delphi 7 for 95% of my Windows development, so I know about object programming.
I would like to recieve opinions from persons having used Caché and either SqlServer, Firebird or Oracle and having developed in Delphi (or C++ or C# - an object oriented language).
I have read the pro's and con's from other questions, but I am not asking for this, I need input from Caché developers.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我对这个对象数据库很好奇。我在他们的网站上没有看到任何关于 Delphi 用户使用此数据库的参考。他们确实提到他们有一个 COM 接口,这可能比原始 C 风格的 API 更容易(如果他们也有的话),因为至少字符串缓冲区分配/管理和你的包装器代码有望更简单。
但是,您将无法连接到数据感知控件,因此我计划做很多“自己动手”的工作。我的直觉是,您可能是地球上唯一使用 Delphi 和该数据库的人。不过,Delphi 在开发工具世界中只是一条小鱼,所以这可能只是关于 Delphi 的一个事实,而不是关于 Cache 的一个事实,顺便说一句,这是一个可怕的不可在 Google 上搜索到的技术名称。
I am curious about this object database. I don't see any reference to Delphi users with this database on their web site. They do mention they have a COM interface, which might be easier than a Raw C style API (if they also have that) because at least string buffer allocation/management and your wrapper code will hopefully be simpler.
However, you will have no way of connecting to data aware controls, so I would plan on doing a lot of "roll your own" work. My intuitive opinion is that you might be the only guy on the planet using Delphi with this database. Delphi is a small fish in the development tools world though, so that might just more be a fact about Delphi more than a fact about Cache, which is a horribly NON-Googlable technology name, by the way.
您可以通过谷歌搜索 Intersystems 找到有关 Caché 的信息——这确实是最好的方法。您还可以使用该语言的旧名称 MUMPS 进行搜索。
当我刚从大学毕业开始研究 Caché 时,我对它一无所知,而且我不认为它有那么难学。与大多数脚本语言一样,最好通过在终端中尝试并学习自己的方式来学习。
此外,Caché 具有内置的 SQL 映射系统,因此您可以让它在外部表现得像关系数据库,但仍然在幕后利用一些强大的非关系概念。
You can find information about Caché by googling for Intersystems--that's really the best way. You can also search under the old name of the language, MUMPS.
I knew nothing about Caché when I started working on it fresh out of college, and I don't think it was that hard to learn. Like most scripting languages, it's best to learn by trying things out in the terminal and learning your way around.
Also, Caché has a built-in SQL mapping system so that you can have it behave like a relational database externally but still leverage some of the powerful non-relational concepts under the hood.
我不久前工作的公司使用 Caché,他们有很多使用 Caché 和 delphi 的项目。事实上,他们使用 VISM.OCX 只是为了连接并向数据库传递参数(PLIST 变量等),但在任何时候他们直接从应用程序运行任何 M 命令到数据库,只需调用例程即可。
了解它并不难,但现在我们要离开它了!除了 Caché 的速度快得令人难以置信之外,缺乏工具和支持并不使他成为当今的一个不错的选择……甚至有传言称 Intersystems 正在“离开”caché 并在新系统中工作。
The company that I worked just a little time ago uses Caché and they have a bunch of projects using Caché and delphi. In fact, they uses the VISM.OCX just to connect and pass parameters to database (PLIST variable and such) but in any time they run any M command directly from application to DB, just call the routines.
Is not that hard to learn about it, but in nowdays we are leaving it! Beside Caché is incredibly fast, the lack of tools and support don't makes him a good option in nowdays...even there's a rumour that intersystems is "leaving the boat" of caché to work in a new system.
我已经研究 2008 Caché 版本几个月了。可以学习\使用,但非常不愉快。 IDE 非常简单,并且对错误没有帮助(它甚至不会发现区分大小写的语法问题,直到运行时崩溃为止)。与 SQL Server 或 MySql 上的信息量相比,文档非常糟糕,而且网上没有任何内容。而且你正在学习的东西可能对你未来的职业生涯没有多大帮助。就我个人而言,如果有其他选择,我会避免任何使用 Caché 的项目。
I have been working on the 2008 Caché version for a few months now. It's possible to learn\use, but extremely unpleasant. The IDE is simplistic and unhelpful with errors (it doesn't even pick up case sensitive syntax problems until it crashes at runtime). The documentation is terrible and there's nothing online, compared to to the amount of information on SQL Server or MySql. And you're learning something that probably won't be of much help in your future career. Personally, I would avoid any project that uses Caché if you have any alternative.
朋友,有两种方法可以通过Delphi访问Caché,这是巴西朋友的个人项目,他们正在开发一个免费的Caché面向对象框架。
我告诉你,你不仅将 Caché 与 Delphi 一起使用,但我不推荐。最好是使用 CSP 页面,或者使用一些更好的语言,如 C# 或 C++。我与 CSP 合作了很多,并向您推荐。毕竟,请记住,互联网就是一切。
我可以给你发一些例子 - 我想我家里就有 - 只要给我发消息即可。
成功
Friend, there are two ways to access Caché via Delphi, and is a personal project of Brazil - friends - who are developing a framework for free Caché Object Oriented.
I tell you, you're not only using Caché with Delphi, but I do not recommend. The best would be to use CSP pages, or use some better language like C # or C + +. I worked a lot with CSP and recommend to you. After all, remember, the Internet is all.
I can send you some examples - I think I have at home - just send me a message.
Sucess