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.
How to multi thread in Progress on Unix
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).
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.
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.
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'
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...
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.
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.
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
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.
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.