Very good point!

So, what you are saying is, that by using an appropriate template I can output HTML, or XML or whatever. I am not sure how PDF would be generated with templates, but I am certain somebody will tell me! What you are sying perrin is that I can generate XML and do whatever with it, rather than having to use XML internally. Of course even a 'simple' templating package like HTML::Template should produce output in other markup styles dependant purely on the template itself.

Well, yes, WAP or whatever. When I had anything to do with cell-phones and the like I was designing the hardware, you know RF stuff and the like, not the firmware :) I am going to have to do a bit of a refresher on those pesky things. It is not just "one app" as such. It is a suite of tools which will include a scheduler for sales-people. The customers actual words it would be useful for us if the sales people using the new internet capable phones, or devices such as the Blackberry from RIM could access their scheduler functions and the like.

As a programmer - logic and presentation have no part being mixed up with each other. This afternoon I whipped up a simple test app with several functions - in PM terms - nodelets. By using a couple of different templates and a couple of stylesheets I effectively had a very neat 're-skinnable' application. This is the degree of separation I am looking for. Thus this will obviously effect my choice of template systems for this is the degree of flexibility the client is wanting to pay for!

jdtoronto


In reply to Re: Re: XML as part of the Web app warchest.... by jdtoronto
in thread XML as part of the Web app warchest.... by jdtoronto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.