|
4 ani în urmă | |
---|---|---|
.. | ||
src | 6 ani în urmă | |
README.md | 6 ani în urmă | |
benchmark_config.json | 6 ani în urmă | |
config.toml | 4 ani în urmă | |
onyx.dockerfile | 6 ani în urmă | |
run.sh | 6 ani în urmă | |
shard.lock | 6 ani în urmă | |
shard.yml | 6 ani în urmă |
This is the Onyx test of the Framework Benchmarks. Crystal is a new language that closely resembles Ruby with a goal of removing typed variables and parameters (instead inferencing), whilst maintaining top speed through bindings into C.
The framework consists of multiple components:
Onyx::HTTP is a collection of HTTP handlers, which essentially are building blocks for your web application Onyx::REST is a REST layer on top of Onyx::HTTP which implements splitting business and rendering logic into Actions and Views, inspired by Hanami Onyx::SQL is a database-agnostic SQL ORM
Onyx Framework is designed to be both powerful and adoptable by Crystal newcomers. It utilizes complex concepts like annotations and generics, but hides it under beautiful DSL. Such an approach makes it possible to write less code, thus reducing the possibility of bugs, but still make it easy to extend the framework’s functionality.