D For A Web Developer

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 21:21:18 PDT 2014


On Wednesday, 30 April 2014 at 04:10:14 UTC, Dicebot wrote:
> On Wednesday, 30 April 2014 at 02:43:43 UTC, Rikki Cattermole 
> wrote:
>> On Tuesday, 29 April 2014 at 14:41:19 UTC, James wrote:
>>> I have a friend that is a web developer. I, however want to 
>>> collaborate with him, so I am trying to get him to learn D. I
>>>  don't know how to persuade him! How can D be used to greatly 
>>> assist an HTML5/JavaScript web developer? I decided to go 
>>> here to get some good answers. How can D be used to interopt 
>>> with modern web development?
>>
>> If you want to show him what's possible with D, just show him 
>> Cmsed[0] ;)
>> All I'm saying is, if you ever not want to write ajax code 
>> again, Cmsed is your friend [1].
>>
>> [0] https://github.com/rikkimax/Cmsed
>> [1] https://gist.github.com/rikkimax/11043210
>
> Having a quick look at Cmsed I must admit I like plain vibe.d 
> much more despite the added features :( Forced module coupling 
> and OO-heavy design is big loss compared to design simplicity 
> and independence of base vibe.d modules.
>
> For example I can't imagine a single case when I'd prefer 
> class-based route definition to stock delegate-based.

The classes are unfortunately just a container for routes. So if 
you got a better way, that can provide the same functionality, 
I'd love for a plan on how to do it!

Basically my idea is that you register as little as possible. 
That was why I went with a class for routes.

I'm really gunning for less, simpler = more. And for medium-large 
sites thats kinda important.


More information about the Digitalmars-d mailing list