# SLM: School Library Management

- **Other languages**: [Français](LISEZMOI.md), [Español](LEAME.md)
- **User manual, screenshots**: [see the contextual help of SLM](https://slm-demo.freeduc.org/aide/index.html) (currently in French only)
- **Demonstration**: send an e-mail to <georgesk@debian.org > with a subject "try SLM", to get access to a test server.

-----------------------------------------

salam : SML

This project was started in year 2023, in Dunkirk's Jean Bart high school
(France). School books are managed there by a non-profit association,
the « coopérative du lycée », animated by volunteers. Students are
about one thousand five hundreds to enjoy hiring school books managed
by the coopérative; all those « clients » come within one week or less
when the school year begins, and come again at the end of the year to
give back the books they hired.

## Short history

livre - Gemasco
SLM owes a lot to [GeMaSco](https://openacademie.fr/gemasco/),
a software to manage school books developed by the organization
[OpenAcademie](https://openacademie.fr/). To name the project
SLM, one can say « Salam » (سَّلَام, salām),
« Shalom » (שָׁלוֹם), which means « salute » or « hi! »,
but can also mean « peace ». Gemasco is based on
[Microsoft Access](https://fr.wikipedia.org/wiki/Microsoft_Access), 
it is a set of routines written in Visual Basic, interacting with
seventeen tables which contain the application's data.

## Migration GeMaSco → SLM

Django-project logo
A migration of the tables (which contained the series of books hired
during September 2023) was achieved, by rewriting their structures as
classes inheriting methods and properties from the
[Django](https://docs.djangoproject.com/fr/4.1/) framework, and then
importing the data, to populate a SQL database. After this migration,
it was possible to define views which provide web pages
based on templates and styling rules (form and content are separated).
One part of the interaction between web pages and their users is implemented
by Javascript programs, who take benefit from [jQuery](https://jquery.com/) and
[jQuery-UI](https://jqueryui.com/) libraries.

