jude47's avatar

Best practice in mixing html and php? and why?

When I started learning php the turorial I followed is putting the html inside echo way back for how many year ago

I got comfortable using this way but as I continue exploring php I also notice that some prefers like this

0 likes
1 reply
nexxai's avatar

I think you'll find most people at Laracasts are fans of using Blade - since it comes bundled with Laravel - and then using Blade templates to do the presentation layer stuff.

Please or to participate in this conversation.