JADE (programming language): Difference between revisions
Not a stub by any stretch of the imagination; fixing headers |
Added "Programming model" section |
||
| Line 4: | Line 4: | ||
==Language== | ==Language== | ||
In terms of syntax, JADE is very similar to [[Pascal programming language|Pascal]]. However, JADE is structured quite differently | In terms of syntax, JADE is very similar to [[Pascal programming language|Pascal]]. It was actually based on the language [[Modula 2]] which was based on Pascal. However, being a much newer language, it has many differences. | ||
===Programming model=== | |||
Like all of the other popular programming languages used to create database-driven software, JADE is [[Object oriented programming|object-oriented]] to the core. JADE was designed to have all the most important features of object-oriented programming, but it was also designed to make programming simple, and so does not exhibit the full range of tools that some other languages do. For example, JADE does not support the overloading of methods or operators. This may seem like a big loss to some programmers, but for programming database applications which is what JADE is designed for, the parts that are left out do not end up being major drawbacks, as they are almost never needed. | |||
Originally JADE did not support interfaces or static variables, but interfaces are planned to be included in the JADE 6.1 release, which is expected to be out September 2005, and static variables are intended to be released with JADE 6.2 - expected Quarter 3 2006. | |||
===Program structure=== | |||
JADE applications are structured quite differently from most programming languages in the fact that JADE programs are <i>not</i> developed by writing code into long files and then compiling all the files together. JADE programs are actually developed using a user interface that allows programmers to visually create [[class (computer science)|class]]es and define their properties and methods. Instead of locating methods in large files, programmers select the method they would like to edit and only the code for that particular method is displayed. Also instead of compiling all the code of a program at once, in JADE, each method is compiled individually as soon as the method is completed, meaning code can be checked immediately. | |||
All the code for a JADE application is stored in its object-oriented database. This has a number of advantages. First, it allows for multi-user development, as the database maintains concurrency control. Second, with each piece of the code being a separate object in the database, in a lot of the cases it is possible to recode the system while it is live, online and in use. | All the code for a JADE application is stored in its object-oriented database. This has a number of advantages. First, it allows for multi-user development, as the database maintains concurrency control. Second, with each piece of the code being a separate object in the database, in a lot of the cases it is possible to recode the system while it is live, online and in use. | ||