PHP: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
m (Expanded See Also section)
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}


'''PHP''' is a server-side html-embedded scripting language. It lets you write simple scripts right in your HTML files much like JavaScript does, except, unlike Ja
'''PHP''' is a server-side html-embedded [[scripting language]]. It lets you write simple scripts right in your HTML files much like JavaScript does. Unlike JavaScript, PHP is not browser-dependant since its code is executed in the webserver and not in the webbrowser.
vaScript PHP/FI is not browser-dependant. It can replace cgi-scripting with Perl, Python etc. in many occasions. <br /> At Tecfa, we use PHP (together with [/guides/mysql/ MySql]) to build virtual libraries and educational groupware and more ...


== PHP @ TECFA ==
A lot of educational [[portalware]] is written in PHP, i.e. with the popular [[LAMP]] / [[WAMP]] software bundle.


=== PHP versions at TECFA ===
== See Also ==
 
* All entries [[:category:PHP|tagged with PHP]]
 
* [[PHP links]] page (nothing but links)
=== PHP teaching at TECFA ===
* [[LAMP]] and [[WAMP]] for PHP-related software (Apache/PHP/MySQL)
 
* [[PHP tutorial - basics]]
* [examples/ Example Directory] Some of the stuff might be useful to beginners, e.g. a MySQL/PHP example (under construction) or how to generate VRML
* [[PHP-MySQL tutorial -basics]]
* '''TECFA Slides'''[../tie/tie.html
* [[PHP - MySQL - XML tutorial - basics]]
 
* [[Python]]
== Documentation ==
 
=== Manuals ===
 
* [http://www.php.net/docs.php Manuals at the official] PHP site. '''This is your best bet !'''
* [http://fr.php.net/docs.php Manuals at the official] PHP site (france mirror)
* [http://de.php.net/docs.php Manuals at the official] PHP site (germany mirror)
* '''[/guides/php/php5/ LOCAL COPY of the 5.x manual]''' (April 2005).
* '''[/guides/php/php3/manual/index.html LOCAL COPY of the 4.3.x manual]''' (March 2004).
* '''[/guides/php/php3/bigmanual.html LOCAL COPY of the 4.3.x manual in ONE gzipped File]''' (1.4MB!, March 2004).
* '''COPIE LOCALE''' [/guides/php/php5_fr/ du manuel fran�ais PhP 5.x] (Mars 2005)
* '''COPIE LOCALE''' [/guides/php/doc_fr/ du manuel fran�ais PhP 4] (Mars 2003)
 
=== Specifications ===
 
* Same as the manual. See the [http://www.php.net/ PHP Main Page] (PHP Home Site)
 
=== FAQ's ===
 
* [http://www.php.net/FAQ.php3 FAQ (English)]
* [http://www.phpinfo.net/?p=docs&rub=faq PHP3 FAQs en fran�ais [french]]
 
=== Tutorials / Introductory Materials in English ===
 
(there are many more, see the major php and webmaster's sites.)
 
* [http://www.webreference.com/programming/php/corephp/ An Introduction to PHP] by L. Atkinson and Z. Suraski, webreference sept. 2003. Good history / propaganda text.
* [http://www.builder.com/Programming/PHPIntro/?dd.bu.bb.0805.03 Introduction to PHP] (c|net tutorial by A. Trachtenberg and D.Sklar)
* The [http://www.devshed.com/Server_Side/PHP  PhP series at www.devshed.com], e.g. [http://www.devshed.com/Server_Side/PHP/DB_Basics/page1.html WebSite Database Basics With PhP and MysQL]. (by T. Kehoe )
* Webmonkey has a series, e.g. [http://www.hotwired.com/webmonkey/99/21/index2a.html?tw=frontdoor PHP/MySQL Tutorial ] (by G. Merall at Webmonkey/HotWired) * [http://www.hotwired.com/webmonkey/99/25/index2a.html?tw=hf199926 Site Navigation with PHP] * [http://www.hotwired.com/webmonkey/99/25/index3a.html?tw=hf199926 Image Creation with PHP] * [http://hotwired.lycos.com/webmonkey/00/05/index2a.html Authenticate and Track Users with PHP]
* [http://www.phpbuilder.com/ phpbuilder.com] series
 
=== Tutoriels en français ===
 
(Voir aussi les sites PHP [#liensfr  ci-dessous] !)
 
* [http://www.linux-france.org/article/devl/php3/tut/php3_tut.html Tutoriel de Christophe Lauer]
* "http://lignes.ringard.org/linux/php.html" (lien mort) Introduction aux pages web actives avec PHP et MySQL par Olivier Martineau
* [http://www.phpfrance.com/tutorials/ Serie de tutoriels sur phpfrance]
* '''TECFA Slides'''<nowiki>: </nowiki>[../tie/tie.html Regardez ici sous PHP Trail]
 
=== Online documentation ===
 
* See [http://www.php.net/news.php3 "in the News"] at the [http://www.php.net/ PHP Site]. All are worth reading but for an introduction consider [http://www.performancecomputing.com/unixintegration/9802/9802f1.htm Building A Cross-Platform Web Infrastructure] (also [http://www.performancecomputing.com/unixintegration/9803/9803f1.htm Part II]).
 
=== Printed Books ===
 
There are many and I can't keep track.
 
* Lea Chris , Choi Wankyu , Allan Kent, Ganesh Prasad, Chris Ullman (2000), Beginning PHP4, Wrox Press Inc; ISBN: 186100373
* (French translation of above): Lea Chris , Choi Wankyu , Allan Kent, Ganesh Prasad, Chris Ullman (2001),Ma�trisez PHP4, Wrox - Campus Press
* Dave Medinets, David Medinets (1999), Php3 : Programming Browser-Based Applications, McGraw-Hill; ISBN: 0071353429
* Jesus Castagnetto, Harish Rawat, Sascha Schumann, Chris Scollo, Deepak Veliath (Dec 1999), Professional Php Programming, Wrox Press Inc; ISBN: 1861002963
 
=== Installation ===
 
Needs some more
 
* [http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP] (@ devshed)
* [http://tecfa.unige.ch/guides/tie/html/inst-serverset/inst-serverset.html Installation serveur Apache-PHP-Mysql] (Tecfa Slides, OUTDATED for php4 only ?)
 
=== Special Topics ===
 
* [http://www-128.ibm.com/developerworks/xml/library/x-pullparsingphp.html Pull parsing XML in PHP] by Elliotte Rusty Harold, IBM developper works article, 30 jan 2007.
* [http://www.phpbuilder.com/columns/ian_gilfillan20050801.php3 Fundamentals of PHP Superglobals] (PHPBuilder, 2005)
* [http://php.group.stumbleupon.com/forum/37465/ [Tutorial] Character encoding]. A short and good tutorial on how to code for UTF-8 (not as easy as it sounds, since there are several things/layers to think about [12/2006]
* [http://gtk.php.net/ PHP-GTK]. PHP-GTK is an extension for the PHP programming language that implements language bindings for GTK . It provides an object-oriented interface to GTK classes and functions and greatly simplifies writing client-side cross-platform GUI applications. (Site has additional links to tutorials, examples, etc.). See also a [http://www.phpbuilder.com/columns/hunter20040826.php3 PhpBuilder article] (9/2004)
* [http://www.alistapart.com/stories/phpcms/ Manage your content with PhP], by Chistopher Robbins, A List Apart, 2002
* [http://www.zend.com/php5/articles/php5-xmlphp.php XML in PHP 5 - What's News ?] By Christian Stocker. March 18, 2004. Good introduction to SAX, DOM, Xpath and XSLT with php 5.
* [http://www.tutorials.de/tutorials176534.html Einf�hrung von XML mittels SimpleXML und DOM], at tutorials.de by
* [http://www.phpmag.net/itr/online_artikel/psecom,id,503,nodeid,114.html PHP 5 Meets XML and the DOM] PHP Magazine - International Edition Issue: 02.2004 - not very usefull because code listings are missing.
* [http://php5.bitflux.org/phpconf2004/title.php XML in PHP5] also by Christian Stocker, Mai 2004, Many slides from the php-conference 2004. Very good for people who like to work best with examples.
* [http://www.topxml.com/php_xml_dom/default.asp PHP and XML Introduction] at TopXML
* [http://xmlsoft.org/ The XML C library for Gnome] qives some infos about the "dom" package of PHP 4.x (OUTDATED for PHP 5)
* [http://www.zend.com/zend/art/parsing.php Parsing XML with PHP] (OUTDATED for PHP 5)
* [http://www.phpbuilder.com/columns/matt20001228.php3 DOM XML: An Alternative to Expat] (OUTDATED for PHP 5)
* [http://www.zez.org/article/articleview/26/ Interfacing with Java from PHP]
* [http://www.phpbuilder.com/columns/david20000512.php3 Templates the PHP Way] by David Orr, PHPBuiler
* [http://www.devshed.com/Server_Side/PHP/PHPLib/ PHPLib Templates], by Benjamin D. Smith, DevShed
* [http://www.webreference.com/programming/php/regexps/ PHP and Regular Expressions 101], tutorial @ webreference
* [http://phpbuilder.com/columns/beginning_ajax20070104.php3 Beginning Ajax with PHP: From Novice to Professional]. A tutorial by Lee Babin (2006).
 
== Software ==
 
Various:
 
* [http://www.php.net/downloads.php PHP downloads] Source code, PHP versions, logos and documentation to download.
* [http://www.manucorp.com/ Easy Php] Un set pour installer Apacher/PhP/MySQL chez soi sur Win
* There are other packages integrating php, mysql and many more things in one install, e.g. [http://www.abriasoft.com/ the Merlin Server]
* [http://www.phpedit.net/ PhPEdit, a full featured IDE for Windows]
* [http://phpxref.sourceforge.net/ PhPXRef] a Perl script that makes crossreferences and extracts documentation from php code. Useful !
* [http://www.nusphere.com/products/ NuSphere Pro Advantage] Professional Internet Application Platform with Php/Perl/MysQL/Apache/WebMin ($500)
 
Development frameworks:
 
* [http://framework.zend.com/ Zend framework]
* [http://www.phparch.com/zftut/ Introductory tutorial for the Zend framework]
* [http://www.codeigniter.com/ ]Code Igniter (PHP4 or better) - OpenSource
* [http://del.icio.us/rortelli/framework Roberto's links]
 
== Libraries and examples ==
 
* See [../portals/portals-source our Portal's page]. Many portals have been written in PhP, e.g. postnuke, nuke, drupal, geeklog, phpweblog, phpwebsite
* [examples/ Tecfa Example Directory] Some of the stuff might be useful to beginners,
* [http://www.hotscripts.com/PHP/index.html HotScripts.com]
* [http://phpclasses.org Phpclasses.org]. Large and useful collection of classes ! (requires registration, optional mailing list)
* [http://webdev.berber.co.il/ Berber's WebDev Site] large collection, including hints for programmers
* [http://px.sklar.com/ PHP Code Exchange site]. Good collection
* [http://webreference.com/perl/xhoo/php1/ phpHoo] a Yahoo like directory with PHP
* [http://phpclasses.upperdesign.com/browse.html/package/180 phpXML] An Xpath class (does not need DOM XML or Sablotron, etc.)
* [http://www.ritze.com/kurzPHP/mailen.html Mailen mit PHP (in German). ]Don't use mail() at TECFA, sendmail is not configured. See a [/lib/php/smtp-mail lib some use here]
* [http://www.zend.com/zend/tut/tut-xml-rpc-client.php XML-RPC Client]
* [http://phphtmllib.newsblob.com/ phpHtmlLib], A set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html 'widgets' .


== Links ==
== Links ==


=== English ===
* [http://www.php.net/ PHP Main Page] (PHP Home Site)
 
* [http://en.wikipedia.org/wiki/Php PHP] (Wikipedia)
For more see the [http://www.php.net/links.php INDEX] at www.php.net
 
* [http://www.phphub.com/ PhP HUB], news, tutorials, articles, (new 2003)
* [http://www.php.net/ PHP MAIN PAGE]
* [http://php.gotocity.com/lists/4/Web/ A Mailing List Archive]
* [http://php.resourceindex.com/ The PhP resource Index]
* [http://www.devshed.com/c/b/PHP DevShed's PHP resources] smaller site (3/99)
* [http://www.php-center.de/ PHP-Center] ( German Site in German )
* [http://phpclasses.upperdesign.com PHP classes repository] (one of the most useful sites for finding reusable code)
* [http://phpclub.unet.ru Club of the developers PHP] Russian site
* [http://www.webreference.com/programming/php/ PHP - Webreference.com] Good Meta Index
* [http://www.wdvl.com/Authoring/Languages/PHP/  PHP - at Web Developper's Virtual Library (wdvl)]
 
=== Fran�ais ===
 
(pas vraiment test�s)
 
* [http://www.phpindex.com/ La passerelle fran�aise des Technologies PHP]
* [http://www.ilovephp.com/ I Love PHP]
* [http://www.phpinfo.net/ phpinfo.net: Site d'information PhP/MySQL]
* [http://www.phpfrance.com/ PHP France]
* [http://www.toutestfacile.com/phpinit.php?tef_site=php PhP facile ]
* [http://www.phpmania.net/ PhPMania] (index de sites php)
 
=== German ===


* [http://www.dynamic-webpages.de/ Dynamic WebPages]
[[Category: programming]]
* [http://www.php-homepage.de/ PHP-Homepage.de]


[[Category: AMP]]


[[Category:technologies]]
[[Category: PHP]]

Latest revision as of 12:09, 1 November 2015

Draft

PHP is a server-side html-embedded scripting language. It lets you write simple scripts right in your HTML files much like JavaScript does. Unlike JavaScript, PHP is not browser-dependant since its code is executed in the webserver and not in the webbrowser.

A lot of educational portalware is written in PHP, i.e. with the popular LAMP / WAMP software bundle.

See Also

Links