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

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

Transcript of David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

Page 1: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

David Abdala

Nómade Soft SRL

OERA in practice: NSRA Workshop

Page 2: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Background Theory Common Infrastructure Layer Exercises Writing applications Do it!

Page 3: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

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

Page 4: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Background Theory Common Infrastructure Layer Exercises Writing applications Do it!

Page 5: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Theory Layers

Design time VS runtime

Data entity VS business entity PDS role and TMTT issue

Page 6: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Layers Design time VS runtime

Page 7: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Data entity VS business entity

Page 8: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

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.

Page 9: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

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.

Page 10: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Background Theory Common Infastructure Layer Exercises Writing applications Do it!

Page 11: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Common Infrastructure Layer Background Manager Context Manager Expression Parser Report Manager Security Manager Service Manager Session Manager Template Parser

Page 12: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Background Theory Common Infrastructure Layer Exercises Writing applications Do it!

Page 13: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

BI BE BPOMI ME MPOCI CE CPO

Level \ P.space Items Employee Purchase OrderBasicMediumComplex

For people with no OO knowledge the Basic row is best (BI,BE,BPO).

For people with little OO knowledge the reverse diagonal is best (BPO,ME,CI).

People with good OO knowledge should be ok with the main diagonal (BI, ME, CPO).

People that likes to suffer will be happy with Complex row (CI,CE,CPO).

Page 14: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Background Theory Common Infrastructure Layer Exercises Writing applications Do it!

Page 15: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Writing Applications Defining TEMP-TABLEs Writing business entities Writing services Writing DSOs Writing the client

Page 16: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

TEMP-TABLEsWhere to define themWhat kind of fields, with what namesHow to use them

Page 17: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Business Layer Define the data entity Define the business entity main class Define the business entity satellite classes

Page 18: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Service LayerRequired servicesService packages (.p) and service logicService configuration and security

Page 19: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

Data Source LayerReferential integrity rulesFilling logicSaving logicCompatibility & migration

Page 20: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

OERA in practice: NSRA

XUL clientWriting itTransformation to other clients

Page 21: David Abdala Nómade Soft SRL OERA in practice: NSRA Workshop.

Now, Do It!

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

OERA in practice: NSRA Workshop