Giter VIP home page Giter VIP logo

eispatterns's Introduction

Enterprise Information Systems Patterns

This project aims at discussing and implementing in Python Design Patterns applyed to Enterprise Information Systems. The ideas here implemented are discussed in more detail in the blog Enterprise Information Systems Development, through a series of posts entitled "EIS Patterns". The current implementation, which uses the Decorator Design Pattern, is explained from Part IV of this series onwards. To better understand its evolution, it is suggested to read the Change Log <http://eis-development.blogspot.com/p/eis-patterns-change-log.html>.

Code is built on top of some concepts borrowed from ERP5 system, though implemented in a different way, given that this is a didactic framework. If you need a fully functional, scalable, and flexible EIS framework in Python, you should try ERP5 instead. The concepts here used are:

Concept 1: Resource
Is anything used for production. It can be material (components, money ...) or immaterial (machine time, human skill ...). Materials are referred as Work Items and immaterials as Operations in general. A Kit is a set of resources.
Concept 2: Node
Is a business entity that transforms resources. It can be a Person or a Machine. An Organization is a set of nodes.
Concept 3: Movement
Is a movement of any resource between two nodes. It is categorized as a Transformation or a Transportation. A Process is a set of movements.

Naturally, some supportive concepts will appear as the project evolves, such as Category, used to classify and configure the core concepts.

The core idea is to make the objects the closest to real-world entities, therefore, Processes controls Nodes, which are the active entities that perform Operations which transform or transport Resources. To extend the framework, different approaches are used in accordance to the type of entity - for a better understanding on how this is achieved, please refer to the blog.

Setup

Pre-setup (on Ubuntu):

$ apt-get install python-setuptools
$ easy_install pip

Install dependencies (if needed) and run all specs (depending on your environment, you'll need to call with sudo):

$ make

Run only unit specs:

$ make unit

Run only acceptance specs:

$ make acceptance

eispatterns's People

Contributors

ratem avatar rodrigomanhaes avatar weslleymberg avatar

Stargazers

Lucas Rodrigues avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

lucazrodriguez

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.