From: Martin DeMello Date: 2010-09-08T01:48:52+09:00 Subject: Re: ruby without framework On Tue, Sep 7, 2010 at 9:31 PM, Mohammed Rashad wrote: > Can I use ruby code running in web browser without any frameworks used? > Also anyone please tell me how to make framework, Please give me some tips > or spark to start with. > I need to make a new framework because I need to re-use the ruby code > (actually shares the code) for desktop version and the new framework. Check out rack [http://rack.rubyforge.org/] - it's not a framework so much as an interface that lets your app communicate with a webserver. Also, what I've done in the past when I needed to share ruby code between a desktop and web ui is to put most of it in libraries, and have a small sinatra app that used those libraries. martin