JADE (programming language): Difference between revisions

→History: updated current version from version 2022 to version 2025.
m Added two wikilinks
Line 73: Line 73:


===Three-tier model===
===Three-tier model===
Database-driven software, often uses a [[three-tier (computing)|three-tier]] methodology with applications being split into three tiers – data storage, processing and presentation. In the data storage and processing tiers, JADE systems are a collection of co-operating servers, called [[node (networking)|nodes]], and multiple nodes may be involved in each tier. Each type of node has a different name and all are capable of manipulating objects and executing business logic. A collection of nodes can be deployed across one or several machines. Database servers handle data storage and can also execute business logic, while application servers handle processing. In a three-tier model, presentation clients provide the user interface. JADE also provides a two-tier client that combines the abilities of an application server and presentation client. Traditionally, these three tiers would be created by combining three programs and having them communicate to form one system. Having the different programs separate like this has many advantages, the main one is that the system becomes scalable, that is, raising the power of the system involves simply adding more nodes.
Database-driven software, often uses a [[three-tier (computing)|three-tier]] methodology with applications being split into three tiers – data storage, processing and presentation. In the data storage and processing tiers, JADE systems are a collection of co-operating servers, called [[node (networking)|nodes]], and multiple nodes may be involved in each tier. Each type of node has a different name and all are capable of manipulating objects and executing [[business logic]]. A collection of nodes can be deployed across one or several machines. Database servers handle data storage and can also execute business logic, while application servers handle processing. In a three-tier model, presentation clients provide the user interface. JADE also provides a two-tier client that combines the abilities of an application server and presentation client. Traditionally, these three tiers would be created by combining three programs and having them communicate to form one system. Having the different programs separate like this has many advantages, the main one is that the system becomes scalable, that is, raising the power of the system involves simply adding more nodes.


Designing a system like this gives the programmer a decision to consider every time they want to code in a particular function. They need to decide whether the function would run best on the database server, application server or presentation client before they begin coding as it will be difficult to change that decision once the functionality is coded into one of the tiers.
Designing a system like this gives the programmer a decision to consider every time they want to code in a particular function. They need to decide whether the function would run best on the database server, application server or presentation client before they begin coding as it will be difficult to change that decision once the functionality is coded into one of the tiers.
Line 105: Line 105:


====HTML documents====
====HTML documents====
JADE supports deployment of applications to the web through its HTML documents feature. These work very similarly to ASP.NET, where developers create templates of HTML pages and leave parts in the template for the program to fill in.
JADE supports deployment of applications to the web through its HTML documents feature. These work very similarly to [[ASP.NET]], where developers create templates of HTML pages and leave parts in the template for the program to fill in.


The advantages of using HTML documents are:
The advantages of using HTML documents are: