Content deleted Content added
mNo edit summary |
No edit summary |
||
(48 intermediate revisions by 42 users not shown) | |||
Line 1:
{{Short description|Business application development language}}
{{Promotional|date=January 2023}}
{{Infobox software
| name = OpenEdge Advanced Business Language (ABL)
| logo = File:OpenEdge_logo.png
| screenshot =
| caption =
| developer = [[Progress Software Corporation]]
| latest_release_version = OpenEdge 12.8
| latest_release_date = {{start date and age|2024|01|21}}
| operating_system = [[Cross-platform]] (see below)
| genre = [[Relational database management system|RDBMS]]
| license = Proprietary
| website = {{URL|https://www.progress.com/openedge}}
}}
'''OpenEdge Advanced Business Language''', or '''OpenEdge ABL''' for short, is a business application development language created and maintained by [[Progress Software|Progress Software Corporation]]
OpenEdge ABL helps developers to develop applications optionally using its own integrated [[relational database]] and [[programming tool]]s. These applications are portable across computing systems and allow access to various popular data sources without having to learn the underlying [[data access]] methods. This means that the [[end-user]] of these products can be unaware of the underlying architecture.
By combining a fourth
==History==
The original Progress 4GL was designed in 1981 as an architecture-independent language and integrated database system that could be used by non-experts to develop business applications by people who were not computer scientists but were knowledgeable in their business ___domain. At that time, business applications were often written in [[COBOL]] (for machines like corporate [[IBM]] mainframes) and sometimes in [[C (programming language)|C]] (for departmental minicomputers running the UNIX operating system). When the IBM PC became popular, it developed a need for business software that could be used on those and other inexpensive computers. The Progress system was created to be used on both IBM PC machines running DOS and on a variety of computers that could run UNIX and [[minicomputer]] operating systems such as [[OpenVMS]].
==Syntax and semantics==
Progress ABL is a strongly typed, late-bound, [[English-like programming language]]. Although initially designed as a procedural language, starting with version 10.1 it was enhanced with [[Object-oriented programming|object-oriented]] grammar elements, which can be mixed with the original procedural style. A block of code may have a transaction scoped to it, in which case database changes will be committed when it completes. An error raised within such a block will undo these changes. These defaults may be overridden by the programmer.
Simple programs run without a
==Examples==
===Hello
{{Main|Hello world program}}
The following ABL code creates a window with the text "Hello, World!" and a button labelled "OK".
<
DEFINE VARIABLE w AS HANDLE NO-UNDO.
Line 76 ⟶ 42:
HEIGHT = 5
MESSAGE-AREA = FALSE
STATUS-AREA = FALSE.
CURRENT-WINDOW = w.
Line 90 ⟶ 56:
WAIT-FOR "CHOOSE" OF btnOK.
DELETE OBJECT w.
</syntaxhighlight>
A message-box can be used to achieve the same effect:
<
MESSAGE "Hello World!"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
</syntaxhighlight>
The
<
DISPLAY "Hello
</syntaxhighlight>
===SQL <code>SELECT</code> equivalent===
The [[SQL]] statement:
<
SELECT * FROM customer;
</syntaxhighlight>
(along with your chosen language connection and display procedures) can be expressed in Progress / ABL as:
<
FOR EACH customer NO-LOCK:
DISPLAY customer.
END.
</syntaxhighlight>
===SQL <code>UPDATE</code> equivalent===
The SQL statement:
<
UPDATE customer
SET salesman = 'Fred'
WHERE custno = 14;
</syntaxhighlight>
(again, along with your chosen language connection and display procedures) can be expressed in Progress / ABL as:
<
FOR EACH customer WHERE customer.custno = 14 EXCLUSIVE-LOCK:
ASSIGN customer.salesman = 'Fred'.
END.
</syntaxhighlight>
..
(Some assumptions have been made about indexing, locking and transaction scoping in order to keep this example simple.)
Data access in the ABL is record-based, in contrast to the result-set-based processing found in traditional SQL languages. While SQL operations typically act on sets of records, ABL processes one record at a time, similar to using a cursor in SQL.
Record-based processing provides a fine-grained locking model, allowing the developer to apply different lock levels (e.g., EXCLUSIVE-LOCK, SHARE-LOCK, or NO-LOCK) when accessing records.
This approach can offer predictable memory usage, especially in environments using shared memory connections, where the application and database reside on the same host. In client-server (networked) deployments, however, each record or block of records fetched typically involves a network round trip. For example, with a default prefetch size of 50 records and a network latency of 50 ms, retrieving 1,000,000 records may result in up to 1,000 seconds of latency. This illustrates a potential drawback of record-by-record access in high-latency environments.{{Citation needed|date=August 2025}}
==Application areas==
{{Unreferenced section|date=August 2020}}
The language is used in a wide variety of application areas, some examples:
* Mortgage and auto loan origination at US banks
* Rental car reservation systems
* Manufacturing ERP
* Wholesale distribution ERP
* Warehouse systems
* Transportation systems
* Commercial service force dispatching
* Security card systems
* Gaming systems (think Las Vegas, not video)
OpenEdge can be used for:<ref>{{Cite web |date=2024-01-26 |title=Use Cases of Progress OpenEdge 2024 |url=https://www.trustradius.com/products/openedge/reviews?qs=product-usage |access-date=2024-06-26 |website=www.trustradius.com |language=en-US}}</ref>
* Microsoft Windows GUI (Graphical User Interface)
* WWW programming (Unix and Windows)
* CHUI (CHaracter User Interface) (Unix and Windows)
* JSON and XML appserver programming (Unix and Windows)
* as well background process programming (Unix and Windows).
==Notes==
<references/>
==References==
* Sadd, J. ''OpenEdge Development: Progress 4GL Handbook'', Progress Software Corporation, {{ISBN|0-923562-04-4}}, {{ISBN|978-0-923562-04-5}}
* Kassabgi, G. ''Special Edition : Using Progress'', Que Publishing, {{ISBN|0-7897-0493-5}}
== External links ==
* {{Official Website|https://www.progress.com/openedge}}
* [https://community.progress.com/community_groups/openedge_general OpenEdge Community]
* [https://docs.progress.com/category/openedge-information-hub OpenEdge Resource Hub]
* [https://www.progress.com/openedge/whats-new What’s New in OpenEdge]
* [https://riptutorial.com/progress-4gl Getting started with progress-4gl]
[[Category:Object-oriented programming languages]]
[[Category:
[[Category:Data-centric programming languages]]
[[Category:Articles with example code]]
|