Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagelogic/pagelogic
HTML-based isomorphic reactive web framework for Node.js and the browser
https://github.com/pagelogic/pagelogic
browser express-js framework html isomorphic middleware node-js reactive runtime server web
Last synced: 9 days ago
JSON representation
HTML-based isomorphic reactive web framework for Node.js and the browser
- Host: GitHub
- URL: https://github.com/pagelogic/pagelogic
- Owner: PageLogic
- License: mit
- Created: 2023-12-27T20:18:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T23:04:16.000Z (8 months ago)
- Last Synced: 2024-04-01T11:45:15.400Z (8 months ago)
- Topics: browser, express-js, framework, html, isomorphic, middleware, node-js, reactive, runtime, server, web
- Language: TypeScript
- Homepage: https://github.com/fcapolini/pagelogic/blob/main/README.md
- Size: 534 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PageLogic turns HTML into a reactive language ideal for expressing presentation logic.
```html
Count: ${count}
```
Source pages are compiled into HTML + custom JavaScript files. They can be deployed as they are and don't require any external dependency.
```bash
pagelogic build www dist
ls -l dist
#...
```## HTML extensions
* Elements can be assigned reactive values using `:`-prefixed attributes
* Attributes and texts can contain reactive logic in `${...}` expressions
* Custom elements (aka Components) can be declared with the `<:define>` directive