Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5152 > unrolled thread

Books?

Started by"Christopher M." <nospam_flibbity@floo.com>
First post2012-03-14 14:37 -0400
Last post2012-03-31 12:59 -0400
Articles 20 on this page of 27 — 13 participants

Back to article view | Back to comp.lang.php


Contents

  Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-14 14:37 -0400
    Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-14 19:19 +0000
      Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-14 21:27 -0400
        Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-15 03:51 +0000
        Re: Books? Paul Herber <paul@pherber.com> - 2012-03-15 10:03 +0000
          Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-15 14:12 -0400
    Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-15 10:07 +0100
      Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-15 15:54 +0000
        Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-15 20:04 +0100
        Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-15 18:23 -0400
          Re: Books? Tim Streater <timstreater@greenbee.net> - 2012-03-15 23:36 +0000
            Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-15 20:53 -0400
              Re: Books? Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-03-16 14:07 +0100
                Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-16 16:17 -0400
                Re: Books? "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-03-16 21:57 -0430
          Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-16 09:57 +0000
    Re: Books? Scott Johnson <noonehome@chalupasworld.com> - 2012-03-15 05:54 -0700
      Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-15 14:14 -0400
    Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-16 21:29 -0400
      Re: Books? Gregor Kofler <usenet@gregorkofler.com> - 2012-03-17 16:25 +0100
        Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-17 19:31 -0400
          Re: Books? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-18 17:34 +0100
    Re: Books? macca <ptmcnally@googlemail.com> - 2012-03-19 10:32 -0700
      Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-19 21:39 -0400
        Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-20 09:47 +0100
        Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-20 10:19 +0100
      Re: Books? Burnsy <jburns131@gmail.com> - 2012-03-31 12:59 -0400

Page 1 of 2  [1] 2  Next page →


#5152 — Books?

From"Christopher M." <nospam_flibbity@floo.com>
Date2012-03-14 14:37 -0400
SubjectBooks?
Message-ID<8sGdneILNJwueP3SnZ2dnUVZ_v2dnZ2d@giganews.com>
What are some good PHP books? I've been reading the manual on PHP.net and it 
looks pretty basic.


W. Pooh (AKA Winnie P.) 

[toc] | [next] | [standalone]


#5153

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-03-14 19:19 +0000
Message-ID<jjqr0i$vg$4@news.albasani.net>
In reply to#5152
Christopher M. wrote:
> What are some good PHP books? I've been reading the manual on PHP.net and it 
> looks pretty basic.
> 

What more do you need?


> 
> W. Pooh (AKA Winnie P.) 
> 
> 


-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#5154

From"Christopher M." <nospam_flibbity@floo.com>
Date2012-03-14 21:27 -0400
Message-ID<aMudnf8yuMwr2PzSnZ2dnUVZ_rGdnZ2d@giganews.com>
In reply to#5153
"The Natural Philosopher" <tnp@invalid.invalid> wrote in message 
news:jjqr0i$vg$4@news.albasani.net...
> Christopher M. wrote:
>> What are some good PHP books? I've been reading the manual on PHP.net and 
>> it looks pretty basic.
>>
>
> What more do you need?

Well, I was hoping to find something with a certain depth that would show 
how to declare an array such as:
$myobject[] = new myclass();


W. Pooh (AKA Winnie P.)


[toc] | [prev] | [next] | [standalone]


#5155

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-03-15 03:51 +0000
Message-ID<jjrp0e$hut$4@news.albasani.net>
In reply to#5154
Christopher M. wrote:
> "The Natural Philosopher" <tnp@invalid.invalid> wrote in message 
> news:jjqr0i$vg$4@news.albasani.net...
>> Christopher M. wrote:
>>> What are some good PHP books? I've been reading the manual on PHP.net and 
>>> it looks pretty basic.
>>>
>> What more do you need?
> 
> Well, I was hoping to find something with a certain depth that would show 
> how to declare an array such as:
> $myobject[] = new myclass();
> 
> 

Well it looks like you just did.. :-)


> W. Pooh (AKA Winnie P.)
> 
> 
> 


-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#5157

FromPaul Herber <paul@pherber.com>
Date2012-03-15 10:03 +0000
Message-ID<rhf3m7pqad93ob0o21mp7mfua6gtko8qis@news.eternal-september.org>
In reply to#5154
On Wed, 14 Mar 2012 21:27:35 -0400, "Christopher M." <nospam_flibbity@floo.com> wrote:

>
>"The Natural Philosopher" <tnp@invalid.invalid> wrote in message 
>news:jjqr0i$vg$4@news.albasani.net...
>> Christopher M. wrote:
>>> What are some good PHP books? I've been reading the manual on PHP.net and 
>>> it looks pretty basic.
>>>
>>
>> What more do you need?
>
>Well, I was hoping to find something with a certain depth that would show 
>how to declare an array such as:
>$myobject[] = new myclass();

O'Reilly's PHP Cookbook is worth looking at.


-- 
Regards, Paul Herber, Sandrila Ltd.
http://www.sandrila.co.uk/          

[toc] | [prev] | [next] | [standalone]


#5161

From"Christopher M." <nospam_flibbity@floo.com>
Date2012-03-15 14:12 -0400
Message-ID<5I2dnem3Jva0rP_SnZ2dnUVZ_vqdnZ2d@giganews.com>
In reply to#5157
Paul Herber wrote:
> On Wed, 14 Mar 2012 21:27:35 -0400, "Christopher M."
> <nospam_flibbity@floo.com> wrote:
>
>>
>> "The Natural Philosopher" <tnp@invalid.invalid> wrote in message
>> news:jjqr0i$vg$4@news.albasani.net...
>>> Christopher M. wrote:
>>>> What are some good PHP books? I've been reading the manual on
>>>> PHP.net and it looks pretty basic.
>>>>
>>>
>>> What more do you need?
>>
>> Well, I was hoping to find something with a certain depth that would
>> show how to declare an array such as:
>> $myobject[] = new myclass();
>
> O'Reilly's PHP Cookbook is worth looking at.

Thanks, dude. You rock.


W. Pooh (AKA Winnie P.) 

[toc] | [prev] | [next] | [standalone]


#5156

From"M. Strobel" <sorry_no_mail_here@nowhere.dee>
Date2012-03-15 10:07 +0100
Message-ID<9sdprfFf39U1@mid.uni-berlin.de>
In reply to#5152
Am 14.03.2012 19:37, schrieb Christopher M.:
> What are some good PHP books? I've been reading the manual on PHP.net and it 
> looks pretty basic.
> 
> 
> W. Pooh (AKA Winnie P.) 

The "philosopher" is generally against books, he will tell you you don't need one.

I think you always can learn "something" even from a mediocre book, and you need all
kinds of input you can get to learn a programming language.

I have yet to find a good book on PHP. The social environment of PHP has led to a
deluge of beginner books.

Maybe http://www.codewalkers.com/c/b/PHP-Book-Reviews/ gives some clues.

/Str.

[toc] | [prev] | [next] | [standalone]


#5159

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-03-15 15:54 +0000
Message-ID<jjt3c1$72b$1@news.albasani.net>
In reply to#5156
M. Strobel wrote:
> Am 14.03.2012 19:37, schrieb Christopher M.:
>> What are some good PHP books? I've been reading the manual on PHP.net and it 
>> looks pretty basic.
>>
>>
>> W. Pooh (AKA Winnie P.) 
> 
> The "philosopher" is generally against books, he will tell you you don't need one.
> 

I am not 'generally against books'.  But...if you already know how to 
program, a language reference is all you need, and if you don't already 
know how to program, is PHP the place to be starting?
But as you say..

" The social environment of PHP has led to a deluge of beginner books."

and if thats what the OP wants fair enough - "hello world" in PHP?


-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#5163

From"M. Strobel" <sorry_no_mail_here@nowhere.dee>
Date2012-03-15 20:04 +0100
Message-ID<9sesp1Fs4bU1@mid.uni-berlin.de>
In reply to#5159
Am 15.03.2012 16:54, schrieb The Natural Philosopher:
> M. Strobel wrote:
>> Am 14.03.2012 19:37, schrieb Christopher M.:
>>> What are some good PHP books? I've been reading the manual on PHP.net and it looks
>>> pretty basic.
>>>
>>>
>>> W. Pooh (AKA Winnie P.) 
>>
>> The "philosopher" is generally against books, he will tell you you don't need one.
>>
> 
> I am not 'generally against books'.  

My apologies. I confounded you for a moment with Mr. Spock.

/Str.

[toc] | [prev] | [next] | [standalone]


#5164

FromCall Me Tom <noemail@nowhere.com>
Date2012-03-15 18:23 -0400
Message-ID<snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com>
In reply to#5159
On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
<tnp@invalid.invalid> wrote:

[SNIP]
>
>I am not 'generally against books'.  But...if you already know how to 
>program, a language reference is all you need, and if you don't already 
>know how to program, is PHP the place to be starting?
[SNIP]

Fair Enough.  I am interested in learning how to program. I want to
learn from home.  Where do you suggest I begin?

[toc] | [prev] | [next] | [standalone]


#5165

FromTim Streater <timstreater@greenbee.net>
Date2012-03-15 23:36 +0000
Message-ID<timstreater-FCEE4E.23363415032012@news.individual.net>
In reply to#5164
In article <snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com>,
 Call Me Tom <noemail@nowhere.com> wrote:

> On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
> <tnp@invalid.invalid> wrote:
> 
> [SNIP]
> >
> >I am not 'generally against books'.  But...if you already know how to 
> >program, a language reference is all you need, and if you don't already 
> >know how to program, is PHP the place to be starting?
> [SNIP]
> 
> Fair Enough.  I am interested in learning how to program. I want to
> learn from home.  Where do you suggest I begin?

You mean you know nothing at all about programming?

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [next] | [standalone]


#5166

FromCall Me Tom <noemail@nowhere.com>
Date2012-03-15 20:53 -0400
Message-ID<im25m7t90gimgiqmajsvd6lfeo3mifkfq6@4ax.com>
In reply to#5165
On Thu, 15 Mar 2012 23:36:34 +0000, Tim Streater
<timstreater@greenbee.net> wrote:

>In article <snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com>,
> Call Me Tom <noemail@nowhere.com> wrote:
>
>> On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
>> <tnp@invalid.invalid> wrote:
>> 
>> [SNIP]
>> >
>> >I am not 'generally against books'.  But...if you already know how to 
>> >program, a language reference is all you need, and if you don't already 
>> >know how to program, is PHP the place to be starting?
>> [SNIP]
>> 
>> Fair Enough.  I am interested in learning how to program. I want to
>> learn from home.  Where do you suggest I begin?
>
>You mean you know nothing at all about programming?

Tim,

I have created a website with PHP/MySQL ( corporateairamerica.com ).

I would say I did it by manipulating portions of the language.  Good
programming techniques would be coincidental. While the site works,
I'm sure a professional programmer would see many problems.  I do this
as a hobby, not a profession. However, I would like to do it right.

Tom

[toc] | [prev] | [next] | [standalone]


#5168

FromErwin Moller <erwinmollerusenet@xs4all.nl>
Date2012-03-16 14:07 +0100
Message-ID<4f633af9$0$6988$e4fe514c@news2.news.xs4all.nl>
In reply to#5166
On 3/16/2012 1:53 AM, Call Me Tom wrote:
> On Thu, 15 Mar 2012 23:36:34 +0000, Tim Streater
> <timstreater@greenbee.net>  wrote:
>
>> In article<snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com>,
>> Call Me Tom<noemail@nowhere.com>  wrote:
>>
>>> On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
>>> <tnp@invalid.invalid>  wrote:
>>>
>>> [SNIP]
>>>>
>>>> I am not 'generally against books'.  But...if you already know how to
>>>> program, a language reference is all you need, and if you don't already
>>>> know how to program, is PHP the place to be starting?
>>> [SNIP]
>>>
>>> Fair Enough.  I am interested in learning how to program. I want to
>>> learn from home.  Where do you suggest I begin?
>>
>> You mean you know nothing at all about programming?
>
> Tim,
>
> I have created a website with PHP/MySQL ( corporateairamerica.com ).
>
> I would say I did it by manipulating portions of the language.  Good
> programming techniques would be coincidental. While the site works,
> I'm sure a professional programmer would see many problems.  I do this
> as a hobby, not a profession. However, I would like to do it right.
>
> Tom

Hi Tom,

I think you can do thousands of roads.
It really depends on what you want to achieve.

A few considerations for you that pop into my head that are general in 
nature:

Pick a language:
Are you sure you want to study PHP further?
Why not C or C++ or Java or etc.etc.?
If you want to focus on webtechnology, there is also MS dotnet and Ruby 
On Rails, and etc.etc.
Not that I want to send you elsewhere. :-)
But why do you pick PHP? Because it is easy?
I know it is very hard to tell upfront what language is good for you 
(since you don't know the others), but it certainly is worth some thought.
PHP is very web focussed. You will never write a device driver in PHP, 
or a cool piece of 3D graphics software.
But for the web, PHP is very good.


Framework or no Framework?
These days many people work with frameworks. Frameworks have the 
advantage of hiding complexity, but they add bureaucracy, in some cases 
to the level that programming is no fun anymore, a situation that should 
be avoided at all costs.
If you want to learn, I suggest you do it without frameworks. Later on, 
when you made a lot of costly mistakes, you will be in a much better 
position to decide if you need one (or even write your own.).


Try to work modular/components/objects.
I express myself vaguely on purpose.
Bottonline: If you think you solved some particular problem do the 
following:
1) sit back and take a cup of coffee.
2) Try to describe what you just did. What kind of input are you taking? 
What problem did you solve? WHat types of output can you produce? etc.
3) Pull the thing OUT of your code, and make a class for it, or a 
function, or whatever suits your needs.
Then use that new component from within your code.
Also: Document it, store it somewhere where you can find it, preferably 
with some clear description attached to it.
You don't want to wander through your "clever classes" directory and see 
names like:
Test23_ver2
MyGodmodule
MyEmailer_ver2(I think)
myEmailer
Emailer
etc.
If you do this right, you will end up with a bunch of classes and 
functions you will be proud of. You can even add funky stuff like 
unittesting later on.

And last:
Let others review your code.
Let others review your code!
(3 times more)
Simply post in here a function, even a whole script, or some approach 
you have just finished, and ask for opinions.
Don't use an online forum, most I have seen are poor and filled with 
people who want to score karma-points or some other useless nonsense.
This group is pretty good.

There exist as many programming-styles as there are programmers.
Nonetheless, you will make rookie-mistakes, and more experienced 
programmers will catch them easily (mostly because they made the same 
mistakes themselves earlier.).
Don't be shy and remember most experienced programmers became 
experienced by having their OWN code reviewed (in a public forum or in 
private, doesn't matter).
For example: Do you really need to have your website screwed up by some 
SQL injection to learn to escape your input? Of course not: if somebody 
tells you how that works, and you understand it, it comes natural. But 
first you must have heard of the concept SQL injection.

Oh well, I talk too much. :-)

Good luck.

Regards,
Erwin Moller


-- 
"That which can be asserted without evidence, can be dismissed without 
evidence."
-- Christopher Hitchens

[toc] | [prev] | [next] | [standalone]


#5169

FromCall Me Tom <noemail@nowhere.com>
Date2012-03-16 16:17 -0400
Message-ID<ll77m7tb5vc8ijqf06vt9a5h354ocp1tjo@4ax.com>
In reply to#5168
On Fri, 16 Mar 2012 14:07:15 +0100, Erwin Moller
<erwinmollerusenet@xs4all.nl> wrote:

>On 3/16/2012 1:53 AM, Call Me Tom wrote:
>> On Thu, 15 Mar 2012 23:36:34 +0000, Tim Streater
>> <timstreater@greenbee.net>  wrote:
>>
>>> In article<snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com>,
>>> Call Me Tom<noemail@nowhere.com>  wrote:
>>>
>>>> On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
>>>> <tnp@invalid.invalid>  wrote:
>>>>
>>>> [SNIP]
>>>>>
>>>>> I am not 'generally against books'.  But...if you already know how to
>>>>> program, a language reference is all you need, and if you don't already
>>>>> know how to program, is PHP the place to be starting?
>>>> [SNIP]
>>>>
>>>> Fair Enough.  I am interested in learning how to program. I want to
>>>> learn from home.  Where do you suggest I begin?
>>>
>>> You mean you know nothing at all about programming?
>>
>> Tim,
>>
>> I have created a website with PHP/MySQL ( corporateairamerica.com ).
>>
>> I would say I did it by manipulating portions of the language.  Good
>> programming techniques would be coincidental. While the site works,
>> I'm sure a professional programmer would see many problems.  I do this
>> as a hobby, not a profession. However, I would like to do it right.
>>
>> Tom
>
>Hi Tom,
>
>I think you can do thousands of roads.
>It really depends on what you want to achieve.
>
>A few considerations for you that pop into my head that are general in 
>nature:
>
>Pick a language:
>Are you sure you want to study PHP further?
>Why not C or C++ or Java or etc.etc.?
>If you want to focus on webtechnology, there is also MS dotnet and Ruby 
>On Rails, and etc.etc.
>Not that I want to send you elsewhere. :-)
>But why do you pick PHP? Because it is easy?
>I know it is very hard to tell upfront what language is good for you 
>(since you don't know the others), but it certainly is worth some thought.
>PHP is very web focussed. You will never write a device driver in PHP, 
>or a cool piece of 3D graphics software.
>But for the web, PHP is very good.
>
>
>Framework or no Framework?
>These days many people work with frameworks. Frameworks have the 
>advantage of hiding complexity, but they add bureaucracy, in some cases 
>to the level that programming is no fun anymore, a situation that should 
>be avoided at all costs.
>If you want to learn, I suggest you do it without frameworks. Later on, 
>when you made a lot of costly mistakes, you will be in a much better 
>position to decide if you need one (or even write your own.).
>
>
>Try to work modular/components/objects.
>I express myself vaguely on purpose.
>Bottonline: If you think you solved some particular problem do the 
>following:
>1) sit back and take a cup of coffee.
>2) Try to describe what you just did. What kind of input are you taking? 
>What problem did you solve? WHat types of output can you produce? etc.
>3) Pull the thing OUT of your code, and make a class for it, or a 
>function, or whatever suits your needs.
>Then use that new component from within your code.
>Also: Document it, store it somewhere where you can find it, preferably 
>with some clear description attached to it.
>You don't want to wander through your "clever classes" directory and see 
>names like:
>Test23_ver2
>MyGodmodule
>MyEmailer_ver2(I think)
>myEmailer
>Emailer
>etc.
>If you do this right, you will end up with a bunch of classes and 
>functions you will be proud of. You can even add funky stuff like 
>unittesting later on.
>
>And last:
>Let others review your code.
>Let others review your code!
>(3 times more)
>Simply post in here a function, even a whole script, or some approach 
>you have just finished, and ask for opinions.
>Don't use an online forum, most I have seen are poor and filled with 
>people who want to score karma-points or some other useless nonsense.
>This group is pretty good.
>
>There exist as many programming-styles as there are programmers.
>Nonetheless, you will make rookie-mistakes, and more experienced 
>programmers will catch them easily (mostly because they made the same 
>mistakes themselves earlier.).
>Don't be shy and remember most experienced programmers became 
>experienced by having their OWN code reviewed (in a public forum or in 
>private, doesn't matter).
>For example: Do you really need to have your website screwed up by some 
>SQL injection to learn to escape your input? Of course not: if somebody 
>tells you how that works, and you understand it, it comes natural. But 
>first you must have heard of the concept SQL injection.
>
>Oh well, I talk too much. :-)
>
>Good luck.
>
>Regards,
>Erwin Moller

Thank you Erwin.  I will be staying with HTML/CSS/PHP/MySql.  Plenty
for me to learn there.  You have given me a direction.  I'll let
others decide if you talk too much. :)  However, I assure you that
your post was far more helpful than TNP's contribution.

Tom

[toc] | [prev] | [next] | [standalone]


#5171

From"Leonardo Azpurua" <leonardo@exmvps.org>
Date2012-03-16 21:57 -0430
Message-ID<jk0sql$9ta$1@dont-email.me>
In reply to#5168
"Erwin Moller" <erwinmollerusenet@xs4all.nl> escribió en el mensaje 
news:4f633af9$0$6988$e4fe514c@news2.news.xs4all.nl...
>
> Hi Tom,
>
> I think you can do thousands of roads.
> It really depends on what you want to achieve.
>
> A few considerations for you that pop into my head that are general in 
> nature:
>
> Pick a language:
> Are you sure you want to study PHP further?
> Why not C or C++ or Java or etc.etc.?
> If you want to focus on webtechnology, there is also MS dotnet and Ruby On 
> Rails, and etc.etc.
> Not that I want to send you elsewhere. :-)
> But why do you pick PHP? Because it is easy?
> I know it is very hard to tell upfront what language is good for you 
> (since you don't know the others), but it certainly is worth some thought.
> PHP is very web focussed. You will never write a device driver in PHP, or 
> a cool piece of 3D graphics software.
> But for the web, PHP is very good.
>
>
> Framework or no Framework?
> These days many people work with frameworks. Frameworks have the advantage 
> of hiding complexity, but they add bureaucracy, in some cases to the level 
> that programming is no fun anymore, a situation that should be avoided at 
> all costs.
> If you want to learn, I suggest you do it without frameworks. Later on, 
> when you made a lot of costly mistakes, you will be in a much better 
> position to decide if you need one (or even write your own.).
>
>
> Try to work modular/components/objects.
> I express myself vaguely on purpose.
> Bottonline: If you think you solved some particular problem do the 
> following:
> 1) sit back and take a cup of coffee.
> 2) Try to describe what you just did. What kind of input are you taking? 
> What problem did you solve? WHat types of output can you produce? etc.
> 3) Pull the thing OUT of your code, and make a class for it, or a 
> function, or whatever suits your needs.
> Then use that new component from within your code.
> Also: Document it, store it somewhere where you can find it, preferably 
> with some clear description attached to it.
> You don't want to wander through your "clever classes" directory and see 
> names like:
> Test23_ver2
> MyGodmodule
> MyEmailer_ver2(I think)
> myEmailer
> Emailer
> etc.
> If you do this right, you will end up with a bunch of classes and 
> functions you will be proud of. You can even add funky stuff like 
> unittesting later on.
>
> And last:
> Let others review your code.
> Let others review your code!
> (3 times more)
> Simply post in here a function, even a whole script, or some approach you 
> have just finished, and ask for opinions.
> Don't use an online forum, most I have seen are poor and filled with 
> people who want to score karma-points or some other useless nonsense.
> This group is pretty good.
>
> There exist as many programming-styles as there are programmers.
> Nonetheless, you will make rookie-mistakes, and more experienced 
> programmers will catch them easily (mostly because they made the same 
> mistakes themselves earlier.).
> Don't be shy and remember most experienced programmers became experienced 
> by having their OWN code reviewed (in a public forum or in private, 
> doesn't matter).
> For example: Do you really need to have your website screwed up by some 
> SQL injection to learn to escape your input? Of course not: if somebody 
> tells you how that works, and you understand it, it comes natural. But 
> first you must have heard of the concept SQL injection.
>
> Oh well, I talk too much. :-)
>
> Good luck.
>
> Regards,
> Erwin Moller


Best advice! 

[toc] | [prev] | [next] | [standalone]


#5167

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-03-16 09:57 +0000
Message-ID<jjv2pe$u6p$1@news.albasani.net>
In reply to#5164
Call Me Tom wrote:
> On Thu, 15 Mar 2012 15:54:41 +0000, The Natural Philosopher
> <tnp@invalid.invalid> wrote:
> 
> [SNIP]
>> I am not 'generally against books'.  But...if you already know how to 
>> program, a language reference is all you need, and if you don't already 
>> know how to program, is PHP the place to be starting?
> [SNIP]
> 
> Fair Enough.  I am interested in learning how to program. I want to
> learn from home.  Where do you suggest I begin?

ah..


-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#5158

FromScott Johnson <noonehome@chalupasworld.com>
Date2012-03-15 05:54 -0700
Message-ID<jjsoqu$cc2$1@dont-email.me>
In reply to#5152
On 3/14/2012 11:37 AM, Christopher M. wrote:
> What are some good PHP books? I've been reading the manual on PHP.net and it
> looks pretty basic.
>
>
> W. Pooh (AKA Winnie P.)
>
>
In the beginning this book gave me a good step up.

http://www.amazon.com/PHP-MySQL-Web-Development-Edition/dp/0672329166/ref=sr_1_1?ie=UTF8&qid=1331815807&sr=8-1

It delves into both PHP AND mysql from a beginners standpoint.


And of course don't negate this newsgroup. Even though you will get some 
flames from self-declared professionals, as long as you are trying to 
put the work in, there are many knowledgeable people here who have been 
coding for several years.

Just don't take any attacks too personal, as some here, this is there 
life to make a mark for themselves.

Scotty

[toc] | [prev] | [next] | [standalone]


#5162

From"Christopher M." <nospam_flibbity@floo.com>
Date2012-03-15 14:14 -0400
Message-ID<TcadnXjB1_ckrP_SnZ2dnUVZ_rqdnZ2d@giganews.com>
In reply to#5158
Scott Johnson wrote:
> On 3/14/2012 11:37 AM, Christopher M. wrote:
>> What are some good PHP books? I've been reading the manual on
>> PHP.net and it looks pretty basic.
>>
>>
>> W. Pooh (AKA Winnie P.)
>>
>>
> In the beginning this book gave me a good step up.
>
> http://www.amazon.com/PHP-MySQL-Web-Development-Edition/dp/0672329166/ref=sr_1_1?ie=UTF8&qid=1331815807&sr=8-1
>
> It delves into both PHP AND mysql from a beginners standpoint.
>
>
> And of course don't negate this newsgroup. Even though you will get
> some flames from self-declared professionals, as long as you are
> trying to put the work in, there are many knowledgeable people here
> who have been coding for several years.
>
> Just don't take any attacks too personal, as some here, this is there
> life to make a mark for themselves.
>
> Scotty

I have that one already.


W. Pooh (AKA Winnie P.) 

[toc] | [prev] | [next] | [standalone]


#5170

From"Christopher M." <nospam_flibbity@floo.com>
Date2012-03-16 21:29 -0400
Message-ID<VsidnYTGNOu1dP7SnZ2dnUVZ_r6dnZ2d@giganews.com>
In reply to#5152
"Christopher M." <nospam_flibbity@floo.com> wrote in message 
news:8sGdneILNJwueP3SnZ2dnUVZ_v2dnZ2d@giganews.com...
> What are some good PHP books? I've been reading the manual on PHP.net and 
> it looks pretty basic.
>
>
> W. Pooh (AKA Winnie P.)
>

I found this site, if anyone's interested.
http://bytes.com/topic/php/answers/11337-delete-object


W. Pooh (AKA Winnie P.) 

[toc] | [prev] | [next] | [standalone]


#5176

FromGregor Kofler <usenet@gregorkofler.com>
Date2012-03-17 16:25 +0100
Message-ID<jk2ae1$76v$1@dont-email.me>
In reply to#5170
Am 2012-03-17 02:29, Christopher M. meinte:
> "Christopher M." <nospam_flibbity@floo.com> wrote in message 
> news:8sGdneILNJwueP3SnZ2dnUVZ_v2dnZ2d@giganews.com...
>> What are some good PHP books? I've been reading the manual on PHP.net and 
>> it looks pretty basic.
>>
>>
>> W. Pooh (AKA Winnie P.)
>>
> 
> I found this site, if anyone's interested.
> http://bytes.com/topic/php/answers/11337-delete-object

Why should anyone be interested in a forum entry dating back to 2005
discussing an OOP issue in PHP*4*?

Gregor

-- 
http://vxweb.net

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.php


csiph-web