Hi everyone!
I just wrote a blog post on getting started with using XHP for views in Laravel. XHP is a templating syntax originally developed by Facebook and currently in use for all their server-rendered frontend code. One of the main advantages is that parameters are strongly-typed rather than just accepting everything you throw at them. Additionally, all the XHP elements are just regular PHP classes and you have the full power of PHP available for use (logic specific to a view can live in the same file as the view itself).
Here's the post: http://dan.cx/2014/05/xhp-laravel
Let me know if you've got any questions!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community