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.

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.

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.

Object Oriented Design

Object-Oriented Design (OOD) is an activity where the designers are looking for logical solutions to solve a problem, using objects. Object-oriented design takes the conceptual model that is the result of object-oriented analysis, and adds implementation constraints imposed by the environment, the programming language and the chosen tools, as well as architectural assumptions chosen as basis of design. The concepts in the conceptual model are mapped to concrete classes, to abstract interfaces in APIs and to roles that the objects take in various situations. The interfaces and their implementations for stable concepts can be made available as reusable services. Concepts identified as unstable in object-oriented analysis will form basis for policy classes that make decisions, implement environment-specific or situation specific logic or algorithms. The result of the object-oriented design is a detailed description of how the system can be built, using objects.

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;
}
we like -rw-r--r-- 1 root web 2008 Sep 16 2016 voices of amiga.org -rw-r--r-- 2 root web 1509 Sep 25 2016 caseorganiser -rw-r--r-- 4 root web 1144 Sep 23 2016 bjarne! 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.