MattHicks.com

Programming on the Edge

Hyperscala: Web Site

Published by Matt Hicks under , , , , , , , on Monday, March 18, 2013

I have been negligent giving proper support to Hyperscala's public appearance and have spent the past several months working on the API itself. However, today I finally released a very basic web site at hyperscala.org:

The site is incredibly basic right now and not all that pretty but it is written in 100% Hyperscala and has links to the source code on Github on every page along with working examples.

Feel free to ping me if you have any problems with the site or something is missing that would help make the site better.

3 comments:

Sebastian said... @ March 19, 2013 at 5:07 PM

Good work!

I was just wondering... would it be possible to instantiate new tags "quicker". With some DSL magic like:

Div { ... }

instead of:

new tag.Div { ... }

Sebastian said... @ March 19, 2013 at 5:12 PM

Another question: is it possible to use Hyperscala for static-site generation? (ala Jekyll)

Matt Hicks said... @ March 19, 2013 at 5:39 PM

@Sebastian, sure, I actually started out working like that but ultimately realized enforcing such practices hindered extension and encapsulation.

Regarding static-site generation that's incredibly easy in Hyperscala. You can call the "outputString" method on any tag and it will convert the entire structure into an HTML String.

Post a Comment