A trend with a lot of new Web Designers is to blindly go for ASP or JSP for creating dynamic and interactive websites. Why use PHP for server-side scripting? This question comes in mind of a lot of Web Designers, especially in mind of designers/programmers who are only exposed to much hyped server side scripting languages such as ASP or JSP. PHP is indeed a great choice for dynamic websites and a lot of popular websites do use PHP as a scripting language. A lot of designers shy away from a good web hosting providers such as Yahoo as it does not support JSP but supports PHP! In this discussion I want to bring into light why use PHP for server-side scripting when there is ASP and JSP around. What is PHP? PHP is a server-side scripting language, such as ASP and JSP. PHP is an open source and free to download and use. It is a powerful scripting language for creating dynamic and interactive websites. PHP files may contain text, HTML tags and scripts. PHP files have a file extension of ".php", ".php3", or ".phtml". Why PHP? PHP runs on different platforms such as Windows, Linux, Unix, etc. PHP is easy and fast to learn and runs efficiently on the server side. C programmers can easily master PHP as the PHP syntax is somewhat similar to C. PHP is compatible with almost all servers used today (Apache, IIS, etc.). PHP supports many databases such as MySQL, Oracle, PostgreSQL etc. PHP with MySQL database and Apache Server is a very good and popular combination. PHP combined with MySQL are cross-platform. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP and Sun Microsystems JSP. PHP is perfectly suited for Web development and can be embedded directly into the HTML code. PHP is often used together with Apache (web server) on various operating systems. It can be also used with Microsoft's IIS on Windows.
very nice information you have posted here about php. There are many software development companies that especially deal in PHP. All who are having innumerable queries can read this article it is extremely helpful to everyone. You can create dynamic web pages with the PHP scripting language. A dynamic Web page interacts with the user, so that each user visiting the page sees customized information. PHP can also be used to create dynamic web pages that are generated from information accessed from a MySQL database. You can embed PHP commands within a standard HTML page. PHP's syntax is similar to that of C and Perl, making it easy to learn for anyone with basic programming skills.
HI IS asp better than php? I heard somewhere that asp is used in corporate levl but on the other hand php used in commercial level. IS it true? thanks
Server-side scripts connect the web page with a database or application, allowing you to customize your site for different users and serve dynamic pages. Scripting options included PHP scripts. They all live on your site's server and rely on its processing power.
Php will get more response when it will have more security. Today most of people fear of its security issue.
@Magena there are corporations that use php and commercial software that uses asp.net. The major difference is asp can be used as both windows programming and web programing while php can do both its not as easy to do. ASP sites are compiled when ran into windows byte code and can only run on windows while php has its own byte code and can run anywhere and without a server. If your using windows the best option is ASP because of the visual IDE so your apps can be made as fast as possible. because of this corporations use it over any other language due to its easy to create nature. It also leads to a batch of coders who dont know how to code and rely on components and hand outs. You could say that ASP runs faster because you have to strong type the code so it does not need to guess the types on compile.
I have read an interesting article about a similar topic .... i think you must check it out it will help you to learn which one is better PHP or ASP.. revolutionary-technologies.com/blog/
php is open source and it is free downloadable (freely downloadable from from php.net and zend.com). php version 5.2.14 is available on Webserve.A dynamic Web page interacts with the user, so that each user visiting the page sees customized information. PHP can also be used to create dynamic web pages that are generated from information accessed from a MySQL database.we can also increase the memory limit in php.ini file.
Php is widely used for web development. Because it is efficient and effective because of the open source tools available for its support. Any beginners can make use of the online tutorials to learn this scripting language.
Have you considered Netbeans or Eclipse (I know Netbeans has a plugin for PHP) that's an IDE aimed more at the Open source languages. But to get those working for C or C++ you'd need cygwin for the debuggers. But to say there's no IDE for PHP is wrong just thought I'd make you aware.
Sorry I just wanted to rephrase that I am sorry, you didn't say there wasn't any IDE's for PHP but honestly Netbeans is (I think personally) one of the best IDE's out there. Though I have never used Eclipse. There is the Zend Studio Client which can plug into a Zend Server (an extension to a HTTP server) that can profile performance of your PHP applications on the web and show you codes which are taking longer to process through so you can spot problems much quicker. But to use some of Zend Servers more Advanced Features (all of them actually) you have to pay for a licence. Zend Client is pretty much like Visual Studio really (least I remember it being called that years ago in 2005/06).