1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
= amrita - html/xhtml ƥץ졼ȥ饤֥
== ά
amrita html/xhtml ѤΥƥץ졼ȥ饤֥Ǥ
ƥץ졼Ȥȥǥǡ html ɥȤޤ
ÿ
* amritaΥƥץ졼Ȥ <?...?> <% .. %> Τ褦üʥޤޤʤ
html/xhtml ʸǤ
* ƥץ졼ȤϡۤȤɤHTMLǥǺ뤳ȤǤޤ
* ϤưŪʬƤ⡢RubyɤˤϽפǤ
* ǥǡϡ Hash Array ʸΤ褦ɸRubyΥǡǤ
ޤΥ饹Υ֥ȤΤޤޥǥǡˤ뤳ȤǽǤ
* ϤϥåǤʤǡǥȥ뤵ޤ
Ǥ顢ƥȤǥХåڤǤ(eXtreamProgramingˤƤȻפޤ)
* ñHTMLƥץ졼ȤRubyΥɤ˥ѥ뤹뤳ȤǤޤ
amrita ƥץ졼Ȥȥǥǡ +id+ °ˤäƥޥåơ
HTMLʸϤޤ
ƥץ졼:
<table border="1">
<tr><th>name</th><th>author</th></tr>
<tr id="table1">
<td id="name"><td id="author">
</tr>
</table>
ǡ:
data = {
:table1=>[
{ :name=>"Ruby", :author=>"matz" },
{ :name=>"perl", :author=>"Larry Wall" },
{ :name=>"python", :author=>"Guido van Rossum" },
]
}
ƥץ졼 + ǡ = ʸ:
<table>
<tr>
<th>name</th>
<th>author</th>
</tr>
<tr>
<td>Ruby</td>
<td>matz</td>
</tr>
<tr>
<td>perl</td>
.......
== ȡ
amrita strscan 0.6.5ʹߤɬפȤޤ
amrita RubyǽƤޤ
Υȡˡޤ
* MakefileƤmake install
$ make
# make install
* install.rb
# ruby install.rb
* lib/* RubyΥ饤֥ѥ˥ԡ
== ɥȤȥץ
[docs/QuickStart_ja]
åȥ
[docs/Tour_ja]
amritaΤޤޤʵǽξҲ
[docs/Tour2_ja]
¸ŪʵǽξҲ
[docs/XML_ja]
XML ݡ
[docs/Cgi_ja]
amritacgiǻѤ
[sample/hello/*]
docs/QuickStart_ja ǾҲ𤷤ƤŪʥץ
[sample/tour/*]
docs/Tour_ja ǾҲ𤷤Ƥ륵ץ
[sample/cgi/*]
cgi ǻѤ륵ץ
[sample/cgikit/*]
CGIKit amrita˻Ȥ
[sample/bbs/*]
ơǽäBBS
== ռ
* 椵ιȥɥХ˴դޤ
* amrita htmlѡ MoonWolfΥɤͤ˺ޤ
* sample/tour/rexml_doc.xml rexmlΥɥȤޤ
* ams(AmritaScript) BeyondΥǥ˺ޤ
== 饤
amritaϥեեȥǤRubyΤƱͤΥ饤ۤƤޤ
̤Υ饤֤ɬפʾϡ̤˾ѥ饤ȯԤ뤳Ȥ
ƤƤޤܤϥ뤷Ƥ
Amrita is Copyright (c) 2002 Taku Nakajima. It is free software, and
may be redistributed under the terms specified in the README file of
the Ruby distribution.
If you want to use Amrita in other license form, I will give you a
BSD-like special license for only specified person and specified
purpose. Please mail me about it in JAPANESE for detail.
== ToDo ͽ
* AnyData ¾Hintκߤ褦ˤ
* ϥեޥåȤν̵Сä®ʤ뤫
= ޤȤ
Author:: Taku Nakajima <tnakajima@brain-tokyo.jp>
Requires:: Ruby 1.6.7 or later
strscan 0.6.5 or later
License:: Copyright (c) 2002 Taku Nakajima
Released under Ruby's License
LocalWords: xhtml
|