Keesaco / KeesaFlo

A cloud-based flow cytometry web application
Other
6 stars 0 forks source link

Create logging API #96

Closed McCrea closed 10 years ago

McCrea commented 10 years ago

Abstract the google 'logging' API into a PAL/API.

mrudelle commented 10 years ago

What would be the benefit of such an API?

notchris1 commented 10 years ago

well, its consistency isn't it. as i see it, the app is written using a PAL/API architecture, why make exceptions?

McCrea commented 10 years ago

Consistency alone, in my view, is a poor reason for using an API. The reason we use the PAL/API model is to introduce platform independence. Currently, if you tried to run the application on, say, Amazon web services, the use of the logging API would fail, because it's a Google API. By abstracting the Google API and using our own, we can be sure that to move to another platform, one must only rewrite the Platform Abstraction Layer (i.e. the PAL files).

I've assigned myself, I expect to have it finished by 4am on the 10th.