I am learning PHP and C++ now , I heard someone said PHP is not so good as JSP, is it true ? I am sure whether I should keep learn PHP, or turn to Jsp. what do you say ?
and I am also not sure which one to choice between C++ and JAVA, who would tell me how to make the decision ?
and could I have your MSN ?
I am sticking at PHP %26amp; JSP, C++ %26amp; JAVA?
From using both, PHP and JSP, and from doing JSP every day at work, I still lean to PHP if dealing with webapplications. PHP supports OOP so the arguement for JSP over PHP for that reason isn't valid. I'd stick with C++ and PHP and if you were gonna do something else go to C# with asp.net
And php is not only for making websites, its just as useful making web applications as JSP or ASP.net.
Reply:The languages you mention actually cover a range of activities. So it depends what you would like to do.
C++ started out as a system programming language, for making software applications. It is still very widely used today. Programmers like it because it is very flexible - if you need to write fast code, you can interact with low-level aspects of a machine, but you can also make use of pre-existing libraries in order to speed up your development time. Most games for Windows and consoles like the XBox are written using C++. You're less likely to find it being used to build the server-side of a website, although it is possible.
Java is a newer language than C++. It differs mainly in that it more strictly insists on object-orientation, and also in that it runs within its own runtime environment, whereas C++ applications usually compile down into machine-specific binaries. Java applications usually run in a bit of software called a "virtual machine". This means that if you write a Java application, it can run on any machine, as long as you have the virtual machine installed on that computer. On Windows, when you see the coffee cup appear, that's Java's virtual machine loading up.
Java is widely used both in standard software applications and in the production of website backends. When it's being used to make websites, it can be used alongside JSP (JavaServer Pages).
If you know Java or C++, you will be able to migrate to the other fairly quickly.
PHP is a bit different as it was designed purely for making websites. Some people love PHP because it is free and because it can be quite quick to do common tasks. However it is easy for a novice to make a lot of mistakes in PHP because it is a weakly typed language and there is no compiler.
A language you haven't mentioned, that I personally like using, is C#. This is a language created by Microsoft that can be used with ASP.NET to create website backends. It is difficult to define exactly why I have found it more pleasant to program with C#.NET than with Java, PHP or C++, but this has been my experience.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment