Best wishes for 2017!

A belated Happy New Year and Best Wishes for 2017!

This site and news have been neglected for much of 2016, this year’s resolution will be to try and revive it a bit.

In particular announcements and articles have fallen way behind the code as far as DWScript is concerned. So I will start the year by attempting to rectify that.

(more…)

BeginEnd.net has begun, where will it end?

beginend176Last week www.beginend.net was launched with the goal of aggregating Pascal and Delphi blogs in a mobile-friendly, secure website with a minimalist UI.

The website is Pascal-Powered: the server is Delphi-compiled DWScript Sample Web server, the server-side page generation and APIs are handled by DWS and an SQLite database, and the client-side is a SmartPascal application compiled on-the-fly to JavaScript by the server.

(more…)

New DWS WebServer release

DWS_serverA 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.

(more…)

HTTP Redirection in DWSWebServer

DWS_serverHere 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.

(more…)