From: Mohammed Rashad Date: 2010-09-07T23:06:38+09:00 Subject: Re: ruby for desktop and web --001636456f22665275048fabe70a Content-Type: text/plain; charset=ISO-8859-1 Can I use M-V-C architecture keeping Model and controller common for both web and desktop and changing view only *For desktop (using c++/ruby) need to fix it because I want to know that Can I use the same ruby class which are abstract for both web and desktop* Model Controller desktop-view (using c++ and FOX) *For Web* Model Controller web-view On Tue, Sep 7, 2010 at 7:26 PM, Roger Pack wrote: > wrote: > > I need to develop a application which can be used in desktop environment > and > > web environment. The code/core classes written for desktop version must > be > > reused for the web also. code REUSE is a must property. > > Unfortunately ruby doesn't run "natively" in the browser. So if you > want to re-use the exact same code as desktop app and ruby app, you > can either "run a rails app locally and use its web interface" (then > use the same rails app on the web), or use jruby and "java web start" > to have the same program run locally and remotely. > > Also related is the (non-ruby) GWT. > Cheers! > -r > > -- Rashad --001636456f22665275048fabe70a--