-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename RESTful page template to RESTfulPage
Documentation updates Move index page data to IndexData folder
- Loading branch information
Showing
20 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
:Class RESTful | ||
:Class RESTfulPage | ||
|
||
⍝ Base class for RESTful web service pages | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+663 KB
...S3/Documentation/RESTful Web Services.pdf → ...tation/Providing RESTful Web Services.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>MiServer is a free, open-source web server implemented in Dyalog APL. It enables the APL user to build sophisticated websites with little to no knowledge of the web technologies like HTML, JavaScript, etc. We hope that you will enjoy MiServer; join the <a class="external" target="_blank" data-dyalog-tip="External link" href="http://www.dyalog.com/forum/viewforum.php?f=34">forums🔗</a>, and contribute via <a class="external" target="_blank" data-dyalog-tip="External link" href="https://github.com/dyalog/miserver/">GitHub🔗</a>.</p> | ||
<p>This website serves as guide to MiServer 3.0 – providing documentation, samples, and advice. At the same time, it showcases many of MiServer's capabilities. If you are just getting started with MiServer 3.0, go through the foundational documentation in the reading order of the right-hand tree.</p> | ||
<p>Explore the tabs for documentation, the broad selection of available controls, and the vast collection of sample pages and mini-apps. See the source of any page by clicking the MS3 logo in the top left corner and access other resources by clicking the Dyalog logo in the top right corner.</p> | ||
<p>This website serves as guide to MiServer 3.0 – providing documentation, samples, and advice. At the same time, it showcases many of MiServer's capabilities. If you are just getting started with MiServer 3.0, look through the examples to get an idea of of the variety of web content that MiServer can generate.</p> | ||
<p>Explore the tabs for documentation, the broad selection of available controls, and the vast collection of sample pages and mini-apps. See the source of any page by clicking the MS3 logo in the top left corner and access other resources by clicking the Resources link in the top right corner.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
:Class mortgagews : RESTfulPage | ||
|
||
⍝ calculate payment | ||
calcpmt←{0::'Error' ⋄ p r n←⍵÷1 1200 (÷12) ⋄ .01×⌈100×p×r÷1-(1+r)*-n} | ||
|
||
⍝ calculate principle | ||
calcprin←{0::'Error' ⋄ r n m←⍵÷1200 (÷12) 1 ⋄ .01×⌈100×m÷r÷1-(1+r)*-n} | ||
|
||
∇ r←Respond;mask | ||
:Access Public | ||
|
||
r←⎕NS '' | ||
r.msg←'Please provide either (prin rate term) or (rate term pmt)' | ||
|
||
:if 1=+/mask←⍬∘≡¨r.(prin rate term pmt)←⍬ Get 'prin rate term pmt' | ||
|
||
:if mask[1] ⍝ principle missing | ||
r.(msg prin)←'' (calcprin r.(rate term pmt)) | ||
|
||
:elseif mask[4] ⍝ payment missing | ||
r.(msg pmt)←'' (calcpmt r.(prin rate term)) | ||
|
||
:endif | ||
:endif | ||
|
||
∇ | ||
|
||
:EndClass |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p>MiServer is a free, open-source web server implemented in Dyalog APL. It enables the APL user to build sophisticated websites with little to no knowledge of the web technologies like HTML, JavaScript, etc. We hope that you will enjoy MiServer; join the <a class="external" target="_blank" data-dyalog-tip="External link" href="http://www.dyalog.com/forum/viewforum.php?f=34">forums🔗</a>, and contribute via <a class="external" target="_blank" data-dyalog-tip="External link" href="https://github.com/dyalog/miserver/">GitHub🔗</a>.</p> | ||
<p>This website serves as guide to MiServer 3.0 – providing documentation, samples, and advice. At the same time, it showcases many of MiServer's capabilities. If you are just getting started with MiServer 3.0, look through the examples to get an idea of of the variety of web content that MiServer can generate.</p> | ||
<p>Explore the tabs for documentation, the broad selection of available controls, and the vast collection of sample pages and mini-apps. See the source of any page by clicking the MS3 logo in the top left corner and access other resources by clicking the Resources link in the top right corner.</p> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters