Package utron is a lightweight MVC framework for building fast, scalable and robust web applications
Utron is built with focus of composability. This means, you can reap all the benefit of using utron while maintaining harmony with existing libraries and frameworks.
* Session management
* Middleware support
* Data acess( Relational database)
* Templates (views)
* Static content serving
There are many frameworks out there, you might be wondering why do we need yet another framework?. We probably don't.. Utron is just a summary of the tools, and techniques I use to develop web applications in Go.
This includes the best libraries, and the best organization of the code base. Utron has one of the very handy Controller( you will see more details in the controller section)
* gorilla/mux: for http routing.
* gorilla/session: for session management
* gorm: for object relationl mapping.
In all of my web application I noticed that, keeping global state brings a lot of complexities to the application, so uttron avoids this. utron applicatio is a simple struct that you can play around with in whatever way that you find suits you.
NewApp creates a new bare-bone utron application. To use the MVC components, you should call the Init method before serving requests.
NewMVC creates a new MVC utron app. If cfg is passed, it should be a directory to look for the configuration files. The App returned is initialized.
|base||Package base is the basic building cblock of utron.|