Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stcarrez/ada-asf
Ada Server Faces - Web Server Faces JSR 252, JSR 314 and JSR 344
https://github.com/stcarrez/ada-asf
ada asf facelet framework jsf web
Last synced: 14 days ago
JSON representation
Ada Server Faces - Web Server Faces JSR 252, JSR 314 and JSR 344
- Host: GitHub
- URL: https://github.com/stcarrez/ada-asf
- Owner: stcarrez
- License: apache-2.0
- Created: 2015-01-17T13:10:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T21:40:10.000Z (2 months ago)
- Last Synced: 2024-09-09T09:42:36.198Z (2 months ago)
- Topics: ada, asf, facelet, framework, jsf, web
- Language: Ada
- Homepage:
- Size: 14.1 MB
- Stars: 12
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-ada - ada-asf - Ada Server Faces allows to create web applications using the same pattern as the Java Server Faces (See JSR 252, JSR 314 and JSR 344). (Frameworks / Web)
README
# Ada Server Faces
[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/serverfaces.json)](https://alire.ada.dev/crates/serverfaces)
[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/serverfaces_unit.json)](https://alire.ada.dev/crates/serverfaces_unit)
[![Build Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/build.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/summary)
[![Test Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/tests.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/xunits)
[![Coverage](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/coverage.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/summary)
[![Documentation Status](https://readthedocs.org/projects/ada-asf/badge/?version=latest)](https://ada-asf.readthedocs.io/en/latest/?badge=latest)
[![Download](https://img.shields.io/badge/download-1.6.0-brightgreen.svg)](http://download.vacs.fr/ada-asf/ada-asf-1.6.0.tar.gz)
[![License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)
[![GitLab](https://img.shields.io/badge/repo-GitLab-6C488A.svg)](https://gitlab.com/stcarrez/ada-asf)
[![Commits](https://img.shields.io/github/commits-since/stcarrez/ada-asf/1.6.0.svg)](Commits)Ada Server Faces allows to create web applications using the same pattern
as the Java Server Faces (See JSR 252, JSR 314 and JSR 344).It is part of [Ada Web Application](https://gitlab.com/stcarrez/ada-awa/)
framework.## Version 1.6.1 - Sep 2024
- Cleanup build environment to drop configure[List all versions](https://gitlab.com/stcarrez/ada-asf/blob/master/NEWS.md)
## Using with Alire
If you are using [Alire](https://alire.ada.dev/) in your project, run the following command
within your [Alire](https://alire.ada.dev/) project to use the library:```
alr with serverfaces
```If you want to use the Ada Server Faces library in a web server, you must choose a servlet
web container that will handle the requests. Two web server implementations are provided:* [AWS](https://github.com/AdaCore/aws)
* [EWS](https://github.com/simonjwright/ews)and you should run one of the following `alr` command depending on your choice:
```
alr with servletada_aws
alr with servletada_ews
```## Using without Alire
If you don't have [Alire](https://alire.ada.dev/) or want to build and install the library
on a specific place, run a `setup` command to configure the build as well as installation
directory.The `HAVE_ALIRE` configuration allows you to disable the build with [Alire](https://alire.ada.dev/).
```
make setup BUILD=debug PREFIX=/build/install HAVE_ALIRE=no
```Since this build method does not verify that all dependencies are met, make sure that you
have already built and install the following components and they are available to `gprbuild`
through `ADA_PROJECT_PATH` if needed:* [Ada Servlet](https://gitlab.com/stcarrez/ada-servlet/)
* [Ada Security Library](https://gitlab.com/stcarrez/ada-security/)
* [Ada EL Library](https://gitlab.com/stcarrez/ada-el/)
* [Ada Utility Library](https://gitlab.com/stcarrez/ada-util/)Then build, run the unit tests and install by using:
```
make
make test
make install
```To use the installed libraries, make sure your `ADA_PROJECT_PATH` contains the directory
where you installed the libraries (configured by the `PREFIX=` option in the setup phase).
The installed GNAT projects are the same as those used when using [Alire](https://alire.ada.dev/).The installation is done by running the `install` target:
```
make install
```If you want to install on a specific place, you can change the `prefix` and indicate the installation
direction as follows:```
make install prefix=/opt
```# Documentation
* [Ada Server Faces Programmer's Guide](https://ada-asf.readthedocs.io/en/latest/) [PDF](https://gitlab.com/stcarrez/ada-asf/blob/master/docs/asf-book.pdf)
* [Ada Server Faces wiki (old documentation)](https://gitlab.com/stcarrez/ada-asf/wiki)## Tutorial
* [Ada Server Faces Application Example part 1: the presentation](http://blog.vacs.fr/index.php?post/2011/03/21/Ada-Server-Faces-Application-Example)
* [Ada Server Faces Application Example part 2: the Ada beans](http://blog.vacs.fr/index.php?post/2011/04/10/Ada-Server-Faces-Application-Example-part-2%3A-the-Ada-beans)
* [Ada Server Faces Application Example part 3: the action bean](http://blog.vacs.fr/index.php?post/2011/05/02/Ada-Server-Faces-Application-Example-part-3%3A-the-action-bean)
* [Ada Server Faces Application Example part 4: the server](http://blog.vacs.fr/index.php?post/2011/05/18/Ada-Server-Faces-Application-Example-part-3-the-server)## Components
The following tags are supported:
| Documentation | Namespace | Tags |
|----------|------------------------------------------------------|---------------------------------------------------------------------- |
| [JSTL]( https://demo.vacs.fr/demo/jstl/view.html) | `xmlns:c="http://java.sun.com/jstl/core"` | , , , , |
| [Facelets](https://demo.vacs.fr/demo/facelet/view.html) | `xmlns:ui="http://java.sun.com/jsf/facelets"` | , , , , , |
| [JSF Core](https://demo.vacs.fr/demo/jsf/core/view.html) | `xmlns:f="http://java.sun.com/jsf/core"` | , , , , , , , , , , , , , , |
| [JSF HTML](https://demo.vacs.fr/demo/jsf/html/view.html) | `xmlns:h="http://java.sun.com/jsf/html"` | , , , , , , , , , , , , , , , , , , , |
| [Widget](https://demo.vacs.fr/demo/widgets/view.html) | `xmlns:w="http://code.google.com/p/ada-asf/widget"` | , , , , , , , , , |
| [Util](https://demo.vacs.fr/demo/util/view.html) | `xmlns:util="http://code.google.com/p/ada-asf/util"` | , , , |# Licenses
Ada Server Faces integrates the Javascript library jQuery licensed under
MIT or GPL (See https://jquery.org/license/).Ada Server Faces integrates a generated version of 960 grid system
licensed under MIT or GPL (See https://960.gs/ and https://grids.heroku.com/
for the CSS generator).