What scripts do websites like unitednuclear.com use?

Click For Summary
SUMMARY

Websites like unitednuclear.com utilize a combination of HTML, CSS, JavaScript, and server-side languages such as PHP and Node.js. JavaScript is essential for client-side interactions, such as loading new pages upon button clicks, while PHP handles server-side rendering. Node.js allows developers to use JavaScript on both the client and server sides, enhancing the development experience. The choice of language depends on the specific requirements of the website, with a trend towards service-based architectures that utilize REST/RPC requests for improved functionality.

PREREQUISITES
  • Understanding of HTML and CSS for basic web structure and styling
  • Familiarity with JavaScript for client-side scripting and interactivity
  • Knowledge of PHP for server-side scripting and rendering
  • Awareness of Node.js for server-side JavaScript development
NEXT STEPS
  • Explore JavaScript event handling to manage user interactions effectively
  • Learn about RESTful APIs and how to implement them with PHP
  • Investigate Node.js for building scalable server-side applications
  • Study service-based architecture to understand modern web application design
USEFUL FOR

Web developers, software engineers, and anyone interested in creating interactive and dynamic websites similar to unitednuclear.com.

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