iemejia / catho

A file catalog utility inspired by the awesome Robert Vasicek's Cathy project. Or my excuse to hack something that I really need.
GNU Lesser General Public License v3.0
6 stars 1 forks source link

Refactor internal representation #23

Open iemejia opened 11 years ago

iemejia commented 11 years ago

Remove the global catalogs variable and put it in an object Create class for the DAO operations (maybe the same)

iemejia commented 11 years ago

The idea now is to have one class DAO like for the DB operations And a second one for the concrete filesystem operations Refactor must pass the test suite (and rewrite the tests if necessary)

iemejia commented 11 years ago

I have just pushed a commit of a refactor that vastly helps to simplify this.

iemejia commented 11 years ago

We have to discuss how to provide this as a reusable API for other services (e.g. a webpage)