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.

Object Oriented Programming

Object-oriented programming (OOP) is a programming paradigm that uses "objects" to design applications and computer programs. It can use several techniques from previously established paradigms, including inheritance, modularity, polymorphism, and encapsulation. It was not commonly used in mainstream software application development until the 1990s, though many modern programming languages support OOP.

Frameworks in Web Application Design

A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and often promote code reuse.

PHP5 Singleton

class SingletonClass {
  public static function getInstance() {
    if (self::$instance==null) {
      self::$instance = new SingletonClass();
    }
    return self::$instance;
  }
	
  private function __construct() {
    // private constructor prevents external instansiation
  }
	
  private static $instance = null;
}

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;
}

Javascript Singleton

function SingletonClass {
  // class definition here
}

SingletonClass.instance = null;

SingletonClass.getInstance = function() {
  if (!SingletonClass.instance) {
    SingletonClass.instance = new SingletonClass();
  }
  return SingletonClass.instance;
};
we like -rw-r--r-- 2 root web 3866 Jan 7 2017 itcall com -rw-r--r-- 2 root web 3896 Jan 20 2017 caseorganiser -rw-r--r-- 1 root web 495 Jan 3 2017 weebls stuff 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.