Hacker Newsnew | past | comments | ask | show | jobs | submit | catch404's commentslogin

Is http://getsimpleform.com/ too basic? No affiliation, I came across it when making something similar


That's a good start, but as you said is very basic. The JSON data would be useful for determining if a spot is taken but it doesn't have a nice way to view all the entries (without building that yourself).


Looks like the homework is to make an OCaml client for reading the spool files. Perhaps this is the start of a poignant guide to OCaml?


Pretty hard to read any text with that going, it's a shame it doesn't respond to <esc>.


I've been playing with a similar syntax: https://github.com/maplambda/py-htmlout/blob/master/htmlgen.... I need to provide better examples, tests and form handling. I'm finding it nice to work with.


Looks good. My own module of this sort auto-escapes HTML special characters in strings fed to it, by default -- it looks like yours doesn't do this, at least at first glance. Is that right?

OTOH I think I like your syntax better.


Thanks, that would be a good approach, mine is currently very barebones! just trying to get the syntax right and get a feel for using it in actual projects - hope to put up a real sample soon.


Always enjoy reading johns posts.


The on request sever design is an interesting approach. It seems like it would provide a good framework for a small personal site. I wonder where this fits between using a site generator and pushing to github (or similar push based cloud provider) vs running a full webstack. I guess it comes down to preference and requirements. Good way to provide server stats via http though.


I've wondered why I never see a gosu reference when comparing jvm languages. I was quite pleasantly surprised when I checked it out.. Looking forward to having a play in the near future.


Some of the lisp style stacks get very close as do some smalltalk environments (squeak). Of course this means generating the markup from code but seems to work well enough.

HN is an example (see hn challenge) as is teepeedee2 (http://john.freml.in). Maby clojure is worth a look.


I hope that this style catches on - better than the blog templates most people use. Being a bike store I would have thought they'd list brands and specialities though.. It seems the site would only be useful if you know the shop.


Seeing projects like this puts suggestion of hn quality going down to the back of my mind, really excited to try this out. Is there a framework which inspired this?


Thank you. Short answer: Zope 2. Long answer (just added): http://aspen.io/simplates/#history


One interesting use of Simplates could be a very ajaxy Single Page Application that accesses an API provided by Python functions in the same Simplate.


Thanks! :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: