Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Rey
    Rey is offline
    New Coder
    Join Date
    Sep 2006
    Location
    Peoria, AZ
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Content updating/adding

    Howdy.
    Might be a dumb question but...

    How is content updated or added to a web page? If you manually code the html, then you change the text but how do you do that with a database?

    I'm thinking that you generate a form so the the user can provide the topic/content title and the verbiage into a memo field, content type, e.g. news updates, club info, etc so that the approprite page can be targeted.

    Now what? How is the updated or new content then added to a page - with a <div id=unique> tag and unique ID #?

    While I've taken classes in VB, .net (C#, VB) and Javascript to include asp, I've cannot remember if any addressed how content was added - if they did I was asleep 8-). For products/catalog display, this is simple since its tabular in nature. But how do you do it if you have a section dealing with today's news and then another part for something like new activities or sale today.

    Believe in visual studio .net 2005, there is a new object called a contentholder that permits/allow you to reserve space for content but I've not checked into this and I'm using vs .net 2003. While updating a small site of 10 or so pages this can be done by hand but how is a larger site done and how is new content data from the database added to specific pages?

    I'm currently working on a small site for our startup business - getting content, developing structure - thus the questions so site can be updated w/minimum of fuss...


    Thanks in advance for your comments/suggestions,

    Rey

  • #2
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,092
    Thanks
    2
    Thanked 23 Times in 23 Posts
    Welcome to CodingForums, Rey.

    I hope I understand correctly what you're asking. Larger sites are generally managed by content management system (CMS) software. I can't tell you an awful lot about them though, because I don't use them. Perhaps someone else can chip in with more information.

    Regarding the addition/update of database information, that is most often done with forms on web pages and some sort of scripting language, such as PHP or ASP.NET. As for displaying that information back onto a page, the same scripting language would retrieve that information from the database and wrap the appropriate HTML tags around it for display.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cms

    To get an idea of how a (simple) CMS would work, take a look at this tutorial: Content Management System (CMS) Using PHP And MySQL. It covers the basics about obtaining and storing information into a database, and retrieving and displaying it onto a web site.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

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