Rev 14535 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 14535 | Rev 17228 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | $tit Write html pages with a programmability extension: substitution of |
3 | $tit Write html pages with a programmability extension: substitution of |
| 4 | variables, conditional branching, etc.$titend |
4 | variables, conditional branching, etc.$titend |
| 5 | This wims programmability extension to html does not require any |
5 | This wims programmability extension to html does not require any |
| 6 | addon or plugin at the browser side, as all the wims commands are treated |
6 | addon or plugin at the browser side, as all the wims commands are treated |
| 7 | by the wims server before sending the result to the browser, which will |
7 | by the wims server before sending the result to the browser, which will |
| 8 | be a standard html page. <br |
8 | be a standard html page. <br> |
| 9 | For example, this allows you to define style macros which can be |
9 | For example, this allows you to define style macros which can be |
| 10 | dynamically changed. <br |
10 | dynamically changed. <br> |
| 11 | And this extension can cohabit with all the current (and hopefully |
11 | And this extension can cohabit with all the current (and hopefully |
| 12 | future) html standards, including java applets, javascripts, embedded |
12 | future) html standards, including java applets, javascripts, embedded |
| 13 | objects, |
13 | objects, |
| 14 | dhtml... This is because the wims extension follows a strict line |
14 | dhtml... This is because the wims extension follows a strict line |
| 15 | discipline (i.e. a wims command must start at the first word of a line), |
15 | discipline (i.e. a wims command must start at the first word of a line), |
| 16 | while html standard is not line-oriented. <br |
16 | while html standard is not line-oriented. <br> |
| 17 | This means that you can even embed wims extensions into javascripts, |
17 | This means that you can even embed wims extensions into javascripts, |
| 18 | applets, dhtml... |
18 | applets, dhtml... |
| 19 | </li> |
19 | </li> |
| 20 | $tit Dynamic insertions of paints, plots and TeX formatted mathematical |
20 | $tit Dynamic insertions of paints, plots and TeX formatted mathematical |
| 21 | formulas into html pages. $titend |
21 | formulas into html pages. $titend |
| Line 41... | Line 41... | ||
| 41 | factor=!exec pari print(factor($$number))</pre> |
41 | factor=!exec pari print(factor($$number))</pre> |
| 42 | Upon execution of this line, the variable $number will be replaced by |
42 | Upon execution of this line, the variable $number will be replaced by |
| 43 | its current value, then the software package `PARI' will be called |
43 | its current value, then the software package `PARI' will be called |
| 44 | with the string `print(factor(<value of $$number>))' as command to |
44 | with the string `print(factor(<value of $$number>))' as command to |
| 45 | execute. The output of the program, with the overheads stripped, will |
45 | execute. The output of the program, with the overheads stripped, will |
| 46 | be placed as the value of the variable `factor'. <br |
46 | be placed as the value of the variable `factor'. <br> |
| 47 | Interfaces provided in version $wims_version of wims: PARI, Maxima, MuPAD, |
47 | Interfaces provided in version $wims_version of wims: PARI, Maxima, MuPAD, |
| 48 | Coq, Povray, gnuplot, PostgreSQL, Fly (gif drawing), CALC (by Keith Matthew). |
48 | Coq, Povray, gnuplot, PostgreSQL, Fly (gif drawing), CALC (by Keith Matthew). |
| 49 | </li> |
49 | </li> |
| 50 | $tit Simple and versatile language.$titend |
50 | $tit Simple and versatile language.$titend |
| 51 | The language used for wims modules is an extension of the existing and |
51 | The language used for wims modules is an extension of the existing and |