Download Advanced PHP Programming : A Practical Guide to Developing by George Schlossnagle PDF

By George Schlossnagle

Over the last 3 years Hypertext Preprocessor has advanced from being a distinct segment language used so as to add dynamic performance to small websites to a robust software making robust inroads into large-scale, business-critical net platforms.   The swift maturation of Hypertext Preprocessor has created a skeptical inhabitants of clients from extra conventional "enterprise" languages who query the readiness and talent of personal home page to scale, in addition to a wide inhabitants of personal home page builders with no formal laptop technological know-how backgrounds who've realized during the hands-on experimentation whereas constructing small and midsize functions in Hypertext Preprocessor.   whereas there are numerous books on studying personal home page and constructing small functions with it, there's a severe lack of expertise on "scaling" personal home page for large-scale, business-critical platforms. Schlossnagle's complicated Hypertext Preprocessor Programming fills that void, demonstrating that personal home page is prepared for firm net purposes by means of displaying the reader find out how to strengthen PHP-based functions for max functionality, balance, and extensibility.

Show description

Read or Download Advanced PHP Programming : A Practical Guide to Developing Large-scale Web Sites and Applications With PHP 5 PDF

Similar programming: programming languages books

Pro WPF in VB 2010 (Beginning)

Microsoft’s home windows Presentation origin (WPF) presents the basis for development functions and top quality consumer stories for the home windows working method. It blends the applying consumer interface, records, and media content material, whereas exploiting the whole energy of your computer’s working procedure.

Technische Probleme lösen mit C/C++

Bücher zu C/C++ gibt es viele - doch dieses Buch unterscheidet sich durch seine Herangehensweise: Basierend auf konkreten Beispielen aus dem technisch-wissenschaftlichen und mathematischen Bereich vermittelt es Programmier- und Dokumentationstechniken und eignet sich daher besonders für Fachschüler und Bachelor-Studenten.

Extra resources for Advanced PHP Programming : A Practical Guide to Developing Large-scale Web Sites and Applications With PHP 5

Example text

1, reformatted in a different browser. You must also choose the tab width that you want to use. I have found that a tab width of four spaces produces code that is readable and still allows a reasonable amount of nesting. Because book pages are somewhat smaller than terminal windows, I use two space tab-widths in all code examples in this book. Many editors support auto-detection of formatting based on “magic” comments in the source code. For example, in vim, the following comment automatically sets an editor to use soft tabs (the expandtab option) and set their width to four spaces (the tabstop and softtabstop options): // vim: expandtab softtabstop=2 tabstop=2 shiftwidth=2 In addition, the vim command :retab will convert all your hard tabs to soft tabs in your document, so you should use it if you need to switch a document from using tabs to using spaces.

The following are some important phpDocumentor tags: Tag Description @package [package name] The package name @author [author name] The author information The type for the var statement following the comment @var [type] @param [type [description]] The type for the input parameters for the function following the block @return [type [description]] The type for the output of the function You start the documentation by creating a header block for the file: /** * This is an example page summary block * 31 32 Chapter 1 Coding Styles * This is a longer description where we can * list information in more detail.

An object). Static methods are called using the syntax ClassName::method(). Inside static methods, $this is not available. This means that when it is changed, its change is reflected in all instances of the class. The following example illustrates how static properties work: class TestClass { public static $counter; } $counter = TestClass::$counter; 41 42 Chapter 2 Object-Oriented Programming Through Design Patterns If you need to access a static property inside a class, you can also use the magic keywords self and parent, which resolve to the current class and the parent of the current class, respectively.

Download PDF sample

Rated 4.24 of 5 – based on 32 votes