Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Why PHP is best (https://www.warriorforum.com/programming/91696-why-php-best.html)

nwutopia02 9th January 2012 07:14 AM

Re: Why PHP is best
 
PHP is best because:

*It's free
*Easy to learn
*Time to time version upgrades
*Simple database connectivity

And one more thing that makes Php popular
Cheap host than others. :D

ricky pounting 9th January 2012 07:19 AM

Re: Why PHP is best
 
because it is very easy to use . it is opensource and supportive.

sharmakamal 10th January 2012 07:21 AM

Re: Why PHP is best
 
It is cheap to create websites using php.
it contain most of the feature of c,c++ and easy to learn in comparison to them.
php is server side script easily workable with HTML,CSS,JAVASCRIPT.

papachina 11th January 2012 12:46 AM

Re: Why PHP is best
 
PHP is scripting language easy to learn and we can use free open source with it.

linesupplygrow 17th January 2012 01:05 AM

Re: Why PHP is best
 
Try using Windows machine one time. You'll be asking the admin to do everything for you from file permissions, etc. It is great for enterprise but not for net site hosting unless you have a lovely reason.

webmarketingau 17th January 2012 01:20 AM

Re: Why PHP is best
 
There are many reasons like
1- open source available that can be used to enhance the functionality of the language
2- open source softwares and programs without requiring any extra plugins or libraries. It include a built in Apache modules and MySQL database.
3- The regular expressions that are used heavily for matching patterns and substitutions. You can perform a variety of string related tasks like compression, manipulations, etc.
4- Besides this the language has all the features that a modern language should possess. It has all the features of OOPS as well procedural languages.

Like these many other advantages for using PHP.

Ibcontact 17th January 2012 01:31 AM

Re: Why PHP is best
 
Because its open source, fully secure and sported every os and server.

webgain 19th January 2012 02:08 AM

Re: Why PHP is best
 
thanks for the php help. I am a designer and i am planning to increase my designing skills and i thing php can help me out.

rechardjeam 9th February 2012 07:26 AM

Re: Why PHP is best
 
PHP is becoming more popular every day. It is true that there are already many PHP developers out there, but the thing is that the demand is also increasing. Money is always there, waiting to go out and shoot, you just go pick it up. As simple as that.

jerrybrownaaa 9th February 2012 12:06 PM

Re: Why PHP is best
 
PHP language is a really good for you. And i would say one of the main reasons is it was the first scripting language. and many people was widely used this language. PHP very easy language to using all that time.

revenpiter 13th February 2012 10:00 AM

Re: Why PHP is best
 
PHP is one of the good programming language to develop a website. It is a open source and not chargeable. So you can design your website free by using PHP.

sautaja 14th February 2012 10:44 AM

Re: Why PHP is best
 
Why? Low learning curve. It's meant to be the best :)

freehugs 14th February 2012 01:45 PM

Re: Why PHP is best
 
Since this thread will never die, I think I'll revise my opinion:

I still think that PHP is a terrible language that should die in a fire.

I did a small project over the weekend that required creating a restricted-access area that was integrated with infusionsoft. I was forced to use PHP because that's what the server runs and I didn't want to set up a new server just to run a sinatra app. I was able to wrap up the project in just 3 days mainly due to my discovery of the Slim framework.

However, there are still a couple things that bug the crap out of me when using PHP.

1. Session is a global. This is a minor point, but you should not be able to access $SESSION in a view unless you explicitly pass it, it just makes me feel dirty.
2. Object attribute / method syntax is retarded. I know it hails back to C, but the arrow notation to access Object attributes and methods is cumbersome and hard to read.
3. Closure syntax is abysmal and absolutely unreadable.

In summary, why punish myself as a programmer? Why not use a language that is easy to read...

Syntax matters.

nidasbourne 15th February 2012 09:27 PM

Re: Why PHP is best
 
Why PHP is using :-
1. Tutorial is available
2. Easy to learn
3. User friendly
4. Open source availability

JohnnyS 16th February 2012 02:00 AM

Re: Why PHP is best
 
It's because PHP is open source, easier to code and understand. And having a large community of PHP developers is also a big help in creating applications based in PHP, making it easier to use.

PHP can also be sufficient in hardware wise. It can be installed in any OS of a server.

Sana Seo 16th February 2012 02:58 AM

Re: Why PHP is best
 
Important things are-
It's free
Easy to learn
Time to time version upgrades
Simple database connectivity

Stevemartin619 16th February 2012 03:49 AM

Re: Why PHP is best
 
[1] It costs low with cost effective database applications

[2] Improves the visibility of organization by building excellent performance data warehouse applications

[3] The experts are skilled with proper art of developing automated application development systems, which is useful in upgrading manual processes.

[4] Also they provide assistance to platforms like Microsoft Windows, IBM AIX, Linux, Sun Solaris, QNX, Mac OS X, etc.

CashMoneyAffiliate 16th February 2012 04:20 AM

Re: Why PHP is best
 
Java and PostGreSQL for proper web app development!

stiflerklinger 17th February 2012 09:11 AM

Re: Why PHP is best
 
PHP is a powerful tool for making dynamic and interactive Web pages.PHP is widely used, free and efficient alternative to competitors such as the ASP.net programing, If you are a PHP programmer might be very difficult to find high-quality open-source scripting script million spread over the Internet.

Milo Odin 17th February 2012 02:13 PM

Re: Why PHP is best
 
Their are many factors like Cheap Hosting, Open Source bla bla bla.

jimn10 17th February 2012 05:14 PM

Re: Why PHP is best
 
Quote:

Originally Posted by masterxm (Post 5373195)
php is the best because you can edit the whole page with one file extension !

NOT!

This is absolutely the worst aspect of PHP! Mixing code with content? Really?

Fiverivers 17th February 2012 11:28 PM

Re: Why PHP is best
 
Easy string manipulate, easy, flexible, open source very important is cost effective.:)

bbleo 20th February 2012 08:03 AM

Re: Why PHP is best
 
PHP is easy to learn and work. Its license is also free.

madprops 20th February 2012 10:55 AM

Re: Why PHP is best
 
I say PHP is widely used today because of legacy issues.

PaybackTony 20th February 2012 02:14 PM

Re: Why PHP is best
 
Quote:

Originally Posted by freehugs (Post 5621758)
Since this thread will never die, I think I'll revise my opinion:

I still think that PHP is a terrible language that should die in a fire.

I did a small project over the weekend that required creating a restricted-access area that was integrated with infusionsoft. I was forced to use PHP because that's what the server runs and I didn't want to set up a new server just to run a sinatra app. I was able to wrap up the project in just 3 days mainly due to my discovery of the Slim framework.

However, there are still a couple things that bug the crap out of me when using PHP.

1. Session is a global. This is a minor point, but you should not be able to access in a view unless you explicitly pass it, it just makes me feel dirty.
2. Object attribute / method syntax is retarded. I know it hails back to C, but the arrow notation to access Object attributes and methods is cumbersome and hard to read.
3. Closure syntax is abysmal and absolutely unreadable.

In summary, why punish myself as a programmer? Why not use a language that is easy to read...

Syntax matters.

PHP is spoken in logic (it gets that from being derived from a lower level language like C/C++).

Having $_SESSION as a global isn't dirty unless you don't know what you're doing and make it accessible.

PHP doesn't stop you from doing stupid things. It also doesn't have many limits. That's why places like Facebook use it to develop, among other things.

C# is like C++ for those who don't understand memory management. .NET will always have those who hate PHP simply for the fact that they don't want to learn anything new. Same goes for PHP developers who hate .NET. Like my earlier topic says, there is no "best." PHP executes faster than the .NET alternatives, so if you want speed and don't plan on developing anything in C/C++, PHP is your best bet. If you want to be able to get something up and running on a windows server and want a more integrated server administration experience, .NET is your answer.

There isn't a single best and there isn't anything one can do that another can't. It's all preference.

But, to touch on the topic creators real question, PHP probably is your best option in terms of picking something up if that's what you're asking. Simply stated, it's a more useful syntax to know if you get any further in to application development using a real cross platform programming language like C/C++.

actualliver 20th February 2012 11:09 PM

Re: Why PHP is best
 
Why PHP is best :-
1. Easy to learn
2. Easily tutorials availabilities
3. Development friendly

Nicolas12cage 21st February 2012 12:41 AM

Re: Why PHP is best
 
PHP, a scripting language, object-oriented is used to create client-side GUI applications. It can also be used effectively for the script command line. It is also hardly compatible with the systems database and various servers such as Apache, IIS, Windows, Linux, etc.

johan75 22nd February 2012 01:49 AM

Re: Why PHP is best
 
Hello,

Many reasons first is cost efficeint and second is somple and less complicated...

freehugs 23rd February 2012 06:41 AM

Re: Why PHP is best
 
Quote:

Originally Posted by PaybackTony (Post 5664234)
PHP is spoken in logic (it gets that from being derived from a lower level language like C/C++).

Having as a global isn't dirty unless you don't know what you're doing and make it accessible.

PHP doesn't stop you from doing stupid things. It also doesn't have many limits. That's why places like Facebook use it to develop, among other things.

C# is like C++ for those who don't understand memory management. .NET will always have those who hate PHP simply for the fact that they don't want to learn anything new. Same goes for PHP developers who hate .NET. Like my earlier topic says, there is no "best." PHP executes faster than the .NET alternatives, so if you want speed and don't plan on developing anything in C/C++, PHP is your best bet. If you want to be able to get something up and running on a windows server and want a more integrated server administration experience, .NET is your answer.

There isn't a single best and there isn't anything one can do that another can't. It's all preference.

I know I can refrain (and do refrain) from abusing $SESSION. That doesn't change the fact that if you use PHP for your presentation layer instead of another templating language, $SESSION is there. It's a super global...built into the language itself. This is a design flaw (IMHO). It encourages its own improper use by being easily available everywhere. I've edited enough bad code to know that this gets abused every day.

IDK why you think that Microsoft languages and the nuke-it-from-orbit option (C/C++) are the only alternatives to PHP. Let me list a few off the top of my head that you seem to have forgotten about: java, groovy, scala, ruby, python, lua, perl, javascript (v8), clojure, haskell, smalltalk, common lisp....should I stop there?

I use python and ruby for most of my applications. Both Python and Ruby are faster than PHP these days (according to the great language shoot-out), and both have a saner syntax and a more coherent structure to promote good, readable code.

BTW, there absolute is something that Ruby and Python can do that PHP can't...be easily read and understood by someone who just picked up the syntax yesterday. My whole point is that syntax matters. Speed of implementation matters. Ruby and Python actually are easier to learn than PHP for someone who has no programming experience.

jennyjenna 23rd February 2012 06:47 AM

Re: Why PHP is best
 
PHP is good and best language for web developments But a php developers are to cheap but use same logic.......

buxadnet 23rd February 2012 07:55 AM

Re: Why PHP is best
 
PHP simply best, it's all I could wish for for a web programming language and it was the first one I learnt. It's easy to learn, easy to use and it has rarely come short. I just love PHP :)

WebVyz 23rd February 2012 10:43 AM

Re: Why PHP is best
 
PHP is the best because it has the widest choice of web frameworks (Drupal, Wordpress, etc...) and those web frameworks have the most add-ons/plugins.

However, as an old hacker who frequently has to glue various systems together, I prefer Perl's flexibility arising from its enormous library (CPAN) originating in systems administration. I usually work in tandem with PHP programmers. I handle the nasty backend processing and they handle the frontend user interface programming. You'd be surprised at how many times the actual problem you need solved involves "system administration".

jackjohns 24th February 2012 11:27 PM

Re: Why PHP is best
 
PHP is the best answer to this, its customer oriented approach makes it most suitable scripting language now days for building up the new websites. It's also easily compatible with varied database systems and servers. Also, This is one of the benefits of open source software for businesses; you get the software for free but only pay for support and save yourself a lot of money.

RankSale 27th February 2012 08:40 AM

Re: Why PHP is best
 
free, simple, powerful and many kind helpers and docs.

HiMac 27th February 2012 02:03 PM

Re: Why PHP is best
 
So is PHP better than wordpress or html?

excellzyxl 29th February 2012 01:34 AM

Re: Why PHP is best
 
Characteristics of PHP :-
1. Easy to learn
2. It is open source
3. Best with combination of all database

shantanu 1st March 2012 03:02 PM

Re: Why PHP is best
 
Esy to understand, flexible totally OOPS concept based and you can learn PHP in 24 hours too. there is a seperate book published for that.

Magento developer 2nd March 2012 06:10 AM

Re: Why PHP is best
 
php loads quickly than the others programming language.

AdamWill 2nd March 2012 07:24 AM

Re: Why PHP is best
 
PHP stands for Hypertext Preprocessed is a general-purpose server side scripting language originally designed for Web development to produce dynamic Web pages. It is among one of the first developed server side scripting languages to be embedded into an HTML source document, rather than calling an external file to process data.

skyline191 2nd March 2012 08:50 PM

Re: Why PHP is best
 
It is cheap to create websites using php.
it contain most of the feature of c,c++ and easy to learn in comparison to them.

campus pk 3rd March 2012 04:16 AM

Why PHP is best
 
php is asy to learn and open source and firrst scripting language.

wordcatcher 8th March 2012 12:35 AM

Re: Why PHP is best
 
There are many reasons, PHP is easy to learn and use, doesn't require much configuration to install and run, it is open source.

Earnie Boyd 8th March 2012 04:10 PM

Re: Why PHP is best
 
Quote:

Originally Posted by CDarklock (Post 913230)
That's because you're not really studying programming when you use PHP. You're enjoying yourself with a shiny new toy, and having fun. You keep doing nifty interesting things with it, and it's cool, and you bounce in your seat and clap your hands and point at the screen and send everyone on your IM client a link to your dumb page that prints "Hello world!" like your first program always does, and ten minutes later you tell them to reload because now it says "Hello BlueFart!" and you think that's really funny. You end up learning a shocking amount of stuff in a very short period of time, because you're having fun.

And then some dillhole comes along and complains that you're learning bad programming habits, in much the same way his father came up to him when he was three and complained about how you're only supposed to color inside the lines.

If you're going to do this for a living, you will need to learn good programming habits, but you'll do that when you're ready. Right now, you're playing. Don't stress out about good programming habits. Just have fun. You will have plenty of time to get all anal about your class heirarchies or the proper use of "for" and "foreach" later. Color outside the lines all you want.

I wish there was a LOL button. :D

Earnie Boyd 8th March 2012 04:15 PM

Re: Why PHP is best
 
Quote:

Originally Posted by ChrisDouthit (Post 4581739)
PHP is great, but it not as cost effective as .Net. If I were to develop a program in PHP it would take me about 25% longer than it would if I were to make it in .Net.

But it would take me 25% longer in .NET because I would have to learn it and then set up an environment to test it. With PHP I have that already.

DannyDisco 8th March 2012 04:24 PM

Re: Why PHP is best
 
It's Cheap, it's open source, it's efficient, there is a ton of documentation and examples to find everywhere.

Basically, it's the google of scripting... so why use anything else? Unless it's for a very specific purpose.

Alexis Wilke 9th March 2012 12:27 AM

Re: Why PHP is best
 
PHP is very similar to C and C++. Most of the functionality is mapped to the C library (POSIX) or libraries written in C that add features such as curl. For most applications it is definively good enough. However, as mentioned by some other people, a binary is going to be faster for many reason, not just the fact that the language is interpreted. Also, a binary is not unlikely going to be more secure, overall.

One thing that I find painful with scripting languages is the handling of HTML entities and tags. In most cases programmers will tend to use strings when they should use an XML library. With a compiled language, you're more likely to use the former saving you from having a lot of problems with those things (XML libraries will generate valid XML, and yes PHP has it, it's rarely used though.)

Note that some people said that .NET was better... I think that the Linux environment is much better. All the libraries used by PHP are all available to you from your C/C++ applications. That includes many things that .NET/.ASP do not offer and it is also OpenSource.

Craftisy 9th March 2012 02:21 PM

Re: Why PHP is best
 
PHP is lightweight and widely used , that's why

Earnie Boyd 9th March 2012 02:38 PM

Re: Why PHP is best
 
Quote:

Originally Posted by Alexis Wilke (Post 5789915)
Note that some people said that .NET was better... I think that the Linux environment is much better. All the libraries used by PHP are all available to you from your C/C++ applications. That includes many things that .NET/.ASP do not offer and it is also OpenSource.

:eek: Yea but .NET is a Open Specification and has an open source series as well, see the mono-project.com site. And .ASP can be embedded into Apache with the appropriate modules even on Linux.

Alexis Wilke 11th March 2012 05:55 PM

Re: Why PHP is best
 
Quote:

Originally Posted by Earnie Boyd (Post 5794398)
:eek: Yea but .NET is a Open Specification and has an open source series as well, see the mono-project.com site. And .ASP can be embedded into Apache with the appropriate modules even on Linux.

Ah! Yes... The mono-project. I heard of it and even went to that site a couple times. It's just not as big as Linux ;)

Now if you reference .ASP as Visual Basic, I have to say that it's also a neat language. Many features to avoid writing stupid bugs that occur all the time in PHP and C/C++ like languages (like missing a break in a switch() statement.)

Also on my end I'm faster with C/C++.

mayamills 11th March 2012 06:13 PM

Re: Why PHP is best
 
I think PHP is the best programming language because it's an open source programming language, anyone can afford this for website page creating and also it's world wide famous programming site and also recommended by most developers. PHP gives you full security with stability and speed.


All times are GMT -6. The time now is 12:40 PM.