7.
What we find in legacy apps: profile documents
Disadvantages
• You cannot see them without
using tools
• You can edit and create them
only programmatically
• Sometimes replication issues
• Unwanted Caching ;-)
Advantages
• Quick access without using
lookup views
• Caching

8.
What we missed in many cases
DatabaseScript != Global Declarations
Encapsuled, no access from outside
(except Database Events)

9.
Performance-Killer
Numerous usage of those formulas slow down the app
one of many...

13.
Preparation: Java Beans
• 3 Classes:
• DatabaseProfileBean
• AppConfigBean
• UserProfileBean
• The DatabaseProfileBean initializes the document if
it doesn‘t exist
• The UserProfileBean initializes the document when
the user saves it for the first time

15.
Digression: Bean Scopes & Lifecycles
•Request
• Lives beginning with the request to creation of the response
•View
• Within a page until changing the page, even during partial
refreshes
•Session
• Per user session
•Application
• During the life time of th application (after 30 minutes it is
dropped by default)

25.
Facetted Search
„Faceted search, also called faceted navigation or faceted browsing,
is a technique for accessing information organized according to a
faceted classification system, allowing users to explore a collection of
information by applying multiple filters.“
http://en.wikipedia.org/wiki/Faceted_search