Prev | Current Page 451 | Next

Kevin Marshall, Chad Pytel, and Jon Yurek

"Pro Active Record: Databases with Ruby and Rails"

You can
learn more about Kansas at http://enigo.com/projects/kansas.
Criteria: Criteria is a little-known library designed to abstract the querying of various data
sets. The idea is that regardless of what your data store is (a database, a flat file, or an array
of Ruby objects for example) you can perform the same query without having to alter your
code. You can learn more about Criteria at http://mephle.org/Criteria.
Lafcadio: Lafcadio is another ORM designed specifically for use with the MySQL database.
You can learn more about Lafcadio at http://lafcadio.rubyforge.org.
LDAP and flat files: LDAP stands for Lightweight Directory Access Protocol, and while there
are other directory services available, LDAP is the most commonly used one today. Basically,
LDAP allows you to search directories like SQL allows you to search databases. As you can
imagine, there are a lot of design issues that go into building a LDAP application, all of which
are out of scope for this book. However, it should be noted that there are many times when
using LDAP may be a smarter choice than Active Record for your application (if you are building
a contacts application to run on your local computer for example).


Pages:
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463