Adding Custom Properties to Objects in Classic ASP

I the last blog post Converting Recordset into Objects in Classic ASP we created a public function initialize(rs) which takes in a single row from the database and creates a single class object account.  Our goal is to add a new property named fullname where we combine firstname and lastname We will update the public function initialize(rs) as follows: […]


Converting Recordset into Objects in Classic ASP

Now that you know how to create a Class and Objects in Classic ASP, we will look at Converting Recordset into Objects in Classic ASP. Lets create a Class account which has several properties. I usually use the database table account and copy the model so the Class matches the database model Class account   public […]


How to create a Class and Objects in Classic ASP

Creating Objects in programming is one the best ways to have code that is easily maintainable. With new Classic ASP clients, I have found creating Classes and Objects is a very good way to begin refactoring legacy code. Class trip public arrive_date public depart_date End Class Here we have created a Class trip with 2 properties […]


Isotope Sorting Ascending / Descending

We worked on a project where we had a media library. We decided to use Isotope to filter/sort through a list of all the media items available. We wanted to the user to be able to sort through the items in both Ascending / Descending order. Below is how we accomplished that. By default, Isotope sorts ascendingly: […]


Deleting Custom Fields in WordPress

While working on a project you may have had custom fields that are left behind and that are no longer in use for the current theme these unused custom fields remain in your database. I came across this exact scenario when I was upgrading a section of a website that was outdated and needed to […]


Upgrade Wamp Server to PHP 7

We recently upgraded our development and production servers to PHP 7. We develop locally using Wamp Server so we needed to install PHP 7 on our computers as well. After digging around and some trial and errors I found the youtube video below. Install Microsoft Packages Install both of the following packages from Microsoft https://www.microsoft.com/en-us/download/details.aspx?id=48145 […]


Using Google Fonts for web.

Google fonts are a great free resource for web designers. Using them however, wasn’t straight forward for me at first. I’ve created a quick step by step guide for new web designers to use as reference. Enjoy!   How to run a google font on a site. First, go to https://www.google.com/fonts and select the fonts you […]


FTP via Windows Explorer

1 – Go to Start > Computer or use the shortcut Windows Key + E to start Windows Explorer. 2 – Type ftp://yourdomain.com into the top address bar. 3 – Input the full username and password for the ftp account and click Log On. 4 – You now have an open FTP connection. You can […]


JQuery Multi Email Validator

Used JQuery to create a custom email validator. Problem: A single text-box which allows users to type in multiple email addresses. Example: test1@somedomain.com, testA@somedomain.org https://github.com/RaviRamDhali/programming-procedure/blob/master/Snippets/JavaScript/JQuery/emails-array-validator    


API Employment Tax Careers examples

API Employment Tax Careers examples / instructions Get all jobs https://api.employmenttax.com/jobs/{APIKey} https://api.employmenttax.com/jobs/e49f639223e8407583f95d1dd8867de0 Return: { “GUID”: “64406b3e-3e5c-4da1-a543-856fe6d4a72d”, “Title”: “Dietary Supervisor”, “FacilityTitle”: “Liberty Terrace H & R”, “PostDate”: “2014-04-10T10:03:33.247”, “ExpiredDate”: “2014-05-10T10:03:33.247”, “FacilityState”: “MO”, “FacilityCode”: “S290C”, “FacilityCodeID”: 57009 }, (more…………) ———————————————————————– Get jobs by facility (filter by facility) https://api.employmenttax.com/jobs/{APIKey}/{FacilityCodeID} https://api.employmenttax.com/jobs/e49f639223e8407583f95d1dd8867de0/57009 RETURN: { “GUID”: “979cb022-a109-4e28-aa95-fb6580892739”, “Title”: “Dietary Cook”, “FacilityTitle”: […]