DWS WebServer with JavaScript CodeGen
The pre-compiled 2014.10.13 version of the DWScript WebServer is now available!
This version includes the Pascal to JavaScript CodeGen!
The pre-compiled 2014.10.13 version of the DWScript WebServer is now available!
This version includes the Pascal to JavaScript CodeGen!
Below is a quick summary of changes in the SVN since the last post.
There is also a mini-sneak peek of things to come!
Long time, no post here, but not no happenings on the DWScript front 🙂
Behold a “cleaned up old logo” for DWScript, which will replace the old one until a better one is made
A new pre-compiled release v2014.04.04 for the DWS WebServer is available from the downloads page, it is compiled from the latest source.
Besides the usual demo sites, it has been used to serve a crypto-currency block-chain explorer website that peaked at 1600 page views / hour after some successful tweets went viral.
We’ve all encoutered reCAPTCHA, as it’s one of the few effective ways to protect form submissions from bots on the internet.
Acquired by google in 2009, it comes with multiple plugins for various web environment, here is a plugin for DWScript.
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.
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.
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.
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).