Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Where to start to learn PHP?

 
Goto page Previous  1, 2
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  FTP Problems  
Author Message
no_user

External


Since: Jul 03, 2003
Posts: 98



(Msg. 16) Posted: Thu Jul 17, 2003 4:12 pm
Post subject: Re: Where to start to learn PHP? [Login to view extended thread Info.]
Archived from groups: alt>www>webmaster (more info?)

In article <oprsggf2yegk3m3d DeleteThis @news.nas.net>, GreyWyvern wrote:
 > I've posted a few notes of my own, and have had no less than three emails
 > of gratitude from people who found just the answer they were looking for
 > from one of my posts. So people *do* use them, and to good effect.
 >
 > And finally, the user contributed notes are moderated (ie, scanned
 > regularily for trolls or incorrect and incomplete information) which keeps
 > the FUD factor you're worrying about low and the information value high.
 >
 > Grey
 >

Actually, or my feeling is, the best source for such info is the mailing
list arch at marc.theaimsgroup.com

kb<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Where to start to learn PHP? 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 17) Posted: Thu Jul 17, 2003 4:23 pm
Post subject: Re: Where to start to learn PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

GreyWyvern wrote:

 > On Wed, 16 Jul 2003 18:39:39 +0100, Charles Sweeney
 > <me.RemoveThis@charlessweeney.com> wrote:
 >
  >> I don't know why people recommend php.net for complete beginners. I
  >> don't think it has much in the way of tutorials.
 >
 > Exactly Smile However, it is the best reference manual for the language
 > I've ever found.

IMHO, it's the best language reference for any programming language. Wink
The fact that the function descriptions are more or less layman's terms
and that you get (somewhat moderated) user comments about individual
functions make it very easy to use. Of course, being a beginner to php
and being a beginning programmer are two different things. For those
that have had experience with other programming languages like perl and
javascript, the php manual is sometimes all they need since they already
have an idea what needs to be done.

 > What to know what preg_match() returns? Want to find the argument order
 > for strpos()? Want to find the correct syntax for accessing a
 > database? It's all there as quick as you can type it into the search
 > bar, but it does assume you know how to program in PHP already.

Yes, the function reference pages do assume that you know
(apporximately) what function you are looking for. However, let's say
you don't. You want a function that does something to a string (broad, I
know). Well, that's what pages like this are for:
<a style='text-decoration: underline;' href="http://www.php.net/manual/en/ref.strings.php" target="_blank">http://www.php.net/manual/en/ref.strings.php</a>

There you find brief descriptions of what each of the string functions
do as well as notes on predefined constants that are related to the
string functions. Another handy part of the PHP manual is the "See Also"
headings of these pages. For instnace, on the string functions page, you
see "For even more powerful string handling and manipulating functions
take a look at the POSIX regular expression functions and the Perl
compatible regular expression functions."

The fact that they are linked up that way makes finding a function for
what you want to do much easier.

 > I suggest getting the PHP Cookbook from O'Reilly, which has hundreds of
 > ready made scripts organized by function. There will eventually come a
 > point where you think of what you want to do, turn to the Cookbook and
 > realize that you already have a good idea about how the task can be
 > accomplished. At this point, start coding and use <a style='text-decoration: underline;' href="http://www.php.net" target="_blank">www.php.net</a>
 > exclusively. For you are now a Jedi.

I found the cookbook less useful that I had originally thought. However,
I didn't get it until I had already been programming with PHP for a
couple years. I remember reading through and not feeling comfortable
with some of the methods and syntax used, but it probabally is a great
book for the less experienced programmer.

--
Justin Koivisto - spam.RemoveThis@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Where to start to learn PHP? 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 18) Posted: Thu Jul 17, 2003 4:28 pm
Post subject: Re: Where to start to learn PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

GreyWyvern wrote:

 > On Thu, 17 Jul 2003 13:07:16 +0100, <FatBlokeOnBikepins@pinsmother-
 > truckers.co.uk> wrote:
 >
   >>>> Exactly Smile However, it is the best reference manual for the
   >>>> language I've ever found.
   >>>
   >>>
   >>> Agree.
  >>
  >>
  >> I disagree. php.net may indeed contain the full monty, but it also
  >> carries examples from forum
  >> contributors in their "User Contributed Notes" which are subsequently
  >> show to be incorrect
  >> or incomplete. The last is not what I would expect of a home site for
  >> a language,
  >> utility, program, whatever.
  >> Pull the pins out to reply direct.
 >
 >
 > As much as the user contributed notes might give out a few incorrect
 > answers at times - and by definition they *are* user contributed notes
 > and should be taken with a grain of salt anyway - they also give out
 > valuable workarounds, tricks and functions which would take a new or
 > average user forever to figure out.

Exactly.

 > More than once I've encountered a problem while using a certain function
 > in a certain way and having it fail, then finding the answer in the user
 > contributed notes. Because chances are, someone out there has already
 > had the same problem you're having, and found a way to fix it.

That is especially true when you are starting to use certain types of
functions for the first time!

 > I've posted a few notes of my own, and have had no less than three
 > emails of gratitude from people who found just the answer they were
 > looking for from one of my posts. So people *do* use them, and to good
 > effect.

Same here, but I think it was exactly 3 message of gratitude I had
received; however, I did get a few suggestions on how to improve
whatever the note may have been about as well as getting quite a few
questions about the thinking behind the methods.

--
Justin Koivisto - spam.DeleteThis@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where to start to learn PHP? 
Back to top
Login to vote
user104

External


Since: Jun 28, 2003
Posts: 1662



(Msg. 19) Posted: Thu Jul 17, 2003 11:41 pm
Post subject: Re: Where to start to learn PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

<FatBlokeOnBikepins.DeleteThis@pinsmother-truckers.co.uk> wrote in message
news:204dhvgpic20hp90fgpah4ucd1o1c719hg@4ax.com...

 > I disagree.
 > php.net may indeed contain the full monty, but it also carries examples
from forum
 > contributors in their "User Contributed Notes" which are subsequently show
to be incorrect
 > or incomplete. The last is not what I would expect of a home site for a
language,
 > utility, program, whatever.

I usually find by the time you have read all the right ones, and all the
wrong ones, you have a pretty good idea of what is required.

These are only examples anyway, the function definitions at the top are
always reliable.
--
Charles Sweeney
<a style='text-decoration: underline;' href="http://www.CharlesSweeney.com" target="_blank">www.CharlesSweeney.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where to start to learn PHP? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Start-up problems - Hello to the group- I have recently started a small biz with a parter and decised to build a small website for it. Wanteing to learn the 'nuts and bots', I purchased a book on html coding and have coded a simple but adequate website. My partner registere...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]