logo

Difference Between Php and Java

   

Added on  2019-09-13

4 Pages1099 Words346 Views
Answer 1.1:What is the web application?Web applications are dynamic websites. Server side programming provides variousfunctionalities such as interacting with users, connecting to back-end databases and generatingresults to client browsers. Examples: Online Banking, Social Networking, Online Reservations,e-commerce, etc.Advantages of Web Applications:1-Cross Platform- web applications can be easily ported to virtually any platform witha web browser.2-It becomes easy to access from anywhere.3-No software installation required at the client side.4-No data need to save at the customer's end.Web application beneficial at the business front, all businesses can take advantage of it,because it reduces the transaction costs means less time spent with customers over thephone, indirectly eliminate printed materials and comfort all the users to update theirdetails. All data is centralized, and it increases the secure of data, and it is easy to keepthe backup of the data time to time. It benefits with the bigger audience over the worldand body can connect from anywhere in the world. It serves 24 hours a day and sevendays a week. It is very handy for the customers they can access from personal computersor smartphones.

Answer 1.2:Difference between PHP and Java (Server Side Scripting Languages)1. Stability: PHP has some significant weakness like no actual deprecation mechanism, procedural backward compatibility, messy functionality and libraries that are semi-independent. Whereas Java is platform independent along with a well-defined amount of core libraries used byapt standards;. This has made it quite stable and dependable.2. Integration: The major strength of Java is its integration. Java by itself is like ‘Industry Standard Language, but Java has many standard implementations.PHP it's entirely different; because PHP web application and a particular protocol then there are limited library selections. The unfortunate thing is partial compliance. The database layer induces the integration between PHP applications and other services.3. What to choose? , There is modular software both in Java as well as in PHP, some with no open source while some with open source. But importantly more problems are exposed by PHP modules in comparison to the ones written in Java. The complicated concepts like packages and class loading have prepared Java for better modularization. If a code is well modularized then easy to understand, extend, modify and most important to maintain it and this achieved in Java; but not in PHP. 4. The main structural difference is that one is weakly typed and the other strongly typed. The Java is strongly-typed, means it requires an explicit statement which a compiler must back; thus strict expectations must met. On another point of view, PHP weakly typed. PHP is dependent on common sense programming about accomplishing specific tasks and is quite flexible.Comparison between VBScript and JavaScript (Client Side Scripting Language)VBScript stands for Visual Basic programming language, and Microsoft developed VBScript. Visual Basic is an extension of the very basic language, and It provides an easy interface programmers.JavaScript used an extension of the C language. VBScript and JavaScript are considered lightweight programming languages, both designed for ease of use.As we know scripting often requires interaction with browsers and other controlling software. VBScript, since Microsoft developed it, it intended to function with Microsoft’sInternet Explorer browser. Other browsers like Mozilla Firefox, does not support VBScript, so many developers choose JavaScript over VBScript.

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Functions and Advantages of Web Applications
|6
|1314
|92

Web Application Development Assignment (Doc)
|6
|1343
|385

Concepts of Web Application Development : Assignment
|12
|4610
|499

Web Application Development for Shore Project
|22
|2885
|488

Report on Programming Languages Concepts
|13
|4936
|292

Professional Practice in IT
|13
|1466
|99