T
Tjerk Coomans
Guest
Hi, You can use classes and write Object Oriented code in the OpenEdge ABL. See link to the manual. http://documentation.progress.com/output/OpenEdge114/pdfs/dvoop/dvoop.pdf Which OpenEdge version are you using? Which tool are you using to write or maintain your code? Currently the preferred way is using "Progress Developer Studio for OpenEdge". This is an eclipse based development environment. Kind regards Tjerk Op 13-okt.-2014 om 23:02 heeft "bgourdie" bounce-bgourdie@community.progress.com het volgende geschreven: Static Class Code Libraries (or Smarter Ways to Manage Business Logic) Thread created by bgourdie Hello, pretty new to 4GL and this site. Searched a bit but couldn't seem to find anything I need. My company is currently rewriting programs to GUI and trying to re-architecture the code base along the way. We are currently writing Functions inside of Include Files, grouped by category (convert temp table to .CSV, determine X/Y/Z of F, etc). Coming from a college Java background, static classes (like Java.Math ) make more sense to me, as .R code size is rapidly becoming an issue, and I think that compiled classes would exist in their own .R files (right? I couldn't find anything contrary to that point). The end goal, from what I can tell, is: First and foremost , a structured library of functions to prevent re-inventing the wheel Compile-time argument checking (.p run-time argument checking is tedious) Easy compilation maintenance (keeping track of what uses Function F and recompiling everything seems tedious) Encapsulated (include files can't use same variable names as main programs is one "gotcha" we found) Ease of or even self-documentation (just found out about prototypes today but I'd prefer private methods instead of saying "don't use this function") Thanks for any help or references! I apologize if the answer is "read more!" Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...