SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Dec 2012
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Difference Between Static Site and Dynamic site ?

    Friend can anyone tell me exact mean of these two : Static Site and Dynamic site , i know about these two lit bit but want to know more about it

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In a nutshell the difference is that static websites dont allow any interaction with the user. While dynamic websites inlcude some sort of code (php for example) that allows the user to interact with the website. Be it with contact forums, polls, newsletters, forums, custom search results, article submission etc.
    Check out this amazing 6 figure a day new great method
    on fastcash10.in

  3. #3
    SitePoint Member
    Join Date
    Jun 2009
    Location
    India
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In static websites, pages are created by having all it content in its code. In dynamic sites, all or some part of the site is fetched and show dynamically from database.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,296
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    A dynamic site is one where, among other things, you can search for topics that have already been discussed:

    http://www.sitepoint.com/forums/show...ic-and-dynamic

  5. #5
    SitePoint Member
    Join Date
    Feb 2013
    Location
    new delhi
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Static Websites
    > A static site is a website that is written entirely using HTML. Each web page is a separate document and there are no databases or external files that are drawn upon.

    Dynamic Websites
    > A dynamic website is written using more complex code — such as PHP or ASP — and has a greater degree of functionality. For instance, many dynamic websites can be controlled by a content management system. This means that you will potentially be able to make updates without needing any knowledge of HTML or any website software.

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,296
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    OK, there's no point in just copying answers that already exist elsewhere, so let's consider this answered.

  7. #7
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,812
    Mentioned
    34 Post(s)
    Tagged
    2 Thread(s)
    ok.

    a dynamic site is automated. A static site is not.

    For example.
    In a static site, let say a portfolio site, portfolio you could have 10 pages; each page representing a piece in your portfolio.
    you would need 10 HTML documents, any time you change something you would need to go to THAT specific document and make alteration to the HTML and re upload. If you needed to change something that was present in the whole site you would need to alter all 10 documents, making sire their relationships stays intact. Fun!

    The same site, done dynamically may have as little as ONE php/asp TEMPLATE PAGE. The template page would read a variable thsi could be part of the URL, or passed via GET/POST methods, which it would use to call data (your content) off a database. It would then flow the data into the template which would DYNAMICALLY output as HTML and be served to the user. When you update a dynamic page ( usually) you update the database and not the template, all content and relationships are automatically updated.


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
  •