Search these areas:
Help
Support Forums
Product Info



Introduction
DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Views
Templates
Components
Data Analysis
Members
Security
Importing
Exporting
FTP
JavaScript
-JavaScript Language Reference
-DataWeb
-The HotRAD Source Editor
-Working with Data Classes
-Building DataWeb Script Classes
-JavaScript Language Enhancements
-Handling Exceptions
-JavaScript Reserved Words
Object Model
Full-Text Search
Domain and Email Hosting
HotBlock Modules
Account Management
Glossary
New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

DataWeb User's Guide

DataWeb's Implementation of JavaScript
DataWeb JavaScript is a fully ECMA-compliant JavaScript implementation with access to common JavaScript objects such as arrays, math, date, string, etc. DataWeb's implementation differs from other common implementations in the following ways:

•  DataWeb JavaScript executes at the web server, rather than in the client web browser. It provides access to web server objects such http requests and responses, database objects such as tables and resultsets, and web services objects such as XML streams and the XML document object model. Because it runs at the server rather than the client, DataWeb JavaScript does not access client-side objects such as browsers or HTML documents. To manipulate these objects, DataWeb programmers use client-side JavaScript in the ordinary way.

•  DataWeb JavaScript is case-insensitive.

•  DataWeb JavaScript supports block scoping. Block scoping enables you to declare local variables within a block designated by curly braces. Those variables are not available to code outside the block.

•  DataWeb JavaScript does not support automatic semi-colon insertion. A missing semi-colon at the end of a line results in a compile error.

•  DataWeb JavaScript does not automatically declare a variable when you provide an initial value to that variable. A missing variable declaration results in a compile error.

•  DataWeb JavaScript does not support do/while loops.

•  DataWeb JavaScript does not support regular expression.

Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
Email Us