Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Frameworks for hacklang?

Hacklang may still be relatively new but are there any frameworks (MVC for instance) that are well-documented for it ? I've stumbled accross Fastuc or Hack-mvc but they don't seem ready yet and the documentation is quite scarce;

Any thoughts ? Thanks a lot !

like image 309
tchap Avatar asked Apr 01 '15 09:04

tchap


1 Answers

First, remember that, since Hack is backwards-compatible with PHP, any PHP framework can be used in Hack. You won't get the benefits of typing code interacting with that framework of course, but the type system was carefully designed to deal with missing type information ("gradual typing"). So if you want to use Laravel, Symfony, etc, you can do so perfectly fine while still writing the code using them in Hack.

As for pure Hack frameworks, you can look at the Hack language section of the HHVM blog which contains a few "community roundups". One of the most active today is probably Titon, though I've not used it myself and so can't say how complete or ready to use it is.

like image 193
Josh Watzman Avatar answered Sep 28 '22 05:09

Josh Watzman