AxioFramework / axio

Axio Web Framework for Racket
MIT License
20 stars 2 forks source link

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