Server-side scripting: Difference between revisions

Content deleted Content added
WikiCleanerBot (talk | contribs)
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation - Empty list item)
Fixing the languages issue; We don't need any kind of list here; it's always going to be dynamic anyway
Line 31:
An alternative to server-side rendering is [[Static site generator|static site generation]]. With server-side rendering, the page is generally assembled on the server once per each request. By contrast, with static site generation, the application generates all the static HTML pages at build time. These pre-built pages are then sent to the client at each request, without having to build them again. This leads to faster rendering times, since a new page doesn't have to be generated on every request; the server simply hands over a file it already generated in the past. The downside is that when some data on the page changes, it needs to be rebuilt. Examples of static site generation tools are [[Jekyll (software)|Jekyll]] and [[Gatsby (software)|Gatsby]]. Sites generated by static site generation tools are often hosted on [[Netlify]], [[Vercel]] or [[GitHub]] pages.
 
== Languages ==
<!-- Please don't list languages like Python, Perl, and Ruby here, see [[Talk:Server-side_scripting#Too_many_languages]] -->
There are a number of server-side scripting languages available, including:
* [[Active Server Pages|ASP]] (*.asp)
* [[ASP.NET Web Forms]] (*.aspx)
* [[ASP.NET Web Pages]] (*.cshtml, *.vbhtml)
* [[ColdFusion Markup Language]] (*.cfm)
* [[Go (programming language)|Go]] (*.go)
* [[Google Apps Script]] (*.gs)
* [[Hack (programming language)|Hack]] (*.php)
* [[Haskell (programming language)|Haskell]] (*.hs) (example: [[Yesod (web framework)|Yesod]])
* [[Java (programming language)|Java]] (*.jsp, *.do) via [[JavaServer Pages]]
* [[JavaScript]] using [[Server-side JavaScript]] (*.ssjs, *.js) (example: [[Node.js]])
* [[Lasso (programming language)|Lasso]] (*.lasso)
* [[Lua (programming language)|Lua]] (*.lp *.op *.lua)
* [[Parser (programming language)|Parser]] (*.p)
* [[Perl]] via the [[CGI.pm]] module (*.cgi, *.ipl, *.pl)
* [[PHP]] (*.php, *.php3, *.php4, *.phtml)
* [[Python (programming language)|Python]] (*.py) (examples: [[Pyramid (web framework)#Pyramid|Pyramid]], [[Flask (web framework)|Flask]], [[Django (Web framework)|Django]])
* [[R (programming language)|R]] (*.rhtml)
* [[Ruby (programming language)|Ruby]] (*.rb, *.rbw) (example: [[Ruby on Rails]])
* [[Tcl (programming language)|Tcl]] (*.tcl)
* [[OpenEdge Advanced Business Language|Progress WebSpeed]] (*.r,*.w)
 
== See also ==