| | #1 |
| Warrior Member Join Date: 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
hi, there are many scripting language but generally most web application made using PHP why? |
| |
| | #2 |
| phpLD master War Room Member Join Date: 2006 Location: Laguna Beach
Posts: 4,015
Thanks: 80
Thanked 542 Times in 421 Posts
Blog Entries: 3 |
I would say one of the main reasons is it was the first scripting language that was widely used AND open source. As a result, many web applications and frameworks were created using the script, and PHP spread through those applications.
|
| It is okay to contact me! I have been developing software since 1999, creating many popular products like phpLD.
| |
| |
| The Following 3 Users Say Thank You to dvduval For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2009
Posts: 263
Thanks: 109
Thanked 3 Times in 3 Posts
|
There are many reasons , one of the reason is it is cost efficient
|
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bradford, UK
Posts: 214
Thanks: 17
Thanked 31 Times in 26 Posts
|
It is simple to program in, and works so well with mysql (also open source).
|
| | |
| |
| | #5 |
| Warrior Member Join Date: 2009
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
There was always Perl which came before PHP and was popular too...There is also .Net which is actually more versatile than PHP....I think the biggest reason for its wide adoption is that PHP is 1) FREE and 2) Made exclusively with Internet in mind and so very mature to handle all kinds of issues 3) Easy to use. Perl was starting to show its age and although it was easy to use it was still a bit cryptic at times and it wasnt built really to handle the internet...it was built to parse scripts which was then adapted for the internet. .Net is a brilliant piece of work by Microsoft but it is because it is from Microsoft that many other systems (outside the PC) dont use it...especially since it requires a license to use while PHP is totally free. PHP fit the market for its time and was the best at its time that many people began adopting it. |
| | |
| |
| | #6 |
| Love creating software War Room Member |
Because it is free and less complicated. And lots of free software available in PHP, so iy is widely used. Since it is widely used lots of free software's are created using php.
|
| |
| | #7 |
| Warrior Member Join Date: 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
its simple and less complicated..as compared to ASP..
|
| |
| | #8 |
| Active Warrior Join Date: 2009
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
|
Free to use, Widely supported, Plenty of books and online tutorials - and almost anything is possible with it ![]() Adi |
| |
| | #9 |
| Active Warrior Join Date: 2009
Posts: 34
Thanks: 7
Thanked 2 Times in 2 Posts
|
PHP is easy and platform-independent scripting language. Open-source and free!
|
| |
| | #10 |
| Senior Warrior |
The major reason is, hosting php applications are much much cheaper than others, say, jsp.
|
|
Thanks, Yaji Hypnosis Weight Loss Fun Info about Hypnosis Weight Loss | Cheap Car Insurance Cat Dandruff All about Cat Dandruff. A Must-Read for Cat Lovers | |
| |
| | #11 |
| HyperActive Warrior War Room Member Join Date: 2007 Location: Bristol, UK, and Italy.
Posts: 290
Thanks: 26
Thanked 37 Times in 27 Posts
Blog Entries: 1 |
All of the above and, for me, there is something elegant about it......
|
|
Frustrated beginner? Check out my FREE 4-part, 6 bonus LIST BUILDING COURSE Follow me on Twitter AND my Blog | |
| |
| | #12 |
| Active Warrior Join Date: 2009
Posts: 79
Thanks: 0
Thanked 1 Time in 1 Post
|
Most websites are developed in PHP because it is free. Its web server, Apache is free. The best integrated database server with PHP is MySQL and is is free(community edition). Moreover, there is a wide variety of libraries developed by its lovers. (PHP, MYSQL communities are the largest)
|
| |
| | #13 |
| Chief Disruption Officer War Room Member Join Date: 2009
Posts: 2,732
Thanks: 771
Thanked 2,016 Times in 810 Posts
|
Well, it wasn't the first widely used one... that would have been Perl. There were many shell scripts out there long before PHP. It's certainly not the "best". No interpreted script can ever be better than a compiled binary. Period. |
| | |
| |
| The Following User Says Thank You to MichaelHiles For This Useful Post: |
| | #14 |
| Senior Warrior |
Because hosting is much much cheaper...
|
|
Thanks, Yaji Hypnosis Weight Loss Fun Info about Hypnosis Weight Loss | Cheap Car Insurance Cat Dandruff All about Cat Dandruff. A Must-Read for Cat Lovers | |
| |
| | #15 |
| HyperActive Warrior |
as stated above, because the price is right! |
| Automate Wordpress and eBay: Earning Commissions with eBay has never been easier! WSO: Check out the auction2post WSO! | auction2post video demonstration: Watch a site go from no content to full content in minutes! A to Z Tutorial! Unlimited Domains! Not in ePN? NO PROBLEM! | |
| |
| | #16 |
| Software & Scripts War Room Member Join Date: 2006 Location: Canada (+US)
Posts: 62
Thanks: 259
Thanked 55 Times in 45 Posts
|
Hello! :-) As was mentioned by Michael, long before PHP there was something called Perl. And was it ever popular and widely used by many people! There is a lot of ignorance when it comes to a lot of things that relate to computer programming. But it's a losing battle to try and persuade anyone that one scripting language is better than another. I take a practical view and say that if PHP is all someone knows and understands, then use it as best you can to reach your ultimate programming objective. |
| |
| | #17 |
| Active Warrior War Room Member Join Date: 2009 Location: Denver, CO
Posts: 60
Thanks: 29
Thanked 30 Times in 24 Posts
|
I'm not a big fan of php. I only know it because everyone else uses it, and it's hard to get away from.
|
| |
| | #18 | |
| AT gmail DOT com War Room Member Join Date: 2009 Location: Kent, WA
Posts: 8,105
Thanks: 2,024
Thanked 6,583 Times in 2,874 Posts
Blog Entries: 5 |
The competition has simply never caught up - not because of PHP's capabilities, but because there is so much code already written in it. For about six years, if you were doing anything remotely interesting on the web, you almost had to do it in PHP... and the late 1990s was a very, VERY interesting time for web technology. | |
| ||
| |
| | #19 | |
| AT gmail DOT com War Room Member Join Date: 2009 Location: Kent, WA
Posts: 8,105
Thanks: 2,024
Thanked 6,583 Times in 2,874 Posts
Blog Entries: 5 |
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. | |
| ||
| |
| | #20 |
| Banned War Room Member Join Date: 2008 Location: , , .
Posts: 201
Thanks: 1
Thanked 12 Times in 11 Posts
|
Very rightly said it is a very good first programming language. it is easy accessible since it is opensource and free. Initially it was a pain in the neck installing php along with apache web server and mysql.But now life has become very easy with WAMPP AND xampp.There are wonderful software products developed using php like oscommerce ,joomla.drupal,sugarCRM,dotproject and many others.
|
| |
| | #21 |
| John Palmieri, Copywriter War Room Member Join Date: 2007 Location: USA
Posts: 859
Thanks: 298
Thanked 409 Times in 250 Posts
|
I like both PHP and ASP.NET. But one nice thing about ASP.NET is that you can program it with either C# or VB.NET (my favorite). In addition, C# and VB.NET aren't just "scripting" languages -- they're full programming languages, so they're more powerful and versatile than PHP. However, what's really cool is that you can also use C# or VB.NET to program desktop applications. It's kind of a 2-for-1 deal. ![]() Johnny |
| |
| | #22 |
| New Warrior Member Join Date: 2008 Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
Why do you see so much PHP these days? Critical mass. Ease of use, great features, fantastic documentation, and widespread support keep it in the lead. There are easier, faster, more powerful things out there, but PHP strikes a nice balance. Django and Python have become my weapons of choice, but I still find myself coding many things in PHP. |
| |
| | #23 |
| Active Warrior War Room Member Join Date: 2009 Location: Scotland
Posts: 57
Thanks: 17
Thanked 12 Times in 10 Posts
|
I agree with most people on this topic. PHP is a powerful programming language, it supports classes, reflection, is modular, has a lot of support libraries built-in, you can create gui applications with it as well, i would say its a modern programming language rather than just a scripting language. If you want to do something really low-level thats not avaliable on the OS you can write a module for php in C or C++ (getting back to the original topic!) I really think the best place to start with learning C++ is learning object-oriented programming - at the moment php is the best place to start imho, then move on learning a bit about pointers before trying C++, although the biggest obstacle in learning how to program C++ is not the language itsself, but the compiling and linking applications together with the object files that you require for your project. Once this is setup, things become a lot easier. If you are looking to do web-programming in C++, i would recommend against it, you *can* do it but its not really designed from the ground-up for this type of thing. Hope this all helped! Dave |
| |
| | #24 |
| New Warrior Member Join Date: 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
As many others have said; it is free, and easy to learn. Another reason is because you can see pretty much instant results - there is no compliling, so debuging scripts takes less time than other languages. Unfortunately the downside of this easy language is that it is easy to write scripts contain no security. Joe |
| |
| | #25 |
| Active Warrior War Room Member Join Date: 2009
Posts: 56
Thanks: 2
Thanked 4 Times in 4 Posts
|
Accourding to me PHP is Best because PHP and other languages PHP is the best language for web programing, but what about other languages? PHP vs. ASP? Is there an ASP to PHP converter? PHP vs. Cold Fusion? PHP vs. Perl? PHP vs. ASP? ASP is not really a language in itself, it's an acronym for Active Server Pages, the actual language used to program ASP with is Visual Basic Script or JScript. The biggest drawback of ASP is that it's a proprietary system that is natively used only on Microsoft Internet Information Server (IIS). This limits it's availability to Win32 based servers. There are a couple of projects in the works that allows ASP to run in other environments and webservers: » InstantASP from » Halcyon (commercial), Chili!Soft ASP from » Chili!Soft (commercial). ASP is said to be a slower and more cumbersome language than PHP, less stable as well. Some of the pros of ASP is that since it primarily uses VBScript it's relatively easy to pick up the language if you're already know how to program in Visual Basic. ASP support is also enabled by default in the IIS server making it easy to get up and running. The components built in ASP are really limited, so if you need to use "advanced" features like interacting with FTP servers, you need to buy additional components. Is there an ASP to PHP converter? Yes, the server-side » asp2php is the one most often referred to as well as » this client-side option. PHP vs. Cold Fusion? PHP is commonly said to be faster and more efficient for complex programming tasks and trying out new ideas. PHP is generally referred to as more stable and less resource intensive as well. Cold Fusion has better error handling, database abstraction and date parsing although database abstraction is addressed in PHP 4. Another thing that is listed as one of Cold Fusion's strengths is its excellent search engine, but it has been mentioned that a search engine is not something that should be included in a web scripting language. PHP runs on almost every platform there is; Cold Fusion is only available on Win32, Solaris, Linux and HP/UX. Cold Fusion has a good IDE and is generally easier to get started with, whereas PHP initially requires more programming knowledge. Cold Fusion is designed with non-programmers in mind, while PHP is focused on programmers. A great summary by Michael J Sheldon on this topic has been posted to the PHP mailing list. PHP vs. Perl? The biggest advantage of PHP over Perl is that PHP was designed for scripting for the web where Perl was designed to do a lot more and can because of this get very complicated. The flexibility / complexity of Perl makes it easier to write code that another author / coder has a hard time reading. PHP has a less confusing and stricter format without losing flexibility. PHP is easier to integrate into existing HTML than Perl. PHP has pretty much all the 'good' functionality of Perl: constructs, syntax and so on, without making it as complicated as Perl can be. Perl is a very tried and true language, it's been around since the late eighties, but PHP is maturing very quickly. |
| |
| The Following User Says Thank You to zain654321 For This Useful Post: |
| | #26 |
| Audio & Video Guru War Room Member Join Date: 2007 Location: Manchester, UK
Posts: 50
Thanks: 0
Thanked 7 Times in 7 Posts
|
I have to agree with many of the points already made. I've used both PHP and ASP.NET, although I find .NET web apps can generally be a bit more complex to deploy. Great thing about PHP is that its less strict, you don't have to declare variable types and it is very flexible compared to some languages. |
|
Regards, James (or Eddie) | |
| |
| | #27 |
| Warrior Member Join Date: 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
There are several other web programming languages out there, including Microsoft .NET (or ASP), Coldfusion, Java, and many others, that you may have heard thrown around previously. After being presented with these other solutions, you now may be asking - So why PHP? While it is true that many of these can do the same types of thing, PHP has several advantages. Here are some of the main ones as Oxygen Internet sees it: Cheaper hosting and more available servers - As PHP has risen to be one of the most popular language out there, there are a large number of companies that can host a PHP driven site. Of course, whilst Oxygen Internet offers our own range of competitive web hosting packages, it also means you have a massive range of other hosting to choose from if you do decide to ever transfer your website somewhere else. free to use, and cheaper ongoing costs - As many of the other languages out there are a bit more specialised, it can cost a lot more to develop a site using their technology. PHP is totally free of restriction to be used in whatever way you feel the need. No expensive or ongoing licensing fees, no expensive servers, and no expensive techical staff to keep your system reliable. |
| |
| | #28 |
| HyperActive Warrior Join Date: 2009 Location: Newyork
Posts: 114
Thanks: 1
Thanked 6 Times in 6 Posts
|
It's best because 1) it's an open source server side scripting language, 2) it's free and most importantly 3) it's platform independant and 4) it can even use Microsoft IIS as its webserver instead of Apache and 5) It can also work with SQL Server instead of MySql. above all 6) you don't need a front end desinging tool like ASP.net in the .Net platfrom. So what else do you need to prove its the best.
|
| | |
| |
| | #29 |
| HyperActive Warrior Join Date: 2009
Posts: 103
Thanks: 3
Thanked 4 Times in 4 Posts
|
it's an easy script, easy to use and create, it's also an open source.
|
| |
| | #30 |
| Love creating software War Room Member |
One of the factors I think is there is huge PHP developer community. And the opensource libraries that are available to cut a website in no time.
|
| |
| | #31 |
| HyperActive Warrior War Room Member Join Date: 2008
Posts: 190
Thanks: 1
Thanked 16 Times in 15 Posts
| |
| | |
| |
| | #32 |
| Warrior Member War Room Member Join Date: 2009
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
|
actually, Perl was the first widely used and open source language.
|
| |
| | #33 |
| Warrior Member War Room Member Join Date: 2009
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
|
PHP is widely used because: 1. It is a scripting language, so no need to compile, deploy, test, then do it again. It is good for what we do, however larger companies will need more power and tend to rely on C/C++, but again those are very large companies, with very high traffic 2. Since it is scripted, the complexities are abstracted out. PHP comes with pre-written code for you, you just make the calls and you don't have to write the complex algorithm to get things working. This makes it easier for people to write applications 3. The alternatives are more complex syntax wise, or compilation wise overall, it is pretty nice language to code in. Make sure to take advantage of the new OOP in php5. Classes, while not really objects in real sense, are good way of organizing your code. What is happening now a days is that websites are becoming more intelligent and requiring more code. Orginizing code in classes is a life saver, and php5+ gave php a life extention. |
| |
| | #34 |
| Banned War Room Member Join Date: 2008 Location: , , .
Posts: 201
Thanks: 1
Thanked 12 Times in 11 Posts
|
PHP is open source and many sophisticated ready made scripts are available for free like joomla,oscommerce,sugarCRM,dotproject,code igniter framework for php,cake php framework etc etc list is endless.It is fast and efficient.
|
| |
| | #35 |
| A rat after money... War Room Member Join Date: 2009 Location: Inside a cheese...
Posts: 770
Thanks: 365
Thanked 80 Times in 68 Posts
|
Why pay then you can get it for free...?
|
| |
| | #36 |
| Active Warrior Join Date: 2009
Posts: 30
Thanks: 0
Thanked 5 Times in 3 Posts
|
I actually like ColdFusion more in general. It's so easy to do mySQL queries and much easier to understand for designers than PHP. However, the program is the web hosting for ColdFusion tend to be more expensive since ColdFusion is not free like PHP.
|
| Instant Site Machine - make hundreds of sites in minutes each Create Niche Site in 2 Mins - Create massive content site using PLR articles in minutes | |
| |
| | #37 |
| Active Warrior Join Date: 2009
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
|
.asp is the future, but its not as popular because its not as old as php and because people have to relearn another language
|
| |
| | #38 |
| Warrior Member Join Date: 2009 Location: India
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hello friends, I am new to this forum and was looking for php cons n pros. This post is very informative 4 those who are looking for php knowledge. Good work By all. Thanks a lot to all for sharing such information. |
| | |
| |
| | #39 |
| HyperActive Warrior War Room Member Join Date: 2009
Posts: 352
Thanks: 52
Thanked 49 Times in 41 Posts
|
you mean aspx (as in .net?) it will be popular as existing vb/c# programmers can transfer their skills but the bottom line is there are far more webservers running *nix than windoze and as such the proliferation of mysql/php is much higher.
|
| |
| | #40 |
| Warrior Member Join Date: 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
1) Easy to learn 2) Most widely used already, so people prefer to learn it to develop existing apps 3) Simple, i.e. not complex 4) More and more tutorials for easy learning available. 5) Vast features (or functions) That's all I could think of! |
| |
| | #41 |
| Warrior Member Join Date: 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
It's a cost efficient, and there is lots of documentation and free examples. Another reason you are programming inside of linux, in linux you don't need to think about all viruses and other mess. One more reason : it has very cool frameworks such as zend framework and lots of documentation about |
| | |
| |
| | #42 |
| arunn.com Join Date: 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
its opensource.. supported in most servers,, lotsa free code and quick to get a replacement programmer / free support
|
| |
| | #43 |
| Product Creator War Room Member Join Date: 2005
Posts: 230
Thanks: 100
Thanked 22 Times in 20 Posts
|
Before php most scripts were made in perl tcl C++ C PHP copied the best feature of all these languages but remained simple and easier to use. Besides php was maybe the only first programming language created specifically for web development. |
|
Business Funnels - http://businessfunnels.com | |
| |
| | #44 | |
| Innovation beats copying Join Date: 2008 Location: Twilight Zone
Posts: 216
Thanks: 10
Thanked 33 Times in 26 Posts
|
actually its a 5 in one advantage. C# will get you a good paying job in more places than PHP. But if you want to add some functionality to your site or be free to develop a CMS withut paying any money then its PHP. Although I am loving Python and Django. | |
| |
| | #45 |
| Warrior Member Join Date: 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
|
php is easy to learn programming language, and also it is free, all you have to do is just buy some php book and learn the basic try to implemented, you will know why PHP is the best |
| |
| | #46 |
| Warrior Member Join Date: 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP is definitely not the best, but it's the easiest to simply deploy. If you use rails you're going to have a hard time finding a web host and for php there are thousands of hosts readily available (and cheaply). Also, the fact that php is a very simple language means that everyone, even people new to php can easily write some code. However, the downside of this is that lots of times this code isn't very good at all No error checking, etc..
|
| |
| | #47 | |
| Mindfulness Warrior War Room Member Join Date: 2006 Location: Tucson, AZ, USA.
Posts: 523
Thanks: 116
Thanked 154 Times in 114 Posts
|
I've said this before and I'll probably say it again. There's an enormous difference between a script that "works" and one that's robust, secure, and ready for production use. If anyone here doesn't know the difference, consult a professional programmer, please, before you get your site hacked or destroyed. This doesn't necessarily mean that PHP is a lousy solution. It's actually quite good for a lot of purposes when used correctly. Steve | |
| Mindfulness training & coaching online Reduce stress | Stay focused | Keep positive and balanced | ||
| |
| The Following User Says Thank You to Steve Diamond For This Useful Post: |
| | #48 |
| Panda Cracker :) War Room Member Join Date: 2009 Location: BestWebDesigners.org
Posts: 554
Thanks: 62
Thanked 28 Times in 24 Posts
|
Hello, Good Question!
Thanks |
| Google SEO Research Get 25% Discount On All HostGator Products Use Coupon: BESTGATOR25OFF 7 Days of Free Downloads - 50,000 Video and Audio Clips | |
| |
| | #49 |
| Warrior Member Join Date: 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
As far as i know, and my experience is, It is very easy to learn Very flexible Free Open source Easy string manipulation |
| | |
| |
| | #50 | |
| Warrior Member Join Date: 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
| |
| |
|
| Bookmarks |
| Tags |
| php, web development |
| |