From: James Dinkel Date: 2008-04-02T07:09:14+09:00 Subject: Re: Simple and stable web server? Is there any? Alexey Petrushin wrote: > Can you please advice a simple and stable web server in ruby? > Requirements: > -simplicity > -session management > > > In short i should implement an application with pure object database and > desktop app like GUI (i.e. ideally i should never work explicitly with > http and html and all this web stuff). > > So, i don't need all these ActiveRecords, MVC, Actions and Controllers > and any 'Magic'. > Just simple and ready to usage webserver (with sessions) > > Is there any suitable? > > Thanks! :) > > Candidates: > WEBRick - no session support > Mongrel - no session support > CGI - too old slow and complex and dinozauric > > Maveric - bugs (session doesn't work) > RoR, Camping - too many magic and external stuff like ActiveRecords. > > Right now it looks like there are nothing really usable (i mean well > documented and stable) for web dev in ruby world except RoR and MVC > model. > > Hope, i miss something, and ruby is not only about RoR and MVC :) The fact that you are calling CGI and RoR "webservers" would indicate that you have no idea what you are talking about. Not that it's your fault, it just makes it hard to figure out what it is you are asking for. For one thing, I don't see how you plan to write a web application without touching html. No matter how you put together your app, no matter what processing goes into the back end, you eventually have to produce an html file to be sent to the browser. Unless maybe you want to write the backend code and someone else write the html formatting, which is exactly what Rails is good at - you write the model and controller and someone else writes the view. -- Posted via http://www.ruby-forum.com/.