[Top] [Prev] [Next] [Bottom] [Contents]

Frameworks

Java

Sapphire/Web provides a client-side Java framework. At the heart of the framework is the class Sa.SaJavaRowSet. This class provides a programmable object in the client browser. The framework is built around this class. You can design a Web application with this framework without writing a single line of Java, C/C++, or HTML. The application can display a master row set and as many drill down detail sets as needed. Each can perform insert, update, delete, login, and refresh.

The framework is extendable. For example, you could add your own generic view classes (inherited from the Sapphire/Web base classes). These can then be used by others in your development team, who will again have to write no lines of code. Just add a parameter tag to the applet and the Sapphire/Web framework will load your view class dynamically. You can design view classes by plugging in existing Java classes (spreadsheets, graphics, statistical analysis). The directory $SAPPHIRE/contrib/jclass contains an example of creating view classes based on an existing commercial set of java classes.

ActiveX

Sapphire/Web provides an ActiveX control which implements a row set over the Internet. The control can provide insert, update, delete, login, and refresh. The control provides a "scriptable" and programmable interface through ActiveX technology.

The key to using ActiveX applications is the user's browser. Currently, ActiveX Web applications will only run on Internet Explorer or Netscape with certain plug-ins, and only if the browser is being run on a Windows 95 or NT machine. You can develop your applications in UNIX, and can deploy them from a UNIX web server, but you will need a Windows machine to view the Web applications you are creating.

JavaScript

The final Sapphire/Web client-side object is a row set implemented in JavaScript. The JavaScript row set provides "scriptability" in both JavaScript and VBScript. To implement insert, update, delete, login and refresh requires hooking it up to an HTML form (more work from the developer). A major advantage is the ability to save the HTML page to disk, disconnect from the network, and be able to reload a working application into a browser.



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.