Skip to content
Newer
Older
100644 27 lines (20 sloc) 774 Bytes
21abc5b @klacke Initial revision
authored Feb 11, 2002
1 <erl>
f448988 @klacke ""
authored Feb 20, 2002
2 out(A) -> yaws_api:ssi(A#arg.docroot, ["/HEAD", "/EXHEAD"]).
21abc5b @klacke Initial revision
authored Feb 11, 2002
3 </erl>
4
5
6 <h1>Yaws Examples</h1>
d69e4d8 @klacke ""
authored Feb 25, 2002
7 <p>
21abc5b @klacke Initial revision
authored Feb 11, 2002
8 Here we try to show the power of yaws by means of a series of examples.
9 Many of the pages inside this documentation, use embedded erlang code
7811247 @vinoski whitespace cleanup
vinoski authored Oct 31, 2011
10 merely as a means to include files into the HTML documentation. Yaws can
21abc5b @klacke Initial revision
authored Feb 11, 2002
11 be used to do much more which is shown by the examples.
12
d69e4d8 @klacke ""
authored Feb 25, 2002
13 <p>
7811247 @vinoski whitespace cleanup
vinoski authored Oct 31, 2011
14 It can be used to generate any dynamic content,
961926f @klacke ""
authored Mar 4, 2002
15 and also, combining Yaws with
d02b965 @klacke qnx port + docs overhaul by cschatz@networkadvantage.biz
authored Feb 13, 2004
16 the Erlang DBMS Mnesia, we can easily connect persistent data to a Cookie.
21abc5b @klacke Initial revision
authored Feb 11, 2002
17
d69e4d8 @klacke ""
authored Feb 25, 2002
18 <p>
19 In all of the examples we will utilize the yaws api functions defined in the
20 module <tt>yaws_api</tt>. The documentation for the API module is
d02b965 @klacke qnx port + docs overhaul by cschatz@networkadvantage.biz
authored Feb 13, 2004
21 <a href="/api.yaws">here</a>.
21abc5b @klacke Initial revision
authored Feb 11, 2002
22
961926f @klacke ""
authored Mar 4, 2002
23
67a6c13 @klacke ""
authored Feb 12, 2002
24 <erl>
25 out(A) -> yaws_api:ssi(A#arg.docroot, ["/END"]).
26 </erl>
Something went wrong with that request. Please try again.