InfoCMS update
Since talking to Mat about his future plans for Moblog I’ve been working on adding virtual-serving and componentised pages to InfoCMS. The former is there now and can be considered alpha. The latter still has a bit of a way to go, but with the latest version I can construct pages by pointing and clicking my way around.
So that’s cool. I’m a bit worried about the state of the code though. It’s looking a touch ugly, which is a greater concern because this is a framework that’s meant to make developing apps easier. If the code is unreadable, it will be noticeably less useful. Interestingly enough, I’ve been thinking that some of the spaghettification is due to using arrays as an all purpose record type, instead of creating any proper data types. PHP doesn’t really have types, so I’ve been thinking about what this stuff would look like in a statically-typed language. I’m not going to be rewriting this in Haskell or Ocaml any time soon, though I would really love to have a crack at it.
*short pause*
Crap, now I spent an hour building mod_caml
, ocaml-mysql
and deps. I’d love to have time to spend on this kind of thing, but I’ve got two large projects to deliver at the end of the month.
Anyway, InfoCMS is coming on. Night.