https://github.com/devsimsek/srf-js
A powerful and flexible framework for building modern web applications.
https://github.com/devsimsek/srf-js
components design framework javascript ui
Last synced: 17 days ago
JSON representation
A powerful and flexible framework for building modern web applications.
- Host: GitHub
- URL: https://github.com/devsimsek/srf-js
- Owner: devsimsek
- License: other
- Created: 2023-06-16T07:29:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-21T13:06:04.000Z (9 months ago)
- Last Synced: 2025-09-21T14:42:15.654Z (9 months ago)
- Topics: components, design, framework, javascript, ui
- Language: JavaScript
- Homepage: https://srf.smsk.me/
- Size: 432 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SRF Framework
SRF (Simple Routing Framework) is a JavaScript framework designed to simplify web application development. It provides a set of features and utilities to streamline the coding process, allowing developers to build web applications with ease.
## Features
- **Routing**: Define routes and associate them with handlers to handle navigation within the application.
- **Page Manipulation**: Manipulate the page content dynamically by updating the title, body, and appending components.
- **Query Parameters**: Easily retrieve and work with query parameters from the current URL.
- **Redirects**: Redirect users to different pages within the application.
- **HTTP Requests**: Make HTTP GET and POST requests to retrieve and send data to servers.
- **Template and Script Loading**: Load templates and scripts dynamically for enhanced functionality.
- **UI Components**: Create simple UI components without the need for extensive design work.
- **Modular Class Structure**: Built-in modular class structure for organizing and creating applications.
## Getting Started
To get started with SRF, follow these steps:
1. Import SRF into your index.html file.
2. Create an instance of the SRF class.
3. Define routes and associate them with handlers to handle navigation.
4. Use page manipulation methods to update the page content.
5. Retrieve and work with query parameters using the provided utilities.
6. Make HTTP requests to fetch and send data.
7. Load templates and scripts dynamically for enhanced functionality.
8. Create UI components using the built-in features.
9. Organize your application using the modular class structure.
For detailed documentation and examples, please refer to the [SRF Framework Home Page](https://srf.smsk.me).
## CDN Links
- Latest version
- bundle: https://cdn.jsdelivr.net/gh/devsimsek/srf-js@main/dist/srf.js
- code: ```html ```
- core: https://cdn.jsdelivr.net/gh/devsimsek/srf-js@main/dist/srf.core.js
- code: ```html ```
- components: https://cdn.jsdelivr.net/gh/devsimsek/srf-js@main/dist/srf.components.js
- code: ```html ```
## Contributors
- [devsimsek](https://github.com/devsimsek) - Developer and maintainer
## License
This project is licensed under the [MIT License](LICENSE).