What scripts do websites like unitednuclear.com use?

  • #1
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.
 

Answers and Replies

  • #2
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.
 
  • #3
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?
 
  • #4
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.
 

Suggested for: What scripts do websites like unitednuclear.com use?

6
Replies
187
Views
6K
Replies
12
Views
367
Replies
2
Views
749
Replies
10
Views
868
Replies
2
Views
674
Replies
1
Views
280
Replies
9
Views
726
Replies
7
Views
789
Back
Top