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: […]
One Typeface – How to use fonts effectively
How many fonts should I use on my website? Well, it depends. As a general rule, you should probably stick with 2 or 3 fonts for your website. Design Generally speaking, using 2 or 3 fonts will ensure that your site has a consistent look and feel. Establishing a visual hierarchy for your users will […]
WordPress vs Squarespace
At Dhali we design most of our sites using WordPress. WordPress is a powerful open source software and tool for building websites and apps. Some estimate that over 25% of ALL websites are currently built with WordPress. The most common use for a WordPress site is as a content management system, or CMS. This allows […]
Update Your WordPress Website
Clients often ask what the benefits are of updating their WordPress site, including plugins and themes. While some of the benefits include fixing/addressing bugs, adding key features and increased functionality, the main reason why it is vital to be on top of your WordPress site maintenance is security reasons. According to WPBeginner, more than 80% […]
Is Your Website ADA Compliant?
Title III of the Americans with Disabilities Act (ADA) prohibits discrimination on the basis of disability in places of public accommodation. Both large and small businesses and corporations, are affected by the ADA. Title III of the ADA is best known for its applicability to things such as lack of wheelchair access, recognition of service […]
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 […]
Changing Database Prefix in WordPress
The following blog post over at DigWp.com has a great step by step tutorial on changing your database prefix in WordPress database tables. You will definitely come across this scenario when working on WordPress websites. Change Your Database Prefix to Improve Security What I found really helpful is that you can run an SQL command […]
Think Lightweight – Logo and branding
THINK LIGHTWEIGHT Think Lightweight is a company that focuses on applying lightweight engineering principals to traditional solid wood applications. As the company continues to grow, we worked with them to update both their website and branding. You can visit the official Think Lightweight website here. The Logo When creating the Think Lightweight logo, we […]
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 […]