|
Php Programming Language Directory @ eIT.in
eIT.in – everything IT is in Here eIT Directory
|
|
Hot & Cool
Serkai – The Web Cooperative
AntiSE – The Anti Search Engine
GeoDig – Businesses by Geography
Quali5 – Own a Keyword Forever
Follars – Making Money from Open Source
Billion Dollar Questions – and answers @ Billdoll.com
The Anti Bush Register – sign the register now! Advt |
|
eIT.in – 100’s of categories, 1000’s of IT resources
|
|
Operating Systems, Programming & Development, Databases, Legacy & Mainframe, Internet |
|
Computer hardware and accessories, performance & maintenance, storage… |
|
Networking architecture, infrastructure, administration, standards & protocols…
|
|
ITIL, IT infrastructure management…
|
|
Information technology & software support, administration, software testing, data centers…
|
|
Information technology & software across industries
|
|
Information technology & software across functional domains
|
|
IT Organizations & Industry Network
IT associations & organizations, IT related directories and trade networks…(Software Links Exchange)
|
|
Information technology & software architecture and design, IT strategy
|
|
IT news, updates, events & trade shows |
|
|
|
Related Links
Mainframes (Mainframe), AML, Analytics, Databases, EAI, BPO, CRM, Legacy, Legacy 2 Web, Middleware, IT Software Outsourcing & Offshoring Directory, Follars
|
|
Php Programming Directory @ eIT.in
This section of eIT.in provides web resources for Php programming language.
Add Links: If you have a web site that you wish to include in this database, do let us know the details by sending a note about your URL to narsi@esource.in. We’ll quickly review the web site, and if found relevant, add it to the database. We look forward to web site owners and link exchange partners to submit URL. Thanks!
..
..
Other IT Web Sites from eIT.in
Content derived from Wikipedia article on PHP
PHP From Wikipedia, the free encyclopedia
PHP Developer: The PHP Group Latest release: 5.2.0 / November 2, 2006 OS: Cross-platform Use: Scripting language License: PHP License Website: http://www.php.net/ PHP (PHP: Hypertext Preprocessor) is a reflective programming language originally designed for producing dynamic Web pages.[1] PHP is used mainly in server-side application software, but can be used from a command line interface or in standalone graphical applications.
PHP competes with Visual Basic and C++ as the third most popular programming language behind Java and C, based on world wide availability of practitioners, courses and vendors.[2] Available under the PHP License, PHP is an open source language and is considered to be free software by the Free Software Foundation.
Contents
1 History 2 Usage 2.1 Server-side scripting 2.2 Command-line scripting 2.3 Client-side GUI applications 3 Syntax 3.1 Data types 3.2 Objects 4 Resources 4.1 Libraries 4.2 Source code Encoders, Optimisers and Accelerators 4.3 Debuggers and profilers 4.4 Templating engines 4.5 PEAR 4.6 PECL 5 Support 6 Criticism 7 Future development 8 See also 9 Notes and references 10 External links
History PHP was written as a set of CGI binaries in the C programming language by the Danish-Canadian programmer Rasmus Lerdorf in 1994, to replace a small set of Perl scripts he had been using to maintain his personal homepage.[3] Lerdorf initially created PHP to display his résumé and to collect certain data, such as how much traffic his page was receiving. "Personal Home Page Tools" was publicly released on June 8, 1995 after Lerdorf combined it with his own Form Interpreter to create PHP/FI.[4]
Zeev Suraski and Andi Gutmans, two Israeli developers at the Technion - Israel Institute of Technology, rewrote the parser in 1997 and formed the base of PHP 3, changing the language's name to the recursive initialism "PHP: Hypertext Preprocessor". The development team officially released PHP/FI 2 in November 1997 after months of beta testing. Public testing of PHP 3 began immediately and the official launch came in June 1998. Suraski and Gutmans then started a new rewrite of PHP's core, producing the Zend engine in 1999.[5] They also founded Zend Technologies in Ramat Gan, Israel, which actively manages the development of PHP.
In May 2000, PHP 4, powered by the Zend Engine 1.0, was released. The latest version as of September 2006 is 4.4.4. PHP 4 is currently still supported by security updates for those applications which require it.
On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II. PHP 5 included new features such as:[6]
Robust support for Object-Oriented Programming The PHP Data Objects extension, which defines a lightweight and consistent interfaces for accessing databases Performance enhancements taking advantage of the new engine Better support for MySQL through a completely rewritten extension Embedded support for SQLite Integrated SOAP support Data iterators Error handling through Exceptions The latest version as of November 2006 is PHP 5.2.0.
Usage PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, but command-line scripting and client-side GUI applications are part of the three primary uses of PHP as well. PHP can be deployed on any web server and on almost every OS platform free of charge. The PHP Group also provide complete source code for users to build, customize and extend for their own use.
Server-side scripting Originally designed to create dynamic web pages, PHP's principal focus is server-side scripting. While running the PHP parser with a web server and web browser, the PHP model can be compared to other server-side scripting languages such as Microsoft's ASP.NET system, Adobe ColdFusion, Sun Microsystems' JavaServer Pages, Zope, mod_perl and the Ruby on Rails framework, as they all provide dynamic content to the client from a web server. To more directly compete with the "framework" approach taken by these systems, Zend is working on the Zend Framework - an emerging (as of June 2006) set of PHP building blocks and best practices; other PHP frameworks along the same lines include CakePHP and Symfony.
The LAMP architecture has become popular in the Web industry as a way of deploying inexpensive, reliable, scalable, secure web applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and MySQL. PHP can be used with a large number of relational database management systems, runs on all of the most popular web servers and is available for many different operating systems. This flexibility means that PHP has a wide installation base across the Internet; over 18 million Internet domains are currently hosted on servers with PHP installed.[7]
Examples of popular server-side PHP applications include phpBB, WordPress and MediaWiki.
Command-line scripting PHP also provides a command line interface SAPI for developing shell and desktop applications, log parsing, or other system administration tasks. It is increasingly used on the command line for tasks that have traditionally been the domain of Perl, Python, awk, or shell scripting.
Client-side GUI applications PHP provides bindings to GUI libraries such as GTK+ and text mode libraries like ncurses in order to facilitate development of a broader range of cross-platform GUI applications.
Syntax Wikibooks Programming has more about this subject: PHPPHP primarily acts as a filter. The PHP program takes input from a file or stream containing text and special PHP instructions and outputs another stream of data for display. As of PHP 4, the PHP parser compiles input to produce bytecode for processing by the Zend Engine, giving improved performance over its interpreter predecessor.
The usual Hello World code example for PHP is:
<?php echo 'Hello, World!'; ?> PHP only parses code within its delimiters, such as <?php ?>. Anything outside its delimiters is sent directly to the output and not parsed by PHP. The example above is equivalent to the following text (and indeed is converted into this form):
Hello, World! The primary use of this is to allow PHP statements to be embedded within HTML documents, for example:
<?php //statements here ?> regular html here <?php //more php statements ?> Variables are prefixed with a dollar symbol and a type does not need to be specified in advance. Both double-quoted ("") and heredoc strings allow the ability to embed the variable's value into the string.
PHP treats new lines as whitespace, in the manner of a free-form language (except when inside string quotes). Statements are terminated by a semicolon, except in a few special cases.
PHP has three types of comment syntax: it allows multi-line comments using the /* */ construction as in C, and also allows comments which terminate at the end of the line using the // and # characters (as in C++ and Perl respectively).
Data types PHP stores whole numbers in a platform-dependent range. This range is typically that of 32-bit signed integers. Integer variables can be assigned using decimal (positive and negative), octal and hexadecimal notations. Real numbers are also stored in a platform-specific range. They can be specified using floating point notation, or two forms of scientific notation.
PHP has a native Boolean type, named "boolean", similar to the native Boolean types in Java and C++. Using the Boolean type conversion rules, non-zero values can be interpreted as true and zero as false, as in Perl.
The null data type represents a variable that has no value. The only value in the null data type is NULL.
Arrays are heterogeneous, meaning a single array can contain objects of more than one type. They can contain any type that PHP can handle, including resources, objects, and even other arrays. Order is preserved in lists of values and in hashes with both keys and values, and the two can be intermingled.
Variables of the "resource" type represent references to resources from external sources. These are typically created by functions from a particular extension, and can only be processed by functions from the same extension. Examples include file, image and database resources.
Objects Basic object-oriented functionality was added in PHP 3. However, handling of objects was completely rewritten for PHP 5, allowing for better performance and more features. In previous versions of PHP, objects were handled like primitive types. The drawback of this method was that semantically the whole object was copied when a variable was assigned, or passed as a parameter to a method. In the new approach, objects are referenced by handle, and not by value. PHP 5 introduced private and protected member variables and methods, along with abstract classes and abstract methods. It also introduced a standard way of declaring constructors and destructors similar to that of other object-oriented languages, such as C++, and an exception handling model similar to that of other programming languages.
The static method and class variable features in Zend Engine 2 do not work the way some expect. There is no virtual table feature in the engine, so the static variables are bound with a name at compile time instead of with a reference.
If the developer asks to create a copy of an object by using the reserved word clone, the Zend engine will check if a __clone() method has been defined or not. If not, it will call a default __clone() which will copy all of the object's properties. If a __clone() method is defined, then it will be responsible to set the necessary properties in the created object. For convenience, the engine will supply a function that imports all of the properties from the source object, so that they can start with a by-value replica of the source object, and only override properties that need to be changed.
Resources
Libraries Main article: List of PHP libraries PHP includes a large number of free and open source libraries with the core build. PHP is a fundamentally Internet-aware system with modules built in for accessing FTP servers, many database servers, embedded SQL libraries such as embedded MySQL and SQLite, LDAP servers, and others. Many functions familiar to C programmers such as those in the stdio family are available in the standard PHP build.
PHP extensions have been written to add support for the Windows API, process management on Unix-like operating systems, multibyte strings (Unicode), cURL, and several popular compression formats. Some more unusual features include integration with Internet relay chat, and dynamic generation of images and Adobe Flash content. Some additional extensions are available via the PHP Extension Community Library.
Source code Encoders, Optimisers and Accelerators As with many scripting languages, PHP scripts are normally kept as human-readable source code, even on production webservers. While this allows flexibility, it can raise issues with security and performance.
Encoders offer some source code security and enable proprietary software by hindering source code reverse engineering. Encoders fall broadly into two types; those that hide source code and those that compile code into native bytecode. The downside of this latter approach is that a special extension has to be installed on the server in order to run encoded scripts, however the approach of encoding compiled code and use of an extension offers typically the best performance, security and opportunity for additional features that may be useful for developers. Compiled code solutions may exploit the potential for increased security through the use of their own execution engine, although some simpler solutions rely on the regular PHP engine to execute the compiled code. The most commonly used packages for source code protection are from Zend Technologies and ionCube Ltd.
Code optimizers improve the quality of the compiled code by reducing its size and making changes that can reduce the execution time and improve performance. The nature of the PHP compiler is such that there are often many opportunities for code optimizaton.
Accelerators offer performance gains by caching the compiled form of a PHP script in shared memory to avoid the overhead of parsing and compiling the code every time the script is run. They may also perform code optimization to provide increased execution performance. Both commercial (e.g. Zend Platform) and open source accelerators (e.g. xcache, eAccelerator, APC) are available.
Debuggers and profilers PHP debuggers and profilers allow PHP developers to quickly and accurately analyse PHP code for potential and noted problems and bottlenecks. Examples include APD and xDebug.
Templating engines Templating engines provide macros which allow PHP applications to uniformly identify common variables. One popular templating engine is Smarty.
PEAR The PHP Extension and Application Repository (PEAR) project aims to provide reusable libraries and components for PHP development. PEAR projects are usually written in PHP code using the Object-oriented programming paradigm.
PECL The PHP Extension Community Library (PECL) project provides extensions to the PHP language. PECL extensions are written generally in C, using the Procedural programming paradigm.
Support PHP has a formal development manual that is maintained by the free software community. In addition, answers to most questions can often be found by doing a simple internet search. PHP users assist each other through various media such as chat, forums, newsgroups and PHP developer web sites. In turn, the PHP development team actively participates in such communities, garnering assistance from them in their own development effort (PHP itself) and providing assistance to them as well. There are many help resources available for the novice PHP programmer.
Criticism Criticisms of PHP include those general criticisms ascribed to other Scripting languages and dynamically typed languages.
PHP has traditionally inserted data received over the network directly into the language namespace ("register_globals"), leading to confusion between trusted and untrusted data, and hence innumerable security holes in PHP applications. PHP has traditionally used features such as "magic_quotes_gpc" and "magic_quotes_runtime" which attempt to escape apostrophes in strings in the assumption that they will be used in databases, to prevent SQL injection attacks. This leads to confusion over which data is escaped and which is not, and to problems when data is not in fact used as input to a database. PHP encourages programmers to output data directly into HTML pages without first encoding the data string as HTML. This leads to Cross-site scripting security holes appearing frequently in PHP applications. PHP does not have native support for Unicode or multibyte strings, making internationalization of PHP software difficult. PHP does not enforce the declaration of variables prior to their use, and variables which have not been initialized can have operations (such as concatenation) performed on them; an operation on an uninitialized variable raises an E_NOTICE level error, but this is hidden by default. PHP has no namespace support, with all PHP functions sharing the same global namespace. PHP's type checking is very loose, potentially causing problems. Variables in PHP are not really considered to have a type, in general. The standard function library lacks internal consistency. Many functions perform relatively similar actions and have different name standards and argument orders. For example, strpos($haystack, $needle) vs. in_array($needle, $haystack), and strcasecmp vs. stristr. Some PHP extensions use libraries that are not threadsafe, so rendering with Apache 2's Multi-Processing Module or Microsoft's IIS in ISAPI mode may cause crashes.[8]
Future development PHP 6, in development as of October 2006, aims to address some of PHP 5's shortcomings.[9]
Native Unicode support will be added; The magic_quotes option will be removed; The register_globals option will be removed; The safe_mode option will be removed. In addition, there has been discussion of adding namespace support.
See also Free software Portal Paamayim Nekudotayim Standard PHP Library Comparison of programming languages List of web application frameworks Heredoc PHP on Wikiversity Smarty PHP accelerator ADOdb Phalanger (compiler) PhpBB List of PHP editors
Notes and references Kerner, Sean Michael. "Is PHP The Cure For The 'Broken' Web?", internetnews.com, September 13, 2006. Kerner, Sean Michael. "Microsoft Opens PHP Door", internetnews.com, October 31, 2006. Sweat, Jason E (2005). Guide to PHP Design Patterns. PHP|architect. ISBN 0-9735898-2-5. Alshanetsky, Ilia (2005). Guide to PHP Security. PHP|architect. ISBN 0-9738621-0-6. Shiflett, Chris (2005). Essential PHP Security. O'Reilly Media. ISBN 0-596-00656-X. Ullman, Larry (2003). PHP and MySQL for Dynamic Web Sites, 1st Edition, Peachpit Press. ISBN 0-321-18648-6. ^ Error on call to Template:cite web: Parameters url and title must be specified. PHP Manual title = Introduction. Retrieved on 2006-11-15. ^ http://www.tiobe.com/tpci.htm ^ Lerdorf, Rasmus (2006-09-15). Re: There ARE other scriping languages besides PHP. Slashdot.org. Retrieved on 2006-09-15. ^ Lerdorf, Rasmus (1995-06-08). "Announce: Personal Home Page Tools (PHP Tools)". comp.infosystems.www.authoring.cgi. (Google Groups). Retrieved on 2006-09-17. ^ Zend Engine version 2.0: Feature Overview and Design. Zend Technologies Ltd.. Retrieved on 2006-09-17. ^ http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html ^ http://www.php.net/usage.php ^ http://phplens.com/phpeverywhere/fastcgi-php ^ http://www.php.net/~derick/meeting-notes.html
External links PHP homepage Zend homepage - Instigators of modern PHP development, Zend PHP framework development, Zend Development Studio application comp.lang.php newsgroup PHP at the Open Directory Project – An active listing of PHP links. Patterns for PHPA pattern collection site. Retrieved from "http://en.wikipedia.org/wiki/PHP" Categories: Curly bracket programming languages | Free compilers and interpreters | Imperative programming languages | Macro programming languages | Object-oriented programming languages | PHP programming language | Procedural programming languages | Programming languages | Scripting languages | Recursive acronyms
End of Wikipedia content, http://en.wikipedia.org/wiki/PHP
Web Resources for PHP Programming Language
|
|
More eIT.in References
§ The A-Z of Programming Languages § A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z § P · Pascal · Perl · PHP Programming · Phantom · Pike · PiXCL · PL/B · PL/I · Pliant · Pop · Prolog · Python
Main Sections @ eIT.in
o Mainframe & Legacy Operating Systems · Midrange · Programming & Development Directory § The A-Z of Programming Languages § A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z
|
|
About eIT.in
eIT.in is a comprehensive directory for everything IT & Software. It contains over 500 categories, and well over 10,000 web resources
eIT.in provides directory and web links resources for the IT, software, programming & software development domains. It is intended to be useful for application, applications programmers & developers, software technology programmer & developer, databases software development, administrators & DBAs, application developers, strategy architect, design specialists and architects, migration, integration, customization consultants and customisation analysts, administration, maintenance & support professionals, outsourcing consultant, bespoke solutions programming developers & coders, project management & functional analyst, and for system administrators, testing & quality control engineers. It will make an effort to provide resources on tutorial/tutorials, guide, guides, tips, faq, faqs on these topics.
eIT.in content is available under GPL: All directory content at mainframe.in is under the General Public License (GPL). Under this license, anyone is free to copy & use any amount of directory content @ eIT.in, make changes to it and use it in any way they wish, as long as they also allow the same rights to anyone else for this content. The concept of GPL has been adapted from the GNU GPL of the Free Software Movement. To those who wish to use content from eIT.in, our only request is that they acknowledge the source and provide a link back to eIT.in. This is only a request!
Countries & Cities Where eIT.in Provides Assistance
eIT Cities: Bangalore, Chennai, Mumbai, Bhubaneswar, Mysore, Kolkaka, Delhi, Pune, Trivandrum, Hyderabad
You are the $$$ Section of eIT.in
Reference
GeoDig – Get Local!
Have you checked out the GeoDig directories for over 30 countries? GeoDig provides useful local and regional web resources for over 200 cities around the world. See the list of cities and countries for which GeoDig provides locality-specific web resources.
North America USA - Alabama (AL) > Birmingham; Alaska; Arkansas (AR) > Little Rock; Arizona (AZ) > Phoenix, Las Vegas, Tucson; California (CA) > Los Angeles, San Francisco, Sacramento, Fresno, Bakersfield; Colorado, CO > Denver; Connecticut, CT > Hartford; District of Columbia, DC > Washington DC; Delaware (DE) > Wilmington; Florida > Miami, Orlando, Tampa, Orlando, Sarasota, West Palm Beach, Jacksonville; Georgia > Atlanta; Hawaii > Honolulu; Idaho; Illinois > Chicago; Indiana > Indianapolis; Iowa; Kansas (KS); Kentucky (KY) > Louisville; Louisiana (LA) > New Orleans, Baton Rouge; Maine; Maryland (MD) > Baltimore; Massachusetts > Boston, Springfield; Michigan > Detroit, Grand Rapids; Minnesota > Minneapolis-St. Paul; Mississippi (MS); Missouri (MO) > Kansas City, St. Louis; Montana; Nebraska (NE) > Omaha; Nevada (NV) > Las Vegas; New Hampshire; New Jersey (NJ) > Jersey City, Newark; New Mexico (NM) > Albuquerque; New York > New York, Buffalo, Rochester, Albany, Syracuse; North Carolina (NC) > Raleigh-Durham, Charlotte, Greensboro; North Dakota; Ohio> Columbus, Cincinnati, Cleveland, Toledo, Youngstown, Dayton; Oklahoma (OK) > Oklahoma City, Tulsa; Oregon > Portland; Pennsylvania > Philadelphia, Allentown, Pittsburgh, Harrisburg, Scranton, ; Rhode Island (RI) > Providence; South Carolina (SC) > Greenville; South Dakota; Tennessee (TN) > Knoxville, Memphis, Nashville; Texas > Austin, Dallas, Houston, San Antonio, El Paso, Austin, McAllen; Utah (UT) > Salt Lake City; Vermont; Virginia (VA) > Norfolk, Richmond; Washington > Seattle; West Virginia; Wisconsin (WI) > Milwaukee; Wyoming Canada - Vancouver, Montreal, Toronto, Calgary, Ottawa-Gatineau, Edmonton, Quebec City, Winnipeg, Hamilton, London
You are the $$$ Section of eIT.in
Europe - UK - London, Glasgow, Manchester, Birmingham, Liverpool, Sheffield, Leeds, Bristol, Edinburgh, Leicester; France - Paris, Marseille, Lyon, Toulouse, Nice, Nantes, Strasbourg, Montpellier, Bordeaux; Germany - Frankfurt (Frankfurt am Main), Munich (München), Berlin, Düsseldorf, Hamburg, Cologne (Köln), Essen, Dortmund, Stuttgart, Bremen, Duisburg, Hannover, Nürnberg (Nuremberg), Dresden, Leipzig; Italy - Milan (Milano), Rome (Roma), Napoli (Naples), Torino (Turin), Palermo, Bologna, Firenze (Florence), Genova (Genoa); Spain - Madrid, Barcelona, Valencia, Sevilla, Zaragoza, Malaga, Murcia, Las Palmas, Bilbao; Scandinavia - Finland - Helsinki (Helsingin), Espoo, Tampere (Tampereen), Vantaa, Turku, Oulu, Sweden - Stockholm, Goteborg (Göteborg), Malmo (Malmö), Uppsala, Vasteras (Västerås), Denmark - Copenhagen (Københavns), Aarhus (Århus), Odense, Aalborg (Ålborg), Norway - Oslo, Bergen, Stavanger, Trondheim; Benelux - Belgium - Brussels (Brussel), Antwerp (Antwerpen), Ghent (Gent, Gand), Charleroi, Liège (Liege), Netherlands - Amsterdam, Rotterdam, Utrecht, Eindhoven, Tilburg, ‘s-Gravenhage (sGravenhage), Groningen, Luxembourg - Luxembourg City; Portugal – Lisbon; Greece – Athens; Hungary – Budapest; Poland – Warsaw; Switzerland - Zürich (Zurich), Geneva (Geneve, Genève), Basel, Bern (Berne), Lausanne; Austria - Linz, Vienna (Wien), Graz, Linz, Salzburg, Innsbruck; Ireland – Dublin
Asia - India - Mumbai, New Delhi, Bangalore; China & Hong Kong - Hong Kong, Beijing, Shanghai, Tianjin, Wuhan, Shenyang, Guangzhou, Harbin, Xian; Japan - Tokyo, Osaka, Yokohama, Nagoya, Sapporo, Kyoto, Kobe, Fukuoka, Kawasaki, Hiroshima; South Korea - Seoul, Pusa, Taegu, Incheon, Taejeon, Taiwan - Taipei; Malaysia - Kuala Lumpur; Singapore; Russia - Moscow, St Petersburg
You are the $$$ Section of eIT.in
Middle East - Turkey - Istanbul, Israel - Tel Aviv
Oceania - Australia - Sydney, Melbourne, Brisbane, Perth, Adelaide
Africa - South Africa - Johannesburg, Cape Town, Durban
|
|
© 2006, From eIT.in – everything IT is in Here
eIT.in is a product of eSource India & Sourcing India
Other eSource & Sourcing sites: IT & Software (Dir, SAP), BPO, Chemicals, Textiles, Plant Oils, dotMobi, Billion Dollar Questions, Biodiesel Encyclopedia, Linens, ideOS, Follars – Free, Open-source Dollars, Quali5.com – Own A Keyword Forever, AntiSE, Serkai, Leather & Hide, GeoDig
|