toothache icon indicating copy to clipboard operation
toothache copied to clipboard

Input Needed from Community: Possible Replacement

Open kidtronnix opened this issue 10 years ago • 1 comments

I want input from all that are using actively using this module, as well as anybody who cares to venture an opinion.

Possible Replacement

I am thinking of deprecating this module as I have found a better solution, IMO.

I have been using https://github.com/jedireza/hapi-mongo-models for a little while now and have found the following:

  • It is a little 'closer to the metal'. Meaning, it is easier to add custom functionality.
  • The solution works for more use cases.
  • It is really well maintained.

The only benefit i see in my package is 'out the box' CRUD response handlers. But as any business logic would belong here I don't think that is a long term benefit.

I am thinking about deprecating toothache and possibly adding 'out the box' handlers to hapi-mongo-models if required.

What do you guys think?

kidtronnix avatar Feb 10 '15 01:02 kidtronnix

I just picked up toothache yesterday, and while it has allowed me to get up to speed quickly, I can see your motivation. Having out of the box CRUD mechanisms is incredibly useful, but could well be implemented as a an extended Model of the hapi-mongo-models BaseModel class.

rtibbles avatar Feb 11 '15 18:02 rtibbles