Re: How To Dynamic Web Rendering?

2011-05-14 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:iqkbm3$8gc$1...@digitalmars.com... > Nick Sabalausky wrote: >> Be glad it's not VB6, or worse, VBScript. > > Oh, I know it! One of my side jobs I picked up this year is > maintaining somd old VBS program, using classic ASP. > > There's so much nonsense. It do

Re: Removing an element from SList

2011-05-14 Thread Jonathan M Davis
On 2011-05-14 09:00, Jesse Phillips wrote: > So I'm lost on why it is so hard to get an element removed from an SList: > > test.d(7): Error: function std.container.SList!(string).SList.linearRemove > (Range r) is not callable using argument types (string[]) test.d(7): > Error: cannot implicitly co

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:iqnl10$au2$1...@digitalmars.com... > "Alexander" wrote in message > news:iqmrh6$22b0$1...@digitalmars.com... >> On 14.05.2011 21:48, Nick Sabalausky wrote: >> >>> That's not an advantage at all. That was considered an advantage of PHP >>> (and >>> ASP) a

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Nick Sabalausky
"Alexander" wrote in message news:iqmrh6$22b0$1...@digitalmars.com... > On 14.05.2011 21:48, Nick Sabalausky wrote: > >> That's not an advantage at all. That was considered an advantage of PHP >> (and >> ASP) ages ago, but then web developers quickly discovered that was a >> horrible, horrible t

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Adam Ruppe
Yea, I'm going to start storing or at least linking some of my writings in that new web.d directory so it will be easier to find. For a version control system though, blargh, it always feels like extra work to me. I very rarely use them at all. Most my basic libs though are pretty stable now. cgi.

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Adam Ruppe
> *All* developers? ;) Sorry, I've to disagree - still there are way > too many projects where this is not considered "horrible" (just two > quite popular examples - Drupal & Wordpress). #1: Wordpress /is/ horrible. One of the worst projects I have to deal with for work... (in the OT subthread wh

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Adam Ruppe
> Not really a solution. It doesn't work like PHP/ASP do - the result > cannot communicate with other pages even if you implement the caching. Can you show me a PHP example showing what you mean? I can't think of anything you can do in PHP that D can't do at least as well. If by communicating wi

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Alexander
On 14.05.2011 21:48, Nick Sabalausky wrote: > That's not an advantage at all. That was considered an advantage of PHP (and > ASP) ages ago, but then web developers quickly discovered that was a > horrible, horrible thing to do and caused nothing but terrible code. *All* developers? ;) Sorry,

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Alexander
On 14.05.2011 17:13, Adam Ruppe wrote: > 1) I wrote a little program called dhp.d - write D in a PHP style. Not really a solution. It doesn't work like PHP/ASP do - the result cannot communicate with other pages even if you implement the caching. Basically, you have to implement the whole f

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Nick Sabalausky
"Alexander" wrote in message news:iqm4ru$qj3$1...@digitalmars.com... > On 13.05.2011 17:19, Adam D. Ruppe wrote: > >> It's *much* better, especially for rapid development. The compiler >> will tell me if my changes anywhere break things anywhere else, >> so I can modify with confidence. > > Sure

Cannot build qtd on dmd 2.053

2011-05-14 Thread simendsjo
I used the instructions here: http://dsource.org/projects/qtd/wiki/BuildWindows Could qtd depend on another qt sdk than the one linked from this page? A messagebox poppes up saying: "generator.exe - The procedure entry point _Z17qt_message_output9QtMsgTypePKc could not be located in the dynamic l

Re: How To Dynamic Web Rendering?

2011-05-14 Thread albatroz
This should be also be posted on the Announce list! I'm considering D for web develoment and your libs provide a nice solution, the only issue is until now we would have to dig on this NewsGroup for your posts (the big ones), so that we could have an ideia how to use them. I would also like to

Removing an element from SList

2011-05-14 Thread Jesse Phillips
So I'm lost on why it is so hard to get an element removed from an SList: test.d(7): Error: function std.container.SList!(string).SList.linearRemove (Range r) is not callable using argument types (string[]) test.d(7): Error: cannot implicitly convert expression (takeOne(["elements"])) of type st

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Adam Ruppe
Alexander wrote: > Sure, there are many pros. And one significant drawback - it > couldn't be easily embedded into HTML code. Two notes: 1) actually, you can. 2) You don't want to. 1) I wrote a little program called dhp.d - write D in a PHP style. http://arsdnet.net/dhp.d About 100 lines of D

Re: How To Dynamic Web Rendering?

2011-05-14 Thread Alexander
On 13.05.2011 17:19, Adam D. Ruppe wrote: > It's *much* better, especially for rapid development. The compiler > will tell me if my changes anywhere break things anywhere else, > so I can modify with confidence. Sure, there are many pros. And one significant drawback - it couldn't be easily em