Eiffel Web Framework -- Provide a common framework to build easily web server application in Eiffel (portable on various connector and platforms)
Eiffel JavaScript C CSS CoffeeScript HTML Other
Failed to load latest commit information.
contrib
doc
draft Eiffel code and ECFs update to support new agent notations. Jan 18, 2016
examples Added more application logic for the example. Jun 22, 2016
library When possible keep ecf location relative within the same EiffelWeb di… Aug 6, 2016
precomp Fixed various void-safety issue with recent compilers. Jun 7, 2013
tests Moved httpd from src to lib, under standalone connector. Jun 15, 2016
tools Updated EWF Windows tools to install EWF into EiffelStudio source tree. Feb 3, 2016
.gitignore Issue #143 Nov 17, 2014
.gitmodules
CHANGELOGS.txt
CONTRIBUTING.md
ChangeLog
LICENSE a few renaming Jul 7, 2011
MIGRATION.md cosmetic, cleaning. Jun 10, 2015
README.md update README to add google groups info. May 5, 2015
build.eant Added geant scripts to compile EWF May 3, 2012

README.md

Eiffel Web Framework

Overview

The Eiffel Web Framework (EWF) provides Eiffel users with a layer to build anything on top of the http protocol such as websites, web API/services.

This layer is multi-platform: it can be set on Windows, Linux operating systems, and in addition it can run on top of any httpd servers such as Apache2, IIS, nginx, lighttpd. EWF includes as well a standalone httpd web server component, written in Eiffel, which enables users to run easily a web server on their machine, or even embed this component in any application written with Eiffel.

Currently EWF offers a collection of Eiffel libraries designed to be integrated with each others, and among other functionalities, it give simple access to the request data, to handle content negotiation, url dispatcher, integrate with openid system, and so on.

There is a growing ecosystem around EWF, that provides useful components:

  • OpenID and OAuth consumer library
  • Various hypermedia format such as HAL, Collection+json, …
  • Websocket server and client
  • Template engine
  • API Auto-documentation with swagger
  • A simple experimental CMS.
  • ...

So if you want to build a website, a web api, RESTful service, …or even if you want to consume other web api, EWF is a solution.

EWF brings with it all the advantages of the Eiffel technology and tools with its powerful features such as Design by Contract, debugging, testing tools which enable to build efficient systems expected to be repeatedly refined, extended, and improved in a predictable and controllable way so as to become with time bugfree systems. Enjoy the full power of debugging your web server application from the IDE.

Project

Official project site for Eiffel Web Framework:

For more information please have a look at the related wiki:

For download, check

Tasks and issues are managed with github issue system

Requirements

  • Compiling from EiffelStudio 13.11 to 15.05 and more recent version of the compiler.
  • Currently being developped using EiffelStudio 15.01 (on Windows, Linux)
  • Tested using EiffelStudio 15.01 with "jenkins" CI server (not anymore compatible with 6.8 due to use of `TABLE_ITERABLE')
  • The code have to allow void-safe compilation and non void-safe system (see more about void-safety )

How to get the source code?

Using git

Libraries under 'library'

server

  • ewsgi: Eiffel Web Server Gateway Interface read more
    • connectors: various web server connectors for EWSGI
  • libfcgi: Wrapper for libfcgi SDK
  • wsf: Web Server Framework read more
    • router: URL dispatching/routing based on uri, uri_template, or custom read more

protocol

  • http: HTTP related classes, constants for status code, content types, ... read more
  • uri_template: URI Template library (parsing and expander) read more
  • CONNEG: Content negotiation library (Content-type Negociation) read more

client

  • http_client: simple HTTP client based on cURL read more

text

  • encoder: Various simpler encoders: base64, url-encoder, xml entities, html entities read more

Others

  • error: very simple/basic library to handle error

External libraries under 'contrib'

Draft folder = call for contribution

Examples

..

Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.

Community

Keep track of development and community news.

For more information please have a look at the related wiki: