Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-08-27 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (244 votes), past polls