php - Begin with OOP by using classes as a collection of methods? -


is wise start object-oriented php using classes collection of methods? there drawbacks approach?

i know oop more this, php-projects small take advantage of oop has offer. on other hand, projects becoming big update/maintain procedural programming.

i have read many topics oop , once in while says "oop more collection of functions" (or along these lines). made me think: may true, may chance dive world of oo-programming doing that.

so, smart first step start using , learning oop? or there serious drawbacks need know about?

your question real broad, deserves simple answer can memorize , keep while continue journey world of object oriented analysis , design (ooad).

so, smart first step start using , learning oop? or there serious drawbacks need know about?

as can imagine, not possible answer question directly. smart , not depends lot of our own abilities. e.g. persons might smart, because helps them stop errors , way go. others, might complete desaster, because don't spot error, continue developing software because think: if don't spot error, totally right.

so how resolve dilemma? easy, have 2 parts in oop can learn , keep you. first called s.t.u.p.i.d. - might imagine means if falls category, , second called s.o.l.i.d. , it's likewise self-speaking how treat somethings in there.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -