-
Notifications
You must be signed in to change notification settings - Fork 0
Add README file #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d601ef5
feat(readme): add initial README file
Codestech1 f69e592
feat(readme): minor improvements and fixes
Codestech1 77396a4
chore(readme): remove emojis from README
Codestech1 cfeb1bf
feat(readme): implement minor improvements from the pull request review
Codestech1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Modules | ||
| A Java library making modular programming easier. Made for Hypejet Network, now available to everyone. | ||
|
|
||
| ## Use cases | ||
| This library was made with many use cases in mind, for example: | ||
| - **Modular monolith architecture** - you can use Modules to split features of your project into multiple independant modules. This allows the application to keep running, even if one of those modules fail. | ||
| - **Creating and removing complex environments at any time at runtime** - for example, Hypejet uses this library to create and load minigame rounds, which are then fully unloaded and removed. | ||
| - **And anywhere you need modular environment!** - Modules was designed to be feature-complete and provide advanced features. | ||
|
Codestech1 marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Why Modules? | ||
| There are some adventages of using this library over others or custom approach: | ||
|
Codestech1 marked this conversation as resolved.
Outdated
|
||
| - **Lightweight** - weighs less than 20kB. | ||
| - **Ease of use** - basic usage is really simple, you can create your first modular environment in minutes! | ||
| - **Fast** - thanks to its simplicity, the module loading mechanism itself is really fast. In practice however, the overall speed depends on how fast your modules load and unload. | ||
| - **Keeps dependencies simple** - requires only plain Java 25 and [SLF4J](https://www.slf4j.org), which is compatible with almost every common logging framework and is widely used nowadays. | ||
| - **Fail-safe** - if any module fails to register or load, no exception is thrown, and your application continues to run. The only exception is when circular module loading is found, but it fails early and is easy to detect, you can find out more on the wiki. | ||
| - **Feature-complete** - Modules was designed not only for Hypejet, it can provide more advanced features where needed. | ||
|
|
||
| ## Usage | ||
| You can find out how to use Modules on our [wiki](https://github.com/Hypejet/Modules/wiki). | ||
|
|
||
| ## Contributing | ||
| Pull requests are welcome. There are no strict requirements for now, however - if possible - please try to follow our code style. But don't worry, in case there is something wrong, it will most likely get corrected by maintainers. | ||
|
|
||
| ## License | ||
| This project was licensed under the terms of [Apache 2.0 License](LICENSE). | ||
|
Codestech1 marked this conversation as resolved.
Outdated
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.