Size: 3468
Comment:
|
Size: 2370
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''Warning: This page is very much work in progress and probably ends quite abruptly. Hope to have the first revision completed by the end of Sunday December 28th.''' | '''Warning: This page is very much work in progress and probably ends quite abruptly. Hope to have the first revision done by Monday Jan 5th... Please write to MortenKromberg if you have questions, comments or suggestions!''' |
Line 5: | Line 5: |
The ''MildServer'' is an experimental framework for simply developing web applications in APL. The main goals of the MildServer project are: | The ''MildServer'' is an experimental framework for simply developing web applications in APL. The design may well change in the first months of 2009 based on feedback from users. |
Line 7: | Line 7: |
1. Provide a framework which makes it possible for anyone who can write an APL function to turn it into a web page without having to learn much. 2. Experiment with the use of APL code in Unicode files to run an "Open Source" project. |
The main goals of the MildServer project are: 1. Provide a framework which makes it possible for anyone who can write an APL function to turn it into a web page without having to learn much. 2. Experiment with the use of APL code in Unicode files to run an "Open Source" project. |
Line 14: | Line 16: |
== What IS a Web Server Anyway? == A Web Server is a process running on a machine somewhere, which accepts connections via TCP/IP. Over these connections, the Web Server and its client (typically a "Web Browser") communicate using a protocol called [[http://en.wikipedia.org/wiki/Http|HyperText Transfer Protocol, or HTTP]]. The incoming '''HTTP''' requests typically contain commands to retrieve a "resource". For example, "GET index.htm" would be a command to retrieve the contents of a named page. If the MildServer is working according to its design, you should not need to learn anything about TCP/IP or HTTP - this should all be handled automatically. |
Follow links below to read more about: |
Line 17: | Line 18: |
HTTP responses generally contain text in a format called [[http://en.wikipedia.org/wiki/HTML|HyperText Markup Language - or HTML]]. You WILL need to learn some basic '''HTML''' in order to write Web Applications. Although the MildServer contains functions which will help you generate HTML, you will need to know the basic principles of HTML in order to feel comfortable using them. It is a good idea to spend 20-30 minutes looking at the beginning of one of the many excellent [[http://htmlhelp.com/links/tutorials.htm|HTML tutorials]] available on the internet. Much of the information on the internet is in the form of ''static'' web pages: These are simply text files containing text marked up as HTML. When you request one of these pages from a Web Server, it simply transmits the content of the file to the client. The fact that a web page is static doesn't mean that it never changes: Your application could be updating the HTM files every few seconds with the latest information that you want to make available. However, most Web Servers support some kind of ''scripting'', which means that the page being served up contains embedded code which is executed when the resource is retrieved. This allows you to server up web pages which provide a "user interface", which contains a user interface and changes dynamically in response to input from the user. (Time to go shopping, back soon) |
* [[MildServer/Intro|Introduction to MildServer]] * [[MildServer/GettingStarted|Getting Started]] (Download and Install) * [[MildServer/Debugging|Debugging MildServer Applications]] * MildServer Samples * [[MildServer/SampleReverse|Reverse Text]] (Simple Interactive Example) * [[MildServer/SampleLinReg|Linear Regression]] (Graphics, Upload Excel File) * [[MildServer/SampleMMind|Animal Mastermind]] (A Game for Kids) * [[MildServer/HTMLInputRef|HTMLInput Namespace Reference]] * [[MildServer/HTTPRequest|HTTPRequest Contents]] * [[MildServer/Sessions|How Sessions are Implemented]] * [[MildServer/Authentication|How User Authentication and Access Controls are Handled]] * [[MildServer/JavaScript|ABout Using !JavaScript to Implement Client-Side Functionality]] |
MildServer - A Simple Web Server for APL
Warning: This page is very much work in progress and probably ends quite abruptly. Hope to have the first revision done by Monday Jan 5th... Please write to MortenKromberg if you have questions, comments or suggestions!
The MildServer is an experimental framework for simply developing web applications in APL. The design may well change in the first months of 2009 based on feedback from users.
The main goals of the MildServer project are:
- Provide a framework which makes it possible for anyone who can write an APL function to turn it into a web page without having to learn much.
- Experiment with the use of APL code in Unicode files to run an "Open Source" project.
Although the APL code is intended to be "open source", Dyalog APL Version 12.0. is required as the engine for the MildServer - if you don't have it you should be able to get a free or cheap version from the Dyalog Download Zone. Dyalog v12 is the only component required to host your own web server.
Except for a "bootstrap" workspace, all the code which implements the framework itself and the web applications built upon it are stored in Unicode text files, and the framework is intended to be easy to extend. The project is maintained using SubVersion: If it takes off as an open source project, the idea is to expose this subversion server to contributors.
Follow links below to read more about:
Getting Started (Download and Install)
MildServer Samples
Reverse Text (Simple Interactive Example)
Linear Regression (Graphics, Upload Excel File)
Animal Mastermind (A Game for Kids)
ABout Using !JavaScript to Implement Client-Side Functionality