Since the last roundup, our community has continued to produce some really cool projects using Hack. I’m really excited to have another long list to share with all of you!
- Nathan Davidson is porting his “groundwork” framework to Hack. He describes groundwork as “a lightweight RESTful-like framework … designed to quickly get a backend communicating with a backbone.js, or equivalent, frontend.”
- Brian Scaturro posted “Hacktions”, a simple framework for sending messages to observers. It sits in his “HackPack” alongside HackUnit which I mentioned last roundup.
- Tobias Nyholm wrote a small twig filter to “take a HTML string as input and make it shorter without breaking the HTML”. He also wrote a short blog post on the plugin.
- The prismic.io team ported their PHP kit to Hack, as well as a simple Hack starter project. See their blog post about it for more information.
- Andy Hawkins of Bombsquad released Link-Hack, a “version of Amanpreet Singh’s minimal PHP Router”.
Blog Posts / Other
- The Hack team and knowledgeable community members monitor the StackOverflow tag “hacklang” for questions, and we’ve gotten some good ones. In particular, I loved this question about converting some PHP code to Hack. It’s an extremely good question about thinking about how to write well-structured Hack strict-mode code; make sure to read the author’s comment on my answer about why the author’s code was structured that way.
- In the same vein, as part of his groundwork framework rewrite mentioned above, Nathan Davidson wrote a great blog post about his experience with the conversion, including some insightful discussion of the finer points of a Hack conversion and what it means to be well-typed.
- Knecht Rootrecht has started a German language Hack forum.
One reminder for anyone thinking of starting a new project in Hack: the type system itself is enforced by a separate typechecker, not by HHVM itself, so make sure you follow the directions on getting it set up, otherwise you’re missing out on a huge amount of the power of Hack!
Leave your thoughts down in the comments. In particular, please let me know what I’ve missed so I can feature it in the next post!