uniGUI: Advanced Topic I

Total Pages: 335 • Year: 2025 • Author: Frederico Monteiro
Part I: Introduction 7
1. Author's letter to readers7
2. To whom this book is for8
3. The future of uniGUI10
4. Terms and definitions used10
Part II: Chapter 1 - The architecture of a uniGUI program 13
1. Stateful X Stateless16
2. How a uniGUI program works18
3. All uniGUI Forms24
4. uniGUI Forms Spreadsheet28
5. Automatic and manual form creation29
6. ServerModule x MainModule34
7. The use of frames40
8. Forms VCL with uniGUI45
9. The MainForm48
10. Examples from this chapter48
Part III: Chapter 2 - Sessions 50
1. Managing Sessions52
2. Simultaneity of processes53
3. Control and management62
4. Scheduled shutdown with update notification70
5. Injecting JavaScript code into client sessions72
6. Examples from this chapter74
Part IV: Chapter 3 - Basic concepts of HTML 75
1. Essential HTML tags79
2. HTML errors85
3. How uniGUI outputs data86
4. Integration of uniGUI with HTML90
5. Conclusion92
6. Examples from the Chapter92
Part V: Chapter 4 - Basic concepts of CSS 94
1. Declaring CSS in your HTML code101
2. Changing component CSS at runtime110
3. CSS: Basic reference guide112
4. CSS Selectors119
Part VI: Chapter 5 - Basic concepts of JavaScript 123
1. The stars of JavaScript127
2. About Node.JS129
3. A JavaScript framework of your own130
4. To call a spade a spade134
5. Bootstrap and uniGUI135
6. The Ext.JS Framework139
7. IDERA X Delphi with Ext.Js144
8. JavaScript to "Delphianos"144
9. How to use JavaScript in HTML page147
10. Integrating JavaScript with components151
11. UniEvents and ExtEvents: an example with uniButton156
12. jQuery and uniGUI: perfect marriage160
13. jQuery in a very simple way161
14. Mixing Delphi and JavaScript163
15. Sending JavaScript code directly to the browser164
16. What is AJAX167
17. Examples from this chapter169
Part VII: Chapter 6 - Database 171
1. Database: Using FireDac172
2. Database: DB DBISam174
3. Json as Table176
Part VIII: Chapter 7 - The uniGUI components 181
1. Other "components" of uniGUI182
uniSession183
uniApplication184
uniServerInstance184
2. Components Layout185
3. All about Forms188
4. All about Panels198
5. Layout of Ext.Js components199
6. Layout VCL e Layout WEB/uniGUI202
7. Almost responsive layout204
8. uniGUI layout: The way of the stones209
9. Examples from this chapter214
Part IX: Chapter 8 - Creating Apps with a modern UX/UI 217
1. UX x UI219
2. Images Format223
3. Screen size and resolution229
4. Responsive, Adaptive or Hybrid ?231
Types232
Responsive Design235
Responsive WebSite x Responsive Apps240
The confusion between Responsive Website and Responsive Application242
Is it possible Write once, run anywhere?243
Adaptive Design244
5. PWA - Perhaps the future of uniGUI?245
uniGUI Is a PWA?250
Benefits of Progressive Web Apps251
PWA x Native APP252
PWA across browsers255
PWA in Apple devices256
6. SPA (Single Page Application)261
Part X: Chapter 9 - A small hybrid application 264
1. Preparing the house264
2. Essential code portfolio, utils and tips265
3. Best practices for any program with uniGUI267
4. How to improve the load when starting269
5. Layout Interface Mobile271
6. Desktop Interface Layout275
7. Examples from this chapter275
Part XI: Chapter 10 - It's Showtime! 276
1. Basic software for your application278
The real McCoy's279
The Internet Information Service282
How to configure IIS to run ISAPI283
Xamp x Wamp286
2. SSL Certificate292
3. SSL Certificates in uniGUI StandAlone302
Part XII: Chapter 11 - Advanced tips for uniGUI and Demos Projects 305
1. General Tips on uniGUI305
Cache Problems305
LoginForm Centralized Auto Alignment306
Change uniGUI initial load logo306
Launch StandAlone application directly in the browser after compiling307
Terminate application before starting a new run308
Simple Captcha308
Reading parameters passed in StandAlone or ISAPI309
2. Interface and Effects310
Edit control highlighting (by control class)310
Specific editing control highlight312
Edit Mask (Ext.JS)314
Change/apply Edit Mask At RunTime316
JQueryMasks317
3. Download Demos-