Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Back Room
  4. Stupid trucking brain

Stupid trucking brain

Scheduled Pinned Locked Moved The Back Room
xmlhtmlcsscomtutorial
8 Posts 4 Posters 19 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Watson
    wrote on last edited by
    #1

    Don't you hate it when you envision this beautiful, elegant system which you know will kick ass. Then you get down to implementing it and little stupid God-forsaken things make it less elegant. Stupid things like having to support ASP code in XML which naturally falls over when it finds <%. Or stupid things like XSL processing HTML code instead of just bloody well copying it to the output stream. Arrggh soon enough your system is still beautiful but behind it there are tons of string-and-pin functions which cater for all the daft CDATA problems. Aarrgghhh! It makes my blood boil. Why can't XML just accept trucking ASP!!! Aarrgghhhhhhhhhh... *sniff* still, the system is cool, just not as cool as I wanted it to be :( So who knows how to put ASP into XML elements WITHOUT having to use &lt;%? regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

    M S 2 Replies Last reply
    0
    • P Paul Watson

      Don't you hate it when you envision this beautiful, elegant system which you know will kick ass. Then you get down to implementing it and little stupid God-forsaken things make it less elegant. Stupid things like having to support ASP code in XML which naturally falls over when it finds <%. Or stupid things like XSL processing HTML code instead of just bloody well copying it to the output stream. Arrggh soon enough your system is still beautiful but behind it there are tons of string-and-pin functions which cater for all the daft CDATA problems. Aarrgghhh! It makes my blood boil. Why can't XML just accept trucking ASP!!! Aarrgghhhhhhhhhh... *sniff* still, the system is cool, just not as cool as I wanted it to be :( So who knows how to put ASP into XML elements WITHOUT having to use &lt;%? regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

      M Offline
      M Offline
      MS le Roux
      wrote on last edited by
      #2

      I'm curious as to why exactly you would want to put ASP into XML elements?

      P 1 Reply Last reply
      0
      • M MS le Roux

        I'm curious as to why exactly you would want to put ASP into XML elements?

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        MarSCoZa wrote: I'm curious as to why exactly you would want to put ASP into XML elements? I am working on a CMS (content management system) project. Authors of content are allowed to put ASP into their content and because all content is stored in XML files the XML must be able to contain ASP. Then that XML file is transformed using XSLT into XHTML and presented to the browser. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

        D 1 Reply Last reply
        0
        • P Paul Watson

          Don't you hate it when you envision this beautiful, elegant system which you know will kick ass. Then you get down to implementing it and little stupid God-forsaken things make it less elegant. Stupid things like having to support ASP code in XML which naturally falls over when it finds <%. Or stupid things like XSL processing HTML code instead of just bloody well copying it to the output stream. Arrggh soon enough your system is still beautiful but behind it there are tons of string-and-pin functions which cater for all the daft CDATA problems. Aarrgghhh! It makes my blood boil. Why can't XML just accept trucking ASP!!! Aarrgghhhhhhhhhh... *sniff* still, the system is cool, just not as cool as I wanted it to be :( So who knows how to put ASP into XML elements WITHOUT having to use &lt;%? regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

          S Offline
          S Offline
          Stan Shannon
          wrote on last edited by
          #4

          Paul Watson wrote: and little stupid God-forsaken things make it less elegant Damn, Paul, didn't you have a design phase to account for all those little things? :omg: I am really shocked. :-D "Thank you, thank you very much" Elvis.

          P 1 Reply Last reply
          0
          • S Stan Shannon

            Paul Watson wrote: and little stupid God-forsaken things make it less elegant Damn, Paul, didn't you have a design phase to account for all those little things? :omg: I am really shocked. :-D "Thank you, thank you very much" Elvis.

            P Offline
            P Offline
            Paul Watson
            wrote on last edited by
            #5

            Stan Shannon wrote: Damn, Paul, didn't you have a design phase to account for all those little things? I am really shocked. Har, har, har... X| Smar alec. Actually I am just dabbling in some pre-spec thought processes which happens to involve code. I have a great idea up here *taps my noggin* and I want to see what is possible before I start speccing fully. I am learning the technologies first :-D regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

            1 Reply Last reply
            0
            • P Paul Watson

              MarSCoZa wrote: I'm curious as to why exactly you would want to put ASP into XML elements? I am working on a CMS (content management system) project. Authors of content are allowed to put ASP into their content and because all content is stored in XML files the XML must be able to contain ASP. Then that XML file is transformed using XSLT into XHTML and presented to the browser. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

              D Offline
              D Offline
              David Wengier
              wrote on last edited by
              #6

              Paul Watson wrote: I am working on a CMS (content management system) project. Authors of content are allowed to put ASP into their content and because all content is stored in XML files the XML must be able to contain ASP. Then that XML file is transformed using XSLT into XHTML and presented to the browser. I started off on the same thing, and in the end, we found the most elegant solution to the problem. What we ended up with was our own server that took XML, processed it (by pulling certain stuff out of DBs, performing calcs, firing events from the browser) into more XML, then processed with XSLT and presented. So your problem is over come because instead of having people write ASP (and then having to re-process after you have transformed for the ASP to work) they would write XML, your own tags that formed a language. That is what we did. Worked fabulously for a first cut version. -- David Wengier

              P 1 Reply Last reply
              0
              • D David Wengier

                Paul Watson wrote: I am working on a CMS (content management system) project. Authors of content are allowed to put ASP into their content and because all content is stored in XML files the XML must be able to contain ASP. Then that XML file is transformed using XSLT into XHTML and presented to the browser. I started off on the same thing, and in the end, we found the most elegant solution to the problem. What we ended up with was our own server that took XML, processed it (by pulling certain stuff out of DBs, performing calcs, firing events from the browser) into more XML, then processed with XSLT and presented. So your problem is over come because instead of having people write ASP (and then having to re-process after you have transformed for the ASP to work) they would write XML, your own tags that formed a language. That is what we did. Worked fabulously for a first cut version. -- David Wengier

                P Offline
                P Offline
                Paul Watson
                wrote on last edited by
                #7

                David Wengier wrote: So your problem is over come because instead of having people write ASP (and then having to re-process after you have transformed for the ASP to work) they would write XML, your own tags that formed a language. That sounds really cool. I even recommended that no HTML be used when Authors author their content. e.g. Instead of using <P> they would use <PARA> and so on for all the structure tags. However they were not keen on the idea, maybe next phase. Also there are some pretty complex ASP driven forms on the site which need to be made available via the CMS to Authors who know ASP. It definitley was not an option replacing ASP with an XML based language as then a lot of their skills would have been lost. All in all we are providing a framework CMS in which they can create templates, content and input the odd bit of ASP (everything from simple dates via Now() to full blown data access via ASP.) David Wengier wrote: That is what we did. Worked fabulously for a first cut version. Do you sell it as a product or have any demos I can take a look at? regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

                D 1 Reply Last reply
                0
                • P Paul Watson

                  David Wengier wrote: So your problem is over come because instead of having people write ASP (and then having to re-process after you have transformed for the ASP to work) they would write XML, your own tags that formed a language. That sounds really cool. I even recommended that no HTML be used when Authors author their content. e.g. Instead of using <P> they would use <PARA> and so on for all the structure tags. However they were not keen on the idea, maybe next phase. Also there are some pretty complex ASP driven forms on the site which need to be made available via the CMS to Authors who know ASP. It definitley was not an option replacing ASP with an XML based language as then a lot of their skills would have been lost. All in all we are providing a framework CMS in which they can create templates, content and input the odd bit of ASP (everything from simple dates via Now() to full blown data access via ASP.) David Wengier wrote: That is what we did. Worked fabulously for a first cut version. Do you sell it as a product or have any demos I can take a look at? regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

                  D Offline
                  D Offline
                  David Wengier
                  wrote on last edited by
                  #8

                  Paul Watson wrote: Do you sell it as a product or have any demos I can take a look at? Unfortunately no. It was a job I worked on while in R&D for a web developer. The product is still in use, but as an intranet, so its a bit hard to show you. What you said about not losing skills is very true. We had the opposite situation, where we wanted to allow people to alter the content without knowing ASP. -- David Wengier

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups