XHP Template Engine on Laravel 4.2

Languages: Indonesian

Limitations

Since new releases of HHVM and XHP, when we want ot use composistion of XHP component on our view, the view’s file should be started with HHVM’s open tag <?hh and there is no closing at the end of file.

It’s impossible by Blade compiler because by default it won’t prepend the HHVM’s open tag and for every Blade’s syntax like @include, @section, @if, @foreach, etc., will be converted with followed by <?php dan ?>.

At the migration process we should mix both methods on how XHP and Blade works.

Continue reading “XHP Template Engine on Laravel 4.2”