Re: Re: PHP The Right Way (website)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/14/2012 12:06 PM, tamouse mailing lists wrote:
On Sun, Oct 14, 2012 at 10:48 AM, Jim Giner
<jim.giner@xxxxxxxxxxxxxxxxxx> wrote:
On 10/14/2012 1:10 AM, tamouse mailing lists wrote:

This just dropped in my inbox the other day from Smashing #69:

2. PHP The Right Way

If you are developing for the Web, the chances are high that you have
to deal with PHP on a regular basis. However, once you've stumbled
upon a problem that you have to solve, finding a good solution among
thousands and thousands of (partly outdated) PHP tutorials out there
can be quite a nightmare — especially if you are relatively new to
PHP. Where would you go to learn about the current best practices in
PHP?

PHP The Right Way

Perhaps PHP The Right Way. The site is an easy-to-read, quick
reference for the best practices in PHP, accepted coding standards,
and links to authoritative tutorials around the Web. Josh Lockhart has
worked together with a dozen of well-respected members of the PHP
community to create a useful, up-to-date resource for everybody to
use.


I've just been perusing it, and it offers some good advice. Anyone
here work on it / read it? Thoughts?

Sounds like a good idea, but as for me - if I was a newbie I'd have a
problem with their very first instructions.  It says right off the start to
type in the following:
php -5 localhost:8000

which when I do (from a dos prompt) gives me a nice description of the
command, but fails to do anything else for me.  So how does this (as it
says) "help me learn with the hassle of configureing and installing a
full-fledged web server"?

Are you running 5.4+? First thing it says is "Use the current stable
version (5.4)". The PHP server (-S) is not available in anything
earlier.

I'm not running anything. It says to type a command and I did. That's my point - it's kind of misleading in it's introduction.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux