Open lorenzogrv opened 10 years ago
Coming from a markdown file on the old doc folder:
The intends of the iai api is maximizing the reusability of every project's code while minimizing the impact of any change on any application component.
The api must produce scalable applications consisting in a set of easy redistributable components.
Obviously this is a really bad definition, I'm posting it here only to delete that file :laughing: and preserve the idea as it comes from a far past.
While writing the Goals document, the following content from the old readme file does not make sense in it:
Asynchronous batch processing
Forget the sync code logic. Each action is an async task. Each task is a function. Each function is pushed to a heap and is called as soon as is posible on the next loop around the event loop (aka. process.nextTick), once the previous task has been completed (aka. "first in, first out").
This does not have sense. both sync and async flows exist, and are strategies to solve problems. That said, the heap thing is another valid strategy to manage sequences of asynchronous tasks. Any way it does not belong to the goals, it's more a like a Dessign Pattern / Object Type
iai must produce scalable applications consisting in a set of easy redistributable components.
That seems a pretty good definition, but sounds more like a requeriment?
More thoughts on the goals document.
Maybe the above sentence could be rewritten to reflect the fact that iai should work with this kind of applications an components, whose arrangement and distribution is unsure.
This seems like a good start point for #4, working with the unknown.
Pretty happy with the current Goals document. Let's conclude aside on an Overall Analysis #4 .
After reviewing the document again I decided to improve specially the code conventions section and slighly the *life cycle" section.
EASE DEBUGGING!!!!
Amazing post about node-inspector
by the nodejitsu team.
http://docs.nodejitsu.com/articles/getting-started/how-to-debug-nodejs-applications
So the whole thing is a big goal: maintain the attitude, that connects the idea and philosophy with the goals document. The goals document should explain how it's supossed the program will help on maintaning the attitude.
TODO
Methodology driven + agile is the same, refactor that