DWScript binaries and downloads
As Google Code no longer allows downloads, I will incrementally relocate the DWScript downloads on this website.
The first of the new downloads is an updated binary installer for the DWS Web Server.
HTTP Redirection in DWSWebServer
Here is a small snippet to illustrate how you can perform a conditional HTTP 301 redirection in DWScript, and can serve as an illustration on serving “special” HTTP responses.
This is useful when a website is moved from one domain to another, but the server is not, ie. if both old and new domains are hosted by the same server.
BackgroundWorkers in DWScript
An utility that was added to the DWScript sample WebServer during the 4 TeraPixel Mandelbrot experiment is the BackgroundWorkers API.
This is a rather low-level threading facility that can work well with Global Queues to handle background tasks or serializing tasks.
DataBasePool in DWScript
A recent addition to dwsDataBase is the DataBasePool static class.
As the names indicates, it facilitates pooling database connections from the script-side, while previously you had to rely on Delphi or driver-side pooling (or lack of).
Globals Storages in DWScript
A Terapixel Image for the DelphiWebScript Christmas!
As a step up from the previous Mandelbrot Set explorer, I’m running a Terapixel image experience for DWScript Christmas 2013.
This is again on the Mandelbrot set, and involves a massive step up in complexity from the previous version, this one isn’t just server-side computed, it’s “Grid Computed” 🙂 (more…)
Setting up SSL for DWScript Web Server
Slim Multi-Read Single-Write Locks
Here are a few findings on Multi-Read Exclusive-Write Synchronizer from a recent upgrade of DWScript‘s GlobalVar functions.
I ran some comparisons between a plain Critical Section, Delphi’s TMultiReadExclusiveWriteSynchronizer and Windows Slim Reader/Writer Lock, of which an implementation was added to the dwsXPlatform unit.
Random Passphrase Generator
I’ve activated a small random pass phrase secure service based on DWScript Web Server.
You can reach it at