lightweight XSLT-based page flow: anyone thought of this?

Discussion in 'Java' started by SUPER KOOL 223, Jul 29, 2003.

  1. Java Page Flows are coming out as a means to organize web apps and I
    don't really like it much. You've got all this low-level visual stuff
    that doesn't scale, and then you've got low-level controller
    directives embedded in comments throughout your source. Doesn't help
    me much. Too granular.

    Has anyone else thought of using XSLT for top-level declarative page
    flow in a web app?

    Start simple, like this:

    HTTPRequest -> 2XML -> Pageflow.xsl -> literal-or-forward -> browser

    If it gets more complicated, then you've got:

    HTTPRequest -> process upload -> 2XML -> process input ->
    -> Pageflow.xsl -> literal-or-forward -> browser

    pageflow.xsl lives in the top level directory of the web app, let's
    you know all the events and everything going on in a web app. This is
    nice if you have to maintain the web app, and if it was written by
    someone else.

    Note a lot of HTML snippets can be embedded in the stylesheets,
    "thank yous" and whatnot, as well as references to JSPs to forward
    to, "forwarding descriptors" that get processed by the last "literal
    or forward" phase.

    You could easily scan the pageflow file(s) for lists and summaries in
    ways you could not with the Java Page Flows being proposed.

    Performance issues are the processor's problem.

    Regards.
    SUPER KOOL 223, Jul 29, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron
    Replies:
    4
    Views:
    412
  2. SUPER KOOL 223
    Replies:
    2
    Views:
    375
    SUPER KOOL 223
    Jul 30, 2003
  3. vaibhav
    Replies:
    3
    Views:
    1,134
    vaibhav
    Aug 14, 2006
  4. Jack Dowson
    Replies:
    0
    Views:
    448
    Jack Dowson
    May 7, 2007
  5. Public Interest
    Replies:
    9
    Views:
    156
    David Oswald
    Oct 21, 2003
Loading...

Share This Page