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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929573]
help
Chatterbox?
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2016-12-10 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.