JavaScript What scripts do websites like unitednuclear.com use?

AI Thread Summary
To create advanced websites similar to unitednuclear.com, a combination of languages is typically used, including HTML, CSS, JavaScript, and server-side languages like PHP, Java, or Node.js. HTML and CSS are essential for structuring and styling web pages, while JavaScript is crucial for client-side interactivity, such as loading new pages when buttons are clicked. PHP handles server-side tasks but does not manage client-side interactions directly; JavaScript is needed for that purpose. Modern web development often favors a service-based architecture, where JavaScript and PHP handle browser events and communicate with the server through REST/RPC requests instead of loading new pages. Node.js is highlighted for its ability to run JavaScript on both the client and server sides, making it versatile for applications that require ongoing background processes. The choice of programming language largely depends on the specific requirements of the project, with each language offering unique advantages for different types of web applications.
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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.

Similar threads

Replies
21
Views
6K
Replies
3
Views
2K
Replies
15
Views
3K
Replies
5
Views
2K
Replies
1
Views
2K
Replies
5
Views
2K
Back
Top