How to web programming with D2?

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Thu Feb 10 01:57:30 PST 2011


On Thu, 10 Feb 2011 04:29:21 -0500, canalpay wrote:

> I am trying to write the web framework(but not to write, to gain
> experience.). Maybe the framework can has got a MVC  desing pattern. But
> first, the D2 is not has got for the web library and I am decided write
> to library for web.
> 
> I am writed a function for post and get methods. (I am not tried to
> functions. But I think, they are works.) POST:
> https://github.com/canalpay/turna/blob/master/library/post.d GET  : 
> https://github.com/canalpay/turna/blob/master/library/get.d
> 
> Environment variables are easy to write for the function. But How to
> write a cookie and session? I looked at the codes of tango. However,
> don't understand.(I'm new to d programming language.)

Adam D. Ruppe does a lot of web development in D, and he has created a 
fairly extensive web-dev library.

  http://arsdnet.net/dcode/

For cookie/session handling, cgi.d is probably the place to look.

-Lars


More information about the Digitalmars-d-learn mailing list