|
A DataBlade module is a software package that extends the functionality of Informix Dynamic Server 2000. The package includes SQL statements and supporting code written in an external language or Informix SPL. DataBlade modules can also contain client components.
A DataBlade module adds user-defined database objects that extend the SQL syntax and commands you can use with your Informix database server. A database object is an SQL entity, such as a data type, routine, or database table. Your Informix database server handles DataBlade module objects as built-in objects. When it handles a user-defined database object, it executes the associated source code provided with the DataBlade module.
Extensions to your database server belong to two main categories:
If you are unfamiliar with DataBlade module technology and the DataBlade Developers Kit, you might have the following questions:
Each of these questions is addressed in the following subsections.
The primary advantages of using the extensibility of Informix Dynamic Server 2000 over using traditional relational databases and applications are:
Your Informix database server improves the performance of your applications in the following ways:
Using DataBlade modules simplifies applications in the following ways:
DataBlade modules become part of the database. Therefore, all operations carried out by DataBlade module routines are supported by database services, such as backup, rollback, and recovery. You can safely store your data, which you formerly stored in files, in the database by using smart large objects.
DataBlade extensions to Dynamic Server scale to a large number of users just as well as the database server itself.
You can extend your Informix database server without creating a DataBlade module by executing the SQL statements to create each object individually. However, the advantages of packaging extended database objects in a DataBlade module include:
DataBlade modules contain all related extended objects, enabling you to easily install, upgrade, and remove a whole module at once. If you need to fix a problem or add a feature to a program, you only have to do it in one place-the DataBlade module. Because a DataBlade module is a package ready to be distributed commercially or internally, these changes can be easily extended to any application that uses the DataBlade module. In addition, DataBlade modules make it easy for you to maintain version information about the software.
DataBlade modules can use the functionality of other DataBlade modules through interfaces. Interfaces are references to other DataBlade modules. When you include an interface in a DataBlade module, you create a dependency so that your DataBlade module can be used only if the DataBlade module that provides the interface is installed in the database server.
Some DataBlade modules are specifically designed as foundation DataBlade modules. Foundation DataBlade modules are not usually intended to be used alone. For example, the Informix Large Object Locator DataBlade module handles the location of the large objects that other DataBlade modules use to store their data.
Although you can create a DataBlade module manually, you can reduce development time considerably if you use the DataBlade Developers Kit.
Informix provides three graphical user interfaces for DataBlade module development:
In addition, the DataBlade Developers Kit provides the following tools for debugging your DataBlade module on Windows NT:
The DataBlade Developers Kit reduces development time because it:
The source code generated by the DataBlade Developers Kit follows good coding practices for your Informix database server and ensures consistency among your user-defined routines.