Building Responsive Applications with Uniface: Getting Started (Part 1 of 3)
In this webinar you will learn:
• Requirements for a new project
• Development Environment walkthrough
• Application architecture considerations
5. Any time, anywhere
Multiple Devices
Shared Business Logic
BYOD (varied screen size,
format, etc)
Varied Location
Office, home, mobile working
Connected, offline
Internet, intranet
19. Multiple Web Applications
Different URL per app/environment
http://server/prod/wrd/main
http://server/app1/test/main
Each environment has web config +
Urouter configuration.
Context Servlet ComponentProtocol Server:port
24. Uniface Common resources
e.g. unifacewebappsunifacecommonuniface.js
Web folder: ../common
Override in wasv.asn:
[SETTINGS]
$UNIFACE_RUNTIME_BASE_URL=/uniface/common
or Tomcat Context (virtual dir):
CommontomcatconfCatalinalocalhost
WebStart#common.xml
30. Desktop vs. Web
No Structure Editor
Triggers
Statements & functions
Stateless
Database transactions
Security
Performance
Fault Tolerance
Function Replaced by
Macro activate of operation
$prompt In Javascript in 9.7.02
$dbocc Javascript Occurrence.getStatus Function, if
necessary on client side
edit, display,
$editmode
Displaymode can be achieved in DSPs only by use
of non editable widgets
$formtitle Headers in HTML or in Uniface fields
message Webmessage
Apexit exit (0), do not leave with negative status
askmess Separate Dialog (DSP or JavaScript) with buttons
for the answer
$curhits No stepped hitlist in web
$fieldcheck No option to force validation with $fieldcheck. If
immediate reaction is neccessary, best check for
change in Javascript,
$instanceparent Function works also in DSPs, but sequence of
activation and perhaps DSPs itself different from
C/S
$batch DSPs can‘t run in batch, Forms can be kept for
batch usage.