Hot Computers & Programming Posts

How To: Use type hinting in your PHP design patterns

Type hinting in PHP appears frequently in design patterns but can be distinctively confusing unless you are totally familiar with it. This walkthrough from JREAMdesign raises your exposure levels to using type hinting in your parameter functions with objects and arrays.

How To: Use the Facade design pattern in your PHP programming

This tutorial from JREAMdesign reviews the Facade design pattern and how it specifically relates to PHP programming. In the facade pattern, a complex subsystem and calling class are hidden from each other through the use of a Facade class. This video guide walks through the construction of a Facade and demonstrates its use.

How To: Utilize the MVC Pattern in PHP programming

The "Model View Controller" pattern, or MVC, is a paradigm of programmatically organizing an application into three parts: the Model, the View and the Controller. This video tutorial from JREAMdesign summarizes the purposes of the various components and how they interrelate with the program within this pattern. Several options for working with MVC are also highlighted.

How To: Create PDO's (PHP Database Objects) in PHP

Learn to work with PDO in PHP with this informative video tutorial from JREAMdesign. The PDO extension is a consistent interface for accessing several types of databases in PHP and it has a ton of options. This knowledge is also required for Zend Certification.

How To: Use SimpleXML to load XML into PHP

Learn to utilize SimpleXML in this PHP tutorial to load and access XML from within PHP. This video shows how to load an XML file into a PHP array variable and get values from within that array. This informative video from JREAMdesign shows you step by step.

How To: Choose the right PHP framework and CMS

In this video tutorial, JREAMdesign looks at the task of choosing a PHP framework and a CMS. He helps simplify the act of choosing between the major framework contenders (Zend Framework, Symfony, Yii, Code Igniter, CakePHP) and content management systems (Drupal, WordPress, Joomla, Wolf CMS, Mod X) by summarizing what normally is expected from these systems and some of their typical features.

How To: Use composition instead of inheritance in PHP

While inheritance is very useful within PHP and OOP, it is notably better to favor composition over inheritance. In this video walkthrough, JREAMdesign demonstrates the composition concept with interrelated functions, and also shows a way of logically organizing the resultant files.

How To: Fix problems on your Mac computer

Is your Mac computer broken? Here are some basic troubleshooting tips that you might find useful before you take it into the shop to be repaired. These are some simple things that you can do to troubleshoot issues. If you are not a computer expert, you might have to bring your computer to the repair shop for proper diagnosis and repair. However, one of these helpful hints solve your problem and save you a costly repair bill.

How To: Use the AutoFill feature in Safari and save time

Use the AutoFill feature in Safari to quickly fill in web forms for sites that you visit again and again and save time when logging in. Form entry data is stored in your address book contacts, and from information you have filled out in web forms before. You can see the passwords used by AutoFill in the OS X keychain, and you can also specify and limit general access to those passwords.

How To: Save your server resources with PHP caching

Sometimes server space can be an issue, especially when you're talking about costly actions such as iteration, file scanning, and numerous queries. In those instances it's often best to cache! This tutorial gives you a simple example which can help your site load faster and take less abuse.