Skip to content
Browse files

Added README

  • Loading branch information...
1 parent c762680 commit 8bf872276751d29efd7dcbd07f55c8b555d3edde @karmi committed
Showing with 68 additions and 0 deletions.
  1. +1 −0 09_uploader.rb
  2. +67 −0 README.markdown
View
1 09_uploader.rb
@@ -1,6 +1,7 @@
require 'net/http'
require 'uri'
+# Just a simple wrapper to <tt>Net::HTTP</tt>
class Uploader
URL = 'http://127.0.0.1:4567/'
def self.post(file)
View
67 README.markdown
@@ -0,0 +1,67 @@
+_Shoes_ GUI Toolkit Demonstration Apps
+======================================
+
+A collection of small apps for demonstrating the features of [_Shoes_][shoes] GUI toolkit.
+
+Suitable for presentation at lectures, user group meetings, etc.
+
+1/ Shapes
+---------
+
+Basics: drawing shapes on screen. Shoes as domain-specific language.
+
+
+2/ Shapes and Colors
+--------------------
+
+Drawing with colors. More DSL.
+
+
+3/ Animations
+-------------
+
+The `animate` method. Calculations.
+
+
+4/ Interactivity
+----------------
+
+Basics: clicking invokes associated block.
+
+
+5/ Interactivity with objects
+-----------------------------
+
+Subclassing `Shoes::Widget` extends _Shoes'_ DSL.
+
+
+6/ Layout
+---------
+
+Inspiration in HTML.
+
+
+7/ Interface
+------------
+
+Forms are as easy in _Shoes_ as in HTML.
+
+
+8/ Live Interface
+-----------------
+
+Let's send the data to a _Rails_ application running at `http://localhost:3000` and read the status. See the simple _Rails_ app in `rails_people` directory.
+
+
+9/ Uploader
+-----------
+
+More complex example: a simple "uploader" sending one or more files with `Net::HTTP` to a [_Sinatra_][sinatra] application (see `sinatra_upload_service.rb`), which receives files and saves them to `uploads` directory. Demonstrates more complex interface, working with progress bars in Shoes, using _threads_.
+
+---
+
+Released under MIT license
+
+
+[shoes]: http://www.shoooes.net
+[sinatra]: http://sinatra.rubyforge.org/

0 comments on commit 8bf8722

Please sign in to comment.
Something went wrong with that request. Please try again.