Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[M4ver1k]: I feel like being able to toggle a running script on the fly by updating variables from a config file using Config::Simple. But in the while loop, it seems like it doesn't update the variable after the first past. Is this generally just a bad idea?
[M4ver1k]: pass*

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-11-20 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (283 votes). Check out past polls.

    Notices?