Active Computers & Programming Posts
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.
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: 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: 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: 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: Build a good reusable PHP library with organization & consistency
One of the things you'll need for a successful future in programming is a great re-usable library of code. In order to achieve that you'll need to practice strict organization and consistency with your coding. This tutorial shows you how to do both, and help up your PHP proramming potential.
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.
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: 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
How To: Download the Mac App Store in Mac OS X 10.6.6 & Fix the (100) Error
Mac owners— life just got a little easier. No longer do you have to wait in line for the newest version of iLife. No more searching Amazon or eBay for the best price on Aperture. And no more Angry Birds on your mobile device's small touchscreen!
How To: Replace or install additional RAM in a Microsoft Windows desktop PC
Thinking about upgrading the memory in your desktop computer? This brief video tutorial from the folks at Butterscotch will teach you everything you need to know. For more information, including detailed, step-by-step instructions, and to get upgrading your own RAM, take a look.
How To: Start programming your first pages in CSS
Looking for a place to quickly and easily learn CSS? This is the tutorial for you! This video covers every basic concept that you'll need to get under your belt, and shows you how to code a few simple procedures using CSS.
How To: Use an external stylesheet for greatest consistency in HTML
A stylesheet helps keep the design elements for your website consistent - such as making sure all your headings and links are formatted exactly the same way. This tutorial shows you how to set up an external stylesheet for your own HTML based website.
How To: Increase your productivity by mastering the hierarchy concept in CSS
This tutorial gives a beginning web designer a few useful strategies for improving efficiency and productivity when working with HTML and CSS. Hierarchy is one of these concepts, and the video also covers grouping elements, overriding groups and Document Oject Model.
How To: Set up a Box Model when using CSS to design your website
If you don't learn anything else about writing a website using CSS, learn this. This video teaches you about how to use the Box Model, which will save you hours of frustration and re-tinkering your website once you master how to use it.
How To: Use floats to help program your website when using CSS
This tutorial goes from the box model and then progresses on to show you how you can use floats when designing a website using CSS. Which layout you choose will determine how your website looks, so make sure you pick the one that's the best for your needs.
How To: Learn the difference between relative and absolute positioning in CSS
This is a tutorial on CSS floats, which shows you the difference between relative and absolute positioning on your website. This also touches a little bit on the fixed position, so you can figure out which style is the best for your own website.
How To: Design a website with a fixed layout using CSS
A fixed layout means your website will not change size no matter the size of the browser it's being used in. This tutorial shows you an easy and quick way to set up the CSS for your website to give it a fixed layout.
How To: Program a liquid layout for your website using CSS
A liquid layout will change size as the browser also changes size. It's a good layout to use if you're trying to design a website that can be read on many different size screens and browsers. Here's how you can implement a liquid layout in three minutes.
How To: Set up JQuery and get started using it to create websites
JQuery is a new type of JavaScript that you can use to write and design your own websites. This tutorial shows you how to download the JQuery software and set up a few basic items, like script tags. Now you're ready to start learning JQuery!
How To: Use some of the available effects when programming in JQuery
This tutorial gives you a quick rundown on some of the various effects you can play around with in JQuery, such as buttons or alerts. This is a good video for anyone looking to round out their knowledge of JQuery progrmaming.