What scripts do websites like unitednuclear.com use?

Click For Summary

Discussion Overview

The discussion revolves around the programming languages and technologies used to create websites similar to unitednuclear.com. Participants explore server-side and client-side languages, their functionalities, and how they contribute to website interactivity and structure.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses a desire to understand the languages used for advanced websites, specifically asking about HTML, CSS, PHP, and JavaScript.
  • Another participant identifies Java, PHP, and Node.js as major server-side languages, highlighting Node.js's capability to use JavaScript on both the server and client sides.
  • A question is posed about whether PHP can facilitate loading new pages upon button clicks.
  • A response clarifies that JavaScript is necessary for handling button clicks in the browser, while PHP is primarily for server-side rendering.
  • Different types of website architectures are discussed, including UI-based sites that rely heavily on Java, JavaScript, PHP, and HTML, and service-based styles that utilize REST/RPC requests to interact with the server.
  • Participants mention that the choice of programming language often depends on the specific requirements of the project, with Node.js being favored for services that require background processing, and PHP noted for its smooth interaction with Linux systems.
  • One participant shares an anecdote about writing a web server in C for performance reasons related to image recognition software.

Areas of Agreement / Disagreement

Participants present multiple perspectives on the roles of different programming languages in web development, with no consensus reached on a single approach or solution. The discussion remains open-ended regarding the best practices for creating interactive websites.

Contextual Notes

Participants mention various programming languages and frameworks without resolving the complexities of their interactions or the specific contexts in which each is most effective. There is an acknowledgment of the evolving nature of web development practices.

lonely_nucleus
Messages
108
Reaction score
19
I recently finished a course of html and css at codeacademy.com and I think I learned a lot from that but I do not feel prepared to make websites that can, for example, load another page when a button is clicked.
Overall I want to know what type of languages are used to program sites like unitednuclear.com. Does that site use html/css, php, javascript or a combination of them?
Objective is to be able to make a website as advanced as unitednuclear.com or something similar.
 
Technology news on Phys.org
The three major server-side languages are java as servlets and/or jsps, php and more recently node.js.

Node.js is interesting in that it allows to code in javascript on the server and within your web page whereas other solutions are a mixture of multiple languages.
 
jedishrfu said:
The three major server-side languages are java as servlets and/or jsps, php and more recently node.js.

Node.js is interesting in that it allows to code in javascript on the server and within your web page whereas other solutions are a mixture of multiple languages.
Would php allow new pages to load if a button were clicked?
 
No, You need to use Javascript to tell the browser what to do when a button is clicked. PHP is for rendering or server-side work.

There are different kinds of sites, the one that you specified is more UI based. These are usually mostly Java, Javascript, PHP, and HTML[5]. Most of the work is done via forms and scripts that execute on the browser. These are falling out of favor because they are not portable, the business functionality and the UI are completely dependent on each other.

Then you have a service based style. In these, there is a small amount of Javascript and PHP displaying things and handling browser events, but instead of asking the webserver for a new page, they give the webserver a REST/RPC request, which then launches a PHP (usually) script to do work, or interact with a database.

What language you pick usually depends on what you want to do. NodeJS for example is really nice for services that you want to return, then continue doing work behind the scenes. PHP is really nice because it interacts with the linux system so smoothly, but its single threaded. Hell, I once wrote a web server in C because I needed more speed our of image recognition software.
 

Similar threads

  • · Replies 187 ·
7
Replies
187
Views
11K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K