Download List

项目描述

db-backed is a Ruby library providing a convenient
mechanism for describing objects bound to a
backing database. This relieves the programmer
from much of the tedium associated with writing
programs with DB access. Instead of spending a lot
of time working on code that reads data from the
database, code that stuffs it into useable objects,
remembering whether a particular piece of data
lives in the database or not, etc., db-backed
allows the programmer to simply design their
database schema (with a few constraints), and
write a very simple class definition which describes
the mapping between database fields, class
methods, and foreign key mappings.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2003-04-22 18:57
1.0c

这个版本增加了有能力支持的数据库(模块)单独的命名空间的类。富::酒吧将适当缩减到酒吧。
标签: Minor bugfixes
This version adds the ability to have DB backed classes in separate namespaces (modules). Foo::Bar will be properly trimmed to Bar.

2003-02-25 03:33
1.0b

在DBBackedClass#散列方法与对象的散列方法,它应该返回一个唯一的哈希冲突。因此,它被重新命名为哈希表,更明确,更安全。
标签: Minor bugfixes
The DBBackedClass#hash method conflicted with Object's hash method,
which should return a unique hash. Therefore, it's been renamed to
hashtable, to be more explicit and safer.

2003-02-07 20:19
1.0

这是一个比0.9小的变化。有些东西已经被修复,以及可选的WHERE子句已扩展至更广泛的修饰符第(当实例化对象)。这可能不会对任何你在写代码的影响。
标签: Minor bugfixes
This is a minor change over 0.9. Some things have been fixed, and the optional WHERE clause has been extended to a more general modifier clause (when instantiating objects). This will probably have no impact on any code you've written.

2002-12-29 03:12
0.9

类现在可以宣布缓存。由record_id所有实例将通过缓存(fetchAll(),随机()和backref提取不会,但结果将被缓存以供将来使用如前所述)。
标签: Minor feature enhancements
Classes can now be declared cacheable. All instantiations by record_id will pass through cache (fetchAll(), random(), and backref fetches will not, though the results will be cached for future use as previously explained).

2002-12-17 00:08
0.8

这个版本增加了一个安装程序(install.rb)随着计算能力的一个DB支持级存储(Track.count),并能够获取一个随机的实例(Track.random)。
标签: Minor feature enhancements
This version adds an installer (install.rb) along with the ability to count a db-backed class store (Track.count) and the ability to fetch a random instance (Track.random).

Project Resources