|
GDemo:
This small demo includes a dbGonzales server and a client. Therefore it can run standalone and client/server. The challenge of this demo is to show the object oriented nature and the speed of
dbGonzales. The demo database consists of one table which can hold different kind (= classes) of objects, which are derived from a parent class. Defined classes are Line, Rectangle and Ellipse.
Any changes made to the database can be viewed by all clients in real-time. To demonstrate this, one or more clients can update the position of the objects randomly. The result is an animation of the
objects on the screen of each connected client. This sounds not much of a challenge but remember, that in order to draw one frame of the animation, all
of the stored objects have to be pulled out of the database and drawn to the screen. Each client checks every 40ms if there are changes and tries to draw a frame. This whole process creates a very high load on the server.
Download the demo.
|