Giter Site home page Giter Site logo

scoop's Introduction

SCOOP

SCOOP stands for Simple Composite Object Oriented Programming

This is an experimental implementation of a simple COP framework initiated after looking at AOP and Qi4j. Implementation is based on CgLib which allows to customize method invokation dispatching to corresponding mixin.

Design by Composition

Essentially, it takes the concepts from Aspect Oriented Programming to the extreme: one implements each aspect as a separate object and then treat them as mixins which blend together into a meaningful composite.

For a more complete explanation see Qi4j Background

Internal concepts and features

  • Interface based
  • Mixin composition: attempt to find the most efficient combinaisons of mixins to satisfy all interfaces required
  • Interceptor based: all methods call is transformed into a full interceptor based chain before invoking the implementing method (see Using Java EE Interceptors and Strut2 Interceptor)
  • Main idea is to transform a simple method call to a complete message passing channel before the method invoked (see EIP messaging patterns)

Why an other framework?

  1. To learn about the internals and problematic COP raises and can solves
  2. To have a well known (since home made and really small) framework to efficiently twist it, e.g. be able to transform any compatible call into an asynchronous one, or modify a method call workflow easily

Links

Samples

scoop's People

Contributors

arnauld avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Forkers

vitaware

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.