Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Javascript: Display Logic or Business Logic?

by metaperl (Curate)
on Oct 04, 2011 at 15:33 UTC ( #929573=note: print w/replies, xml ) Need Help??

in reply to Javascript: Display Logic or Business Logic?

For completeness, here is the list of push-style templating systems. FWIW, these days I use Mojo's built in system again and again because it's there and it works :) For a total javascript solution express seems pretty complete, but there are certainly other options for full-stack JS.

The mantra of every experienced web application developer is the same: thou shalt separate business logic from display. Ironically, almost all template engines allow violation of this separation principle, which is the very impetus for HTML template engine development.

-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"

  • Comment on Re: Javascript: Display Logic or Business Logic?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929573]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2016-10-21 11:22 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.