Skip to main content

Which language is better....PHP or Node Js?

hey ..I am back with another interesting question....which language is better php or node js.
for understanding this theory you have to first understand the concept of webserver.
What is webserver.....???
webserver is a system which uses https request to perform operations.
let us consider about this ..suppose I have a website like allnonecyberteam.com.If user request any page then first webserver go to open file and then response back......now I think  its clear what is webserver.
now lets consider php and node js.
how does these works.
first consider about php.
php requset pages synchronus type,means it first go to server and open files and then response back
and after that it prepare to handle next requset.
php is slower than node js.
why its slower than node js we will talk about it after understanding concept of node js.
php works on apache web server .php also can run on IIS web server in case of windows machine.
Php is much simpler than node js.

Now consider about Node js.
node js has its own environment.
it uses javascript in backend side so it create its own server.NPM(Node package manager) doesnt need any webserver.
so basically both technology are good but if which language you want to use its depend on your project nature.
if you need centralized server and portablity then use php otherwise if you want speed,real time data and same language across the stack then use node js.
thank you......
   

Comments

Popular posts from this blog

NMAP and ZenMAP

NMAP and ZenMAP are useful tools for the scanning phase of Ethical Hacking in Kali Linux. NMAP and ZenMAP are practically the same tool, however NMAP uses command line while ZenMAP has a GUI. NMAP is a free utility tool for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. NMAP uses raw IP packets in novel ways to determine which hosts are available on the network, what services (application name and version) those hosts are offering, which operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, etc. Now, let’s go step by step and learn how to use NMAP and ZenMAP. Step 1 − To open, go to Applications → 01-Information Gathering → nmap or zenmap. Step 2 − The next step is to detect the OS type/version of the target host. Based on the help indicat...

Summer Industrial Training

Summer Indusrial Training with Allinone Cyberteam Pvt.Ltd. Training is teaching, or developing in oneself or others, any skills and knowledge that relate to specific useful competencies. Training has specific goals of improving one's capability, capacity, productivity and performance. It forms the core of apprenticeships and provides the backbone of content at institutes of technology (also known as technical colleges or polytechnics). In addition to the basic training required for a trade, occupation or profession, observers of the labor-market recognize as of 2008 the need to continue training beyond initial qualifications: to maintain, upgrade and update skills throughout working life. People within many professions and occupations may refer to this sort of training as professional development.

Steganography

•Steganography from the Greek word steganos meaning “covered” and the Greek word graphie meaning “writing” •Process of hiding of a secret message within an ordinary message and extracting it at its destination •Anyone else viewing the message will fail to know it contains hidden/encrypted data This can be achieved by concealing the existence of information within seemingly harmless carriers or cover Carrier: Text, Image, Audio, Video, etc. History Of Steganography  Steganography ancient origins can be traced back to 440 BC, from the Histories of Herodotus Demeratus sent a warning about a forthcoming attack to Greece by writing it on a wooden panel and covering it in wax. Histiaeus, who shaved the head of his most trusted slave and tattooed a message on it. After his hair had grown the message was hidden. The purpose was to instigate a revolt against the Persians Techniques Of Steganography Masking and Filtering: Information is hidden inside of a image using digital...