Object-Oriented ABL Techniques

This group will serve as a focal point for discussions, examples, and projects intended to help people utilize the object-oriented language features which became available in OE10.1. The intention is to:
1) Develop established object-oriented design principles in a way that is consistent with a 4GL;
2) Provide OO-based contributions to OERA-compliant architectures; and
3) Assist in the utilization of OO techniques in the context of existing procedural code.
Contributions to this purpose will include white paper discussions, code fragments illustrating techniques, and complete model components to use in building applications.


Profiler

Profiler

OEUnit results view docked in OpenEdge Architect

OEUnit results view docked in OpenEdge Architect

OEUnit results view docked in OpenEdge Architect - Different possible results


OEUnit results view docked in OpenEdge Architect

OEUnit results view docked in OpenEdge Architect

OEUnit results view docked in OpenEdge Architect - Results from running a simple test case.


How to multi thread in Progress on Unix

How to multi thread in Progress on Unix


.NET + OpenEdge Webservices using ProDataSet

We are trying to create an application with a thought of SOA, for this we
have selected .Net UI and progress web services using prodataset.

Problem is that .net client is not able to find prodataset reference in
services which are taking dataset as input parameter (they need to create
an object of that type to pass to this service).


Using Object Oriented Programming For Custom Programming In A SaaS Application

In the SaaS world, often customers will want their own customizations into the source code specific to how they want to do business with your software.

Here is a point where object oriented programming stands out. By crafting your programming in such a way that basic functionality is enhanced - you can use different classes specific to particular customers for enhanced implementation.

Since we are going to potentially be using one of multiple classes, we need to have an interface describing the methods available in the class.


OEUnit - Unit Testing Framework 1.1-beta

Download: OEUnit-1.1-Beta.zip
Size: 250.24 KB
md5_file hash: b375eac341ea29c3ba8ac8d82ee4274a
First released: Sat, 2009-03-28 01:11
Last updated: Sat, 2009-03-28 01:09

Updated to work with OpenEdge 10.2A

OEUnit is a unit testing framework for Object Oriented ABL (OOABL). OEUnit is intended to help write and run repeatable unit tests. OEUnit is similar to JUnit and other xUnit-based unit testing frameworks.


OOP Mail Classes in Progress ABL/4GL Available

A new library of Amduus Classes I am putting together includes some code for sending email in Progress 10.1a or better programs.

Example call in HTML with embedded images and an attachment.

define variable M as com.amduus.mail.MailBySendmail no-undo.
define variable HTML as character no-undo.

M = new com.amduus.mail.MailBySendmail().

M:ToEmail = "sauge@localhost".
M:FromEmail = "root@localhost".
M:BCCEmail = "root@localhost".
M:Subject = "Test 1".

HTML = "<html><body>"
+ 'This is a <b>test</b> <img src="cid:y1"> email'


Book on object oriented programming available

I have a book on object oriented programming in the ABL language available at http://www.lulu.com/content/paperback_book/discussions_of_object_oriente...


Include Unit Code at the bottom of your class files

One of the important things in software development is to do unit testing - that is a set of tests the programmer can do on a piece of code to be assured it is most likely working the way one wants it to.

Surprisingly it is rare to find unit test code as part of a source code file. If it is created at all (horror), it is usually tucked away on some developers disk someplace or simply thrown away!

What I have found helpful for myself as well as others working the same code, is to place a comment at the end of the program with the unit test code.


Dynamic Transaction (record write,delete.create)

have two procedures that work that can called from trigger level within trigger. They passed a number of paramters including one temp-table containing create/delete information , the 2nd program accepts the current new record and the old record

WRITE TRIGGER

DEF TEMP-TABLE ttnewCustomer LIKE Customer.
CREATE ttnewcustomer.
BUFFER-COPY customer TO ttnewcustomer.
DEF TEMP-TABLE ttoldCustomer LIKE customer.
CREATE ttoldcustomer.
BUFFER-COPY oldcustomer TO ttoldCustomer.


Temp-table to COM Excel

This is a procedure i wrote some years ago now. want to do the same for xml csv , then seperate one for pdf and rtf templates if you want full details of project let me know


Support for Open Edge 10.1C new keywords

Currently i'm getting a parsing error when using ProLint on code with a new 10.1C keyword (FINALLY). I suppose that other keywords aren't supported either yet. I would like to have these added to the parser.


OEUnit - Unit Testing Framework 1.0-beta

Download: oeunit-1.0-beta_0.zip
Size: 251.01 KB
md5_file hash: 7195ee19e9bb9a2a880599050d518a63
First released: Sat, 2008-11-01 00:25

Initial Release.
OEUnit is a unit testing framework for Object Oriented ABL (OOABL). OEUnit is intended to help write and run repeatable unit tests.
OEUnit is similar to JUnit and other xUnit-based unit testing frameworks.


#
Syndicate content