About JavaScript Last updated: 26. Jan 2023

JavaScript is one of the most popular programming languages in use today. It's been around since 1995, but its popularity really took off in the early 2000s with the rise of dynamic web applications. Today, it's a requirement for anyone who wants to create an app or website that runs on a browser.

JavaScript in Docly™

Docly™ uses JavaScript to generate HTML, CSS, TXT etc files server side with #JS, and also allows you to create a JSON WEB API with .JS files from the API folder.

The Docly™ files #/API/*.JS and *.HASH files all use JavaScript syntax. They just run on the server.

Docly™ makes it's internal functions available in JavaScript through the "docly" object. There you can find a library of functions to retreive and store data in Docly™ from your JavaScript code.

See #JS example below:

#{
  let files = docly.listFiles("/");
  for(let file of files) {
}#
    <a href="#file.Url#">#file.filename#</a>
#}#

Why JavaScript?

JavaScript's popularity has grown exponentially over the years—it's used on over 80% of websites and is now even being used for app development on mobile devices. There's a lot of excitement about where JavaScript will go next!

JavaScript is a programming language that has been around for more than 20 years. It wasn't originally intended to be used in the browser, but it is now the most widely used language on the internet.

It's easy to learn and use, and it's also powerful enough to build complex applications.

JavaScript will continue to be one of the most important languages for web development for years to come!

Learn more

Read more about JavaScript at:
https://www.javascript.com/