informix
DataBlade Developers Kit User's Guide
Getting Started with DataBlade Module Development

Preparing to Develop DataBlade Modules

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:

  1. If necessary, familiarize yourself with Informix software and documentation (see Becoming Familiar with Informix Software and Documentation, next).
  2. Design your DataBlade module (see Designing Your DataBlade Module).

After you finish your preparations, you can develop your DataBlade module and then have it certified (see Developing Your DataBlade Module).

Becoming Familiar with Informix Software and Documentation

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.

To familiarize yourself with Informix products and documentation

  1. Read DataBlade Module Development Overview.
  2. This manual briefly describes the database objects you can include in your DataBlade module and other options you have when you create a DataBlade module.

  3. Join the DataBlade Partners Program, if appropriate.
  4. See The DataBlade Partners Program for more information.

  5. Install the necessary Informix software.
  6. See Installing Informix Software for more information.

  7. Learn to use Informix software: at the very least, your database server, the Setnet32 utility (client connectivity), and the DB-Access or SQL Editor utilities (SQL querying).
  8. Complete the DataBlade Developers Kit Tutorial.
  9. See DataBlade Developers Kit Tutorial for more information.

  10. Create your own practice DataBlade module.
  11. See Creating a Practice DataBlade Module for more information.

Some of these steps are described in the following sections.

The DataBlade Partners Program

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.

Installing Informix Software

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.

DataBlade Developers Kit Tutorial

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.

Creating a Practice DataBlade Module

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.

Designing Your DataBlade Module

DataBlade modules can contain complex operations. A good design is critical to your success.

To design your DataBlade module

  1. Read about DataBlade module SQL design concepts.
  2. For DataBlade module SQL design issues, see Chapter 2, Designing DataBlade Modules.

    For general information about the options you have when you extend the server, see Extending Informix Dynamic Server 2000.

  3. Write a functional specification.
  4. See Writing a Functional Specification for more information.

  5. Read Informix coding guidelines.
  6. See Programming Resources for more information.

  7. Write a design specification.
  8. See Writing a Design Specification for more information.

  9. Create an iterative development strategy.
  10. See Creating an Iterative Development Plan for more information.

  11. Contact the Informix DataBlade Development Partners Program Registry for a name, prefix, and error codes for your production DataBlade module. Skip this step if you are not creating a production DataBlade module.
  12. See Contacting the Informix Registry for more information.

Some of these steps are described in the following sections.

Writing a Functional Specification

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.

Programming Resources

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.

Language Information Sources
C Chapter 5, Programming DataBlade Module Routines in C DataBlade API Programmer's Manual
ActiveX/C++
(client-side programming and Window NT server projects only)
Chapter 6, Creating ActiveX Value Objects Chapter 7, Using ActiveX Value Objects DataBlade API Programmer's Manual
Java Chapter 8, Programming DataBlade Modules in Java Creating UDRs in Java Informix JDBC Driver Programmer's Guide
Stored Procedure Language (SPL) Informix Guide to SQL: Tutorial

For further tips on coding DataBlade modules, see the Informix Developer Network Web page at http://www.informix.com/idn.

Writing a Design Specification

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.

Creating an Iterative Development Plan

Keep the following guidelines in mind when you create an iterative development plan:

Contacting the Informix Registry

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:


DataBlade Developers Kit User's Guide, Version 4.0
Copyright © 1999, Informix Software, Inc. All rights reserved