Eiffel Web Framework


This page will help you to get started with EWF. We will first see how to install EWF and then how to compile and run the venerable Hello World example.

Installation

Download

Follow these steps to download and install EWF on your computer:

  1. Dowload the archive
  2. Create a directory where you will put your custom Eiffel libraries
  3. Extract EWF in the newly created directory
  4. Define the environment variable EIFFEL_LIBRARY to point to the newly created directory

EiffelStudio

EWF version 0.2 is included in EiffelStudio 7.2 and version 0.3 is included in EiffelStudio 7.3. We recommand to use the latest EWF version (0.3 as of this writing) even if you are using EiffelStudio 7.2.

Note: The version that comes with EiffelStudio 7.3 does not include the examples.

Source code

The source code is available on Github. You can get it by running the command:

git clone git://github.com/EiffelWebFramework/EWF.git

Hello World

The hello world example is located in the directory $ISE_EIFFEL/contrib/examples/web/ewf/simple. Just double click on the simple.ecf file and select the simple target or if you prefer the command line, run the command:

estudio -config simple.ecf -target simple

Once the project is compiled, you can launch the application and point your browser to http://localhost:9090. You should now see a simple page with Hello World.