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


Groups > comp.lang.php > #5171

Re: Books?

From "Leonardo Azpurua" <leonardo@exmvps.org>
Newsgroups comp.lang.php
Subject Re: Books?
Date 2012-03-16 21:57 -0430
Organization A noiseless patient Spider
Message-ID <jk0sql$9ta$1@dont-email.me> (permalink)
References (2 earlier) <jjt3c1$72b$1@news.albasani.net> <snq4m7djqvu4em424v5bs5rj7qjbv7o5ta@4ax.com> <timstreater-FCEE4E.23363415032012@news.individual.net> <im25m7t90gimgiqmajsvd6lfeo3mifkfq6@4ax.com> <4f633af9$0$6988$e4fe514c@news2.news.xs4all.nl>

Show all headers | View raw


"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! 

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web