Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

node-webkit equivalent for sinatra?

I've been thinking about learning how to make simple Mac OS X applications based on web-technology and I came across node-webkit which seems compelling. However, I've recently invested in learning the basics of Sinatra/Ruby and I wanted to stay on that course.

Is there a "node-webkit equivalent" for developers who use Sinatra? Or, is there a recommended way to use the Sinatra framework (or Ruby) to build OS X apps that are essentially web wrappers?

like image 376
tonic Avatar asked Oct 02 '22 07:10

tonic


1 Answers

Sinatra is a server-side framework. Contrary to Node-webkit which is on client side.

If you need to interact with a server, you can still use sinatra (as well as node.js, php, ...) on your server.

But if you are looking for a framework like sinatra on node.js, you should look into Express.js : https://npmjs.org/package/express

like image 124
mastilver Avatar answered Oct 13 '22 11:10

mastilver