Brain Patchwork's DXWF

Post Reply
ONiX
Site Admin
Posts: 168
Joined: Tue Nov 18, 2025 1:27 am

Brain Patchwork's DXWF

Post by ONiX »

In the 90's I helped co-author DevExpress' ExpressWebFramework (EWF) for Delphi 7.

30 years later, no one has taken this to the level of Delphi Developer [pushes] a DXWF application to a DXSock based webserver [all using Delphi 7].

1. The web server receives the PUSH source. [.dpr, .dfm, .pas, etc.]
2. Spawns dcc32.exe to build the .dpr into an application web server.exe (without writing a single line of web server, or .html or .js ~ I did it all already for you!).
3. Application Web Server takes over communications with an end-user.
Browser (Client)

│ HTTP: GET/POST

localhost:2875 (DXSock Server)

├─ TBPDXGenericServer (base class)
│ └─ TEWFDesignStudioServer (my web server extension)
│ ├─ InternalProcessSession
│ │ ├─ Parse HTTP
│ │ ├─ Route request
│ │ └─ Send response
│ ├─ HandleDesignSave
│ ├─ HandleDesignCompile
│ │ └─ dcc32.exe
│ ├─ HandleDesignList
│ └─ HandleAppsList

├─ DXSock Thread Pool
│ └─ One thread per client

└─ Process Spawner
├─ Port 2876: EWFApp_2876.exe ↔ localhost:2876
├─ Port 2877: EWFApp_2877.exe ↔ localhost:2877
└─ Port 2878: EWFApp_2878.exe ↔ localhost:2878
Post Reply