david abdala nómade soft srl oera in practice: nsra

24
David Abdala Nómade Soft SRL OERA in practice: NSRA

Upload: brad-smailes

Post on 11-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

David Abdala

Nómade Soft SRL

OERA in practice: NSRA

OERA in practice: NSRA

Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions

OERA in practice: NSRA

Background Why building a full framework Goals of the framework

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

Layers Design time VS runtime

OERA in practice: NSRA

Data entity VS business entity

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

Writing Applications Business Layer Data Source Layer Service Layer Client

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

ClientClient logicnsXUL: Nómade Soft XUL framework

OERA in practice: NSRA

Background Theory Writing applications Runtime Behaviour Common Infrastructure Layer Questions

OERA in practice: NSRA

Runtime Behaviour

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

OERA in practice: NSRA

Questions

Thank You

Nómade Soft SRLwww.NomadeSoft.com.ar/nsra