Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Model-View-Controller: Template Toolkit vs. XSLT

by tomhukins (Curate)
on Oct 20, 2004 at 09:15 UTC ( #400787=note: print w/replies, xml ) Need Help??

in reply to Re^2: Model-View-Controller: Template Toolkit vs. XSLT
in thread Model-View-Controller: Template Toolkit vs. XSLT

templating systems will never be better than XSLT

Never? You can't think of any situation where XSLT isn't the right tool for the job?

it all has to do with language, encoding and xslt scripting /xpath

I don't know exactly what you mean here, but Template::Plugin::XML::LibXML and Template::Plugin::XSLT have been mentioned earlier in this discussion, demonstrating that XPath works in non-XSLT environments. Which language and encoding issues does XSLT deal with better than all other templating systems? The latest version of Template Toolkit (2.14) offers improved Unicode support.

I think the point you make with mobile phones is that XSLT can run on the client side, whereas other templating tools can't. I agree this can help in certain situations, but often I prefer to keep the client side as simple as possible, doing complex work on the server environment. As you mention, client side environments differ considerably in their treatment of the same information.

  • Comment on Re^3: Model-View-Controller: Template Toolkit vs. XSLT

Replies are listed 'Best First'.
Re^4: Model-View-Controller: Template Toolkit vs. XSLT
by drfrog (Deacon) on Oct 21, 2004 at 17:53 UTC
    never is strong sure, but i already stated i still use html::template as well.. the distinction is in how elegant/elaborate your system must be.

    html::template is great for simple things but it runs outta room pretty fast, IMO

    nothing in my scenario was run on the client side, but the language and encoding issues I talked about were on the client hardware...aka cell phone

    see with cell phones encoding and languages {english vs japanese ...not perl vs java} are very important, and particular.. with xslt's it was very simple to change the encoding and language types at the top of the file and watch it propagate across the application

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400787]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-04-25 11:32 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (450 votes). Check out past polls.