Home

Awesome

<!-- # The MIT License (MIT) Copyright (c) 2016-2019 Brian Adkins Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->

Axio Framework

My goal for the Axio Framework is to extend the same joy of coding, expressive power, elegance and efficiency to the specific area of web application development as is already provided by Racket more generally.

For the time being, this README will be a sketchpad of ideas that will eventually coalesce into Axio.

Status update: Although there has been little activity in this repository, I have been developing applications in Racket on a full time basis since November, 2018. After attending Racket Summer School in July, some of the macro-coding skills I'll need are coming along. I'm currently developing a significant web application in Racket for a startup, and I will be working on extracting the good parts into the Axio Framework over the next few months.

Aspirations

Initial Assumptions

Purely in the interest of time, the following are presently assumed:

Racket Web Links

Documentation

Notes from a helpful IRC #racket conversation:

Other info:

Architecture Ideas

Bootstrapping

Web Server

Consider:

Web Server Interface

Allow for plugging functions into the request/response pipeline. One motivating personal example is a server-side fix for a syntax error in a request from an iPad client which would've taken too long to push through Apple approval. The solution was a simple function injected into Rack middleware.

Mailing list discussion

Consider:

Authentication

Authorization

Routing

See Routing.md

Consider:

Input Validation

Session Handling

Flash

Controller Filters

View Templates

web-server/templates

Web Sockets

Consider:

Database

Consider:

Security

Code Reloading

The ability to simply refresh the browser after changing code and have the new file automatically loaded is extremely helpful.

Asset Handling

Logging

Continuations

According to Jay, the web-server/servlet module uses continuations, but everything else in the web server does not.

Other

Links

Copyright and License

Copyright © 2016-2019 Brian Adkins Axio Framework source code is licensed under the MIT License