Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: CMS Questions - Just Brainstorming.

  1. #11
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    PHP is secure, requires formatting, and xml requires formatting and isn't secure.
    The PHP method done above is far more limited, and treats each element as just a big block of HTML, which would make it a nightmare when it comes to a point where one wants to split things up more -- say, subheadings. PHP is no more secure than XML: with read permissions and filesystem access, anyone can read either; without, no-one can. The only way XML could be less secure is if permissions are set up incorrectly. Another disadvantage of using a flat file (of any kind) is the increased scope and likelihood of data overwrite. Say person A edits the "about" page. While she's editing it, person B starts editing the "services" page, then hits the button to save. If that save occurs after person A's edit page has read in the article data, but before she's saved it, all of person A's data will be overwritten -- even though they were working on completely different articles. The more users there are, the higher the chance of this scenario happening becomes.
    <input type="button" value="Edit" />
    Why are you using XHTML?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #12
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Yeah, but the client's server does not support any databases...maybe Access, but I'm NOT doing Access. Ha.

    There's only 2 possible people who would be using this and I'll tell them not to use it at the same time, to prevent the data overwrite.

    I'm also not planning on making this overly complicated. I'm going to have a simple HTML reference, as well as a simple WYSIWYG I found.

    And I'm sorry Twey, it's a habit of mine. I automatically do a space slash on self-closing tags.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

Bookmarks

Posting Permissions

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