Re: How To Dynamic Web Rendering?

2011-05-15 Thread Alexander
On 14.05.2011 23:20, Adam Ruppe wrote: 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. Something like this: http://core.trac.wordpress.org/browser/trunk/wp-content/themes/twentyten/header.php If by

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Alexander
On 15.05.2011 06:28, Nick Sabalausky wrote: There's always shitty programmers out there. *Especially* in web development. Looks like most of them are, right? :) Not familiar with drupal. Wordpress is pure shit. And no, popularity does *not* equate to quality. From end user point of

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Adam D. Ruppe
Alexander wrote: If application is a set of pages, there should be a way to share data between pages without using complicated or expensive persistent storage. FYI, PHP uses files on the hard drive for sessions by default... optionally, it can use a database too. AFAIK, there is no in-memory

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Adam D. Ruppe
Alexander: That kind of a comment made me crazy many times - because then I had to dig inside the program to find the place where it was filled Meh, is it any worse than digging into the program to figure out what a function referenced in the template does? If at some point I want to change

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Nick Sabalausky
Alexander aldem+dm...@nk7.net wrote in message news:iqobn4$1h7v$1...@digitalmars.com... On 15.05.2011 01:25, Adam Ruppe wrote: #1: Wordpress /is/ horrible. One of the worst projects I have to deal with for work... It works, and does it well enough. There are many projects which look

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Adam D. Ruppe
My understanding is that you CANNOT assume different requests in the same session from the same computer are coming from the same IP. Yea, I've heard of that, but it seems to work. phpBB has an option to only check some of the IP, which would probably work even better. Worst case is if I get a

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Nick Sabalausky
Alexander aldem+dm...@nk7.net wrote in message news:iqocgq$1iko$1...@digitalmars.com... On 15.05.2011 06:42, Nick Sabalausky wrote: All of that *was considered acceptable practice*. But the fact they found it acceptable obviously doesn't change the fact that those are horrible practices:

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Nick Sabalausky
Alexander aldem+dm...@nk7.net wrote in message news:iqoc6r$1hqu$1...@digitalmars.com... On 15.05.2011 06:28, Nick Sabalausky wrote: There's always shitty programmers out there. *Especially* in web development. Looks like most of them are, right? :) Unfortunately, yes. Not familiar

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Alexander
On 15.05.2011 22:56, Nick Sabalausky wrote: It *barely* works. And I *did* stop using it specifically because it worked so poorly. Don't get it too personally, but probably, you didn't read the manual? ;) It works perfectly, even for those who are *not* familiar with software of web

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Alexander
On 15.05.2011 22:53, Nick Sabalausky wrote: That's just plain rediculous. Software development isn't some damn hippie commune where There are never any wrong answers, just different opinions! It is. There are *many* ways to do the same thing in software, using different languages,

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Alexander
On 15.05.2011 23:13, Nick Sabalausky wrote: I've *been* a WordPress end user. It performed like shit. I got rid of it. There are many people who dislike Windows too - for the same reasons. But now, I want to know - which universe you are from? I never had any problems with WordPress nor

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Nick Sabalausky
Alexander aldem+dm...@nk7.net wrote in message news:iqpi2b$pc7$1...@digitalmars.com... Sure, Apple has his share of problems. But they are rich and popular. Do you, with your perfect solutions? ;) Sorry, I forgot that what's popular is always right and what's right is always popular.

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Nick Sabalausky
Alexander aldem+dm...@nk7.net wrote in message news:iqpi2b$pc7$1...@digitalmars.com... Nothing is rational for anyone because most people are irrational imbeciles. Thank you, Nick. Now I know who I am :) FWIW, I didn't intend anything I've said as anything personal against you. It

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Robert Clipsham
On 15/05/2011 22:46, Alexander wrote: On 15.05.2011 23:05, Nick Sabalausky wrote: And like I said at the beginning, the old-style-PHP/ASP of mixing code and HTML is one of the things that *HAS* become widely accepted as bad practice. Could you please back your claims with something? I know

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Robert Clipsham
On 15/05/2011 22:44, Alexander wrote: On 15.05.2011 22:56, Nick Sabalausky wrote: It *barely* works. And I *did* stop using it specifically because it worked so poorly. +1 Don't get it too personally, but probably, you didn't read the manual? ;) It works perfectly, even for those who

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Adam D. Ruppe
I wrote: When I wrote my http code, I just spent a little time updating this. It's still built on my old netman.d, which uses Linux system calls so prolly linux only (it does select() and friends directly, should be easy enough to port to WinSock or std.socket but I wrote what I knew and left it

Re: How To Dynamic Web Rendering?

2011-05-15 Thread Adam D. Ruppe
Robert Clipsham: which I believe he's using professionally, so it has to be reasonably good) Indeed, cgi.d, mysql.d, and dom.d have both been used on a few of my client's live sites for about a year now. If they have serious bugs, I've subconsciously learned to avoid them, since there's been