Walrus: 

WalrusRuby١WEBץꥱ󥵡ФǤưŪʥƥĤ
̤˺³Ū˥ƥʥ󥹤뤳ȤΨŪ˹ԤʤޤǤ
ÿ̤htmlե򤽤Τޤޥƥץ졼ȤȤƻѤǤ뤳
Ǥ

(1)

(A) + (B)  (C) ޤ

htmlե(A)
---------------------------------------------------
<ul>
  <li id=lang_list> </li>
</ul>
---------------------------------------------------

ruby(B)
---------------------------------------------------
def lang_list
  [ "ruby", "java", "perl" ]
end
---------------------------------------------------

(C)
---------------------------------------------------
<ul>
  <li>ruby</li>
  <li>java</li>
  <li>perl</li>
</ul>
---------------------------------------------------


(2)

(A) + (B)  (C) ޤ

htmlե(A)
---------------------------------------------------
<table>
  <tr id=app_server>
     <td id=name></td>
     <td id=lang></td>
  </tr>
</table>
---------------------------------------------------

ruby(B)
---------------------------------------------------
def app_server
  [ 
     { :name => "walrus",  :lang => "ruby" },
     { :name => "enhydra", :lang => "java" },
     { :name => "zope",    :lang => "python" }
  ]
end
---------------------------------------------------

(C)
---------------------------------------------------
<table>
 <tr><td>walrus</td><td>ruby</td></tr>
 <tr><td>enhydra</td><td>java</td></tr>
 <tr><td>zope</td><td>python</td></tr>
</table>
---------------------------------------------------

ĤޤꡢrubyΥץǤϥǡθռˡֲϤ뤫
ͤȤޤȤɤΤ褦˸Τϡhtmlե
뤽ΤΤǻǤޤ

htmlեϡid°ѤƤʸˡŪˤ̤htmlե
顢htmlǥʤɤѤǤ뤷ǥʡ桼̤ǥ
ȤƥץޡʬȤƺȤʤ뤳ȤǤޤ

 

lib/walrus/*         walrusruby
sample/*             ץե
test/*               RubyUnitѤselftestץ
manual/*             ޥ˥奢
Makefile             Makefile
walrus.spec          Kondara V1.2RPMڥåե
walrusmain.rb        ޥɥᥤ

 󥹥ȡ

ޥ˥奢򻲾ȤƤ
URL饪饤Ǹ뤳ȤǤޤ

http://www.brain-tokyo.jp/~research/koutetu/manual/summary/install/index.html

 ץ

ƥץΥǥ쥯ȥˤREADMEȤե뤬ޤ¹Ԥ
ˤϡΥǥ쥯ȥsample/dotestȤץȤ¹ԤƤߤ


ʲν֤ǸƤȴñʥ塼ȥꥢˤʤäƤޤ

sample/hello           Ǥñʻˡ
sample/template        ƥץ졼ȤΤޤޤʻˡ
sample/htmlgen         ƥץ졼ȤʤrubyľHTML
sample/navigation_bar  ʥӥС(ʣɥȤΰ)
sample/download        ե̾Ѳб
sample/diary           񤯥ץ(ܳŪʥץꥱ)
sample/xref            ե󥹺ץ
sample/rd              rdȤ߹碌
sample/manual          WalrusΥޥ˥奢Υɥȥ

嵭γƥǥ쥯ȥι

README         ñ
dotest         ƥȼ¹ԥץ
index.wal      walrusĶ
*.rb           ruby
*.html         HTMLƥץ졼
target/*       Ϸ

ޤºݤapacheϢưư륵ץϰʲ̤Ǥ

sample/app_server      ưŪʼ¹ԤδŪ
sample/db              ǡ١(PostgreSQL)ȤϢư
sample/dbtut           ޥ˥奢DBȯ塼ȥꥢǻѤץ
sample/bbs             եƥ󥰥åɷǼ
                       (ǡ١ѤºݤΥץ)
sample/whack           å

ϡapacheδĶꤷ(app_server) start_serverץȤ
¹Ԥ뤳ȤưޤܤREADME򻲾ȤƤ

diary,xref,bbsˤĤƤϡΤޤ޻ѤƤ⤢ټѤˤʤȻפޤ


 饤

Copyright (C) 2001  Taku Nakajima <tnakajima@brain-tokyo.jp>

  This program is free software; you can redistribute it
  and/or modify it under the terms of the GNU General Public
  License as published by the Free Software Foundation;
  either version 2 of the License, or (at your option) any
  later version.

  This program is distributed in the hope that it will be
  useful, but WITHOUT ANY WARRANTY; without even the implied
  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.  See the GNU General Public License for more
  details.

  You should have received a copy of the GNU General Public
  License along with this program; if not, write to the Free
  Software Foundation, Inc., 59 Temple Place - Suite 330,
  Boston, MA 02111-1307, USA.

A copy of the GNU General Public License can be found in the
file GPL2.txt.

Walrusϥե꡼եȥǤGPL2˽äơۡ뤳Ȥ
ǤޤGPL2ˤĤƤϡGPL2.txt

 Ϣ

()֥졼   
tnakajima@brain-tokyo.jp
http://www.brain-tokyo.jp/~research/koutetu/
