intellimate / Izou

A home automation API for the Raspberry Pi in java. javadoc: http://intellimate.github.io/Izou/apidocs/overview-summary.html
Other
5 stars 0 forks source link

Create a specification and Interfaces #16

Open LeanderK opened 9 years ago

LeanderK commented 9 years ago

The current state of affairs is rather messy.

Often our implementation is our specification and things are undocumented. We should write a real specification and separate specification and implementation. Also to shrink the project-size we should move the implementation to a separate Project (IzouAddonSDK). To make this work we would have to modularize various Parts of Izou. Out current Dependency-graph is horrible, every module has a dependency on every other module. This leads to a more fragile system wich is hard to maintain and not easy to test.

There are various benefits:

Drawback:

The goal of this proposal is:

Release: Everything we add to Izou makes this proposal harder to implement. Therefore it is rather urgent. The problem is that it breaks backward compatibility, so the targeted release is at least 2.0. Also it is much work so, which should not to be underestimated. This proposal is crucial for a serious project of this complexity, so before we should not loose sight of it.

LeanderK commented 9 years ago

@jundl77 comments?

jundl77 commented 9 years ago

yes yes I saw it, definitely something we need

jundl77 commented 9 years ago

Actually, I think this should be our big goal for v2.0, with maybe a couple more addOn's

LeanderK commented 9 years ago

nearly finished! there is only the properties-package left and the few additions to the classloader! :) @jundl77 can you tackle it?

LeanderK commented 9 years ago

more precisely:

jundl77 commented 9 years ago

haha I like the party, and 2.0 haha big steps fast :dancer:

jundl77 commented 9 years ago

yes the properties container is bad, ill turn it into a listener, actually we already have a listener for property files, maybe we can combine them :D

LeanderK commented 9 years ago

in a few minutes i will have some time to spare & internet. Any issues/obstacles so far? If you have made progress in the SDK-part, can you upload it? I think/hope i can update my add-ons on the road (doing things without google is not that easy :D )

jundl77 commented 9 years ago

I am working on it right now, I'll probably be done with the properties stuff in 30min to an hour (wir trinken grad kaffee haha) - but also I think we should update some javadoc :P

LeanderK commented 9 years ago

i think the specification of izou is stable now...the last change was weeks ago (i think over a month). We have to work on the javadoc, but i think its improving.