#REDIRECT [[Dataphor#Languages]]
<!-- Please do not remove or change this AfD message until the issue is settled -->
{{Article for deletion/dated|page=D4 (programming language)|timestamp=20130906185355|year=2013|month=September|day=6|substed=yes|help=off}}
<!-- For administrator use only: {{Old AfD multi|page=D4 (programming language)|date=6 September 2013|result='''keep'''}} -->
<!-- End of AfD message, feel free to edit beyond this point -->
'''D4''' is a [[computer language]] used in [[Dataphor]], a [[relational database management system]].
{{Redirect category shell|1=
==Syntax==
{{R from merge}}
D4 has a [[Pascal (programming language)|Pascal]]-like syntax. D4 sample code is usually written in [[UpperCamelCase]], which is also widely used in Pascal and [[Delphi programming language|Delphi]] systems.
{{R to section}}
}}
Like most query languages, D4 has a [[Data Definition Language]] (DDL) and a [[Data Manipulation Language]] (DML). D4 also has an [[Imperative programming|Imperative]] Language for procedural code.
===Data definition language===
The DDL for Dataphor bears many similarities to other DBMSs, but with an obviously Pascal-like twist. Many of the allowed DDL operations, like constraints, allow [[relational operator|relational]] [[Declarative programming|declarative]] statements to be used, which many believe is superior to the procedural style operations used in [[SQL]].
===Data manipulation language===
The DML syntax at first glance may appear to be similar to [[SQL]]s syntax, but because of D4's closer ties to [[relational algebra]], the syntax has a cleaner definition, and most users greatly prefer it over SQL. {{Citation needed|date=June 2009}}
===Imperative language===
The Imperative Language in D4 is remarkably similar to Pascal in many respects. The largest distinction being that D4 also allows DDL and DML statements to be run in regular procedural code.
==History==
D4 was named after the similar sounding [[Dataphor]], the system that uses the language. It was some time after these names were decided that it's creators discovered [[Tutorial D]], and the coincidence it had with that name. Since discovering Tutorial D and [[The Third Manifesto]], the creators has used The Third Manifesto as a guide in making Dataphor and D4. Since then, [[Hugh Darwen]] has referred to D4, as a notable project in his talk entitled ''The Askew Wall''<ref>[http://www.dcs.warwick.ac.uk/~hugh/TTM/TTM-TheAskewWall-printable.pdf The Askew Wall]</ref>.
==See also==
*[[Tutorial D]]
*[[The Third Manifesto]]
==References==
{{reflist}}
*[http://dataphor.org/About%20Dataphor.ashx Dataphor Summary]
*[http://alphora.com/ Alphora website]
*[http://dataphor.org/ Dataphor website]
*[http://databaseconsultinggroup.com/ Database Consulting Group website]
[[Category:Computer languages]]
{{compu-lang-stub}}
|