It is a huge frustration to me that PHP does not support constructor overloading in the same way that other OOP (Object Orientated Programming) languages do. There is a workaround, however:
class MultipleConstructor {
private $info = ”;
function __construct() {
$argv = func_get_args();
switch( func_num_args() ) {
default:
case 1:
self::__construct1($argv[0]);
break;
case 2:
self::__construct2( $argv[0], $argv[1] );
break;
}
}
function __construct1($value) {
$this->info = $value;
}
function __construct2($value, $value2) {
$this->info [...]
Yesterday, we launched a new website for our client Sean Lockyear Specialist Cars. The site address is www.seanlockyear.co.uk.
The site is powered by the Skipton Systems Content Management Solution, which allows Sean to edit his own web content.
As well as the standard CMS, we have developed a new, bespoke web application for this project. This web [...]
The new Access Protection Ltd was launched today at www.accessprotection.com.
SkiptonSystems designed and built the website, with a great deal of input from the guys at Access Protection, who knew exactly what they wanted it to look and feel like. The close relationship between the two businesses was a great success. It helped that our offices [...]
We had an interesting error this morning. A client called to say that they had upgraded a bit of software (a web application hosted on their SBS 2003 server), and were now getting a .NET error:
Could not load file or assembly ‘System.EnterpriseServices.Wrapper.dll’
After some searching around, we managed to fix the error by copying the %systemroot%\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll [...]
Its been a very busy few months for us here at SkiptonSystems!
Web Development
On the web front, we won the contract to design and build the entire website for Optoma Racing Ltd based in Essex. Initially, this is a simple front page with an online store behind selling sports motorbike parts and accessories. Going into 2010 [...]
Email marketing is becoming ever more important when it comes to advertising your products, or simply keeping in touch with your clients. Statistically, it is the most effective marketing method in terms of results-to-cost.
Email marketing is not spam. There are many rules that apply when marketing via email, and not adhering to these rules is [...]
Most people will look at the web and see a great method for disseminating information to the masses, or the perfect place to carry out research, look something up or even book a holiday. All of these are true. However, there are other uses for the web that are becoming more and more popular. Enter [...]