https://github.com/droduit/petri-webgen
Engine to convert any multimedia scenarios described by a Petri network, into a web application.
https://github.com/droduit/petri-webgen
bsc-thesis css epfl html js json multimedia petri php web
Last synced: 4 months ago
JSON representation
Engine to convert any multimedia scenarios described by a Petri network, into a web application.
- Host: GitHub
- URL: https://github.com/droduit/petri-webgen
- Owner: droduit
- Created: 2017-10-12T16:57:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T11:39:23.000Z (almost 2 years ago)
- Last Synced: 2025-01-02T20:19:06.652Z (5 months ago)
- Topics: bsc-thesis, css, epfl, html, js, json, multimedia, petri, php, web
- Language: PHP
- Homepage:
- Size: 1.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convert any multimedia scenarios described by a Petri network, into a web application
## Documentation
Please refer to the complete PDF documentation.## Description
Petri networks allow modeling an infinite number of diverse applications. At a basic level, they consist of four main elements: Tokens, Places, Transitions, and Arcs:
1. Token -> Sprites : objects defined by properties.
2. Places, activities, or « scenes » : containers holding one or multiple sprites.
3. Transitions : manage « events » to move from one activity to another.
4. Arcs : connect places to transitions.An existing software for Petri network modeling generates files representing descriptions in JSON format. Here, we aim to utilize the generated JSON, which corresponds to the description of web applications, to design the next step. This step will transform the Petri network into a functional web application, making use of HTML-CSS-JS combination.
## Deployment
1. Create a folder named `uploads` with write permissions.
2. Ensure that the `generated` folder has write permissions.## Demo
The `demo` folder contains examples of Petri networks in JSON format.
The password for `ex1` is `demo`.