From: beripome@... (Billy) Date: 2002-02-19T19:58:29+09:00 Subject: Re: Ruby for web development Hey! I assume you mean URL. Havn't got one yet its all on my local. Currently setting up company. Zend 2 sucks. Its reaks of sticky tape and chewing gum if you get my drift. They are just tacking on extra features and at the same time PHP is going to lose what consistency it has left. Theres nothing I despise more than that philosophy to software development. Hell I wouldn't use Windows for a production environment either. In fact I wouldn't use windows at all if I had the choice (thats maybe a little harsh - 2000 is ok). But I develop on windows cause I have to (Macromedia Dreamweaver/ fireworks + photoshop) and you'll find that a huge amount of webdevelopers do that too. Then transfer to linux server. I just got eruby working. Nice. And I guess since Im not in production it doesn't matter if I run eruby as CGI. I'm going to check out the DBI. Get mod_ruby going for linux properly. Ruby could steal a huge user base from PHP, if eruby + mod_ruby was a real option. > Maybe you might concider using PHP as a thin caching front end to a > Ruby-powered daemon or so, or even coding to a platform like WEBrick. > Probably more for interest value than anything else, but you don't > mention whether you're coding for a mission critical environment or just > to make something cool. I'm very seriously thinking about something along these lines. Push all the logic over to Ruby maybe then have it generate PHP code for simple dumb serving of pages.... brain working.... brain working... Cheers, Billy Thomas Hurst wrote in message news:<20020219041446.GA91182@voi.aagh.net>... > * Billy (beripome@yahoo.com) wrote: > > > I've just recently discovered ruby. I have a very large database > > management/ content management app written in PHP. > > URI? > > > I'm really desperate to transfer over to ruby to gain the extra > > features. > > Have you looked at Zend 2? > > > I'm very very excited by the features ruby has (i actually found it > > difficult to sleep last night thinking about it). > > > > Unfortunately, unless I'm malinformed, ruby has a wee way to go yet > > untill I would risk swapping over. > > Maybe you might concider using PHP as a thin caching front end to a > Ruby-powered daemon or so, or even coding to a platform like WEBrick. > Probably more for interest value than anything else, but you don't > mention whether you're coding for a mission critical environment or just > to make something cool. > > > Here's some things that need to be done for Ruby to explode. These are > > mostly what PHP had when it exploded. > > > Windows (Ruby + Eruby or similar)/(Apache + stable mod_ruby) > > installer. > > *shrug*, you mention this then later talk about production environments, > make up your mind :) > > > - No half working eruby (i havn't been able to get eruby to > > work on my windows box yet) > > erb is written entirely in Ruby iirc. > > > - mod_ruby for windows! a stable mod_ruby... I read somewhere it leaks > > memory every use and that it can't be fixed cause way ruby is built. > > PHP benefits greatly from being targeted purely at embedded webserver > environments, so a great deal of work goes into making it stable and > compatible with many different webservers. > > mod_ruby, on the other hand, is a rather small effort with a limited > userbase and diluted by the fact that most ruby work goes into stuff > outside of the web, or used at levels where CGI is sufficient. > > > Say goodbye to possibility of using eruby in production environment! > > I wouldn't want to, embedded languages are evil :) > > > Easy database interface. > > -DBI for PERL ring any bells? Ruby has one i think but at about vers > > 0.00001?? > > Tracking functionality and stability are more important than mere > version numbers :)