From 2b11ae9c94a2c45e3457b0c99d7d28c69a9fd8b5 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 8 Dec 2014 03:17:03 +0100 Subject: [PATCH] Spacing --- _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/02-01-01-Code-Style-Guide.md | 1 + _posts/03-03-01-Namespaces.md | 3 ++- _posts/03-04-01-Standard-PHP-Library.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 | 2 +- _posts/04-03-01-PEAR.md | 1 + _posts/07-03-01-Abstraction-Layers.md | 1 - 11 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_posts/01-03-01-Built-in-Web-Server.md b/_posts/01-03-01-Built-in-Web-Server.md index 2a3e154..aff2e2f 100644 --- a/_posts/01-03-01-Built-in-Web-Server.md +++ b/_posts/01-03-01-Built-in-Web-Server.md @@ -15,4 +15,5 @@ To start the server, run the following command from your terminal in your projec * [Learn about the built-in, command line web server][cli-server] + [cli-server]: http://php.net/features.commandline.webserver diff --git a/_posts/01-04-01-Mac-Setup.md b/_posts/01-04-01-Mac-Setup.md index 403d6ba..04e607a 100644 --- a/_posts/01-04-01-Mac-Setup.md +++ b/_posts/01-04-01-Mac-Setup.md @@ -35,6 +35,7 @@ The solutions listed above mainly handle PHP itself, and do not supply things li "All-in-one" solutions such as [MAMP][mamp-downloads] and [XAMPP][xampp] will install these other bits of software for you and tie them all together, but ease of setup comes with a trade-off of flexibility. + [Homebrew]: http://brew.sh/ [Homebrew PHP]: https://github.com/Homebrew/homebrew-php#installation [phpbrew]: https://github.com/phpbrew/phpbrew diff --git a/_posts/01-05-01-Windows-Setup.md b/_posts/01-05-01-Windows-Setup.md index 72c8838..743ff43 100644 --- a/_posts/01-05-01-Windows-Setup.md +++ b/_posts/01-05-01-Windows-Setup.md @@ -19,6 +19,7 @@ can use [phpmanager][phpmanager] (a GUI plugin for IIS7) to make configuring and FastCGI built in and ready to go, you just need to configure PHP as a handler. For support and additional resources there is a [dedicated area on iis.net][php-iis] for PHP. + [php-downloads]: http://windows.php.net [wpi]: http://www.microsoft.com/web/downloads/platform.aspx [zsce]: http://www.zend.com/en/products/server-ce/ diff --git a/_posts/02-01-01-Code-Style-Guide.md b/_posts/02-01-01-Code-Style-Guide.md index 8a74cf6..dbd7a49 100644 --- a/_posts/02-01-01-Code-Style-Guide.md +++ b/_posts/02-01-01-Code-Style-Guide.md @@ -39,6 +39,7 @@ performance, meaning real-time editor fixing is more fluid. English is preferred for all symbol names and code infrastructure. Comments may be written in any language easily readable by all current and future parties who may be working on the codebase. + [fig]: http://www.php-fig.org/ [psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md [psr1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md diff --git a/_posts/03-03-01-Namespaces.md b/_posts/03-03-01-Namespaces.md index 1186810..0ce5d6c 100644 --- a/_posts/03-03-01-Namespaces.md +++ b/_posts/03-03-01-Namespaces.md @@ -28,6 +28,7 @@ to look into PSR-4. * [Read about PSR-0][psr0] * [Read about PSR-4][psr4] + [namespaces]: http://php.net/language.namespaces [psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md -[psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md \ No newline at end of file +[psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md diff --git a/_posts/03-04-01-Standard-PHP-Library.md b/_posts/03-04-01-Standard-PHP-Library.md index ab26f88..5b8fd31 100644 --- a/_posts/03-04-01-Standard-PHP-Library.md +++ b/_posts/03-04-01-Standard-PHP-Library.md @@ -12,4 +12,5 @@ over these datastructures or your own classes which implement SPL interfaces. * [Read about the SPL][spl] + [spl]: http://php.net/book.spl diff --git a/_posts/03-06-01-XDebug.md b/_posts/03-06-01-XDebug.md index 964b504..5afe8ac 100644 --- a/_posts/03-06-01-XDebug.md +++ b/_posts/03-06-01-XDebug.md @@ -40,6 +40,7 @@ stand-alone xdebug GUI for Mac. * [Learn more about XDebug][xdebug-docs] * [Learn more about MacGDBp][macgdbp-install] + [xdebug-install]: http://xdebug.org/docs/install [xdebug-docs]: http://xdebug.org/docs/ [macgdbp-install]: http://www.bluestatic.org/software/macgdbp/ diff --git a/_posts/04-01-01-Dependency-Management.md b/_posts/04-01-01-Dependency-Management.md index 8309687..19eeb0e 100644 --- a/_posts/04-01-01-Dependency-Management.md +++ b/_posts/04-01-01-Dependency-Management.md @@ -11,8 +11,8 @@ dependencies. Even if you managed them manually, you still had to worry about au Currently there are two major package management systems for PHP - Composer and PEAR. Which one is right for you? The answer is both. - * Use **Composer** when managing dependencies for a single project. - * Use **PEAR** when managing dependencies for PHP as a whole on your system. +* Use **Composer** when managing dependencies for a single project. +* Use **PEAR** when managing dependencies for PHP as a whole on your system. In general, Composer packages will be available only in the projects that you explicitly specify whereas a PEAR package would be available to all of your PHP projects. While PEAR might sound like the easier approach at first glance, there diff --git a/_posts/04-02-01-Composer-and-Packagist.md b/_posts/04-02-01-Composer-and-Packagist.md index 401ae51..9277f1b 100644 --- a/_posts/04-02-01-Composer-and-Packagist.md +++ b/_posts/04-02-01-Composer-and-Packagist.md @@ -114,10 +114,10 @@ file and tell you if you need to update any of your dependencies. * [Learn about Composer][5] + [1]: http://packagist.org/ [2]: http://twig.sensiolabs.org [3]: https://www.versioneye.com/ [4]: https://security.sensiolabs.org/ [5]: http://getcomposer.org/doc/00-intro.md [6]: https://getcomposer.org/Composer-Setup.exe - diff --git a/_posts/04-03-01-PEAR.md b/_posts/04-03-01-PEAR.md index 8fb8bca..823f0fc 100644 --- a/_posts/04-03-01-PEAR.md +++ b/_posts/04-03-01-PEAR.md @@ -78,6 +78,7 @@ $request = new pear2\HTTP\Request(); * [Learn more about using PEAR with Composer][6] + [1]: http://pear.php.net/ [2]: http://pear.php.net/manual/en/installation.getting.php [3]: http://pear.php.net/packages.php diff --git a/_posts/07-03-01-Abstraction-Layers.md b/_posts/07-03-01-Abstraction-Layers.md index 948883b..789572c 100644 --- a/_posts/07-03-01-Abstraction-Layers.md +++ b/_posts/07-03-01-Abstraction-Layers.md @@ -26,6 +26,5 @@ installed in any application you like: [4]: http://packages.zendframework.com/docs/latest/manual/en/index.html#zend-db [6]: https://github.com/auraphp/Aura.Sql [7]: http://propelorm.org/ - [psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md [psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md