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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to deal with multi pages in an asp.net simple CMS

How to deal with multi pages in an asp.net simple CMS

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasewpfhelp
6 Posts 2 Posters 0 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.
  • C Offline
    C Offline
    ChrisFarrugia
    wrote on last edited by
    #1

    Dear all, I am trying to find some info on the net about a simple content management system which I would like to implement for experimentation purposes. Unfortunately i am find a lot of information on how to handle article updates, news updates, membership updates etc.., but I am not finding information about how to deal with multiple pages creation and how these multiple pages that are created dynamically by the end user are handled in the database along with templates etc... Can anyone suggest any apparoches that are normally taken in order to achieve this..or may be even suggest a good article that I may have missed. Thanks a lot for your help, Chris Farrugia

    C 1 Reply Last reply
    0
    • C ChrisFarrugia

      Dear all, I am trying to find some info on the net about a simple content management system which I would like to implement for experimentation purposes. Unfortunately i am find a lot of information on how to handle article updates, news updates, membership updates etc.., but I am not finding information about how to deal with multiple pages creation and how these multiple pages that are created dynamically by the end user are handled in the database along with templates etc... Can anyone suggest any apparoches that are normally taken in order to achieve this..or may be even suggest a good article that I may have missed. Thanks a lot for your help, Chris Farrugia

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'm not sure what you mean by 'multiple page creation'. Your data lives in your DB and ASP.NET is going to generate each page, one at a time, as would make sense for a stateless system like HTTP. If your data exists across multiple pages or not, shouldn't really change the DB - the database schema should not be driven by the UI.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      C 1 Reply Last reply
      0
      • C Christian Graus

        I'm not sure what you mean by 'multiple page creation'. Your data lives in your DB and ASP.NET is going to generate each page, one at a time, as would make sense for a stateless system like HTTP. If your data exists across multiple pages or not, shouldn't really change the DB - the database schema should not be driven by the UI.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        C Offline
        C Offline
        ChrisFarrugia
        wrote on last edited by
        #3

        What I means was the facility for the user to add a new page on the website. What is the approach that cms usually take in order to accomplish this? Thanks a lot, Chris Farrugia

        C 1 Reply Last reply
        0
        • C ChrisFarrugia

          What I means was the facility for the user to add a new page on the website. What is the approach that cms usually take in order to accomplish this? Thanks a lot, Chris Farrugia

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Oh - I see. So the content being managed, is a website ? The CMS is, in fact, a system for building web sites, which are live at the point of creation ?

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          C 1 Reply Last reply
          0
          • C Christian Graus

            Oh - I see. So the content being managed, is a website ? The CMS is, in fact, a system for building web sites, which are live at the point of creation ?

            Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            C Offline
            C Offline
            ChrisFarrugia
            wrote on last edited by
            #5

            Yes exactly that is what I want. So the cms will be responsible for management of the content of the website. But apart from the normal facilities such as news adding, article updates , polls etc, I woul like the facility to allow the user to add a whole page to the website. I would like a suggestion of how this can be achieved. What approches are usually taken? Should the application store the html of the new pages created by the user in a database and then link the page with an id corresponding to the content? Any suggestions? Thanks a lot, Chris Farrugia

            C 1 Reply Last reply
            0
            • C ChrisFarrugia

              Yes exactly that is what I want. So the cms will be responsible for management of the content of the website. But apart from the normal facilities such as news adding, article updates , polls etc, I woul like the facility to allow the user to add a whole page to the website. I would like a suggestion of how this can be achieved. What approches are usually taken? Should the application store the html of the new pages created by the user in a database and then link the page with an id corresponding to the content? Any suggestions? Thanks a lot, Chris Farrugia

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              I guess you'd have to save your pages as HTML, yes, and then store the filepath along with your other info in the DB. In this case, instead of the system building data into an existing template, you'd need to build templates that can be dropped in to a page, or you'd need to simply offer a HTML editor.

              Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              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