[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SOF-CHYCLASS
CHYDALE SUPERCLASS
Complete Clipper OOP
612,50
TRUE objects to be defined and created which operate in the same manner
as Clipper 5's fixed classes. Create and export instance variables,
assign methods just like the predefined classes. Integrates fully with
5.01 debugger, some fully documented sample classes included - menu,
stack, image objects and others.
SUPERCLASS II provides the developer with many pre-defined Objects
(Classes) as standard for a better understanding of the concepts of
Object Oriented Programming. Teh source code for these objects is also
supplied. They include:-
- Image Object, Save a portion of the screen with co-ordinates and
the object will be restored to the correct position
- Linked list, This class implementation shows an existing SuperClass
object being used as an instance variable withing another Object
definition
- Stack Object, Simple Stack class. Objects hide the implementation
of the stack whilst holding the internal state of stack. Each
application can have many Stack object.
- Queue Object, Queue Object are a "first in, first out" list. This
implementation uses a linked list as an instance variable.
- Dictionary Object, Associate "value" with "name", then retrieve
"value" later via the "name". Many dictionary objects can be used
within the same application.
- Time object, One of the data types not yet implemented by Clipper.
The object can be set with a string "hh:mm:ss", a floet 8.65 hours
or newTime (hh,mm,ss).
- Menu handler, creates complex menu system and let the objects
remember the internal state of the menu. SuperClass II comes
with both simple and complex menu handles.
SuperClass II also includes Norton Guides for on-line documentation.
ClassDefinition - Super ClassII allows the developer to describe
characteristic of an Object. This is described in terms of instance
variables, exported instance variables and the methods associated with
the Object. Calling the "Creator" function returns a TRUE USER DEFINED
OBJECT.
Export Instance Variables are accesible to the programmer via the ":"
operator built into Clippe.
Method - The mechanism used by a programmer to "talk" to an Object.
SuperClass II uses standard Clipper syntax to access Objects via
method. Methods defined in the class definition allow the program to
describe the action to be taken when an Object received a message via
the send ":" operator. Within the class definition is possible to
"MAP" the message onto a code block.
Encapsulation - This helps programmer produce more robust application.
The only way to access internals of an Object is via the associated
methods described by the programmer. Tasks within a project may then
be split between programmers and well defined interface is created.
Programmers may "change" the internals of an Object class without
affecting the programmer interface. The way in which the method
changed the internal data is hidden from the user of the Object. This
enables the more advanced programmer to create a Class Library for use
by other developers.
Objects created with SuperClass II are fully compatible with the new
Clipper 5.01 Debugger which means that the programmer is able to browse
Use Defined Objects. Methods defined in the class defintion may also be
debugged in the normal manner. This will greatly increase programmer
productivity. Exported instance variables may also be changed within
the Debugger by pressing return to the current value.
Re-Naming is now possible to inherit from another class and rename the
instance variable or methods makind a new Class more readable.
Selective Inheritance is now possible to selectively inherit from other
classes. A three dimensional point with methods could be inherited and
the depth variabel removed with its associated methods.
OClone() function is allowing clone existing Objects. Simple assigns
copy the same pointer to the Object, thius two variables "pints" to
the same object. Using OClone() breaks the links and gives two
distinct objects with the same instance variable values.
Speed of Super Class II is more than twice the speed of the original
version in several places, most notably in the creation of Classes
and Objects.
Ability to put "Object Wrapper" around database drivers OOPS allows
the underlying database storage mechanism to be hidden. Using
SuperClass II to hide DBT and NTX files from the overall design of
the system allows the programmer to move easily to other storage
mechanisms. Once the database Objects are created, it is only
necessary to change the objects to implement the input/ouput in order
to move the application to a better storage mechanism.
Complete compatibility with other add-on products. SuperClass II
does not replace any internals and thus works with BASE50.PLL. This
enables the programmer to enhance virtually any existing add-ons,
windowing, mouse support or graphics. It even allows complex add-ons
to be simplified by hiding the underlying functionality.
Easier Learning Curve. Learning SuperClass II is simple. Most Clipper
programmers are up and running in a couple of hours. Now with the
supplied sample classes, understanding the concepts is even simplier.
SuperClass II includes BaseClass. The new version of SuperClass now
includes a free copy of BaseClass which helps programmers learn
OOP techniques by example.
In conclusion, OOP helps programmers design better suystems. It breaks
down the tasks into smaller, more manageable "chunks" just as user
defined function or procedures enable structured programming
techniques.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson