rwdziptinkerbellw 0.01
Sign up to get free protection for your applications and to get access to all the features.
- data/rwd_files/HowTo_TinkerBell.txt +110 -0
- data/tinkerbellw-0.01.zip +0 -0
- metadata +55 -0
@@ -0,0 +1,110 @@
|
|
1
|
+
= tinkerbell - RAD gui developer for RwdTinker
|
2
|
+
|
3
|
+
tinkerbell is a little immediate response gui and code designer for the RwdTinker framework
|
4
|
+
|
5
|
+
The GUI interface used is RubyWebDialogs
|
6
|
+
|
7
|
+
RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
|
8
|
+
|
9
|
+
== Quick Start
|
10
|
+
Start the program by typing
|
11
|
+
ruby init.rb
|
12
|
+
|
13
|
+
Then point your web browser to:
|
14
|
+
http://localhost:7705/
|
15
|
+
|
16
|
+
To exit, press the x inside the browser window.
|
17
|
+
|
18
|
+
== Design - rwdfoldeditor
|
19
|
+
|
20
|
+
This program is a Application Development tool
|
21
|
+
|
22
|
+
It is a NAD - NAD is Not a rapid Application Developmen environment.
|
23
|
+
You can enter GUI code in the gui screen. Use one of three tabs.
|
24
|
+
|
25
|
+
You can enter code in one of three code files (you can add as many code files as you want)
|
26
|
+
|
27
|
+
When you click the Launch new GUI!, TinkerBell will build the new GUI can eval the code files
|
28
|
+
|
29
|
+
and open the SandBox window where your GUI and code will be live.
|
30
|
+
|
31
|
+
You should be able to edit and change the code and GUI again and again.
|
32
|
+
|
33
|
+
One tab is already filled in as an example - tab three is a calculator
|
34
|
+
|
35
|
+
The tinkerbell back window has tabs for Ruby command evaluations
|
36
|
+
|
37
|
+
== Tabs
|
38
|
+
|
39
|
+
There are tabs to enter GUI and CODE and edit configurations
|
40
|
+
|
41
|
+
Edit GUI - to create a GUI or edit and existing GUI
|
42
|
+
|
43
|
+
Edit CODE
|
44
|
+
|
45
|
+
Edit Configuration -
|
46
|
+
|
47
|
+
== Using over a Network
|
48
|
+
|
49
|
+
To serve the application over your local LAN,change the last line in the
|
50
|
+
init.rb file to something like:
|
51
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
52
|
+
Then you should be able to login at: http://yourhostname:8080
|
53
|
+
|
54
|
+
You have to authorize yourself. The .rwuids example is a string with
|
55
|
+
the name of the authorization file, relative to the home directory
|
56
|
+
of the user that started the service. This file has to be in the form of:
|
57
|
+
|
58
|
+
user1 = password
|
59
|
+
user2 = pass phrase
|
60
|
+
|
61
|
+
Thus the file .rwduids might contain:
|
62
|
+
|
63
|
+
erik = secret
|
64
|
+
|
65
|
+
== Requirements:
|
66
|
+
RubyWebDialogs - I am using 0.0.12
|
67
|
+
Ruby I am using version 1.8.2
|
68
|
+
|
69
|
+
|
70
|
+
I have tested this under Linux-Debian kernel 2.6.9
|
71
|
+
|
72
|
+
==Making Applets
|
73
|
+
|
74
|
+
What is required in a applet for the rwdtinker framework
|
75
|
+
|
76
|
+
1. config file
|
77
|
+
2. code files - under in a unique directory under code
|
78
|
+
3. gui files - begin with window name in unique directory(s) under gui/tinkerbackwindow
|
79
|
+
4. install file ending with .inf under install directory - code directories are listed in here for live startup
|
80
|
+
5. uninstall program file in code directory - to uninstall the global variables
|
81
|
+
6. the install file, config file and uninstall method have the same name
|
82
|
+
|
83
|
+
Then zip it up and it should be ready to go.
|
84
|
+
|
85
|
+
== PROBLEMS:
|
86
|
+
|
87
|
+
Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
|
88
|
+
|
89
|
+
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
90
|
+
|
91
|
+
|
92
|
+
== contacts
|
93
|
+
For more information see:
|
94
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
95
|
+
|
96
|
+
|
97
|
+
For more information about RubyWebDialogs see:
|
98
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
99
|
+
|
100
|
+
|
101
|
+
Steven Gibson
|
102
|
+
steven@superant.com
|
103
|
+
|
104
|
+
== Changelog
|
105
|
+
version 0.01
|
106
|
+
First Release
|
107
|
+
edit GUI
|
108
|
+
edit code
|
109
|
+
launch new GUI with new code
|
110
|
+
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rwdziptinkerbellw
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.01"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Steven Gibson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-09-20 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: TinkerBell is Not a rapid Application Developent environment for rwdtinker and RubyWebDialogs.
|
17
|
+
email: smalllinux@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- tinkerbellw-0.01.zip
|
26
|
+
- rwd_files/HowTo_TinkerBell.txt
|
27
|
+
has_rdoc: true
|
28
|
+
homepage: http://rubyforge.org/projects/rwdapplications/
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options:
|
31
|
+
- --main
|
32
|
+
- rwd_files/HowTo_TinkerBell.txt
|
33
|
+
require_paths:
|
34
|
+
- .
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: "0"
|
40
|
+
version:
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
version:
|
47
|
+
requirements: []
|
48
|
+
|
49
|
+
rubyforge_project: rwdapplications
|
50
|
+
rubygems_version: 1.2.0
|
51
|
+
signing_key:
|
52
|
+
specification_version: 2
|
53
|
+
summary: TinkerBell is Not a rapid Application Developent environment for rwdtinker and RubyWebDialogs.
|
54
|
+
test_files: []
|
55
|
+
|