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
Posts Tagged ‘OOP’
PHP: Create Your Own MVC (Part 2)
June 16th, 2011
phpmoz 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
May 13th, 2011
phpmoz 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
April 22nd, 2011
phpmoz We jump into making a class and some chit-chat while we write it, this is for PHP OOP.
PHP OOP Tutorial 23 | SimpleXML
April 20th, 2011
phpmoz 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
jream.com
PHP OOP – Validator Class Example
April 18th, 2011
phpmoz 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
March 20th, 2011
phpmoz 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
jream.com * I go a little fast through this one, was trying to fit in 15 minutes.
Learn PHP Now – Simple OOP
January 8th, 2011
phpmoz 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
December 3rd, 2010
phpmoz 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

Posted in
Tags:

