Pages tagged 'php tutorials'1-1 results of 1 total.
- Get A Crash Course On OOP
Having trouble making the leap from procedural to object-oriented programming (OOP)? In this tutorial, I'll explain the difference between the two styles of programming and give real-world examples on how and why you might use each. This tutorial isn't language-specific and I won't use any code examples, but by the end of it, I think you'll have a better understanding of object-oriented programming and how you can apply it in your own code projects.
If you're just starting out, chances are that you are programming in a procedural manner. In a way, procedural programming could also be called linear programming. One thing happens and then the next. Code is executed from the top of the file to the bottom.
OOP isn't as linear as procedural programming. Code is often broken up and distributed across multiple files, each one with a single purpose. OOP is also more abstract than procedural programming because it looks for patterns and reusability. The same code can be loaded and executed many times to accomplish a task without having to retype it.
Find what you need.
We're on the web.
We are where you are. Discover great content by becoming our fan on Facebook, following us on Twitter, or subscribing to our RSS feeds.