|
|
|
|
|
by joneil
4408 days ago
|
|
I don't seem to have the ability to edit, and I forgot to reply to the first part of your comment. I use Apache/mod_neko on the server, though after the high traffic last night we might switch to nginx/mod_tora. Either way, these basically server ".n" Neko Bytecode files, and provide caching between requests [1]. I stayed away from using a database / ORM for this website, instead using Github for all the content. When we update we pull a repo and it references flat files. The site then transforms the HTML or Markdown, pops it in a template, and serves it up. I used a library called ufront for the MVC environment on the server. You can have a look at what a controller looks like here [2]. I'm hoping to do a tutorial, ufront was written by Franco Ponitcelli and Andreas Sudderland a few years back, but I've done a lot with it in the last year and hope to release / document soon. I did do a talk at last year's conference if you're interested [3]. 1: http://jasono.co/2013/09/11/neko-web-cachemodule/
2: https://github.com/HaxeFoundation/haxe.org/blob/master/src/a...
3: http://www.youtube.com/watch?v=c6EwJ7iU-qo |
|