2-Day News Roundup
March 13th, 2008 | by Aldacron |Lester L. Martin II announced version 1.005 of his DInstaller package:
Today, I announce the release of DInstaller. It is written in C# just to get everything up to date with the latest dmd, tango, etc. However Mango support was removed as C# has a way to connect to other applications but I am having a hard time using it predictably.
DMD
DMD+TANGO
DMD+TANGO+TANGOBOS
DMD+PHOBOS+TANGO
DMD+PHOBOS+TANGO+TANGOBOS
DSSS
DDBG
DFL
are all supported.
Christopher Wright announced the first beta release of DUnit, a unit testing library that adds capabilities above and beyond D’s built-in unit tests. If D’s unit tests don’t float your boat, DUinit might.
Scott “stonecobra” Sanders of the Tango team has made several posts on his blog recently benchmarking Tango’s XML package against several C/C++/Java libraries (individually, the posts are here, here, and here with an explanation of the results here). Walter wants to make sure you know about the reddit thread regarding these posts (and, for kicks, this rant by a disillusioned C++ veteran who is ripe for conversion to D).
Benjamin “BCS” Shropshire has put together a template library that “produces both the client and server side parts of a JavaScript to D proxy that works off of AJAX like stuff.” From the README:
**** DISTRIBUTED WITHOUT WARRANTY OF ANY KIND ****Bottled AJAX
Written by Benjamin Shropshire
This template library generates a JavaScript object declaration that
proxies for a D object on the server and a D function that is used
on the server to carry out the proxy operations.see echo.d for an example of it’s use.
To use this program you will need “scrapple.cgi.cgi” It’s imported as
“cgi.cgi” so you might need to tweak some paths or package names.On my system I build and deploy like this
dmd echo.d bottledAJAX.d cgi/cgi.d
install -gapache -oapache -m644 u.html /var/www/html/
install -gapache -oapache -m644 request.js /var/www/html/scripts/
install -gapache -oapache -m755 echo /var/www/cgi-bin/if any of the paths change or the name of the executable changes you
will need to modify u.html and/or the build command.****************
This package requires Phobos.
And since it seems like web-related D stuff is always announced in twos, Moritz Warning has let it be known that he has a JSON RPC interface module that allows you to use AJAX with JSON from D. This module requires Tango.
Aldacron has just used the Horizontal Rule (<hr>) element for the first time since 1996.
Technorati Tags: D Programming Language, C++, AJAX, JSON, web programming