Jump to content

Benefits of PHP and MySQL


Benan

Recommended Posts

Syntactically, php is fairly similar to C/C++; however, being a scripting language, it is far less powerful.  They also have very different purposes.  PHP is generally a web scripting language with the capability of being a command line language.  C/C++ are command line languages which can be run through CGI to dynamically create web pages. 

If you want to make web pages, I would recommend PHP.  If you want to make command line executables, I would recommend C/C++.
I really wouldn't compare the two in terms of which to learn and not learn. If I had to advise someone in which to learn first, though, I'd recommend learning C++. It is [b]much[/b] more rigid and unforgiving with implicit nuances that PHP takes. type casting and other little issues that PHP coders can, and very often do, take for granted are not so subtle in C++. When I was hired on for my current position writing PHP, I had to take Java and C++ courses to get some of the programming background instilled before I sat down and wrote a lot of PHP. Now, grant it, I was learning them all at once which helped, but the C++ was probably the best help for speeding my learning of PHP.
[quote author=obsidian link=topic=110309.msg445748#msg445748 date=1159847299]
It is [b]much[/b] more rigid and unforgiving with implicit nuances that PHP takes. type casting and other little issues that PHP coders can, and very often do, take for granted are not so subtle in C++.
[/quote]

Agreed.  If you are going to be a programmer, PHP is not the end of the line.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.