Difference Between Php and Java

Added on - 13 Sep 2019

  • 4

    Pages

  • 1099

    Words

  • 231

    Views

  • 0

    Downloads

Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 2 of 4 pages
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 ‘IndustryStandard 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 betweenPHP applications and other services.3. What to choose? , There is modular software both in Java as well as in PHP, some with noopen source while some with open source. But importantly more problems are exposed by PHPmodules in comparison to the ones written in Java. The complicated concepts like packages andclass loading have prepared Java for better modularization. If a code is well modularized theneasy 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. TheJava is strongly-typed, means it requires an explicit statement which a compiler must back; thusstrict expectations must met. On another point of view, PHP weakly typed. PHP is dependent oncommon 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 developedVBScript. Visual Basic is an extension of the very basic language, and It provides aneasy interface programmers.JavaScript used an extension of the C language. VBScriptand JavaScript are considered lightweight programming languages, both designed forease of use.As we know scripting often requires interaction with browsers and other controllingsoftware. VBScript, since Microsoft developed it, it intended to function with Microsoft’sInternet Explorer browser. Other browsers like Mozilla Firefox, does not supportVBScript, so many developers choose JavaScript over VBScript.
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document