Developing Classes and Objects


Most application development is modular: the developer creates complex systems comprised of smaller parts. In procedural development, these modules are procedures, and data is defined within each procedure. In object-oriented development, the modules are models of real-world objects (such as a customer or a shipping order), and both data and procedures are defined within each object. The object encapsulates the data and the procedures.

For example, if you are developing an order fulfillment system for a mail-order clothing business, the objects might include customers, orders, and stock items. The data of a customer object might include the customer ID code, phone number, and order history. The customer processes might include functions that add the customer to a new mailing list, update the customer information, and place an order for the customer.

Object-oriented development is a more efficient way of developing applications because it models the real-world objects with which your enterprise deals, and encourages you to reuse application logic in a variety of ways. You can use WebFOCUS Maintain to create applications using object-oriented development, procedural development, or a hybrid of these two methods, providing you with a flexible development path.