Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
390 additions
and
336 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
doc/Introduction.mdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Use Cases | ||
|
||
The following use cases are provided to show how Zero will make life better. | ||
|
||
### Logging | ||
|
||
Logging is a classic example of Object-Oriented programming falling short. You want to log everything, or lots of stuff, so you can see where a program breaks. However, log statements clutter up your code significantly. Logging is a common example for Aspect-Oriented programming, which is mostly impossible in AS. | ||
|
||
|
||
|
||
|
||
|
||
|
||
* When testing, pass in mock implementations to a class | ||
* Switch to a mock server connection at runtime (a checkbox) | ||
* 4 different views of a list of users. Invisible ones are inactive and don't receive updates | ||
* When a module is unloaded it is deactivated and GC'd | ||
* Give a particular view a unique implementation | ||
* Give a particular class a unique implementation | ||
* Give a set of views/classes a unique implementation | ||
* Proxy all service requests, to convert xml data to strongly typed data before returning | ||
* Log all requests in the system without requiring the implementations to know about it | ||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.