Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

short introduction

  • Loading branch information...
commit 911635e93ec6b7513e941917aa285d0fea84409d 1 parent b908903
@skrat authored
Showing with 52 additions and 0 deletions.
  1. +52 −0 README.markdown
View
52 README.markdown
@@ -0,0 +1,52 @@
+Sinwar skeleton
+===============
+
+Sinwar is skeleton for your application, if Ruby backend, and GWT client is
+what you are looking for. Applications can by easily deployed to Google
+AppEngine. JRuby based backend give you tons of freedom to express your
+business logic, while Java/GWT gives you cross-browser, future-proof
+foundation for building dynamic, asynchronous client.
+
+Introduction
+============
+
+Server
+------
+
+JRuby rack application is made by following this article:
+<http://blog.bigcurl.de/2009/04/running-sinatra-apps-on-google.html>
+
+Client
+------
+
+GWT application is based on following libraries:
+
+ * [google-gin](http://code.google.com/p/google-gin/)
+ * [google-guice](http://code.google.com/p/google-guice/)
+ * [gwt-presenter](http://code.google.com/p/gwt-presenter/)
+ * [gwt-dispatch](http://code.google.com/p/gwt-dispatch/)
+ * [restlet for GWT](http://www.restlet.org/)
+
+Presenter based architecture is inspired by articles from Hive Development
+<http://blog.hivedevelopment.co.uk/2009/08/google-web-toolkit-gwt-mvp-example.html>
+
+..which in turn were triggered by Google I/O 2009 talks about non-trivial GWT
+applications. You can watch the video here:
+<http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html>
+
+Getting started
+===============
+
+Server
+------
+
+Your sinatra application is located in war/WEB-INF/app.rb. Nobody's forcing
+you to use Sinatra, you can use merb if you want to. All Ruby dependencies
+must be native code free in order to run on JRuby. Gem repository available
+to server application is in war/WEB-INF/gems.
+
+Client
+------
+
+On GWT side, you have to rename your.project package to whatever is your
+domain, and adjust GWT's module definition files (*.gwt.xml) accordingly.
Please sign in to comment.
Something went wrong with that request. Please try again.