Hot Computers & Programming Posts
How To: Use class inheritance with PHP OOP programming
This tutorial for PHP beginners introduces the viewer to the concept of class inheritance. As your coding career takes off, you'll need to know as many ways to work efficently and code with speed to save time and money. Check it!
How To: Use a singleton pattern in PHP programming
This PHP newbie video with teach you what a Singleton Pattern is and how to use it in your PHP programming. PHP OOP Singleton is great for a database connection when you only want one consistent connection in your application. So, to prevent wasting space accidentally by calling it twice in different areas, this is good way to protect it. Singleton is very popular and used often in Database Connections.
How To: Create a simple login script with PHP programming
In this tutorial you'll learn about a simple PHP login script that serves to check your MySQL database against a user/password. The code in this video is a quick and dirty procedural code, but it's enough to get you going so you can try it out yourself.
How To: Use the Smarty Template Engine with PHP programming
In this PHP how-to tutorial you'll learn how to get started using Smarty Template Engine for PHP. This is a basic intro for PHP coding newbies, so if you're a pro, move on. If you're not a pro, watch the vid and get a little closer.
How To: Use post, get and request superglobal variables in PHP programming
This tutorial provides some more useful information for PHP beginners. You'll get a quick overview about post, get and request superglobal variables. From this you'll learn how to handle a URL and a form. Don't be shy, jump in and see if PHP is right for you.
How To: Use the switch statement and ternary operator for PHP OOP programming
This quick little video teaches you about the switch statement and ternary operator for use with your PHP programming. It's quick so you may want to take notes to ensure it's all sticking in your gray matter hard drive. Go!
How To: Use string manipulation with PHP OOP programming
This tutorial provides a quick and clear example of how string manipulation works. A string is a line of text, and once you're up to your elbows in zeros and ones, you'll want to do lots of manipulation. Let's get digital, digital.
How To: Use Yahoo media player in your PHP programming to play mp3s
If you're programming with PHP and you generate a list of music files, you'll want to find a way to play them. This video shows how to use the Yahoo Media Player to play the list of mp3s you've created, with your PHP coding.
How To: Make a simple calculator with Scope in PHP OOP programming
In this video, you'll use Scope and create a simple calculator while learning a little about private, public and protected properties in OOP programming. If you're looking to bone up your PHP coding skills you'll want to check this video out.
How To: Set up private properties and private methods with PHP OOP programming
In this tutorial, learn to setup private properties(variables) and private methods(functions) with your PHP OOP programming. This tutorial will have the file logger run through some private methods. Check it out and open the door to the world of PHP programming.
How To: Program faster with some PHP speed tips
If you're looking to shave a few milliseconds off the Zend Engine's work load, check out this tutorial for some PHP programming speed tips. This efficency will pay off when you have tons of traffic to your site and save you valuable server resources.
How To: Use abstract classes when programming with PHP OOP
Abstract classes can not be created and should be thought of as template classes. If you're programming in PHP OOP, check out this tutorial to get and idea of what abstract classes are and how to use them. Good luck!
How To: Use Static Classes in PHP OOP programming
When coding with PHP OOP you may encounter the need for static methods or static classes. This tutorial will give you an overview of how to use these functions and when you should use them at all. Get coding people!
How To: Craete Magic Methods inside of objects with OOP programming
If you're doing some OOP programming you can use Magic Methods to help you out. This tutorial will show you three of the methods and they all have good uses if you need them. Magic methods alwasys start with two underscores!
How To: Use encapsulation with your PHP OOP programming
When you're doing PHP programming, you'll likely want to have some regions that are strictly off limits to the user and should be accessible only to the programmer. This is when you'll want to use encapsulation to create an area within your coding that's for your eyes only.
How To: Use an SPL (Standard PHP Library) in PHP programming
This video presents a basic introduction to SPL (Standard PHP Library) in PHP programming. You'll be dealing with itertators, which will allow you to loop through operations. This is a basic intro, but gives you a good idea of what you'll be dealing with.
How To: Load JSON from an existing data file with jQuery
Load JSON (JavaScript Object Notation) data from an existing database file into jQuery by following along with this informative and illustrative video tutorial from JREAMdesign. Here, a database query is used and the results are returned to jQuery via AJAX formatted in JSON.
How To: Chain methods in your PHP object programming
Chaining methods in PHP can be simple and straightforward if you follow along with this informative video tutorial on PHP OOP methods from JREAMdesign. The key action is to return the object after running the function so that you can run another function to the object directly afterwards.
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: Utilize the Decorator design pattern in your PHP programming
Learn to create and use the Decorator pattern in PHP by following along with this instructional video from JREAMdesign. The Decorator pattern is very handy when it is time to "decorate" an object by "adding", for example, frosting, nuts and sprinkles to a cake by sending it to various "decorating stations."
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 getters and setters in your PHP programming
Learn how to properly use and implement getters and setters in your PHP programming by following along with this informative video. By constructing a very simple program on his computer, JREAMdesign demonstrates how getters and setters work within PHP programming.
How To: Serialize data arrays in PHP into a single string
Learn to serialize your data and convert multidimensional arrays into a single string by following along with this informative video from JREAMdesign. Serializing your data essentially compacts it from an expanded array into a string series of values, a very handy PHP feature indeed.
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: Import and manipulate images in iWork documents
In iWork documents and pages, there's a lot of things you can do with external images. You can import them and manipulate them in various ways. These images can be resized, scaled, rotated and cropped. You can also make color adjustments, brightness, contrast, adjust image colors and place them inside of shape masks.
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.
How To: How to code efficently using Netbeans IDE
In the world of coding you want to be clean and efficient. A great way to do this is with an IDE, such as Netbeans IDE. If you're ever working with a team, knowledge of a great IDE is a must. Check out this PHP coding tutorial and up your knowledge base.
How To: Understand PHP object oriented design composition & coupling
When you're working with PHP OOD (Object Oriented Design)you want to create objets that are singular and serve a specific role. This tutorial shows you how to easily couple and decouple things when designing - and when you should and should do it too.
Tech Tip: Clean Your LCD Screen With a Coffee Filter
Apparently paper towel + Windex is a no-no when it comes to cleaning your computer or television's LCD screen. Apple's official guidelines for proper cleaning are as follows:
How To: Tag files using Spotlight comments on OS X
Apple's Spotlight is pretty good at helping you find any file in the bowles of your hard drive, but if you want to make super sure you find what you need, follow this how-to and learn how to add tags with Spotlight comments to give you searchable tags.
How To: Copy a data disk uing one optical drive using disk utility on OS X
Here's something everyone needs to know: how to copy a data disk (CD, DVD) using disk utility on OS X when you only have one optical drive. You will need to create a temporary disk image on your hard drive. Then use that disk image to create physical copies of your disc.
How To: Add pictures to your email signature in Apple Mail
Looking to spice up your email signature a bit? Why not add an image? This simple how-to shows you an easy way to take advantage of some simple HTML embedding so you can add an image to your Apple mail signature.
How To: Use the Mac App Store on Mac OS X
No longer will you need to get in your car and head down to the software store to pick up the latest copy of Photoshop. With Apple's new Mac App Store you can purchase and install the latest apps fromthe comfort of your own home!
How To: Access Your Programs Fast from Your Right-Click Desktop Menu in Windows
On your keyboard, press WinButton + R to open the Run window Once opened, type Regedit.exe into the textbox and click OK