![]() |
Why PHP is best hi, there are many scripting language but generally most web application made using PHP why? |
Re: Why PHP is best 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. |
Re: Why PHP is best There are many reasons , one of the reason is it is cost efficient |
Re: Why PHP is best It is simple to program in, and works so well with mysql (also open source). |
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best its simple and less complicated..as compared to ASP.. |
Re: Why PHP is best Free to use, Widely supported, Plenty of books and online tutorials - and almost anything is possible with it ;) Adi |
Re: Why PHP is best PHP is easy and platform-independent scripting language. Open-source and free! |
Re: Why PHP is best The major reason is, hosting php applications are much much cheaper than others, say, jsp. |
Re: Why PHP is best All of the above and, for me, there is something elegant about it...... |
Re: Why PHP is best 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) |
Re: Why PHP is best 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. |
Re: Why PHP is best Because hosting is much much cheaper... |
Re: Why PHP is best as stated above, because the price is right! :D |
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best Quote:
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. |
Re: Why PHP is best Quote:
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. |
Re: Why PHP is best 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. |
Re: Why PHP is best 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 |
Re: Why PHP is best 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. |
Re: Why PHP is best 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 |
Re: Why PHP is best 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 |
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best it's an easy script, easy to use and create, it's also an open source. |
Re: Why PHP is best 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. |
Re: Why PHP is best Quote:
|
Re: Why PHP is best Quote:
|
Re: Why PHP is best 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. |
Re: Why PHP is best 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. |
Re: Why PHP is best Why pay then you can get it for free...? |
Re: Why PHP is best 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. |
Re: Why PHP is best .asp is the future, but its not as popular because its not as old as php and because people have to relearn another language |
Re: Why PHP is best 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. |
Re: Why PHP is best Quote:
|
Re: Why PHP is best 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! :) |
Re: Why PHP is best 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 |
Re: Why PHP is best its opensource.. supported in most servers,, lotsa free code and quick to get a replacement programmer / free support |
Re: Why PHP is best 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. |
Re: Why PHP is best Quote:
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. |
Re: Why PHP is best 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 |
Re: Why PHP is best 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.. |
Re: Why PHP is best Quote:
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 |
Re: Why PHP is best Hello, Good Question!
Thanks |
Re: Why PHP is best As far as i know, and my experience is, It is very easy to learn Very flexible Free Open source Easy string manipulation |
Re: Why PHP is best Quote:
|
| All times are GMT -6. The time now is 12:00 PM. |