Clarion (programming language): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted edits by 210.8.228.181 to last version by 168.210.90.180
 
(564 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{More citations needed|date=July 2016}}
'''Clarion''' is a [[4GL]] [[programming language]] and [[Integrated Development Environment]] from Softvelocity used to program database applications. It is compatible with several database formats including all [[SQL]], [[ADO]], and [[XML]], and can output to [[HTML]], [[XML]]. plaintext, and [[Portable Document Format|PDF]], among others. As of the time of writing (2004), Clarion is on version 6.1
{{Infobox programming language
|name=Clarion
|logo=
|screenshot=
|caption=
|paradigms=[[Imperative programming|Imperative]], [[Structured programming|structured]], [[Object-oriented programming|object-oriented]]
|family=[[Pascal (programming language)|Pascal]]
|author=Bruce Barrington
|developer=Jensen & Partners International (JPI), Clarion International, SoftVelocity
|released={{Start date and age|1986|04}}
|latest release version=11
|latest release date={{Start date and age|2018|10}}
|latest preview version=
|latest preview date=
|operating system=[[DOS]], [[Microsoft Windows|Windows]]
|platform=[[IA-32]]
|language=English
|license=[[Proprietary software|Proprietary]]
|website={{URL|www.softvelocity.com}}
}}


'''Clarion''' is a commercial, proprietary, [[fourth-generation programming language]] ('''4GL'''), [[Multi-paradigm programming language|multi-paradigm]], [[programming language]] and [[integrated development environment]] ('''IDE''') from SoftVelocity used to program database applications. It is compatible with ''indexed sequential access method'' ([[ISAM]]), ''Structured Query Language'' ([[SQL]]), and ''[[ActiveX Data Objects]]'' ('''ADO''') data access methods, reads and writes several flat file desktop database formats including [[ASCII]], [[comma-separated values]] ('''CSV'''), [[DOS]] (binary), [[FoxPro]], [[Clipper (programming language)|Clipper]], [[dBase]], and some relational databases via [[ODBC]], [[Microsoft SQL Server]], Sybase [[SQL Anywhere]], and [[Oracle Database]] through the use of accelerated native database drivers, and [[XML]], Clarion can be used to output to [[HTML]], [[XML]], [[plain text]], and Portable Document Format ([[PDF]]), among others.
Database access is simple to implement, and list box formatting can be handled with easy to use [[WYSIWYG]] (What you see is what you get) formatting windows.


The Clarion development environment ('''IDE''') runs on the Clarion language. The IDE provides code generation facilities via a system of templates which allow programmers to describe the program from an abstract level higher than code statements. The generator then turns this higher level into code, which in turn is then compiled and linked using a normal [[compiler]] and linker. This generation layer is sometimes referred to as 4GL programming. Using the generation layer is optional. It is possible to create programs fully at the code level ('''the so-called 3 Lager),''' bypassing all code generation facilities.
One of Clarion's many strong points is its use of "templates" which are used in conjunction with a code generator to produce much of the repetitive, yet time consuming code that is typically required when producing an application. An "embeditor" shows the developer the code that will be generated and embed points where the developer can enter his/her own hand-code in the context of the template generated code.


If the templates are used to generate code, then programmers are able to inject their own code into the generated code to alter, or extend, the functions offered by the template layer. This process of embedding code can be done while viewing the surrounding generated code. This mixing of template code and generated code allows the template settings to be updated, and the code regenerated, without loss of the embedded code.
Templates are open for developers to modify to suit their needs, and the template language, though very robust, is simple to learn. This makes the possibilities of what can be done in Clarion endless. Many companies sell third party templates to extend the functionality that comes "out of the box" with the Clarion product, as does Soft Velocity itself.


The templates (from which the code is generated) are provided in source form and developers are free to create their own templates. Many templates have been written by various developers: some are offered as commercial add-ons, and some are free.
Development of templates that generate Dot Net code from Clarion applications is underway at Softvelocity, which will give Clarion developers the best of both worlds: Clarion developers will be able to program with the ease and speed they're accustomed to, and will be able to provide Dot Net code to clients who just have to have projects developed in Microsoft technology.


Three main Clarion products exist: Professional Edition, Enterprise Edition, and .NET.

==History==
The first release of the Clarion language was a DOS product named Clarion 1.0 and was first released in April 1986. Clarion was created by Bruce Barrington, one of the founders of healthcare firm "HBO & Company" (later acquired by [[McKesson Corporation]],<ref>{{cite web |url=http://www.mckesson.com/en_us/McKesson.com/About%2BUs/Our%2BCompany/Our%2BHistory.html |title=Health Care Services Leader McKesson's History: Our History |publisher=McKesson |access-date=2012-03-14 |archive-url=https://web.archive.org/web/20120313161739/http://www.mckesson.com/en_us/McKesson.com/About+Us/Our+Company/Our+History.html |archive-date=2012-03-13 |url-status=dead}}</ref>) and a small team of developers. Barrington's goal was to create a language that would be compact and expressive, and would maximize the use of the memory-mapped screen of the IBM PC by creating a screen designer. Version 1 produced [[pseudocode]]; the initial release included a screen designer, an interpreter, an editor, and a debugger. Initially it supported databases composed of DAT files which was Clarion’s proprietary ISAM file format. Bruce Barrington formed Barrington Systems and released version 1.0.

In 1991 Barrington licensed compiler technology from a company named Jensen & Partners International (JPI). JPI was founded in 1987 by Niels Jensen, who had earlier (1979 or 1981) been one of the founders of [[Borland]]. [[Philippe Kahn]] was the marketing person who built Borland around the $49 [[Turbo Pascal]] compiler. Niels and his team were working on a new compiler technology at Borland when Kahn decided to buy Wizard C, and name it Turbo C. Niels and several other developers left Borland and started JPI, where they continued to work on their compiler technology, named TopSpeed, which they bought from Borland for $1.7 million.

During this time the relationship between Clarion Software and JPI grew closer, and on April 30, 1992, Clarion merged with JPI to form an entity which would eventually be named TopSpeed Corporation. Employees at the TopSpeed Development Centre in London went to work on CDD and resolved many of the bugs.

Clarion 11.1 is the current release, build 13788, which was released in February 2022.

As of August 2023, A Clarion 12 release is expected by the community, but so far there is no official comments on confirmed future features.


==Notability==

Clarion is historically known as being one of the first 4GL computer programming tools, first developed in the 1980s.{{cn|date=January 2024}}

==References==
{{Reflist}}


==External links==
==External links==
* [http://www.softvelocity.com/ Softvelocity]
* {{Official website|www.softvelocity.com}}, SoftVelocity

* [http://www.clarion.com.ar/ Clarion Argentina]
{{Authority control}}
* [http://www.davcomm.co.za Davidson Software - Developer using Clarion]
[[Category:Domain-specific programming languages]]
[[Category:4GL]]


[[Category:Fourth-generation programming languages]]
[[de:Clarion]]
[[Category:Table-oriented programming]]
[[pl:Clarion]]

Latest revision as of 05:14, 11 May 2024

Clarion
ParadigmsImperative, structured, object-oriented
FamilyPascal
DeveloperJensen & Partners International (JPI), Clarion International, SoftVelocity
First appearedApril 1986; 38 years ago (1986-04)
Stable release
11 / October 2018; 5 years ago (2018-10)
PlatformIA-32
OSDOS, Windows
LicenseProprietary
Websitewww.softvelocity.com

Clarion is a commercial, proprietary, fourth-generation programming language (4GL), multi-paradigm, programming language and integrated development environment (IDE) from SoftVelocity used to program database applications. It is compatible with indexed sequential access method (ISAM), Structured Query Language (SQL), and ActiveX Data Objects (ADO) data access methods, reads and writes several flat file desktop database formats including ASCII, comma-separated values (CSV), DOS (binary), FoxPro, Clipper, dBase, and some relational databases via ODBC, Microsoft SQL Server, Sybase SQL Anywhere, and Oracle Database through the use of accelerated native database drivers, and XML, Clarion can be used to output to HTML, XML, plain text, and Portable Document Format (PDF), among others.

The Clarion development environment (IDE) runs on the Clarion language. The IDE provides code generation facilities via a system of templates which allow programmers to describe the program from an abstract level higher than code statements. The generator then turns this higher level into code, which in turn is then compiled and linked using a normal compiler and linker. This generation layer is sometimes referred to as 4GL programming. Using the generation layer is optional. It is possible to create programs fully at the code level (the so-called 3 Lager), bypassing all code generation facilities.

If the templates are used to generate code, then programmers are able to inject their own code into the generated code to alter, or extend, the functions offered by the template layer. This process of embedding code can be done while viewing the surrounding generated code. This mixing of template code and generated code allows the template settings to be updated, and the code regenerated, without loss of the embedded code.

The templates (from which the code is generated) are provided in source form and developers are free to create their own templates. Many templates have been written by various developers: some are offered as commercial add-ons, and some are free.

Three main Clarion products exist: Professional Edition, Enterprise Edition, and .NET.

History[edit]

The first release of the Clarion language was a DOS product named Clarion 1.0 and was first released in April 1986. Clarion was created by Bruce Barrington, one of the founders of healthcare firm "HBO & Company" (later acquired by McKesson Corporation,[1]) and a small team of developers. Barrington's goal was to create a language that would be compact and expressive, and would maximize the use of the memory-mapped screen of the IBM PC by creating a screen designer. Version 1 produced pseudocode; the initial release included a screen designer, an interpreter, an editor, and a debugger. Initially it supported databases composed of DAT files which was Clarion’s proprietary ISAM file format. Bruce Barrington formed Barrington Systems and released version 1.0.

In 1991 Barrington licensed compiler technology from a company named Jensen & Partners International (JPI). JPI was founded in 1987 by Niels Jensen, who had earlier (1979 or 1981) been one of the founders of Borland. Philippe Kahn was the marketing person who built Borland around the $49 Turbo Pascal compiler. Niels and his team were working on a new compiler technology at Borland when Kahn decided to buy Wizard C, and name it Turbo C. Niels and several other developers left Borland and started JPI, where they continued to work on their compiler technology, named TopSpeed, which they bought from Borland for $1.7 million.

During this time the relationship between Clarion Software and JPI grew closer, and on April 30, 1992, Clarion merged with JPI to form an entity which would eventually be named TopSpeed Corporation. Employees at the TopSpeed Development Centre in London went to work on CDD and resolved many of the bugs.

Clarion 11.1 is the current release, build 13788, which was released in February 2022.

As of August 2023, A Clarion 12 release is expected by the community, but so far there is no official comments on confirmed future features.


Notability[edit]

Clarion is historically known as being one of the first 4GL computer programming tools, first developed in the 1980s.[citation needed]

References[edit]

  1. ^ "Health Care Services Leader McKesson's History: Our History". McKesson. Archived from the original on 2012-03-13. Retrieved 2012-03-14.

External links[edit]