answersLogoWhite

0

First of all, PHP is server side, Javascript is client side. You cannot detect mouse gestures or any clicks with PHP the same way you cannot read a file or modify it or process a form (unless you use AJAX of course). Also, although I love PHP, and it has useful extensions such as the GD library, PHP is not a very good language. Overall we use javascript and PHP because they are used for two completely different things.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Basic Math

Why is PHP superior to Client side scripting languages such as Javascripting?

Website scripts run in one of two places - the client side or the server side.Client side development is done almost exclusively in JavaScript. This is, in addition to basic HTML and CSS code.So This is the main Reson Javascript is called Client Side scripting language. For Serverside PHP is used,Because PHP is used for development the Dynamically Website. And PHP Need atlist one serve.


How do you animate in php?

There's no direct way to do animation in PHP, as it's a server side scripting language. That means that from the browser's point of view, there is no PHP code. It's just a static document that happens to be generated using PHP on the server side. If you want to do animation, you'll need to include client side scripting such as Javascript or Flash (or an animated GIF if something that simple meets your needs).


What is php is all about?

PHP is a server side programming language that also serves as a general purpose programming languages. What does I mean by Server Side? Well this means that the php source files are being run on the server as a opposed to the end user using their browser to run Javascript code which is a client-side scripting language. PHP allows for the creation of dynamic and interesting website design


What is new in PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.


What means PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Related Questions

What is meant by script?

JavaScript is a scripting language that can be used with HTML or PHP. It is used for handling the control or conditioning.


What is meant by java script?

JavaScript is a scripting language that can be used with HTML or PHP. It is used for handling the control or conditioning.


Can you write multiple scripting languages in a single page?

Yes. In fact this is fairly common. For example, using in the same web page a client scripting language such as JavaScript and a Server Scripting Language, such as ASP.NET or PHP.


Does JavaScript interact with PHP?

Yes, JavaScript and PHP can interact with each other in web development. JavaScript is a client-side scripting language that runs in a user's browser, while PHP is a server-side language that runs on the server. The two languages can communicate with each other through the use of AJAX (Asynchronous JavaScript and XML) requests. JavaScript can make an AJAX request to a PHP script on the server, and the PHP script can process the request and return data back to the JavaScript code. This allows for dynamic, interactive web pages that can update their content without requiring a full page refresh. Overall, JavaScript and PHP are complementary technologies that can work together to create powerful web applications


What are the two types of scripting language?

In web programming you have: - Server side scripting: using languages like PHP, Ruby, ASP or JAVA - Client side scripting: usually meaning JavaScript, although there are others


What scripting engine does PHP use?

PHP itself is a scripting language, and uses it's own PHP interpreter (engine).


How do you show dynamic time in a HTML page?

It is not possible to do it with HTML alone, you have to use Javascript, PHP or another scripting language that has the time as a built in function.


How do you make HTML show current time?

You can not do this with HTML alone you need either Javascript, PHP or another scripting language that has the time as a built in function


What is the definition of PHP programming?

PHP programming is a scripting language. This scripting language can be used in web page development. In addition, PHP commands can be embedded into an HTML document. PHP software is available at no cost.


Why is PHP superior to Client side scripting languages such as Javascripting?

Website scripts run in one of two places - the client side or the server side.Client side development is done almost exclusively in JavaScript. This is, in addition to basic HTML and CSS code.So This is the main Reson Javascript is called Client Side scripting language. For Serverside PHP is used,Because PHP is used for development the Dynamically Website. And PHP Need atlist one serve.


Which kind of service is php hosting?

PHP is a scripting language used for web servers and application development. PHP hosting is a web hosting service that allows for more complex site because is supports the PHP scripting language.


What are the differences between PHP and .NET?

.NET is a framework, PHP is a scripting (programming) language.