Télécharger la liste

Description du projet

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.

Système requise

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

Cette version ajoute la possibilité d'avoir soutenu DB classes dans les espaces de noms distincts (modules). Foo:: Bar sera bien garni en bar.
Tags: 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

Le DBBackedClass # méthode de hachage en conflit avec la méthode de hachage de l'objet, qui doit retourner un hash unique. Par conséquent, il a été renommé en hashtable, pour être plus explicite et plus sûr.
Tags: 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

C'est un changement mineur de plus de 0,9. Certaines choses ont été fixées, et la clause WHERE facultative a été étendu à une clause plus générale de modification (lors de l'instanciation des objets). Cela n'aura probablement pas d'impact sur tout code que vous avez écrit.
Tags: 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

Les classes peuvent maintenant être déclarées en cache. Toutes les instanciations par record_id traversera cache (fetchAll (), random (), et récupère backref ne sera pas, bien que les résultats seront mis en cache pour une utilisation future comme expliqué précédemment).
Tags: 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

Cette version ajoute un installateur (install.rb) ainsi que la capacité de compter une db-backed magasin classe (Track.count) et la capacité d'aller chercher un exemple au hasard (Track.random).
Tags: 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