Next: Real-World Application Examples, Previous: Elephant as Database, Up: Design Patterns
Web applications can exploit all of the patterns described in previous sections. Each server thread can have transactional access to objects encapsulating user data, commercial transactions, database data, etc. Users can formulate queries against objects and get html rendering of the result views.
The most important characteristic of Elephant in these settings is
that instances and store-controller
objects in versions 0.9 and
greater are automatically thread-safe. The only consideration in
these cases is transaction design.
NOTE: What are common wrappers for Elephant that come up in web applications? Presentation functions?
NOTE: Should this section be supplanted by a full application example which uses most of the patterns above?