The Components of Caché
![]()
Server Pages bring all the capabilities of Caché to the demanding environment of the Web, where rapid development and adaptability are as important as high performance and scalability. Caché eliminates the extra processing layers and system-level programming that make Web development difficult and Web applications sluggish. Compatible with off-the-shelf tools, Caché Server Pages are the siplest, quickest way to create superfast, massively scalable Web applications.
Meeting the Demands of e-Applications
With the new requirement of doing business over the Web, the face of application development has changed dramatically. Suddenly, scalability means providing excellent performance to a few users - or a few million. And applications must be created and adapted rapidly enough to satisfy the ever-changing expectations of sophisticated Web users. It's no wonder that old methods of application development, using old-fashioned relational technology, just can't meet the demands of e-applications. Fortunately, there's Caché.

Lean and Speedy Web Architecture
Caché Server Pages connect to the Web via any standard Web server, using fast APIs. But unlike other Web architectures, Caché-based Web applications execute on the Caché server, close to their data. This allows them to execute faster, because all of the inter-process communication required to fetch or change data is eliminated.
There are other advantages as well. Off-loading most of the resource-intensive tasks to the powerful Caché data server frees the Web server to handle more clients, so scalability is enhanced. And because all the code resides in one place, it is much easier and quicker to deploy and adapt Caché-based e-applications.
Meeting the Demands of e-Developers
Caché Server Pages consist of standard HTML or XML, so they can be created and modified using any off-the-shelf Web page tool or your favorite text editor. Dynamic content - the working part of any Web application - is added by incorporating Caché Application Tags (CATs) or Hyper-Events T. And Caché session objects eliminate the system-level programming associated with session management, making Caché the easiest and quickest way to build sophisticated e-applications.
Caché Application Tags
Caché Applications Tags (CATs) work like HTML tags, except instead of formatting text, they execute functions on the Caché data server and/or the browser. The Application Tags that come with Caché can be used to read and write to the database, perform calculations, looping, act as counters, manage multi-frame coordination, etc. Best of all, CATs are extendable. Developers can create their own to suit the specific needs of their applications.
Using Caché Application Tags, developers can accomplish with two lines of code the same functions that require pages of code in other Web development environments.
Hyper-EventsT
Hyper-events are small applets which allow events occurring on a browser (mouse clicks, mouse movements, field value changes, timeouts, etc.) to invoke server-side operations and to update the current page without repainting it. By including Hyper-Events, e-applications become much more interactive and responsive.
Simplified Session Management
One of the challenges facing e-developers is the inherently stateless nature of the Web. Developers generally have to do a great deal of system-level coding to take care of the session management issues that arise when applications need to maintain state between Web pages.
Caché makes state management easy by providing special session management objects. All of the system-level code is encapsulated inside, completely transparent to developers. Session management objects work with both HTTP and HTTPS (for secure transactions).
Caché also allows dedicated session processes for applications that require multipage database locks.

