uniGUI: Advanced Topic I, 335 Pages - PDF
© 2025 Frederico Monteiro
Table of Contents
Part I Introduction 7
1 Author's letter to readers ... 7
2 To whom this book is for .. 8
3 The future of uniGUI . 10
4 Terms and definitions used 10
Part II
Part II Chapter 1-The architecture of a uniGUI program 13
1 Stateful X Stateless .. 16
2 How a uniGUI program works 18
3 All uniGUI Forms .. 24
4 uniGUI Forms Spreadsheet 28
5 Automatic and manual form creation ... 29
6 ServerModule x MainModule . 34
7 The use of frames . 40
8 Forms VCL with uniGUI ... 45
9 The MainForm ... 48
10 Examples from this chapter 48
Part III Chapter 2-Sessions 50
1 Managing Sessions .. 52
2 Simultaneity of processes .. 53
3 Control and management. . 62
4 Scheduled shutdown with update notification ... 70
5 Injecting JavaScript code into client sessions .. 72
6 Examples from this chapter 74
Part IV Chapter 3-Basic concepts of HTML 75
1 Essential HTML tags . 79
2 HTML errors 85
3 How uniGUI outputs data . 86
4 Integration of uniGUI with HTML. 90
4-Chapter 4-Basic concepts of HTML, CSS and JavaScript
4.1 Essential HTML tags
5 Conclusion . 92
6 Examples from the Chapter 92
Part V Chapter 4-Basic concepts of CSS 94
1 Declaring CSS in your HTML code . 101
2 Changing component CSS at runtime 110
3 CSS: Basic reference guide .. 112
4 CSS Selectors .. 119
Part VI Chapter 5-Basic concepts of JavaScript 123
1 The stars of JavaScript .. 127
2 About Node.JS . 129
3 A JavaScript framework of your own . 130
4 To call a spade a spade 134
5 Bootstrap and uniGUI 135v
6 The Ext.JS Framework .. 139
7 IDERA X Delphi with Ext.Js ... 144
8 JavaScript to "Delphianos" ... 144
9 How to use JavaScript in HTML page . 147
10 Integrating JavaScript with components ... 151
11 UniEvents and ExtEvents: an example with uniButton ... 156
12 jQuery and uniGUI: perfect marriage . 160
13 jQuery in a very simple way . 161
14 Mixing Delphi and JavaScript . 163
15 Sending JavaScript code directly to the browser 164
16 What is AJAX ... 167
17 Examples from this chapter .. 169
Part VII Chapter 6-Database 171
1 Database: Using FireDac .. 172
2 Database: DB DBISam ... 174
3 Json as Table .. 176
Part VIII Chapter 7-The uniGUI components 181
1 Other "components" of uniGUI 182
uniSession 183
uniApplication 184
uniServerInstance . 184
2 Components Layout 185
3 All about Forms .. 188
4 All about Panels . 198
5 Layout of Ext.Js components 199
6 Layout VCL e Layout WEB/uniGUI .. 202
7 Almost responsive layout .. 204
8 uniGUI layout: The way of the stones . 209
9 Examples from this chapter .. 214
Part IX Chapter 8-Creating Apps with a modern UX/UI 217
1 UX x UI . 219
2 Images Format 223
3 Screen size and resolution ... 229
4 Responsive, Adaptive or Hybrid ? 231
Types .. 232
Responsive Design .. 235
Responsive WebSite x Responsive Apps .. 240
The confusion betw een Responsive Website and Responsive Application .. 242
Is it possible Write once , run anyw here ? 243
Adaptive Design . 244
5 PWA - Perhaps the future of uniGUI? . 245
uniGUI Is a PWA ? ... 250
Benefits of Progressive Web Apps . 251
PWA x Native APP ... 252
PWA across browsers . 255
PWA in Apple devices .. 256
6 SPA (Single Page Application) .. 261
Part X Chapter 9-A smafll hybrid application 264
1 Preparing the house 264
2 Essential code portfolio, utils and tips . 265
3 Best practices for any program with uniGUI 267
4 How to improve the load when starting ... 269
5 Layout Interface Mobile ... 271
6 Desktop Interface Layout . 275
7 Examples from this chapter . 275
Part XI Chapter10-It's Showtime ! 276
1 Basic software for your application . 278
The real McCoy's .. 279
The Internet Inform ation Service ... 282
How to configure IIS to run ISAPI 283
Xam p x Wam p . 286
2 SSL Certificate 292
3 SSL Certificates in uniGUI StandAlone 302
Part XII Chapter 11-Advanced tips for uniGUI and Demos
Projects 305
1 General Tips on uniGUI ... 305
Cache Problem s . 305
LoginForm Centralized Auto Alignm ent .. 306
Change uniGUI initial load logo ... 306
Launch StandAlone application directly in the brow ser after com piling .. 307
Term inate application before starting a new run . 308
Sim ple Captcha ... 308
Reading param eters passed in StandAlone or ISAPI 309
2 Interface and Efeitos 310
Edit control highlighting (by control class) .. 310
Specific editing control highlight ... 312
Edit Mask (Ext.JS) ... 314
Change/apply Edit Mask At RunTim e . 316
JQueryMasks .. 317
3 Download Demos and Bonus Pack .
|