beas-web-technology

advertisement
be.as WEB Technology
Execution modes
SAP-Integration
Independent surface
One
beas.exe
Single-Window,
Terminal-Application, APS…
Server-Application
Windows-Service
New: WEB-Application
be.as can be run in different modes
© beas2012 / Page 2
Connecting WEB-Application
Client
WebBrowser
PHPServer
PHPConnector
(Apache)
(PHP-Program)
CommDirectory
(Access for PHPand beasProgram )
BEASServer
(beas as
Windows sercive
or as separate
Server-Task)
Requires an arbitrary PHP server. be.as automatically installs a PHP Connector
(small PHP file) and uses a directory for communication with the BEAS-server via PHP
connector.
The communication is done on a file basis. Thus the system is set up very easily.
© beas2012 / Page 3
Connecting WEB-Application
without local PHP-Server
Internet server – arbitrary location
Local server
HTML
Client
WebBrowser
PHPServer
PHPConnector
CommDirectory
BEASServer
If a local web access is not desired or not allowed for safety reasons, the PHP connector will
be installed on any web server. The be.as server communicates via HTTP with the PHP
connector
© beas2012 / Page 4
Firewall
Local network
Client
WebBrowser
A firewall blocks external access on the local server in a network.
That why it is impossible, to tap data from the local PC.
© beas2012 / Page 5
BEASServer
Firewall
Lokales Netzwerk
Client
WebBrowser
External
PHPServer
BEASServer
Usually a firewall operates only one-directional: incoming requests are blocked. Therefore, we
use indirect communication: The client sends a query to the external HTML server, the be.as
server asks, if there is a query and retrieves them, returns a response and the PHP server
passes that response back to the client.
© beas2012 / Page 6
Connection speed
CSS-, JS-files
images,
2 GB or more
Client
WebBrowser
Only text files,
max 512 KB
External
PHPServer
BEASServer
In the local network, the upload speed is 512 KB. When uploading images, large JS
and CSS files, the line is overloaded quickly.
Everything that can be outsourced, images and other media files as well as large-JS
and CSS files, are stored directly on the external server.
© beas2012 / Page 7
Answer times
BEASServer
(beas als
Windowsdien
st oder als
separater
Server-Task)
Externer
HTMLServer
Client
WebBrowser
Query interval
100 ms
Query interval
500 ms
The be.as server checks every second whether a client request exists. If so, it
is processed and a response is returned. The HTML server is queried at 100 ms
cycle for a response. In total, there is a theoretical maximum response time of
0.8 sec + setup time of the web pages.
© beas2012 / Page 8
Security
Lokales Netzwerk
Firewall
Passwortschutz
Client
WebBrowser
Externer
HTMLServer
BEASServer
Communication with HTML server is password protected. The indirect
communication is very secure, there is no need to open the firewall.
Data is received and sent unencrypted. If a higher security is required, establish a
local network (VPN)
© beas2012 / Page 9
Programming
Client
Web-Browser
Beas-Server
WEBProgramm
BEAS.EXE
In be.as a WEB-application can be created with be.as-Script, JavaScript or HTML.
Basic language is be.as-Script, the application runs in a beas screen, the complete
functionality of beas is accessable. The surface on the Client-Web-Browser is defined
in the WEB-program.
This makes HTML-objects available, which assist in the creation of surfaces.
© beas2012 / Page 10
Programming languages
JavaScript
beas-Script
HTML-Object
HTML
MSSQL-Script
PHP
Basic language is beas-script, extended by a HTML-object, which makes available several
useful tools.
There, JavaScript, HTML, MSSQL and PHP can be used. Programming languages can be
mixed (as in classical PHP-development, based on BEAS-Script instead of HTML)
© beas2012 / Page 11
Multi language support
Administration of language tables
optimized for SQL and memory
usage
Using internal beas
language tables in all directions
Several users can logon in parallel
with different languages
Development in all languages
© beas2012 / Page 12
beas-web
Each WEB-Appliation can use its
own languaga tables
Support of Word-ID
to assign a translation to a word
Logon
Anmeldemöglichkeiten
Personnel
Name+Password
Personnel
Card number
beas-web
External customers
Via contact personName+Password
Program user
connected to a
Personnel-No.
WEB-UserAdministration
WEB-service
© beas2012 / Page 13
Download