The first micro framework written in Hack is there: hack-mvc !
It has been just a few months ago Hack has been first announced, but some awesome people have already developed first tools for or with Hack. A quite interesting thing is definitly hack-mvc, a very simple naked barebone application, or let’s call it micro framework. Don’t expect a full framework here, it’s really just a very reduced quick & dirty application structure and does nothing more than simply defining return types, but it might be a nice playground for Hack demos, first steps into the language’s features and an overall starting point.
A quick example screenshot (ignore the terrible syntax highlighting on GitHub and the weird 8-char-tab-formatting):
Find Emre Sokullu‘s hack-mvc here on GitHub, read the documentation here (don’t be confused, it’s based on a native-PHP framework called PIP) and have a look on the author’s story on Medium. Interesting!
More awesome news about Hack and HipHop in the current blog post of the official HipHop/HHVM dev team.
Leave A Comment