Content Management by Error

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Content Management by Error

    Hi,

    I'm currently working on an application and need to do some content management
    for the front end.

    To keep the system dynamic and flexible I want to keep all page content in a
    DB. My idea is to use the CF error handling to display the content.
    If a content page is called (doesn't exist as a page, only in the DB) the
    "page not found" error page is called, but instead of showing an error I want
    to evaluate the URL, retrieve the page content for that URL from the DB, and
    then display that page like there is no error but it is supposed to work like
    that.

    Does anybody have any idea how much overhead that would create, compared to a
    system where the pages are rendered into physical files, and the pages can be
    called without going through the error handling?

    Any data, ideas or feedback would be much appreciated.

    Thanks,
    Fober ;)

    franzo Guest

  2. Similar Questions and Discussions

    1. Flash Content Management
      Hello, I'm interested in developing a Flash data content management system. I am in the process of learning Flash, have a strong background in...
    2. Content management, need help...
      Heya, So I need to create a way for a user to update text and images on a single page. Now, I understand the concept, and I've done it in Flash,...
    3. Help with asp, content management system
      I am trying to build and update page that will insert a record, then redirect to index.asp. When info is entered, data does not post to database,...
    4. Content Management
      Hi, Is there an article out there on dealing with content management systems and how to replace characters (i.e. an apostrophe in a content...
    5. Content Management System in ASP
      Digging right in eh? http://www.devbuilder.org http://www.123aspx.com http://www.w3schools.com http://www.aspin.com Much more from other...
  3. #2

    Default Re: Content Management by Error

    I'm not sure exactly what you're trying to solve.

    Part of the message sounds like users will effectively be going to static
    pages (e.g., aPage.cfm). If the page is not on the file system, you want to
    pull it from the database, save it to the file system and then redirect the
    user to the newly-created file.

    If this is what you're trying to do, I'd just ftp aPage.cfm and keep it simple.

    If, on the other hand, you have a design template and you want to change the
    contents of the page dynamically (like a story at a newspaper's website), the
    layout file should exist on the file system and you'd pass it a doc_id to
    retrieve the story from the db.

    This is a perfectly good solution to the problem.

    If I've completely misunderstood you, I still wouldn't recommend a content
    management system based on throwing errors. Performance would take a hit.
    Your error logs would swell, obscuring real errors. And the next guy
    supporting it would probably be dizzy trying to manage the site.






    shp.jc Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139