DevPinoy.org
A Filipino Developers Community
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
Groups
DevCast
Forums
»
Web Development
»
PHP
»
object oriented programming
>>> First two to make 3 wins! <<<
object oriented programming
rated by 0 users
This post has 9 Replies | 1 Follower
Posts
3
Points 75
Reply
dodge
Posted: 02-14-2007 7:27 PM
rated by 0 users
anybody can give me some tips about oop? thanks..............
| Post Points: 50
Posts
953
Points 22,750
Reply
cruizer
replied on
02-14-2007 8:25 PM
rated by 0 users
what tips in particular?
in general, read up on design patterns, single responsibility principle, open/closed principle, Liskov substitution principle... those concepts are very important in OOP.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
| Post Points: 5
Posts
768
Points 13,405
Reply
lamia
replied on
02-14-2007 10:05 PM
rated by 0 users
If you're new to OOP, I think Design Patterns would be a bit too much to handle. Not that I'm underestimating your capabilities or that I'm comparing myself to you. But put in mind first the four principles of OOP:
- Inheritance
- Encapsulation
- Polymorphism
- Abstraction
I dunno if there's a correct order. Once you understand that, you can go to design patterns. Design Patterns are mostly associated with polymorphism(the cool ones).
Ask around if you have any more doubt.
Convert limitations to great expectations... You are the creative force of your life...
| Post Points: 20
Posts
953
Points 22,750
Reply
cruizer
replied on
02-14-2007 10:48 PM
rated by 0 users
i beg to differ. when i read about design patterns, it was only then that OOP to me made sense
i've known about OOP/abstraction/inheritance/polymorphism (C++, Turbo Pascal, Java and C# syntax) for more than a decade before my encounter with design patterns. yet it was only then that I realized that I never really knew how to use them. so in effect, I only learned what real OOP was when I learned about it.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
| Post Points: 20
Posts
3
Points 75
Reply
dodge
replied on
02-14-2007 11:37 PM
rated by 0 users
ya your right! im new to oop, but im not new to programming. its just i never use it before when i start.
| Post Points: 20
Posts
768
Points 13,405
Reply
lamia
replied on
02-15-2007 3:08 AM
rated by 0 users
I have an idea for dodge. If you could explain to yourself all those four principles then perhaps you could jump to design patterns?
Convert limitations to great expectations... You are the creative force of your life...
| Post Points: 5
Posts
202
Points 2,290
Reply
smash
replied on
02-15-2007 11:04 PM
rated by 0 users
you will learn more about oop the moment you start applying it in your projects. dont worry if you dont get everything right the first time. you can always refactor later :)
| Post Points: 20
Posts
953
Points 22,750
Reply
cruizer
replied on
02-15-2007 11:36 PM
rated by 0 users
agree with smash. most of the time it's ok to code things badly only to refactor them when you've noticed it stinks
this'll prevent you from overengineering your designs. refactoring to patterns, ika nga.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
| Post Points: 20
Posts
55
Points 830
Reply
Garri
replied on
02-18-2007 5:35 PM
rated by 0 users
try this
www.objectorientedphp.com
Filed under:
PHP
,
OOP
,
PHP4
,
Object Oriented Programming
,
PHP5
| Post Points: 20
Posts
36
Points 525
Reply
adonhis
replied on
02-21-2007 2:19 PM
rated by 0 users
OOP Demystified
Recommended book for learning OOP. Medyo may mga redundant na mga sentences and examples pero ayos lang ung explanation to different OOP concepts and principles (Encapsulation, Inheritance, Abstraction, Polymorphism, Method Overloading, Overridding, etc). :D
-You can do anything you think you can.-
Filed under:
OOP
,
Object Oriented Programming
| Post Points: 5
Previous
|
Next
Page 1 of 1 (10 items) |
RSS
Copyright DevPinoy 2005-2008