Posts Tagged ‘OOP’

PHP Tutorials: Try/Catch Block

Touching on Object Orientated Development (OOP), the Try/Catch block is a way to catch exceptions thrown by functions in your PHP application. A smoother, neater way to catch errors whether you’re using OOP or not. FORUM phpacademy.org TWITTER twitter.com FACEBOOK www.facebook.com

PHP: Create Your Own MVC (Part 2)

In this PHP MVC Tutorial we’ll improve on part 1 and make a pretty looking view, handle the URL’s better and get some chicks in while we program. Download Source @ jream.com

PHP OOP Tutorial 8 | Interfaces

This is a complex example of using PHP Interfaces. Sorry I could not think of a simpler example of making use of it — I rarely use these and prefer Abstract classes, though they are different. In my opinion, interfaces would be used for a larger system where a clear and concise structure is required for a team of developers, rather than a 1 person show. Please do not panic if this makes no sense you do not need to fret over this. This is to get you familiar with the terminology so that it can bake in your mind for a long time until you think you really need it. jream.com

PHP OOP Tutorial 1 | Starting Out

We jump into making a class and some chit-chat while we write it, this is for PHP OOP.

PHP OOP Tutorial 23 | SimpleXML

I run through this one pretty quick mostly because you can learn this by looking at the PHP Manual a lot faster (See “SimpleXML Example” on php.net Docs), its very easy to use and you should know it even if you don’t use a lot of XML at the moment! At this point I haven’t used XPath for really anything I needed ever so I don’t know a lot about it :P jream.com

PHP OOP – Validator Class Example

PHP OOP Tutorial for Beginners, Example on how to use a object as a Validator and save space in your code. www.jream.com – PHP Basic OOP Usage Example – PHP Static Functions – PHP Validation with Object

PHP OOP Tutorial 22 | PDO Examples

PDO is an awesome Database Object. It can be used with several types of databases & it has a ton of options. It’s a good idea to get familiar with this because at some point Zend Certification requires you to know it. And it manages a lot of the dirty work for you :P jream.com * I go a little fast through this one, was trying to fit in 15 minutes.

2/3 Private Message System Tutorial for PHP MySQL Websites Web Intersect

Source Code: www.webintersect.com Learn how to develop a custom Private Messaging system using jQuery, Ajax, PHP, and MySQL for your social networks or community website projects.

Learn PHP Now – Simple OOP

phpvideos.net (for better quality) Learn the very basics of Object Oriented Programming in PHP

PHP OOP Tutorial 1: an introduction to Object Oriented Programming

This is a basic introduction to Object Oriented programming. Here, I introduce classes, public and private variables and methods, magic methods, and method chaining. I use a diagram to show the concept visually before creating the code, and then I test it in the terminal. I also show variable casting to ensure that information is properly handled, even when it is of the wrong type. As always, I will post on my site, kloplop321.com/php-tutorials/ with the source code and any resources I use. Please make sure to subscribe if you like my tutorials, and feel free to share them with others. kloplop321.com