Server Data Module
A server data module is a server script that runs in a server, allowing you to use both server-side and client-side web technologies.
Unlike server units, server data modules support (non-visual) components, and their purpose is to provide data and configured components for several server pages at the same time (code reusage). For example, you can define a Database component in a data module, as well as Table, Query or Datasource components, and then include the data module in other pages that can access that database directly, so you do not have to define an instance of the database in every page of your application.
You can create a new server data module from Home > New > HTML5 Builder Projects > Files > Server Data Module, which will be opened on the Design view.
Contents
General Programming
Components
The non-visual components in the following categories can be used in server data modules: Standard, Additional, Advanced, System, Data Access, Web Services, Zend, DataSnap.
Programming Languages
You can use any web language for server data modules programming:
- Server-side: PHP.
- Client-side: HTML, CSS, JavaScript, etc.
Special Features
You can achieve anything you want by mixing components and programming languages. The pages below will help you implement special features using HTML5 Builder.
Server-side Features
- Database Connections
- Interact with databases.
- DataSnap
- Create client applications that interact with DataSnap.
- Internationalization and Localization
- Adapt your application for people in different countries and speaking different languages.