The caveman in offering the first garland to his maiden thereby transcended the brute. He became a utopian in thus rising above the crude necessities of nature. He entered the realm of art when he perceived the subtle use of the useless. -- Okakura Tenshin, "The Book of Tea"
3 steps to write a better web application:
- Choose the right language.
- Choose the right web framework.
- Write less.
Utopian is a web application framework that encourages rapid web development.
$ ros install fukamachi/utopian
$ ros install fukamachi/lsx
$ ros install fukamachi/qlot
Ensure ~/.roswell/bin
is in your shell $PATH
.
To generate the project skeleton, open a terminal and execute this command:
$ utopian new blog
$ cd blog/
$ qlot install
This section is needed only when using MySQL or PostgreSQL.
$ createuser -d blog
$ mysql -u root
mysql> CREATE USER blog@localhost IDENTIFIED BY '';
mysql> GRANT ALL ON *.* TO blog@localhost;
$ .qlot/bin/utopian db create
$ .qlot/bin/utopian server
Hunchentoot server is going to start.
Listening on localhost:5000.
Add Mito table classes under models/
directory and run the following commands:
$ .qlot/bin/utopian generate migration
$ .qlot/bin/utopian db migrate
See examples/ directory.
- Clack / Lack
- MyWay: Sinatra-compatible router.
- Mito: An O/R Mapper with schema versioning.
- LSX: Embeddable HTML Templating engine.
Eitaro Fukamachi ([email protected])
Copyright (c) 2016-2018 Eitaro Fukamachi
Licensed under the LLGPL License.