eXtropia Studios Software Development

At eXtropia Studios, software development is both a science and a passion. We actively research all aspects of the software production cycle, constantly seeking improvement, constantly working outside the box.

Software Engineering

Software Engineering is the application of a systematic, disciplined, quantifiable approach to the development, operation and maintenance of software. The term software engineering was popularized during the 1968 NATO Software Engineering Conference (held in Garmisch, Germany) by its chairman F.L. Bauer, and has been in widespread use since. The discipline of software engineering encompasses knowledge, tools, and methods for defining software requirements, and performing software design, software construction, software testing, and software maintenance tasks. Software engineering also draws on knowledge from fields such as computer engineering, computer science, management, mathematics, project management, quality management, software ergonomics, and systems engineering.

Java Singleton

public class SingletonClass {
  public static SingletonClass getInstance() {
    if (SingletonClass.instance==null) {
      SingletonClass.instance = new SingletonClass();
    }
    return SingletonClass.instance;
  }
	
  private SingletonClass() {
    // private constructor prevents external instansiation
  }
	
  private static SingletonClass instance = null;
}

C++ Singleton

class SingletonClass {
public:
  static SingletonClass* getInstance();
private:
  SingletonClass(); // private constructor
  static SingletonClass* instance;
};

SingletonClass* SingletonClass::getInstance()
{
  if (!instance) {
    instance = new SingletonInstance();
  }
  return instance;
}

SingletonClass* SingletonClass::instance = 0;

Javascript Singleton

function SingletonClass {
  // class definition here
}

SingletonClass.instance = null;

SingletonClass.getInstance = function() {
  if (!SingletonClass.instance) {
    SingletonClass.instance = new SingletonClass();
  }
  return SingletonClass.instance;
};

Creating Object Oriented Database Interfaces in PHP5

interface RecordSet {
  public function fetch();
  public function fetchAssociative();
  public function fetchObject();
  public function getFieldSpecifications();
}
interface RecordSetBuffered extends RecordSet {
  public function numRows();
  public function numColumns();
  public function setCursor();
  public function getCursor();
}
we like -rw-r--r-- 3 root web 727 Oct 30 2017 mysql5 refs -rw-r--r-- 1 root web 3090 Nov 7 2017 slashdot -rw-r--r-- 4 root web 1748 Nov 8 2017 website publisher login>_

eXtropia Studios Software Development

At eXtropia Studios, software development is both a science and a passion. We actively research all aspects of the software production cycle, constantly seeking improvement, constantly working outside the box.