115 Commits

Author SHA1 Message Date
Kris Jordan
a74cab4169 Add shell "prompt" to examples.
To make it easier to distinguish between file contents and commands being run in the terminal I've added > as a shell prompt in the snippets where commands are being executed in the shell.
2012-07-08 20:06:49 -04:00
=
d0d8ab20fb Add Back to Top link to CLI section 2012-07-08 20:03:48 -04:00
=
af7493dfa3 Merge branch 'cli-programs' into gh-pages 2012-07-08 20:01:03 -04:00
Kris Jordan
ae8dce1d70 Added section on Command Line Interface
PHP's command line interface is a simple, powerful way to automate common tasks. New PHP programmers often do not take advantage of PHP's CLI capabilities because they only think of PHP scripts as something that must run in the browser over HTTP. A simple, gentle introduction to running PHP scripts from the command line will help raise awareness that you can accomplish powerful, admin-only tasks through simple PHP scripts without having to craft a UI or open it up to the security issues of the web.
2012-07-08 19:45:43 -04:00
=
948a58d393 Use filter_input in database PDO query as suggested by @onethumb
Fixes #26
2012-07-08 19:33:35 -04:00
James Pearson
c5e11d346f Link to updated, canonical, accepted versions of PSR-1 and PSR-2 2012-07-08 19:27:27 -04:00
=
df70fd851b Add note about web banners to intro text 2012-07-08 14:15:32 -04:00
=
66c140fa1e Optimize SQL query in database section 2012-07-08 11:24:23 -04:00
=
67c69dcde4 Migrate framework re-ordering from master branch 2012-07-08 10:18:09 -04:00
=
701e0ed81e Port @calcnerd256 code into gh-pages branch 2012-07-08 10:05:23 -04:00
=
5947a683f2 Port over @silentworks changes to gh-pages branch 2012-07-08 09:56:41 -04:00
=
9fd1a93de9 Fix Twig dependency version 2012-07-08 09:40:50 -04:00
=
a2fc06b550 Update repo link in intro text 2012-07-08 00:14:08 -04:00
=
dc87d70598 Fix some typos 2012-07-08 00:12:19 -04:00
=
7bb4213f48 Convert static HTML site to Jekyll project 2012-07-07 23:17:19 -04:00