|
|
|
|
|
|
Expanding the Commercial Value of PHP to the Enterprise
Printer Friendly Version
Zend Technologies Whitepaper Executive Summary Web applications no longer exist solely in the realm of the Internet. The Web browser has, in fact, become the user interface of choice for growing numbers of enterprise functions, greatly expanding the range and focus for the development of Web-based solutions. In the enterprise, interactive Web applications are used in a variety of ways: Not only are the uses and functions of Web-based solutions within the enterprise expanding, but Web applications of all types are becoming increasingly complex, offering interactivity for the end-user, integration with other applications, and access to dynamic databases and live data sources. Thus, enterprise Web sites – whether running on intranets, extranets or the Internet – require increasingly sophisticated functionality, such as locating, updating, and aggregating information in and from databases; prompt response; security; and content management. These evolving business and user requirements are putting pressure on developers to rapidly extend and improve their Web application infrastructure and to quickly develop and deploy new products, features, and functionality. A Web scripting language provides this additional functionality, and PHP (PHP: Hypertext Preprocessor) is rapidly gaining popularity among enterprises who are seeking a Web application infrastructure for the rapid development of dynamic Web solutions. In the search for faster, easier ways to get Web applications online, the enterprise is following on the heels of Web site developers, ISPs, software developers, and other Internet companies. Because of its cross-platform portability, reliability, extensibility, and ease of use, many business enterprises are considering PHP for their preferred Web scripting language. While PHP has taken the Web development world by storm (recent Netcraft surveys report that PHP is now detected on more than five million Web domains), the continued success and increased commercial viability of PHP as an enterprise-scale scripting platform depends on the availability of products and services that effectively address the needs of enterprises, eBusinesses, commercial developers, and independent software vendors (ISVs). These needs include: Zend Technologies, the recognized leader in PHP technology, has exemplified its commitment to PHP and responded to the needs of the enterprise by creating a line of products and services designed to extend the reach and technical sophistication of PHP. Zend’s value-added products, services, and support make PHP increasingly attractive to high-profile enterprise users, eBusinesses, and ISVs, and ensure its commercial viability as an enterprise-scale scripting platform. What is PHP? PHP is an open source programming language used to build dynamic Web pages. A dynamic Web page is a page that interacts with the user so that each visitor to the page sees customized information. Dynamic Web applications are prevalent in commercial sites where the content displayed is generated from information accessed in a database or other external source. PHP scripts are embedded within a Web page along with HTML, similar to other scripting languages such as Microsoft’s Active Server Pages (ASP) or Sun Microsystems' Java Server Pages (JSP). Like ASP and JSP, PHP is a server-side language, meaning it runs on the Web server, rather than on the Web browser or other client. PHP can be used for any application development that uses a Web browser as the user interface. Because of user preferences for and familiarity with Web browsers, the use of browser-based solutions for mission-critical enterprise applications is increasing rapidly. A law office in Indianapolis, Indiana, for example, runs its billing and client management system in PHP. Pfizer Inc., the $34 billion a year pharmaceutical giant, used PHP to build an internal time and document tracking system for monitoring field trials of new drugs. These examples illustrate the fact that the market for Web applications extends far beyond the Internet. Why PHP? With hardly any publicity, PHP has swept the Web. According to the authoritative Netcraft survey of what technology is actually in use on the Web, PHP can now be found on more than five million domains, and is growing at a rate of up to 15% each month. PHP is available on over 36% of Apache Web servers – the most common server on the Web. The latest version of PHP, PHP 4, was downloaded 265,000 separate times in the first two months it was available. Why is PHP so popular? Programmers who work with PHP say it is: The rapid growth of PHP is driven by the explosive growth of server-based applications, which are rapidly replacing traditional client-based applications; market demand for an intuitive cross-platform, easy-to-use scripting language; and increasing recognition by the business community of the ability of open-source platforms to enable the free, stable, and rapid development of high-quality software. Enterprises are also now realizing the need for a server scripting platform to replace Java servlets. For most enterprises, time-to-launch is a primary consideration. It simply takes too long to build an application using JSP. PHP has a much lower and easier learning curve than Java, allowing for quicker development cycles – from proof-of-concept to final product design. Ideal for Dynamic Web Sites Back in the early days of the World Wide Web – the mid-1990s – all you needed to build a Web site was HTML and perhaps some GIF files. That was before e-commerce swept the Web, before Web sites grew to include hundreds, or in some cases thousands, of pages. Today, transaction-oriented, interactive Web sites are rapidly replacing sites built using static HTML, and Web masters are quickly realizing that trying to keep thousands of separate HTML pages updated is an impossible task. Not surprisingly, many Web sites now use HTML or XML to display information while storing their data in a database. This allows a company to update a piece of information – say a description of an item in a catalog, or a price – only once, in the database, and have the change reflected on every page that uses that information. PHP makes it easy to do this: just insert the PHP script in the HTML, and the data will appear in the proper place on the page. PHP supports databases from companies such as Oracle, Informix, Sybase, IBM, and Microsoft, as well as open source databases such as MySQL and PostgreSQL. PHP: Easy to Learn, Easy to Use For software engineers, the choice of programming language is a highly personal choice. Programmers are always looking for tools that make their lives easier. The increasing shift to PHP among Web application developers is a testament to PHP’s efficiency and ease of use. For programmers who know C, C++, or Java, PHP is extremely easy to learn. Programmers say PHP is very intuitive and even people who are not experienced programmers can quickly pick up the basics. What’s more, with the current tight labor market for programmers, some Web development companies are finding that they can hire people who are not programmers, teach them PHP, and have them producing usable code within days. Designed for the Web While there are many available tools for building Web sites, most were originally designed for some other purpose. Java, for instance, started out as a language geared towards client-side applets, and not server-side servlets. The Perl programming language started life as a system administration tool, and was later shoehorned into its role as a Web development language, resulting in structural problems such as memory leaks. PHP is easy to use for Web development because it has been designed from the outset for the Web environment. That means that PHP has many built-in functions that make Web programming simpler, so that programmers can focus on the logic of programming without wasting precious development time. As a simple example, Web browsers interpret characters like the ampersand (&) as special HTML code. Programmers then have to convert the ampersands to their special HTML representation, which is "&". Languages such as Perl or Allaire’s Cold Fusion require complicated regular expressions, similar to global search and replacements, PHP has simple functions already built in to do this. |
| |
|
· Intranet eXchange Discussion Board · Advice and Opinions |
Intranet Journal's Tutorials |
|
Managing Editor |