justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I want to explain someone difference between static and dynamic websites. Can you give me example of any two websites, where one is static and other one is dynamic?
Asked by Abhi (122.177.213.x) on July 20 2024, 3:42am
Reply on July 20 2024, 4:28am:
    There is some ambiguity there; a website can be static static, server-generated static, server-generated dynamic, or client side dynamic (generated via javascript). Or various combinations in between there, too.
    • static static: I'm sure these exist but almost everything I do is at least server-generated static
    • server-generated static: cockos and reaper web sites - these have little or no javascript, but we have some scripts to generate the pages because it's easier to maintain that way
    • server-generated dynamic: this web site, or my blog. my blog has some javascript which pulls additional content, and some javascript to handle playing mp3 files automatically, so it's somewhat in between this and the last one
    • mostly dynamic: music.1014.org (the full archive link above) is pretty much all generated via client-side code (it fetches a list of songs, builds the ui, etc).
    or something like that!


Comments:
  • Posted by Abhi (122.177.213.x) on July 20 2024, 4:55am:
    Wow, we have checked the websites you have mentioned. You have used a really really long javascript code in your music blog. So, you mean whichever website use javascript extensively, is a dynamic website. And the website which doesn't use any javascript, or a very little bit of javascript, is mainly a static website. Thanks for the clarification with examples!


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS