PHP Tips and Tricks
LCA 2004
Jan.14, 2004. Adelaide
Rasmus Lerdorf
http://lerdorf.com/lca04.pdf Slide 1/62 Many Things January 13 2004
PHP is Many Things to Many People
o The BASIC of the Web o Web Template System o General-purpose Scripting Language o Advanced Application Framework o Application Server?
- 2 - Slide 2/62 Template System January 13 2004
o A mechanism to separate logic from layout. o The defining characteristic is where and how the intersection between logic and layout is done. o PHP is a general-purpose templating system. o Any general-purpose templating system will eventually become PHP.
- 3 - Slide 3/62 PHP is Big! January 13 2004
January 2004 Netcraft Report
o 46,067,743 Domains queried o 14,699,098 Domains. 1,330,821 IP addresses o PHP installed on 32% of all domains
Source: Netcraft
January 2004 Apache Module Report
o 9,286,904 Apache Servers surveyed o 5,010,035 (53.95%) PHP o 2,608,258 (28.09%) OpenSSL o 2,527,385 (27.21%) mod_ssl o 1,845,621 (19.87%) Frontpage o 1,597,830 (17.21%) mod_perl o 411,443 (4.43%) DAV o 380,012 (4.09%) mod_throttle o 360,440 (3.88%) mod_log_bytes o 355,235 (3.83%) mod_bwlimited o 327,263 (3.52%) mod_jk o 233,404 (2.51%) mod_fastcgi o 222,410 (2.39%) AuthMySQL Source: SecuritySpace.com
- 4 - Slide 4/62 Killer Apps! January 13 2004
Thousands of cool PHP apps out there. Some better than others. Here are some I use: o Gallery - http://gallery.menalto.com/ o SquirrelMail - http://squirrelmail.org o FudForum - http://fud.prohost.org/ o Serendipity