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)

Denis Grossman 12th August 2009 07:34 AM

Re: Why PHP is best
 
Because PHP is free.even the Mysql also free.Both work very well for web page and database.really perfect match.

dougman 12th August 2009 09:09 PM

Re: Why PHP is best
 
sweet great source of info

madhatseo 13th August 2009 09:59 AM

Re: Why PHP is best
 
Try using Windows machine just once. You'll be asking the admin to do everything for you from file permissions, etc. It's great for enterprise but not for web hosting unless you ahve a good reason.

723Media 13th August 2009 11:15 AM

Re: Why PHP is best
 
From a programming standpoint, PHP is a great tool because of the support of the community. For example, creating files dynamically is never an issue. Most hosting providers allow the creation of files without question.

As a .NET (C#) developer, that's usually a point of contention because many commercial hosts dont allow access to the FileSystemObject for file creation.

Point being, the PHP community is the biggest reason to use it. Couple that with it being free and it looks even better.

As a language though, it's pretty messy as many open source options are.

easymoney0001 13th August 2009 01:13 PM

Re: Why PHP is best
 
one of the best multipurpose lang.

sunsoftsystem 17th August 2009 08:59 AM

Re: Why PHP is best
 
Easy to learn, open source, lot's of free source code available on the net, supports mysql, support most of the web servers and more..........

Nelson Clements 22nd August 2009 01:55 PM

Re: Why PHP is best
 
Well, the most important reason might be that PHP is an OpenSource scripting language and secondly PHP is easy to learn and use and is PHP coding is less complex.

Gezawy 24th August 2009 03:33 AM

Re: Why PHP is best
 
I think that PHP is the best... I always use PHP for my websites... because,
1. It is open source
2. Cross platform
3. and the database management is easy..

so PHP is the best..

hanadaddy 24th August 2009 09:47 PM

Re: Why PHP is best
 
I love php because

1. it's free
2. it's easy ( I will probably spend more time with other languages to do the same thing)
3. lots of resources. You can find the solution from the Internet easily.

But I thinks PHP is not suitable for high traffic website. Each php process consumes too much memory. But there are some methods to resolve this problem. Such as using Cached files and other external PHP modules such as ACP(Alternative PHP Cache)

"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. "

Once, I implemented Magento free shopping cart under shared hosting account, but it was sooooo slow and required large amount of memory. But after I installed this apc module, the speed improved greatly, but I am still kind worried. Magento shopping cart is based on Zend framework . That's why it's heavy and slow.

For Wordpress, the speed issue can be impoved by simply using WP Super Cache plugin.

zapseo 25th August 2009 05:02 PM

Re: Why PHP is best
 
The idea that you "can learn good programming habits later" is not unlike having children and let them play around and do whatever, behave toward others as they wish, etc. because they are having fun and can learn good manners later.

YUK!

Early in my software education I was taking a BASIC programming class.

Then my boyfriend (at that time) taught me about structured programming.

I took the assignment I had written for a poker playing program and re-wrote it using subroutines (this was BEFORE Object Oriented Programming...). Took me all of a whole Sunday afternoon and evening. My boyfriend commented that he hadn't expected me to go re-write my assignment -- but it was a good thing I did. 2 assignments later, our assignment was to modify the poker playing program to including betting.

Had I tried to modify my original version -- I might have dropped the BASIC class (not really, but it would have taken a LONG time). Modifying the revised version took so little time (much shorter than writing the original program) that I was hooked.

Good habits in programming are there for a reason: they save you a ton of pain & agony down the road.

And, it seems like, programming languages get invented to nearly force programmers to program with the good habits that excellent programmers already use, no matter the language.

The first quarter of my software career was involved with assembly language -- of a variety of types. C is probably the closest to doing assy language (the original c, anyway...not sure about later.) -- and perl probably comes next.

On the other end of the scale is Java, which is a strongly-typed language. I once started taking a perl and a java class at the same time -- talk about philosophies on opposite sides of the spectrum.

Perl has been described (appropriately enough) as a "write only language" -- and there's a reason they hold "obfuscated perl" contests (they hold them in other languages, too -- but in perl, the obfuscation truly shines!)

Good discipline in software PAYS OFF.

Lax discipline takes hold because hardware is so cheap. But, in the long run -- probably not.

Years ago I re-wrote a production program for my employer as a skunk works project. Because of the way it originally was written, the program required overlays, which required disk accesses on floppy disks (SLOW!). The primary customer complained about this. However, after I was done re-writing, the program no longer required the overlay and the customer (as I found out later, as I changed jobs shortly thereafter) was VERY HAPPY.

Here's the real point -- everything we do is a habit: we can "learn" sloppy habits, or good habits. You have to learn -- might as well learn how to do it with excellence.

Live JoyFully!

Judy Kettenhofen
Marketer's Geek

jumboa7 26th August 2009 03:23 AM

Re: Why PHP is best
 
I am not a big fan of php in enterprise environment. But for startup environment is the best. I work extensively in ASP.NET in last 5 yeard and before that I do programming in PHP.
The thing that make it so apart is the process of building web application. PHP is lean and mean language if you know html you can just jump into the language and make your first web app in a day.(Of course the simple one)

ASP.NET is different, it hide all nitty gritty detail of HTML and show you the visual element like VB. It takes a bit of time to learn the .NET classes. Anyway code reuse is easier in php especially custom user control.

Like everyone else, the most important things is PHP is FREE.

lisag 27th August 2009 12:48 AM

Re: Why PHP is best
 
"When all you have is a hammer, everything looks like a nail."

PHP is "best" for whatever the developer thinks it's best for. And if all the developer knows is PHP, then it's "best" for everything.

There are a lot of development options and one should always carefully evaluate the environment and the needs of the product before choosing the development language and database.

markfail 27th August 2009 11:47 AM

Re: Why PHP is best
 
Well, why not? Its free, its open source, its widely used and freely available and there is a ton of ebooks, tutorials and videos about how to use it.

Iv covered this also in my tutorial, why use php. php tutorial – why use php? | PHP Script - Free Collection of PHP Scripts

tundebj 27th August 2009 12:36 PM

Re: Why PHP is best
 
I'll always love PHP, i dont know what i could have done without it
thanks to all who have made so much effort to see it this improved

d101 28th August 2009 03:55 PM

Re: Why PHP is best
 
... it works.
... it is simple.
... it did everything I thought of in an elegant way.

it its deep if you need it.
It is very well thought out.

And:
It does not come from Microsoft ... ;-)

fifthnormal 16th September 2009 11:00 PM

Re: Why PHP is best
 
I see a lot of people saying that PHP is great because it's "open source". I'm real curious how many times anyone here has actually modified the source code for PHP, lol. Or even looked at it for that matter.

PHP is so popular because it came on the scene very early, and was a lot easier to make web applications in than PERL. Plus, the high end web application frameworks at that time, like Cold Fusion, were very expensive (and still are).

It still popular today because it's easy to make basic contact us forms, and other simple tasks for beginner programmers.

One of the reasons that companies build products on it, like WordPress, is that it will run on both Linux and Windows servers. So it's appealing if you are a web based software product developer.

Paul Hancox 21st September 2009 04:36 PM

Re: Why PHP is best
 
I wrote my first commercial scripts (back in ye olde 2001) in Perl. I eventually switched to PHP simply because it was the dominant scripting language, and it was a bugger to get a page to be compatible with BOTH Perl and PHP at the same time.

Anyway, in my opinion the current best combination is PHP and Javascript. You can do some real magic if you know both!

mhartmann 21st September 2009 05:58 PM

Re: Why PHP is best
 
Quote:

Originally Posted by zapseo (Post 1117958)
The idea that you "can learn good programming habits later" is not unlike having children and let them play around and do whatever, behave toward others as they wish, etc. because they are having fun and can learn good manners later.

YUK!

Early in my software education I was taking a BASIC programming class.

Then my boyfriend (at that time) taught me about structured programming.

I took the assignment I had written for a poker playing program and re-wrote it using subroutines (this was BEFORE Object Oriented Programming...). Took me all of a whole Sunday afternoon and evening. My boyfriend commented that he hadn't expected me to go re-write my assignment -- but it was a good thing I did. 2 assignments later, our assignment was to modify the poker playing program to including betting.

Had I tried to modify my original version -- I might have dropped the BASIC class (not really, but it would have taken a LONG time). Modifying the revised version took so little time (much shorter than writing the original program) that I was hooked.

Good habits in programming are there for a reason: they save you a ton of pain & agony down the road.

And, it seems like, programming languages get invented to nearly force programmers to program with the good habits that excellent programmers already use, no matter the language.

The first quarter of my software career was involved with assembly language -- of a variety of types. C is probably the closest to doing assy language (the original c, anyway...not sure about later.) -- and perl probably comes next.

On the other end of the scale is Java, which is a strongly-typed language. I once started taking a perl and a java class at the same time -- talk about philosophies on opposite sides of the spectrum.

Perl has been described (appropriately enough) as a "write only language" -- and there's a reason they hold "obfuscated perl" contests (they hold them in other languages, too -- but in perl, the obfuscation truly shines!)

Good discipline in software PAYS OFF.

Lax discipline takes hold because hardware is so cheap. But, in the long run -- probably not.

Years ago I re-wrote a production program for my employer as a skunk works project. Because of the way it originally was written, the program required overlays, which required disk accesses on floppy disks (SLOW!). The primary customer complained about this. However, after I was done re-writing, the program no longer required the overlay and the customer (as I found out later, as I changed jobs shortly thereafter) was VERY HAPPY.

Here's the real point -- everything we do is a habit: we can "learn" sloppy habits, or good habits. You have to learn -- might as well learn how to do it with excellence.

Live JoyFully!

Judy Kettenhofen
Marketer's Geek

Good post. Practice makes perfect? No. Practice makes permanent. So do it right from the start. :D

cmaclean 26th September 2009 02:42 AM

Re: Why PHP is best
 
There's a TON of support for PHP. They have the best lookup website of any programming language: php.net

Zido 26th September 2009 05:13 AM

Re: Why PHP is best
 
you're not constricted to a crappy compiler/can hand code it happily... (cough .Net)

roofinginsulation 29th September 2009 10:11 AM

Re: Why PHP is best
 
PHP is less complicated if we comparing to other languages. It designing environment and coding is easy. Security wise and framework wise its awesome.

davidmerrick 30th September 2009 02:40 AM

Re: Why PHP is best
 
It's open source,
It's free,
It's not picky with syntax,
It plays well with Apache,
It has a free site that offers extensive training,
And it has a huge development community

denisjhon 30th September 2009 07:39 AM

Re: Why PHP is best
 
Hi!
One of the reasons for its popularity is that its an open source language and it is also compatible with MySql.

joenoon 1st October 2009 01:41 AM

Re: Why PHP is best
 
PHP is really popular because most hosting setups come with Apache + PHP ready to go. Especially shared-hosting environments. Once your app outgrows a shared server and you need to get your own dedicated server, then its really up to you as to what language/web/app server you want to install based on your the language your applications are written in.

If you plan on running a site that will get a good amount of traffic, you should first figure out what languages you are comfortable programming in, then plan out a real server deployment scenario.

If you already know PHP, your site is small, and you don't care that other users you are sharing the environment with could cause issues on the hosting server bringing your site down, then its fine to just stick with the common.

Joe

jennifermL 1st October 2009 06:07 AM

Re: Why PHP is best
 
Because PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

duleto 8th October 2009 05:21 PM

Re: Why PHP is best
 
Quote:

Originally Posted by JoannaRivera (Post 860623)
hi,

there are many scripting language but generally most web application made using PHP why?


becouse is it open sourse

lanta99 8th October 2009 05:48 PM

Re: Why PHP is best
 
Open source
Free
Easy to Code with
Takes about 3 days to learn
Dynamic...

Keen F 9th October 2009 09:49 PM

Re: Why PHP is best
 
IMO its easy to code in (its closer to my native language), the are millions of resources out there, practically all sites support it with little or no set up

mad 11th October 2009 12:33 PM

Re: Why PHP is best
 
Quote:

Originally Posted by JoannaRivera (Post 860623)
hi,
there are many scripting language but generally most web application made using PHP why?

1. PHP is free. No license needed
2. PHP can be use on any platform - Windows, Linux, so on
3. PHP is faster than any other language from it's kind- ASP for example

bridgerlandweb 13th October 2009 09:32 PM

Re: Why PHP is best
 
Probably the #1 reason people get their foot in the door with PHP is because it's free. I think a lot of people just stick with it and overlook ASP.NET.

As a Microsoft developer, however, my workplaces have always provided me with Visual Studio and I'm much more partial to ASP.NET because it is, in the end, more powerful, especially with the new MVC framework. But because PHP is so widespread it is usually easier/cheaper to find hosting, there are more sources of support, etc.

amerigo 13th October 2009 11:07 PM

Re: Why PHP is best
 
*retracted to prevent a flame war*

jacobycage 5th October 2010 05:04 PM

Re: Why PHP is best
 
In my point PHP is straightforward and platform-independent scripting language. Open-source and free!

Sam1985 5th October 2010 07:47 PM

Re: Why PHP is best
 
It is simple, very easy to understand scripting language.

zeeshi570 6th October 2010 11:35 AM

Re: Why PHP is best
 
PHP is open source
Have more help then any other lang
Supports more then u need

thedigitalshopper 11th October 2010 03:17 AM

Re: Why PHP is best
 
PHP is one of the most popular server side scripting languages running today. It is used for creating dynamic web pages that interact with the user offering customized information. PHP offers many advantages; it is fast, stable, secure, easy to use and open source (free)

Thanks


lucasdean123 15th October 2010 12:29 AM

Re: Why PHP is best
 
Since it is free as well as less complicated. And lots of free software useable in PHP, so it is wide used. Since it is widely expended lots of free software's are produced using php.

caesargus 16th October 2010 03:22 PM

Re: Why PHP is best
 
Well I wouldn't say it's the best, but it does have a lot of things going for it. It is a mature language and has a wide audience of users. It has several open source initiatives that help it along the way to make it a better platform (Wordpress, Joomla, etc.). It even has support for higher functions that it didn't previously have.

As a developer, PHP is great to know for your personal knowledge, but it is not a highly valued language. Probably because so many people know it (or claim they know it). The languages that pay well - .Net and Java seem to be at the top of the list when I look at jobs.

So PHP is not the "best" language, it just has a lot more going for it. :)

margaritamaker 27th October 2010 08:03 PM

Re: Why PHP is best
 
because it cheap.. many hosting provider use linux not windows.

eagle1984 28th October 2010 01:44 AM

Re: Why PHP is best
 
because it is so wide and easy language not difficult to understand and learn.

vseosoft.com 28th October 2010 02:37 AM

Re: Why PHP is best
 
because u can do everything with php. create websites, seo tools, keyword scrape, leeching, everything.

elizaacton 28th October 2010 09:18 AM

Re: Why PHP is best
 
PHP is a Open Source language. Its programs can also run in Windows and Unix.It is scripting language that was originally designed for web development to produce dynamic web pages. It can interact with MySQL databases.

janejana 28th October 2010 11:39 PM

Re: Why PHP is best
 
Quote:

Originally Posted by JoannaRivera (Post 860623)
hi,

there are many scripting language but generally most web application made using PHP why?

Because PHP is a free and a user friendly platform. They have partner with mysql for web creation. They are widely used nowadays.

dctoursw 11th November 2010 03:33 AM

Re: Why PHP is best
 
PHP is easy and platform-independent scripting language. It is very easy to learn and its free to download and easy to install.........

mahesh2010 11th November 2010 08:06 AM

Re: Why PHP is best
 
Hi,
Php is a best script because Most of open source Cms are developed supporting PHP script and it is very easy to learn and make flexible in coding database connectivity is very simple like wise we can say lot to support PHP

littlekid 11th November 2010 09:01 AM

Re: Why PHP is best
 
Quote:

Originally Posted by Adi E (Post 869362)
Free to use, Widely supported, Plenty of books and online tutorials - and almost anything is possible with it ;)

Adi

i agree with you.. php is very popular and great resources we can get from internet because everyone can make any web based-progam they want. nice script..

lknielsen 11th November 2010 09:34 AM

Re: Why PHP is best
 
As many have already stated: It's Free, Powerful, and Easy to use.

torentash 11th November 2010 12:07 PM

Re: Why PHP is best
 
Quote:

Originally Posted by JoannaRivera (Post 860623)
hi,

there are many scripting language but generally most web application made using PHP why?

Well there are many reasons. A few of them are: 1. It's been on the market for so long 2. It's free to use, many tutorials online, does not depend on any framework... 3. Most cheap hosting are on linux servers thus PHP is the logical choice for a web site 4. Has both scripting and OOP way of working Frankly, PHP is most used in web development because of no. 3. Whenever I want to develop a web app I first consider if I can afford Windows server for the project. If not I use cheap Linux and build PHP app.

alfordalvin 13th November 2010 05:56 AM

Re: Why PHP is best
 
PHP is best because there are so many features available like PHP is a Open Source language. PHP programs can also run in Windows and Unix. PHP IS scripting language that was originally designed for web development to produce dynamic web pages.

jxau00003 13th November 2010 07:34 AM

Re: Why PHP is best
 
It is free and it is widely used

infoman66 13th November 2010 09:34 AM

Re: Why PHP is best
 
I think that PHP is very popular primarily because almost half of www powered by Apache server (that naturally supports PHP and MySql)...
Other reasons lie in the price of software (Linux is cheaper than MS server) ...


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