Introduction
Last updated
Last updated
Maze is a web development framework written in the Crystal language which implements the server-side MVC pattern using the object-oriented paradigm. Many of its components and concepts will seem familiar to those of us with experience in other web frameworks like Phoenix, Ruby on Rails or Python's Django. Maze is based on Amber and the purpose of Maze is to extend Amber with specific features and design goals that are outside of, and sometimes incompatible with, the core goals of the Amber project. See the Maze project on github for details about the main differences between Maze and Amber.
Maze aims to deliver developer happiness, productivity, and bare metal performance. The Crystal language is heavily inspired on Ruby delivering familiarity and productivity making it easy to read and write code with a lower learning curve for experienced Ruby developers.
Crystal also has some modern features like macros, concurrency model, union types, c bindings, built in dependency manager. Maze takes advantage of all these features providing you a familiar structure to develop a web application.
Maze offers a familiar set of tools for fast prototyping and developing enterprise-grade web applications, like Generators, Database management, CLI, Deployment tools, Docker support, Encrypted secrets, WebSockets, and more. If you come from the rails world, you will feel right at home but be aware, Maze is not Rails; it's type-safe, compiled, and embraces the best features from many different frameworks so you might notice pipes for routing which is more similar to Phoenix framework.
The aim of this introductory guide is to present a brief, high-level overview of Maze Framework, the parts that make it up, and the layers underneath that support it.
If you’re stuck, there are a number of places you can get help.
Gitter for quick questions.
Stack Overflow for questions about the Crystal Language and Maze Framework.
Github for getting acquainted with source code, current issues and progress.
Online Guides for getting down and dirty working with Maze.
Twitter to see latest news and announcements about Maze Framework.
Contributing to Maze can be a rewarding way to learn, teach, and build experience in just about any skill you can imagine. You don’t have to become a lifelong contributor to enjoy participating in Maze.
Maze is a community effort and we want You to be part of ours Join Maze Community!
Learning a new framework can be intimidating and exciting at the same time. To help you along, we have created a cookbook packed with examples and recipes to get the common tasks completed.
If you are new, you should start off with the guides.
If you want a step by step tutorial try the quick start.