dag / kib

This URL has Read+Write access

dag (author)
Wed Dec 24 16:25:27 -0800 2008
commit  f6fac24a2efec961c14f0aa50ba6bef5f2e3aa17
tree    bd862afd47728c205034ed7b2f774623c7443d9e
parent  f8a4d9e91b6f2ebb66e6f58047e63345ec2ce83b
kib /
name age message
file .gitignore Loading commit data...
file README.markdown
directory bin/
directory lib/
README.markdown

Kib

Static Model/View/... uh, Router?

OMG another?

This one doesn't focus on pages in the way others do. Instead there are "models" in the form of YAML documents and optionally separate files for specific fields, with their extension controlling the template engine. There is also a "router" which will build your application from your resources with the routes of your chosing. This makes it all highly flexible.

Another design goal is to not mix formats in files, unlike e.g. Webby. This is beneficial for things like syntax highlighting, but means more files and separation. Separation however has benefits in itself, and many files shouldn't be a problem with generators and good editors.

How

$ kib-gen site kiblog
$ cd kiblog
$ kib-gen resource posts
$ rake serve

Love needed

  • Assets overlay
  • Use DataMapper for models with the in_memory adapter
  • Route macros
  • Mount aware helpers (don't assume /)
  • More template engines for layouts, views and texts (maybe pluggable)
  • Partial views
  • Build to a git branch like gh-pages, or a submodule linking to user.github.com
  • Maybe Kib could be built on top of Merb/Rails3 as a plugin?