PowerWeb library
PowerWeb is an add-on library for web application development in Xbase++.
PowerWeb functions represent object abstractions of HTML elements. The functions are HTML helpers which generate the HTML code for HTML elements. They encapsulate most of the properties and events of the HTML elements, which are defined as function parameters. The functions are generalized and automated and create the complete logic of HTML elements. You don't need to know HTML/CSS programming, elements, methods, properties and events. Instead, use PowerWeb functions as building blocks to create short, fast and efficient programs.
All HTML elements created by PowerWeb functions are fully configurable in Xbase++ language and style, without HTML/CSS. Their positions, sizes, fonts, colors, borders, types, aligns and other attributes can be defined by the function parameters.
PowerWeb functions implement AJAX (Asynchronous JavaScript and XML) technology which allows clients to asynchronously send requests and receive server responses. In that way, clients can retrieve data and dynamically update parts of a web page without reloading the whole page. PowerWeb uses JSON and HTML formats for data transfer.
PowerWeb library is a powerful web UI framework which allows to create full-fledged web applications in Xbase++ language and style, that will have a modern GUI design and look. PowerWeb functions are HTML helpers that generate the HTML code for web UI components.
PowerWeb library can work on mobile devices and mobile operating systems with responsive design.
PowerWeb library supports Alaska Xbase++ V.1.8 to V.2.0. It can be used with Alaska CXP and WAA technologies.
PowerWeb features
Element - Create basic HTML elements: A, IMG, BUTTON, P, LABEL, Hn, HR, DIV, FORM, TABLE, FIELDSET, INPUT, SELECT, OPTION, TEXTAREA, etc.
Get elements can edit or select data for all input types: single-line, password, date, time, multi-line, list box, combo box, radio box, check box, spin button, file upload. They have the EVENT, WHEN, VALID and RANGE controls.
Button and link elements can have caption and icon or image. Icons and images can be loaded from resources.
Control - Create controls that perform output tasks.
Menu items, tool bar items and tab items can have caption and icon or image. Icons and images can be loaded from resources.
Browse - Display data from database files, SQL tables or arrays in a browser. Data records can be displayed by pages using JSON format. Can display multi-line text, image, caption with image, and get elements. Have option to edit data. Have event controls.
Script - Display popup messages and dialog windows. Create XML request via HTTP and send and get data using AJAX method.
Set attributes of get and button elements. Enable and disable get and button elements.
Set and get values of get elements. Post and get form data.
RM charts - Can create graphs and shapes using RMChart ActiveX control. Can create line, scatter, area, column, bar, pie, donut, pyramid and stock graph types. Some graph types can be 2-D and 3-D. Can create combination (multi-type) graphs on one or two Y axes.
Print - Can create print reports of any form in a Clipper or GUI style. Can print values of any data type, angled text, text box, formatted text, caption with image, line, box, shape, arc, browse table and graph. Support color printing anywhere in the report.
Mail - Create SMTP client and send mail to the server. Support TLS security and SASL authentication.
PowerWeb applications
The following web application examples are included in the PowerWeb demo program.
Car ads - Application for browsing and editing car ads. It can be translated to Serbian, English and German language.
Computer shop - Application for purchasing computers.
Event management - Application for browsing and editing events.
Order reservation - Application for browsing and editing customer reservations.
Codebook - Application for creating, browsing, searching, editing and printing article codebook with 1.000.000 records.
Gallery