4 ms·
I definitely prefer the ruby build_tag too, php's fine.. until you try to do something even remotely interesting. And yeah, in real code the helpers sometimes
by ericwaller 18y ago
I definitely prefer the ruby build_tag too, php's fine.. until you try to do something even remotely interesting.
And yeah, in real code the helpers sometimes need to get a bit more advanced. Something I like to do is add a class name corresponding to the function name (which I usually grab from __FUNCTION__) -- it helps keep a nice consistency between server-side/html/js/css