david abdala nómade soft srl oera in practice: nsra
TRANSCRIPT
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions
OERA in practice: NSRA
Why building a full framework There wasn't a framework that fullfils all our
requirements. There wasn't OOABL frameworks to use. Previous experiences in migrations with third party
frameworks failed.
OERA in practice: NSRA
Goals of the framework Storage independent Oriented to services Applications common requirements already solved
Report generation / retrieval / printing Background execution Security Global data filters
Familiar to ABL programmers Low migration impact
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions
OERA in practice: NSRA
Theory Layers
Design time VS runtime
Data entity VS business entity PDS role and TMTT issue
OERA in practice: NSRA
PDS role and TMTT issue ProDataSet role
Is the “glue” of the Data Entity, inside the Business Entity.
Used by proDataSource for filling and saving.
Never destroyed. Has as many
business objects instances as
required simultaneously
Searches for an unused instance. If
none available a new one is
instantiated.
Once finished, the requested objects
are “returned” to the broker.
OERA in practice: NSRA
PDS role and TMTT issue Too Many TempTables issue
Requests a business object to the object
broker.
Searches for the factory of the
requested object. If not available instantiates it.
Has as many factories as different business objects had
been instantiated
Usually never destroyed, reused in
every service request.
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions
OERA in practice: NSRA
Business Layer Define the data entity Define the business entity main class Define the business entity satellite classes
OERA in practice: NSRA
Data Source LayerReferential integrity rulesFilling logicSaving logicCompatibility & migration
OERA in practice: NSRA
Service LayerRequired servicesService packages (.p) and service logicService configuration and security
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions
OERA in practice: NSRA
Common Infrastructure Layer Background Manager Context Manager Expression Parser Report Manager Security Manager Session Manager Template Parser
OERA in practice: NSRA
Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions