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


Groups > comp.lang.php > #15511

Re: OOPHP online tutorials

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: OOPHP online tutorials
Date 2015-06-24 23:21 -0400
Organization A noiseless patient Spider
Message-ID <mmfs1f$ni8$1@dont-email.me> (permalink)
References <mmf2bs$2hf$1@dont-email.me>

Show all headers | View raw


On 6/24/2015 4:03 PM, Richard Heathfield wrote:
> Frequently I find myself writing *almost* the same PHP code for a number
> of tasks, but with tiny differences. For example:
> 
> User: create, retrieve, amend, delete
> Group: create, retrieve, amend, delete
> UserPermission: create, retrieve, amend, delete
> GroupPermission: create, retrieve, amend, delete
> DiaryEntry: create, retrieve, amend, delete
> EmbeddedImage: create, retrieve, amend, delete
> 
> and so on. At present, I'm more or less doing copy-paste-edit, which I
> can't help but notice is a terrible way to do things, and it strikes me
> that an object-oriented approach would be more efficient.
> 
> I don't particularly want to get locked into any one framework, because
> I can't guarantee that that framework will be installable on whatever
> server will be managing the site, but "vanilla" OO PHP seems to me to be
> the way to go.
> 
> Are there any excellent but gentle introductions to OO PHP out there on
> the Web?
> 

I would give you some excellent advice about what to do (I taught OO for
12 years to corporate employees on three continents and have been doing
it for almost 30 years in a number of languages, including PHP since it
started trying to implement OO).  But you've already shown you wouldn't
appreciate such advice, so I'm not going to bother.

I like to help those who want to help themselves.  I don't help trolls
or those who support trolls, especially when they don't take the time to
understand the entire history.

Maybe Pointed Head can give you some advice.  You seem to like him so much.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

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


Thread

OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 21:03 +0100
  Re: OOPHP online tutorials bramante <bramante@yopmail.com> - 2015-06-24 23:37 +0200
  Re: OOPHP online tutorials Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-24 23:21 -0400
    Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 09:12 +0100
      Re: OOPHP online tutorials Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-25 11:15 +0200
        Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 12:01 +0100
      Re: OOPHP online tutorials Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-25 08:09 -0400
        Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 13:33 +0100
  Re: OOPHP online tutorials Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-25 11:08 +0200
    Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 11:12 +0100
      Re: OOPHP online tutorials Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-25 14:02 +0200
        Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 13:20 +0100
          Re: OOPHP online tutorials "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-25 14:51 +0200
            Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 13:56 +0100
          Re: OOPHP online tutorials Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-25 15:39 +0200
            Re: OOPHP online tutorials Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 14:54 +0100

csiph-web