3 ms·
I'm a PHP developer and use HAML and SASS in PHP projects. Why? Because to build a website with these tools speeds up my development time. You cannot forget an
by endorama 15y ago
I'm a PHP developer and use HAML and SASS in PHP projects.
Why? Because to build a website with these tools speeds up my development time.
You cannot forget anymore a </b> closure. You can forget all the 'echo' calls. You can forget all that horrible "nested" css rules with tons of repetition. You can forget all that <?php ?> tags everywhere around the HTML code.
Yes the cost to pay for this is ruby. Well, it took me about 20/30 minutes to setup a ruby environment with RVM ( https://rvm.beginrescueend.com/ https://rvm.beginrescueend.com/ ).
Now my PHP project are cleaner, easier to mantain, only with a little "trick": some really good Ruby tools...
At the end, I think that the advantages are worth the costs...
This is a "templated" way to do so in wordpress projects... Why not? ^^
- pan69 15y agoI'm not referring to HAML and SASS, I'm referring to Ruby. HAML and SASS are good thing and to integrate it with Wordpress is great. However, if you want Wordpress developers to make use of your efforts, cut the dependency on Ruby since no Wordpress developer will be willing to get up and running (or even installing) Ruby.