Latest Publications

How to find out if your rental home is in foreclosure Clark County Nevada

Steps to find out if your rental home is in foreclosure in Clark County, Nevada, Las Vegas, Henderson, Boulder City. First Go to the Clark County Assessor website and do a lookup of the address or owner and get the Parcel number. Then Go to the Clark County Recorder website and on the upper far left side of the site is “search records” click on that. Enter the Parcel Number and do a search for foreclosure documents.

A more detailed description can be found here.

Speed up page loads using Cache PHP

At work we pull ranks for how key-phrases ranked on certain search engines once a week. We have many clients and each client has multiple key-phrases and each key-phrase has ranks for multiple search engines. This information is stored in the database. This information adds up more and more over time. So the longer a client is with us the more data that is stored in the database. All this information can become cumbersome when trying to calculate and display each time a web page is loaded. This is taxing on our web server to calculate this information and is also taxing on our database when all this information is pulled. The solution to this problem is caching. There are two types of caching we use at work. Memcache and File caching. (more…)

Decorator pattern PHP

The Decorator Pattern uses composition and delegation instead of inheritance. Inheritance can lead to inflexibility, duplication, and an explosion of classes as your inheritance gets deeper and more complex. By using the Decorator Pattern we are able to modify the functionality of concrete components of a object at runtime. (more…)

Using MySQL Index to speed up the loading of web pages

The loading of our client information pages at work has been taking longer and longer over time. We have cached as much as we can to help solve this problem. There is only so much we can cache being that these pages are very dynamic and permission driven. Then we looked into MySQL indexes to help with some of our larger tables in the database. One of our problems is that some of our database tables have grown so big that it is taking forever for MySQL to read through them to find the rows we are looking for. (more…)

Refactoring Code for OOP (Object Oriented Programing)

Refactoring is the process of taking a running program and adding to its value, not by changing its behavior but by giving it more of these qualities that enable us to continue developing at speed. Refactoring can also be thought of as making changes to code without change the observable behavior of the software. Adding functionality and refactoring are two different things.
(more…)

Creating a GrooveShark Music Widget on your Website

I found that you can create a GrooveShark Music Widget on your own website made from one of your playlist on GrooveShark. First thing is to goto GrooveShark and create an account so that your playlist will last. Next is to create a playlist on GrooveShark of songs you would like played on your website. Once you have your playlist you can right click on the playlist and goto ‘share playlist’ then ‘Widget’. A dialog box will pop up with options for your Widget. Customize your GrooveShark Widget. Copy the Embed Code and past it into your site.

(more…)

PHP Strategy Design Pattern

PHP Strategy Design Pattern

Strategy Design Pattern Is an abstract base class that implements by inheriting classes that can be instantiated into concrete objects. Strategies can be used for deciding what type of image to create(.png or .jpeg) or what type of compression to use(.tar.qz or .zip) when zipping a file, determined by what system the user is on($_SERVER['HTTP_USER_AGENT']). Certain methods within a class may be grouped together using another class as their strategy.
(more…)

Factory Design Pattern for PHP

The factory design pattern uses a static method inside a factory class that receives some input and according to that input decides what class instance to create as a concrete object. This solves the problem of when you do not know the kind of object that will be needed till run time. (more…)

Multiton Design Pattern for PHP

The Multiton Design Pattern is a variance on the Singleton Design Pattern. The Multiton Pattern expands on the Singleton concept to manage a associative array of named instances as key-value pairs or a Registry of singletons. The multiton pattern ensures a single instance per key. (more…)

New Disc Golf Course in Henderson Nevada

I heard today that there is a new Disc Golf Course in Henderson Nevada. It is located at Horizon Ridge and Paseo Verde, east of Gibson under the power lines. The name of the Course is either ‘Paseo Verde Trailhead’ or ‘Amargosa trail’. (more…)

 
Stop SOPA!

SOPA breaks our internet freedom!
Any site can be shut down whether or not we've done anything wrong.

Stop SOPA!