Re: vibe.d 0.7.12 released

2013-02-13 Thread Michael
Another one template engine that has pretty syntax is Razor in ASP.NET MVC. It's opensource and can be used in non-web areas. Although it would be good to read a simple tutorial how to use/integrate 3rd party template engine with vibe.d.

Re: vibe.d 0.7.12 released

2013-02-12 Thread Nathan M. Swan
On Monday, 11 February 2013 at 21:41:33 UTC, Jacob Carlborg wrote: On 2013-02-11 22:07, FG wrote: The problem I have with those is that they are designed for HTML. What if I wanted to make an email template instead? Erb is like a Ruby preprocessor that can be used for any format. It's used

Re: vibe.d 0.7.12 released

2013-02-12 Thread Johannes Pfau
Am Mon, 11 Feb 2013 20:08:44 +0100 schrieb FG h...@fgda.pl: Great project -- a flagship example of D's real world application! On 2013-02-11 19:11, Ali Çehreli wrote: same code as Python, translated to D. Of course, the solution that use vibe.d does not have Python's infamous GIL;

Re: vibe.d 0.7.12 released

2013-02-12 Thread Sönke Ludwig
Am 12.02.2013 09:36, schrieb Johannes Pfau: mustache has a D implementation since some time: https://github.com/repeatedly/mustache-d There's no special vibe.d integration, but it shouldn't be hard to get it working. I've used mustache-d before it's pretty easy to use but it's a simple

Re: vibe.d 0.7.12 released

2013-02-11 Thread Jordi Sayol
Al 11/02/13 12:53, En/na Sönke Ludwig ha escrit: Changes: - Refactored the MongoDB client to better match the actual database structure + range interface for query results (by Dicebot) - A number of important fixes in the HttpClient and ConnectionPool - Correct memory alignment is

Re: vibe.d 0.7.12 released

2013-02-11 Thread Aleksandar Ruzicic
On Monday, 11 February 2013 at 19:08:16 UTC, FG wrote: Great project -- a flagship example of D's real world application! On 2013-02-11 19:11, Ali Çehreli wrote: same code as Python, translated to D. Of course, the solution that use vibe.d does not have Python's infamous GIL; instead, it

Re: vibe.d 0.7.12 released

2013-02-11 Thread Jacob Carlborg
On 2013-02-11 20:08, FG wrote: Great project -- a flagship example of D's real world application! On 2013-02-11 19:11, Ali Çehreli wrote: same code as Python, translated to D. Of course, the solution that use vibe.d does not have Python's infamous GIL; instead, it comes with parallelism and

Re: vibe.d 0.7.12 released

2013-02-11 Thread Nick Sabalausky
On Mon, 11 Feb 2013 20:11:13 + Russel Winder rus...@winder.org.uk wrote: On Mon, 2013-02-11 at 10:11 -0800, Ali Çehreli wrote: […] I use vibe.d as an example of how useful a tool D is. Recently, somebody has shown me a web server code written in Python: It was in 14 lines, could you

Re: vibe.d 0.7.12 released

2013-02-11 Thread FG
On 2013-02-11 21:11, Russel Winder wrote: Python is not being compared to D here, vibe.d is being compared to what? Flask, Bottle,… Who knows, maybe Python was being compared. You can have a nice HTTP server in Python in 0 lines of code, by running: python -m SimpleHTTPServer :) Issues

Re: vibe.d 0.7.12 released

2013-02-11 Thread FG
On 2013-02-11 21:37, Jacob Carlborg wrote: On 2013-02-11 20:08, FG wrote: I'm struggling with the temptation to move a Python website to vibe.d. What keeps me from doing that are Django templates. Not even because vibe's templates have to be recompiled each time some small markup change is

Re: vibe.d 0.7.12 released

2013-02-11 Thread Nick Sabalausky
On Mon, 11 Feb 2013 20:08:44 +0100 FG h...@fgda.pl wrote: Great project -- a flagship example of D's real world application! On 2013-02-11 19:11, Ali Çehreli wrote: same code as Python, translated to D. Of course, the solution that use vibe.d does not have Python's infamous GIL; instead,

Re: vibe.d 0.7.12 released

2013-02-11 Thread jerro
On Monday, 11 February 2013 at 21:06:41 UTC, FG wrote: On 2013-02-11 21:37, Jacob Carlborg wrote: On 2013-02-11 20:08, FG wrote: I'm struggling with the temptation to move a Python website to vibe.d. What keeps me from doing that are Django templates. Not even because vibe's templates have to

Re: vibe.d 0.7.12 released

2013-02-11 Thread Nick Sabalausky
On Mon, 11 Feb 2013 12:53:55 +0100 Sönke Ludwig slud...@outerproduct.org wrote: Changes: - Refactored the MongoDB client to better match the actual database structure + range interface for query results (by Dicebot) - A number of important fixes in the HttpClient and ConnectionPool

Re: vibe.d 0.7.12 released

2013-02-11 Thread Jacob Carlborg
On 2013-02-11 22:07, FG wrote: The problem I have with those is that they are designed for HTML. What if I wanted to make an email template instead? Erb is like a Ruby preprocessor that can be used for any format. It's used for many things in Ruby on Rails: index.html.erb - Erb

Re: vibe.d 0.7.12 released

2013-02-11 Thread David
Am 11.02.2013 12:53, schrieb Sönke Ludwig: Changes: - Refactored the MongoDB client to better match the actual database structure + range interface for query results (by Dicebot) - A number of important fixes in the HttpClient and ConnectionPool - Correct memory alignment is now

Re: vibe.d 0.7.12 released

2013-02-11 Thread Dicebot
I have considered writing and proposing one, but it is a very low priority to me now, sorry. Should be not that difficult considering driver for MySQL can be used as an example ( http://registry.vibed.org/packages/mysql-native ), just time-consuming.

Re: vibe.d 0.7.12 released

2013-02-11 Thread Sönke Ludwig
Am 11.02.2013 20:08, schrieb FG: So let me use this opportunity to ask you: is somebody working on other template systems for vibe.d already or shall I get involved myself? I'm thinking about something similar to this, syntax-wise: http://jinja.pocoo.org/ I personally also wanted to