From 8c8c1eea9fad88ba3ff8eff41978412c0d4bff07 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 7 Feb 2014 02:52:35 +0100 Subject: [PATCH 1/7] slovenian translation link added --- README.md | 1 + _includes/welcome.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index c1717e3..a4374c0 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ developers know where to find good information! * [Bulgarian](http://bg.phptherightway.com) * [German] (http://rwetzlmayr.github.io/php-the-right-way) * [Turkish](http://hkulekci.github.io/php-the-right-way/) +* [Slovenian](http://sl.phptherightway.com) ### Translations diff --git a/_includes/welcome.md b/_includes/welcome.md index 8995852..391755e 100644 --- a/_includes/welcome.md +++ b/_includes/welcome.md @@ -34,6 +34,7 @@ _PHP: The Right Way_ is (or soon will be) translated into many different languag * [Bulgarian](http://bg.phptherightway.com/) * [German](http://rwetzlmayr.github.io/php-the-right-way/) * [Turkish](http://hkulekci.github.io/php-the-right-way/) +* [Slovenian](http://sl.phptherightway.com) ## How to Contribute From 1488c07fb8a324c56194fb3853ee20c7d3c70acf Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 27 Feb 2014 15:10:27 -0500 Subject: [PATCH 2/7] Can't spell. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e97dae6..43fe3da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,7 +88,7 @@ included in the project: ## Contribution Agreement and Usage -By subitting a pull request to this repository, you agree to allow the project +By submitting a pull request to this repository, you agree to allow the project owners to license your work under the the terms of the [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-nc-sa/3.0/). From 59384485e860661a9e41d120cc1a39d82646dcd2 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 28 Feb 2014 22:57:12 +0100 Subject: [PATCH 3/7] xdebug link typo fixed --- _posts/08-02-01-Errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/08-02-01-Errors.md b/_posts/08-02-01-Errors.md index 88c0cac..12e4570 100644 --- a/_posts/08-02-01-Errors.md +++ b/_posts/08-02-01-Errors.md @@ -85,7 +85,7 @@ for the existence of the file before you try to load it, but if the file is dele potentially something PHP should resolve, but is one case where error suppression might seem like the only valid solution. -Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following. +Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug][xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following. xdebug.scream = On From 73e738c0cc9592c37a957471b9ecc57cb5593b78 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Fri, 28 Feb 2014 17:15:35 -0500 Subject: [PATCH 4/7] Update 08-02-01-Errors.md --- _posts/08-02-01-Errors.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/_posts/08-02-01-Errors.md b/_posts/08-02-01-Errors.md index 12e4570..7edb5d2 100644 --- a/_posts/08-02-01-Errors.md +++ b/_posts/08-02-01-Errors.md @@ -85,7 +85,7 @@ for the existence of the file before you try to load it, but if the file is dele potentially something PHP should resolve, but is one case where error suppression might seem like the only valid solution. -Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug][xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following. +Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following. xdebug.scream = On @@ -102,8 +102,11 @@ This is most useful when you're debugging code and suspect an informative error * [Error Control Operators](http://php.net/manual/en/language.operators.errorcontrol.php) * [SitePoint](http://www.sitepoint.com/) -* [xDebug](http://xdebug.org/docs/basic) -* [Scream](http://www.php.net/manual/en/book.scream.php) +* [xDebug] +* [Scream] + +[xDebug]: http://xdebug.org/docs/basic +[Scream]: http://www.php.net/manual/en/book.scream.php ### ErrorException From f8e785be16e6fefab09d1b35fcd6b70356087351 Mon Sep 17 00:00:00 2001 From: Justin Page Date: Wed, 5 Mar 2014 18:09:03 -0800 Subject: [PATCH 5/7] Fixed grammar error to indicate possession of sentence. --- pages/Design-Patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Design-Patterns.md b/pages/Design-Patterns.md index 64618c2..22d85a0 100644 --- a/pages/Design-Patterns.md +++ b/pages/Design-Patterns.md @@ -5,7 +5,7 @@ title: Design Patterns # Design Patterns -There are numerous ways to structure the code and project for you web application, and you can put as much or as little +There are numerous ways to structure the code and project for your web application, and you can put as much or as little thought as you like into architecting. But it is usually a good idea to follow common patterns because it will make your code easier to manage and easier for others to understand. From 7df82049e830ff226d994befca99e03b90a09044 Mon Sep 17 00:00:00 2001 From: Eric Martel Date: Fri, 14 Mar 2014 23:13:39 -0400 Subject: [PATCH 6/7] Redid anchor changes to be sure each doc was updated properly --- _layouts/default.html | 19 ++++++++++++++++--- _posts/01-01-01-Getting-Started.md | 4 ++++ ...01-02-01-Use-the-Current-Stable-Version.md | 3 ++- _posts/01-03-01-Built-in-Web-Server.md | 1 + _posts/01-04-01-Mac-Setup.md | 1 + _posts/01-05-01-Windows-Setup.md | 1 + _posts/01-06-01-Vagrant.md | 1 + _posts/02-01-01-Code-Style-Guide.md | 4 ++++ _posts/03-01-01-Language-Highlights.md | 4 ++++ _posts/03-02-01-Programming-Paradigms.md | 1 + _posts/03-03-01-Namespaces.md | 1 + _posts/03-04-01-Standard-PHP-Library.md | 1 + _posts/03-05-01-Command-Line-Interface.md | 1 + _posts/03-06-01-XDebug.md | 1 + _posts/04-01-01-Dependency-Management.md | 4 ++++ _posts/04-02-01-Composer-and-Packagist.md | 1 + _posts/04-03-01-PEAR.md | 1 + _posts/05-01-01-Coding-Practices.md | 4 ++++ _posts/05-02-01-The-Basics.md | 1 + _posts/05-03-01-Date-and-Time.md | 1 + _posts/05-04-01-Design-Patterns.md | 1 + _posts/06-01-01-Dependency-Injection.md | 1 + _posts/06-02-01-Basic-Concept.md | 1 + _posts/06-03-01-Complex-Problem.md | 1 + _posts/06-04-01-Containers.md | 1 + _posts/06-05-01-Further-Reading.md | 1 + _posts/07-01-01-Databases.md | 1 + _posts/08-01-01-Errors-and-Exceptions.md | 1 + _posts/08-02-01-Errors.md | 1 + _posts/08-03-01-Exceptions.md | 1 + _posts/09-01-01-Security.md | 4 ++++ _posts/09-02-01-Web-Application-Security.md | 1 + _posts/09-03-01-Password-Hashing.md | 1 + _posts/09-04-01-Data-Filtering.md | 1 + _posts/09-05-01-Configuration-Files.md | 1 + _posts/09-06-01-Register-Globals.md | 1 + _posts/09-07-01-Error-Reporting.md | 1 + _posts/10-01-01-Testing.md | 4 ++++ _posts/10-02-01-Test-Driven-Development.md | 1 + .../10-03-01-Behavior-Driven-Development.md | 1 + .../10-04-01-Complementary-Testing-Tools.md | 1 + _posts/11-01-01-Servers-and-Deployment.md | 4 ++++ _posts/11-02-01-Platform-as-a-Service.md | 3 ++- .../11-03-01-Virtual-or-Dedicated-Servers.md | 1 + _posts/11-04-01-Shared-Servers.md | 1 + _posts/11-05-01-Building-your-Application.md | 3 ++- _posts/12-01-01-Caching.md | 4 ++++ _posts/12-02-01-Bytecode-Cache.md | 1 + _posts/12-03-01-Object-Caching.md | 1 + _posts/13-01-01-Resources.md | 4 ++++ _posts/13-02-01-Frameworks.md | 1 + _posts/13-03-01-Components.md | 1 + _posts/14-01-01-Community.md | 4 ++++ index.html | 2 +- 54 files changed, 105 insertions(+), 7 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 863dfa8..850dc34 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -35,11 +35,24 @@
  • Welcome
  • {% assign lastIsChild = false %} {% for post in site.posts reversed %} - {% if post.isChild and lastIsChild != true %}
      {% endif %} - {% if lastIsChild and post.isChild != true %}
    {% endif %} -
  • {{ post.title }} + {% if post.isChild != true %} + {% if insideSection %} + +
  • + {% assign insideSection = false %} + {% endif %} + {% endif %} +
  • {{ post.title }} + {% if post.isChild %} +
  • + {% else %} +
      + {% assign insideSection = true %} + {% endif %} {% assign lastIsChild = post.isChild %} {% endfor %} +
    +
  • Credits
  • diff --git a/_posts/01-01-01-Getting-Started.md b/_posts/01-01-01-Getting-Started.md index b3a75a0..5b28d55 100644 --- a/_posts/01-01-01-Getting-Started.md +++ b/_posts/01-01-01-Getting-Started.md @@ -1,2 +1,6 @@ +--- +anchor: getting_started +--- + # Getting Started {#getting_started_title} diff --git a/_posts/01-02-01-Use-the-Current-Stable-Version.md b/_posts/01-02-01-Use-the-Current-Stable-Version.md index 1edc3ec..16d2f1d 100644 --- a/_posts/01-02-01-Use-the-Current-Stable-Version.md +++ b/_posts/01-02-01-Use-the-Current-Stable-Version.md @@ -1,9 +1,10 @@ --- title: Use the Current Stable Version (5.5) isChild: true +anchor: use_the_current_stable_version --- -## Use the Current Stable Version (5.5) {#use_the_current_stable_version_55_title} +## Use the Current Stable Version (5.5) {#use_the_current_stable_version_title} If you are just getting started with PHP make sure to start with the current stable release of [PHP 5.5][php-release]. PHP has made great strides adding powerful [new features](#language_highlights) over the last few years. Don't let the minor version number difference between 5.2 and 5.5 fool you, it represents _major_ improvements. If you are looking for a function or its usage, the documentation on the [php.net][php-docs] website will have the answer. diff --git a/_posts/01-03-01-Built-in-Web-Server.md b/_posts/01-03-01-Built-in-Web-Server.md index 2e9228d..a7b9fff 100644 --- a/_posts/01-03-01-Built-in-Web-Server.md +++ b/_posts/01-03-01-Built-in-Web-Server.md @@ -1,6 +1,7 @@ --- title: Built-in Web Server isChild: true +anchor: builtin_web_server --- ## Built-in web server {#builtin_web_server_title} diff --git a/_posts/01-04-01-Mac-Setup.md b/_posts/01-04-01-Mac-Setup.md index aa2fa29..3aed1e6 100644 --- a/_posts/01-04-01-Mac-Setup.md +++ b/_posts/01-04-01-Mac-Setup.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: mac_setup --- ## Mac Setup {#mac_setup_title} diff --git a/_posts/01-05-01-Windows-Setup.md b/_posts/01-05-01-Windows-Setup.md index 87021e3..cced0ae 100644 --- a/_posts/01-05-01-Windows-Setup.md +++ b/_posts/01-05-01-Windows-Setup.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: windows_setup --- ## Windows Setup {#windows_setup_title} diff --git a/_posts/01-06-01-Vagrant.md b/_posts/01-06-01-Vagrant.md index 4d64f1f..b1b3a01 100644 --- a/_posts/01-06-01-Vagrant.md +++ b/_posts/01-06-01-Vagrant.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: vagrant --- ## Vagrant {#vagrant_title} diff --git a/_posts/02-01-01-Code-Style-Guide.md b/_posts/02-01-01-Code-Style-Guide.md index 099d09b..a48d699 100644 --- a/_posts/02-01-01-Code-Style-Guide.md +++ b/_posts/02-01-01-Code-Style-Guide.md @@ -1,3 +1,7 @@ +--- +anchor: code_style_guide +--- + # Code Style Guide {#code_style_guide_title} The PHP community is large and diverse, composed of innumerable libraries, frameworks, and components. It is common for diff --git a/_posts/03-01-01-Language-Highlights.md b/_posts/03-01-01-Language-Highlights.md index 9251ef3..c1f66c5 100644 --- a/_posts/03-01-01-Language-Highlights.md +++ b/_posts/03-01-01-Language-Highlights.md @@ -1 +1,5 @@ +--- +anchor: language_highlights +--- + # Language Highlights {#language_highlights_title} diff --git a/_posts/03-02-01-Programming-Paradigms.md b/_posts/03-02-01-Programming-Paradigms.md index 2da54d9..bc7c486 100644 --- a/_posts/03-02-01-Programming-Paradigms.md +++ b/_posts/03-02-01-Programming-Paradigms.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: programming_paradigms --- ## Programming Paradigms {#programming_paradigms_title} diff --git a/_posts/03-03-01-Namespaces.md b/_posts/03-03-01-Namespaces.md index 23c7280..e22b968 100644 --- a/_posts/03-03-01-Namespaces.md +++ b/_posts/03-03-01-Namespaces.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: namespaces --- ## Namespaces {#namespaces_title} diff --git a/_posts/03-04-01-Standard-PHP-Library.md b/_posts/03-04-01-Standard-PHP-Library.md index 6ad4caa..3ce419a 100644 --- a/_posts/03-04-01-Standard-PHP-Library.md +++ b/_posts/03-04-01-Standard-PHP-Library.md @@ -1,6 +1,7 @@ --- title: Standard PHP Library isChild: true +anchor: standard_php_library --- ## Standard PHP Library {#standard_php_library_title} diff --git a/_posts/03-05-01-Command-Line-Interface.md b/_posts/03-05-01-Command-Line-Interface.md index 3cbaa16..bf40a88 100644 --- a/_posts/03-05-01-Command-Line-Interface.md +++ b/_posts/03-05-01-Command-Line-Interface.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: command_line_interface --- ## Command Line Interface {#command_line_interface_title} diff --git a/_posts/03-06-01-XDebug.md b/_posts/03-06-01-XDebug.md index 8334b5c..0f0622b 100644 --- a/_posts/03-06-01-XDebug.md +++ b/_posts/03-06-01-XDebug.md @@ -1,6 +1,7 @@ --- title: XDebug isChild: true +anchor: xdebug --- ## XDebug {#xdebug_title} diff --git a/_posts/04-01-01-Dependency-Management.md b/_posts/04-01-01-Dependency-Management.md index 6937a72..95be994 100644 --- a/_posts/04-01-01-Dependency-Management.md +++ b/_posts/04-01-01-Dependency-Management.md @@ -1,3 +1,7 @@ +--- +anchor: dependency_management +--- + # Dependency Management {#dependency_management_title} There are a ton of PHP libraries, frameworks, and components to choose from. Your project will likely use several of them — these are project dependencies. Until recently, PHP did not have a good way to manage these project dependencies. Even if you managed them manually, you still had to worry about autoloaders. No more. diff --git a/_posts/04-02-01-Composer-and-Packagist.md b/_posts/04-02-01-Composer-and-Packagist.md index 0d45435..ff532b8 100644 --- a/_posts/04-02-01-Composer-and-Packagist.md +++ b/_posts/04-02-01-Composer-and-Packagist.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: composer_and_packagist --- ## Composer and Packagist {#composer_and_packagist_title} diff --git a/_posts/04-03-01-PEAR.md b/_posts/04-03-01-PEAR.md index f5315a8..c00b819 100644 --- a/_posts/04-03-01-PEAR.md +++ b/_posts/04-03-01-PEAR.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: pear --- ## PEAR {#pear_title} diff --git a/_posts/05-01-01-Coding-Practices.md b/_posts/05-01-01-Coding-Practices.md index eff0ab3..8c41fd7 100644 --- a/_posts/05-01-01-Coding-Practices.md +++ b/_posts/05-01-01-Coding-Practices.md @@ -1 +1,5 @@ +--- +anchor: coding_practices +--- + # Coding Practices {#coding_practices_title} diff --git a/_posts/05-02-01-The-Basics.md b/_posts/05-02-01-The-Basics.md index 1e73d6e..78df40f 100644 --- a/_posts/05-02-01-The-Basics.md +++ b/_posts/05-02-01-The-Basics.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: the_basics --- ## The Basics {#the_basics_title} diff --git a/_posts/05-03-01-Date-and-Time.md b/_posts/05-03-01-Date-and-Time.md index e7af159..f7f9a7b 100644 --- a/_posts/05-03-01-Date-and-Time.md +++ b/_posts/05-03-01-Date-and-Time.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: date_and_time --- ## Date and Time {#date_and_time_title} diff --git a/_posts/05-04-01-Design-Patterns.md b/_posts/05-04-01-Design-Patterns.md index eaf7f0e..3f6a032 100644 --- a/_posts/05-04-01-Design-Patterns.md +++ b/_posts/05-04-01-Design-Patterns.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: design_patterns --- ## Design Patterns {#design_patterns_title} diff --git a/_posts/06-01-01-Dependency-Injection.md b/_posts/06-01-01-Dependency-Injection.md index 3bc3c07..f3e1ccb 100644 --- a/_posts/06-01-01-Dependency-Injection.md +++ b/_posts/06-01-01-Dependency-Injection.md @@ -1,5 +1,6 @@ --- title: Dependency Injection +anchor: dependency_injection --- # Dependency Injection {#dependency_injection_title} diff --git a/_posts/06-02-01-Basic-Concept.md b/_posts/06-02-01-Basic-Concept.md index fb9954b..cc2eca7 100644 --- a/_posts/06-02-01-Basic-Concept.md +++ b/_posts/06-02-01-Basic-Concept.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: basic_concept --- ## Basic Concept {#basic_concept_title} diff --git a/_posts/06-03-01-Complex-Problem.md b/_posts/06-03-01-Complex-Problem.md index 9fd0f21..3f2ae1c 100644 --- a/_posts/06-03-01-Complex-Problem.md +++ b/_posts/06-03-01-Complex-Problem.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: complex_problem --- ## Complex Problem {#complex_problem_title} diff --git a/_posts/06-04-01-Containers.md b/_posts/06-04-01-Containers.md index f0e5466..4b3acee 100644 --- a/_posts/06-04-01-Containers.md +++ b/_posts/06-04-01-Containers.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: containers --- ## Containers {#containers_title} diff --git a/_posts/06-05-01-Further-Reading.md b/_posts/06-05-01-Further-Reading.md index e1d3645..a437131 100644 --- a/_posts/06-05-01-Further-Reading.md +++ b/_posts/06-05-01-Further-Reading.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: further_reading --- ## Further Reading {#further_reading_title} diff --git a/_posts/07-01-01-Databases.md b/_posts/07-01-01-Databases.md index 998040d..26258dc 100644 --- a/_posts/07-01-01-Databases.md +++ b/_posts/07-01-01-Databases.md @@ -1,5 +1,6 @@ --- title: Databases +anchor: databases --- # Databases {#databases_title} diff --git a/_posts/08-01-01-Errors-and-Exceptions.md b/_posts/08-01-01-Errors-and-Exceptions.md index f1b8566..27e0b2e 100644 --- a/_posts/08-01-01-Errors-and-Exceptions.md +++ b/_posts/08-01-01-Errors-and-Exceptions.md @@ -1,5 +1,6 @@ --- title: Errors and Exceptions +anchor: errors_and_exceptions --- # Errors and Exceptions {#errors_and_exceptions_title} diff --git a/_posts/08-02-01-Errors.md b/_posts/08-02-01-Errors.md index 7edb5d2..be359e1 100644 --- a/_posts/08-02-01-Errors.md +++ b/_posts/08-02-01-Errors.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: errors --- ## Errors {#errors_title} diff --git a/_posts/08-03-01-Exceptions.md b/_posts/08-03-01-Exceptions.md index 13b3a8d..e701694 100644 --- a/_posts/08-03-01-Exceptions.md +++ b/_posts/08-03-01-Exceptions.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: exceptions --- ## Exceptions {#exceptions_title} diff --git a/_posts/09-01-01-Security.md b/_posts/09-01-01-Security.md index 9c0b000..c8e3b48 100644 --- a/_posts/09-01-01-Security.md +++ b/_posts/09-01-01-Security.md @@ -1 +1,5 @@ +--- +anchor: security +--- + # Security {#security_title} diff --git a/_posts/09-02-01-Web-Application-Security.md b/_posts/09-02-01-Web-Application-Security.md index 9170957..da60b5f 100644 --- a/_posts/09-02-01-Web-Application-Security.md +++ b/_posts/09-02-01-Web-Application-Security.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: web_application_security --- ## Web Application Security {#web_application_security_title} diff --git a/_posts/09-03-01-Password-Hashing.md b/_posts/09-03-01-Password-Hashing.md index ad82acd..d3e194d 100644 --- a/_posts/09-03-01-Password-Hashing.md +++ b/_posts/09-03-01-Password-Hashing.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: password_hashing --- ## Password Hashing {#password_hashing_title} diff --git a/_posts/09-04-01-Data-Filtering.md b/_posts/09-04-01-Data-Filtering.md index e262aaa..b930eeb 100644 --- a/_posts/09-04-01-Data-Filtering.md +++ b/_posts/09-04-01-Data-Filtering.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: data_filtering --- ## Data Filtering {#data_filtering_title} diff --git a/_posts/09-05-01-Configuration-Files.md b/_posts/09-05-01-Configuration-Files.md index 50be4bc..c5da2b3 100644 --- a/_posts/09-05-01-Configuration-Files.md +++ b/_posts/09-05-01-Configuration-Files.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: configuration_files --- ## Configuration Files {#configuration_files_title} diff --git a/_posts/09-06-01-Register-Globals.md b/_posts/09-06-01-Register-Globals.md index d7c8268..b2d1a62 100644 --- a/_posts/09-06-01-Register-Globals.md +++ b/_posts/09-06-01-Register-Globals.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: register_globals --- ## Register Globals {#register_globals_title} diff --git a/_posts/09-07-01-Error-Reporting.md b/_posts/09-07-01-Error-Reporting.md index 3d84b5c..b715ac1 100644 --- a/_posts/09-07-01-Error-Reporting.md +++ b/_posts/09-07-01-Error-Reporting.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: error_reporting --- ## Error Reporting {#error_reporting_title} diff --git a/_posts/10-01-01-Testing.md b/_posts/10-01-01-Testing.md index 2eac35c..f08fc4d 100644 --- a/_posts/10-01-01-Testing.md +++ b/_posts/10-01-01-Testing.md @@ -1,3 +1,7 @@ +--- +anchor: testing +--- + # Testing {#testing_title} Writing automated tests for your PHP code is considered a best practice and can lead to well-built diff --git a/_posts/10-02-01-Test-Driven-Development.md b/_posts/10-02-01-Test-Driven-Development.md index 71528d6..b3a7e46 100644 --- a/_posts/10-02-01-Test-Driven-Development.md +++ b/_posts/10-02-01-Test-Driven-Development.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: test_driven_development --- ## Test Driven Development {#test_driven_development_title} diff --git a/_posts/10-03-01-Behavior-Driven-Development.md b/_posts/10-03-01-Behavior-Driven-Development.md index d0cde20..94779c0 100644 --- a/_posts/10-03-01-Behavior-Driven-Development.md +++ b/_posts/10-03-01-Behavior-Driven-Development.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: behavior_driven_development --- ## Behavior Driven Development {#behavior_driven_development_title} diff --git a/_posts/10-04-01-Complementary-Testing-Tools.md b/_posts/10-04-01-Complementary-Testing-Tools.md index 1cbc304..181824d 100644 --- a/_posts/10-04-01-Complementary-Testing-Tools.md +++ b/_posts/10-04-01-Complementary-Testing-Tools.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: complementary_testing_tools --- ## Complementary Testing Tools {#complementary_testing_tools_title} diff --git a/_posts/11-01-01-Servers-and-Deployment.md b/_posts/11-01-01-Servers-and-Deployment.md index 700ca16..f54a0e2 100644 --- a/_posts/11-01-01-Servers-and-Deployment.md +++ b/_posts/11-01-01-Servers-and-Deployment.md @@ -1,3 +1,7 @@ +--- +anchor: servers_and_deployment +--- + # Servers and Deployment {#servers_and_deployment_title} PHP applications can be deployed and run on production web servers in a number of ways. diff --git a/_posts/11-02-01-Platform-as-a-Service.md b/_posts/11-02-01-Platform-as-a-Service.md index e2aa166..b72ba6f 100644 --- a/_posts/11-02-01-Platform-as-a-Service.md +++ b/_posts/11-02-01-Platform-as-a-Service.md @@ -1,9 +1,10 @@ --- title: Platform as a Service (PaaS) isChild: true +anchor: platform_as_a_service --- -## Platform as a Service (PaaS) {#platform_as_a_service_paas_title} +## Platform as a Service (PaaS) {#platform_as_a_service_title} PaaS provides the system and network architecture necessary to run PHP applications on the web. This means little to no configuration for launching PHP applications or PHP frameworks. diff --git a/_posts/11-03-01-Virtual-or-Dedicated-Servers.md b/_posts/11-03-01-Virtual-or-Dedicated-Servers.md index 2c1e725..465b319 100644 --- a/_posts/11-03-01-Virtual-or-Dedicated-Servers.md +++ b/_posts/11-03-01-Virtual-or-Dedicated-Servers.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: virtual_or_dedicated_servers --- ## Virtual or Dedicated Servers {#virtual_or_dedicated_servers_title} diff --git a/_posts/11-04-01-Shared-Servers.md b/_posts/11-04-01-Shared-Servers.md index 3334bc8..d21afbe 100644 --- a/_posts/11-04-01-Shared-Servers.md +++ b/_posts/11-04-01-Shared-Servers.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: shared_servers --- ## Shared Servers {#shared_servers_title} diff --git a/_posts/11-05-01-Building-your-Application.md b/_posts/11-05-01-Building-your-Application.md index 59f6f9a..6a9e5bc 100644 --- a/_posts/11-05-01-Building-your-Application.md +++ b/_posts/11-05-01-Building-your-Application.md @@ -1,8 +1,9 @@ --- isChild: true +anchor: building_and_deploying_your_application --- -## Building and Deploying your Application {#build_title} +## Building and Deploying your Application {#building_and_deploying_your_application_title} If you find yourself doing manual database schema changes or running your tests manually before updating your files (manually), think twice! With every additional manual task needed to deploy a new version of your app, the chances for diff --git a/_posts/12-01-01-Caching.md b/_posts/12-01-01-Caching.md index 14bf055..ce3c77e 100644 --- a/_posts/12-01-01-Caching.md +++ b/_posts/12-01-01-Caching.md @@ -1,3 +1,7 @@ +--- +anchor: caching +--- + # Caching {#caching_title} PHP is pretty quick by itself, but bottlenecks can arise when you make remote connections, load files, etc. diff --git a/_posts/12-02-01-Bytecode-Cache.md b/_posts/12-02-01-Bytecode-Cache.md index 73a583d..4ae98a0 100644 --- a/_posts/12-02-01-Bytecode-Cache.md +++ b/_posts/12-02-01-Bytecode-Cache.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: bytecode_cache --- ## Bytecode Cache {#bytecode_cache_title} diff --git a/_posts/12-03-01-Object-Caching.md b/_posts/12-03-01-Object-Caching.md index 7a91115..7fabfa9 100644 --- a/_posts/12-03-01-Object-Caching.md +++ b/_posts/12-03-01-Object-Caching.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: object_caching --- ## Object Caching {#object_caching_title} diff --git a/_posts/13-01-01-Resources.md b/_posts/13-01-01-Resources.md index 61c42fe..0d3ac38 100644 --- a/_posts/13-01-01-Resources.md +++ b/_posts/13-01-01-Resources.md @@ -1,3 +1,7 @@ +--- +anchor: resources +--- + # Resources {#resources_title} ## From the Source diff --git a/_posts/13-02-01-Frameworks.md b/_posts/13-02-01-Frameworks.md index 11e96f2..b2ea122 100644 --- a/_posts/13-02-01-Frameworks.md +++ b/_posts/13-02-01-Frameworks.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: frameworks --- ## Frameworks {#frameworks_title} diff --git a/_posts/13-03-01-Components.md b/_posts/13-03-01-Components.md index a85c226..4669fad 100644 --- a/_posts/13-03-01-Components.md +++ b/_posts/13-03-01-Components.md @@ -1,5 +1,6 @@ --- isChild: true +anchor: components --- ## Components {#components_title} diff --git a/_posts/14-01-01-Community.md b/_posts/14-01-01-Community.md index 3c15f45..e89f9c8 100644 --- a/_posts/14-01-01-Community.md +++ b/_posts/14-01-01-Community.md @@ -1,3 +1,7 @@ +--- +anchor: community +--- + # Community {#community_title} The PHP community is as diverse as it is large, and its members are ready and willing to support new PHP programmers. Consider joining your local PHP user group (PUG) or attending larger PHP conferences to learn more about the best practices shown here. You can hang out on IRC in the #phpc channel on [irc.freenode.com][php-irc] and follow the [@phpc][phpc-twitter] twitter account. Get out there, meet new developers, learn new topics, and above all, make new friends! Other community resources include the Google+ PHP [Programmer community][php-programmers-gplus] and [StackOverflow][php-so]. diff --git a/index.html b/index.html index f22d1fc..54bd0cd 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ description: "An easy-to-read, quick reference for PHP best practices, accepted {% if post.isChild != true and loop.first != true %} {{ backtotop|markdownify }} {% endif %} -
    +
    {{ post.content }}
    {% endfor %} From ea52149ce03c10986ff9f6a0e41704b072dfc0d5 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 18 Mar 2014 11:10:25 -0400 Subject: [PATCH 7/7] Added Orno to Components list --- _posts/13-03-01-Components.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/13-03-01-Components.md b/_posts/13-03-01-Components.md index 4669fad..b680917 100644 --- a/_posts/13-03-01-Components.md +++ b/_posts/13-03-01-Components.md @@ -26,6 +26,7 @@ itself. * [Aura](http://auraphp.github.com/) * [FuelPHP](https://github.com/fuelphp) * [Hoa Project](https://github.com/hoaproject) +* [Orno](https://github.com/orno) * [Symfony Components](http://symfony.com/doc/current/components/index.html) * [The League of Extraordinary Packages](http://thephpleague.com/) * Laravel's Illuminate Components