|
Revision 851, 1.6 kB
(checked in by jlong, 4 months ago)
|
prototype: fixed typo
|
| Line | |
|---|
| 1 |
== What is this? |
|---|
| 2 |
|
|---|
| 3 |
This is a simple HTML prototype of Radiant written in HAML that is designed |
|---|
| 4 |
to be viewed with serve. |
|---|
| 5 |
|
|---|
| 6 |
What is serve? Serve is a rapid prototyping framework for Rails |
|---|
| 7 |
applications. It is designed to compliment Rails development and enforce a |
|---|
| 8 |
strict separation of concerns between designer and developer. Using Serve |
|---|
| 9 |
with Rails allows the designer to happily work in his own space creating an |
|---|
| 10 |
HTML prototype of the application, while the developer works on the Rails |
|---|
| 11 |
application and copies over HTML from the prototype as needed. This allows |
|---|
| 12 |
the designer to focus on presentation and flow while the developer can focus |
|---|
| 13 |
on the implementation. |
|---|
| 14 |
|
|---|
| 15 |
We are presently experimenting with using serve in this capacity to speed |
|---|
| 16 |
the development and implementation of new features in Radiant. |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
= How do I install and run serve? |
|---|
| 20 |
|
|---|
| 21 |
Serve is distributed as a gem to make it easy to get up and running. To |
|---|
| 22 |
install: |
|---|
| 23 |
|
|---|
| 24 |
% sudo gem install serve |
|---|
| 25 |
|
|---|
| 26 |
To get up and running, open up a terminal, cd to this directory and execute: |
|---|
| 27 |
|
|---|
| 28 |
% serve |
|---|
| 29 |
|
|---|
| 30 |
This will startup serve on port 4000. You can now view the prototype in your |
|---|
| 31 |
Web browser at this URL: |
|---|
| 32 |
|
|---|
| 33 |
http://localhost:4000 |
|---|
| 34 |
|
|---|
| 35 |
Click around. You will find that serve enables us to prototype most of the |
|---|
| 36 |
functionality of Radiant without writing a single line of back end code! |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
= Can I contribute? |
|---|
| 40 |
|
|---|
| 41 |
Sure! We welcome contributions to the prototype. If you have an idea for a |
|---|
| 42 |
new feature this is the perfect place to get the action rolling. Once you |
|---|
| 43 |
have it prototyped using serve, create a ticket on the dev site and attach |
|---|
| 44 |
your patch. Then give us a holler on the dev mailing list and we can debate |
|---|
| 45 |
the merits of your idea there. |
|---|