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++.
Link to comment
Share on other sites

I will be using C++ for application programming, but I was thinking that I should learn PHP to get a kick start, I always did want to use PHP, because i usually need lots of scripts and some times i can't find. So if i learnt PHP I could code my own.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

[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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.