7 Replies - 1399 Views - Last Post: 10 September 2013 - 01:31 PM Rate Topic: -----

#1 sakthi169  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 12
  • Joined: 28-August 13

php with oops concept

Posted 06 September 2013 - 04:25 AM

hi,
i'm new to PHP i want to know the how to use the OOP's concept in PHP...

If there is any link is there means inform to me...
Is This A Good Question/Topic? 0
  • +

Replies To: php with oops concept

#2 Zimdale  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 35
  • Joined: 30-July 13

Re: php with oops concept

Posted 06 September 2013 - 04:29 AM

w3schools is usually a pretty good resource in my opinion, especially for just starting the trade. http://www.w3schools...php/default.asp

Overall, I have found that the best method for me is to try out some stuff and use the ultimate resource http://google.com


I also found that finding open source projects and reverse engineering them to learn how they work teaches me well. This may not work for everyone but that is how I learn best.
Was This Post Helpful? 0
  • +
  • -

#3 sakthi169  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 12
  • Joined: 28-August 13

Re: php with oops concept

Posted 06 September 2013 - 04:46 AM

thank u

i learn basic concept of php in w3 school only....
but i need to implement the oops concept in php....
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3572
  • View blog
  • Posts: 10,414
  • Joined: 08-June 10

Re: php with oops concept

Posted 06 September 2013 - 04:51 AM

View Postsakthi169, on 06 September 2013 - 01:46 PM, said:

i need to implement the oops concept in php....

OOP is a language-independent concept (except for the requirement of objects). so you can learn OOP anywhere you like, you only have to know about the PHP OOP implementation to code it (though knowing only the latter doesn’t help either, since OOP is a lot about application design).
Was This Post Helpful? 1
  • +
  • -

#5 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3730
  • View blog
  • Posts: 6,017
  • Joined: 08-June 10

Re: php with oops concept

Posted 06 September 2013 - 01:04 PM

View PostZimdale, on 06 September 2013 - 11:29 AM, said:

w3schools is usually a pretty good resource in my opinion, especially for just starting the trade. http://www.w3schools...php/default.asp

It has it flaws. See: http://www.w3fools.com/

I'd also be somewhat suspicious of tutorial that doesn't even get the "Hello, world!" program right. (Who uses "My first PHP script!"? Seriously?! :)) - They coding style is also horrendous. That's a somewhat objective opinion, perhaps, but I'm guessing there is a reason why most people don't use that style.

There doesn't seem to be anything on OOP in W3School's PHP section though, so it's unlikely to help in this case.

On a brighter side, they seem to have at least moved away from the old MySQL API. (Finally.)
Was This Post Helpful? 1
  • +
  • -

#6 andrewsw  Icon User is online

  • It's just been revoked!
  • member icon

Reputation: 3734
  • View blog
  • Posts: 13,056
  • Joined: 12-December 12

Re: php with oops concept

Posted 06 September 2013 - 02:12 PM

The following is an interesting article comparing procedural to OOP PHP. It is not a beginners' tutorial, but may be of interest to others reading this thread.

From Procedural to Object Oriented PHP :nettuts
Was This Post Helpful? 1
  • +
  • -

#7 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10773
  • View blog
  • Posts: 40,122
  • Joined: 27-December 08

Re: php with oops concept

Posted 06 September 2013 - 02:28 PM

We have an OOPHP tutorial on DIC.
Was This Post Helpful? 0
  • +
  • -

#8 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5382
  • View blog
  • Posts: 27,350
  • Joined: 10-May 07

Re: php with oops concept

Posted 10 September 2013 - 01:31 PM

I don't understand the point of coming to a website (Dream In Code) to ask to be directed to another website.

If the tutorials & members we have here are not good enough, then just use google. Do your own research.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1