|
This section suggests how to prepare for developing DataBlade modules. This overview is intended to act as a map for information resources.
To prepare for DataBlade module development, complete these general processes:
After you finish your preparations, you can develop your DataBlade module and then have it certified (see Developing Your DataBlade Module).
Familiarizing yourself with Informix software and documentation is critical for first-time DataBlade developers. However, it is important for experienced DataBlade developers too because Informix software and documentation are enhanced in each release.
Some of these steps are described in the following sections.
If you are developing a DataBlade module as a commercial product, join the DataBlade Partners Program. The DataBlade Partners Program helps third-party DataBlade developers create and market new DataBlade modules. The program offers tools, training, and joint marketing opportunities. If you join the program, you can have your DataBlade module certified by Informix. Certification verifies that your DataBlade module programming and business practices comply with Informix quality standards.
Important: If you plan to have your DataBlade module certified by Informix, you must be a member of the DataBlade Partners Program.
For information on enrollment requirements and benefits, send email to datablades@informix.com.
Install and become familiar with the following Informix software products:
In addition, if you plan to develop a DataBlade module in Java, you should become familiar with Informix J/Foundation and the Java Development Kit (JDK). For information on the correct version and the source of the JDK, see the release notes for your database server.
Install the latest version of the Informix software for your development environment. Although the DataBlade Developers Kit is only available on Windows NT, it can generate DataBlade modules for UNIX as well as Windows NT.
For information on currently available Informix software releases, see the Informix Developer Network Web site at http://www.informix.com/idn.
The DataBlade Developers Kit Tutorial offers several exercises, each focusing on a single aspect of DataBlade module development.
To access the exercises, start the tutorial from the DataBlade Developers Kit InfoShelf home page. You can launch the InfoShelf from the BladeSmith Help menu or start it independently by choosing Start
Programs
Informix
DBDK InfoShelf.
To familiarize yourself with the entire development process, create a simple practice DataBlade module containing an easily implemented object, such as a user-defined routine that takes built-in data types as arguments. Be sure to write the code, test it, and debug it. Completing a simple DataBlade module helps you create a realistic estimate of the length of your development cycle.
DataBlade modules can contain complex operations. A good design is critical to your success.
Some of these steps are described in the following sections.
A functional specification describes the scope and functionality of your DataBlade module, without documenting implementation details. It also documents other issues for development, such as phases of functionality, compatibility, performance, and platform. A good functional specification shows how your DataBlade module solves the problem you designed it to solve.
For a sample functional specification, see the Informix Developer Network Web site at http://www.informix.com/idn.
For specific language options and guidelines, see Chapter 3, Programming Guidelines.
The following table lists the programming language options you have when writing DataBlade module code and refers you to sources of information about them.
For further tips on coding DataBlade modules, see the Informix Developer Network Web page at http://www.informix.com/idn.
A design specification describes the overall functionality of your DataBlade module and documents the specific routines available to the user, the supporting database tables used to implement the routines, error messages, and the environment used to build the DataBlade module. A design specification also documents implementation details that the DataBlade module customer does not need to know, such as internal support routines.
If you plan to have your DataBlade module certified by Informix, you must provide a detailed design specification.
For a sample design specification, see the Informix Developer Network Web page at http://www.informix.com/idn.
Keep the following guidelines in mind when you create an iterative development plan:
Tip: Although you can use BladeSmith to define all of the objects in a DataBlade project before you edit and test the code, you might find it helpful to develop a modular plan to define and test objects one by one before you test the project as a whole.
The Informix DataBlade Developers Program maintains a registry of object prefixes and error code ranges for all DataBlade modules. The registry ensures that object names and error codes are unique so that any combination of DataBlade modules can coexist in a database.
Before you begin to create a production DataBlade module, send an email message to registry@informix.com to register the following information with the Informix DataBlade Developers Program registry: