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.

Design Patterns

In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved.

Advantages of Design Patterns

Design patterns can speed up the development process by providing tested, proven development paradigms. Effective software design requires considering issues that may not become visible until later in the implementation. Reusing design patterns helps to prevent subtle issues that can cause major problems, and it also improves code readability for coders and architects who are familiar with the patterns.

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-- 1 root web 711 Apr 25 2017 amiga.org -rw-r--r-- 1 root web 1808 Apr 30 2017 oracle refs -rw-r--r-- 3 root web 562 Apr 18 2017 bash.org 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.