Example Application

Below is list of example applications which you can use to get started. They are generated with Fano CLI, command line tools to help scaffolding web application with Fano Framework.

Hello World applications

List of getting started web application for various supported protocol, i.e CGI, FastCGI, SCGI and uwsgi.

MIME types web application

Following example applications show how to work with response other than HTML page, such as image, PDF and JSON data.

MVC web application

Fano Mvc demonstrate how to separate logic of application using Model, View, Controller. It also demonstrates how to use HTML view template to compose application UI layout.

File upload

Handling upload example shows how to handle file upload in Fano Framework. For example how to validate file upload, read Form Validation section below.

Database

Following example applications show how to work with SQL and NoSQL databases by modelling data as model.

Middleware

Example web application using middleware demonstrates how to use middleware to protect one or more application routes.

Working with Session

Following example applications demonstrate how to use session with Fano Framework.

Cross-Origin Resource Sharing (CORS)

Cross-Origin Resource Sharing (CORS) example demonstrates how to add CORS headers to web application.

Cross-Site Request Forgery (CSRF) protection

Cross-Site Request Forgery (CSRF) protection example demonstrate how to protect application from CSRF attack.

Form validation

HTTP Verb tunneling examples

HTTP verb tunnelling example application demonstrate how to use HTTP verb tunneling when application behind strict firewall policy.

HTTP Authentication examples

HTTP Basic Authentication example application demonstrates how to use HTTP Basic Authentication (RFC 2617) in Fano Framework.

Handling request with JSON body

Fano Json Request demonstrates how to handle request with JSON body.

HTTP cache header examples

Fano Cache Control demonstrates how to add HTTP cache header.

Send email examples

Fano Email demonstrates how to send email.

Explore more