schmittjoh/metadata — pull request #20 by jstout24 (2012-12-15 22:31:19+00:00)
Title: [WIP] Advanced metadata implementation.

This is a work in progress in attempt to fix #19

Before I head to a holiday work party, I wanted to push what I've got so far, only because I have a few questions pertaining to it.

I was crunching it all together just to get it done real fast.

In this attempt, I was going to make it up to the driver to return the class name, but once I got to the FileDriver, and after looking at the old ones, it looks as if metadata files need to be named according to the class it pertains to (with or without the prefix). Which makes me feel that instead of just returning all files that match for the driver, to instead parse suggested class names from the file name / prefix known to the driver.

What do you think @schmittjoh ?

We can then talk about if we should put a warmupCache method or something in the abstract driver to actually cache metadata and such.

None-the-less, this should be a step in a positive direction as far as this library is concerned I'd say.

Happy holidays!