Displaying 1 to 10 from 10 results

microevent

  •    Ruby

MicroEvent.rb is a event emitter library which provides the observer pattern to Ruby objects. It is inspired by MicroEvent.js, implemented in less than 20 lines of Ruby. or copy the source file into your project.

state_inspector - State change & method call logger

  •    Ruby

This can fully inform on object method calls and parameters as well as instance variables before and after (when called via a setter method). In short this utilizes the decorator patttern and the observer pattern to hook and report when a method is called. In simple terms it will wrap any methods you choose with a hook that sends off all the details of the method call when it is executed to a reporter/observer of your choosing. This project uses a variation of the observer pattern. There is a hash of Reporters where you can mark the key as a class instance or the class itself and point it to an Observer object. Three observers are included for you to use under StateInspector::Observers which are NullObserver (default), InternalObserver, and SessionLoggerObserver. When you toggle on an "informant" on a class instance or class then each time a setter method is called it will pass that information on to the relevant observer which handles the behavior you want to occur with that information.

observable - Observer pattern and signals/slots for C++11 projects

  •    C++

Library to use the observer pattern in C++11 programs with observable/observer classes or signals/slots.




ObserverPattern - Basic Java observer API

  •    Java

This repository contains a generic definition of the observer pattern for Java. Currently Java only contains the java.util.Observable class that is part since Java 1 and it's functionality and API don't use modern Java languages features and APIs like generics, functional interfaces or Optional. In additional this API will become deprecated in Java 9. Based on this it's quite hard to work with this implementation and mostly all modern Java framework don't use it. Instead custom implementations of the observer pattern can be found in mostly all frameworks. Even in JavaSE you can find custom implementations of the pattern as the JavaFX properties (see javafx.beans.Observable). Based on this distribution it's quite hard to understand the differences of all the implementations and combine several of them in a single project.

pmod - Native cross platform library with language projection support for native code.

  •    C++

The pmod SDK is a Microsoft project to allow native code to be used on different languages and platforms with cross-platform in mind. The SDK offer both a runtime implementation and also code generation tools to easily produce 'projection' code into other languages like C#, WinRT, Objective-C, Java, NodeJS. It also offer additional support for MVVM pattern with support of observable objects that willl work on different platforms. Skype: The effort was to build a next generation V2 SDK based on a lot of V1 concepts that will run on every possible platform specially on phones with additional requirements to improve perf and memory consumption. The idea was to use the library to unify the protocol native API to be consumed on Android/iOS/UWP without the need to handcraft wrappers for each platform. The project was cancelled at the last minute in favor to continue with the old approach and the future migration to use other languages (like javascript).

swift-design-patterns - 🚀 The ultimate collection of various Software Design Patterns implemented using Swift Programming Language

  •    Swift

Last Update: 09/October/2018. 🚀 The ultimate collection of various Software Design Patterns implemented using Swift Programming Language. This repository aims to collect as many design patterns as possbile with examples and to serve as a reference material for everyone who is willing to learn something new.

eventpp - Event Dispatcher and callback list for C++

  •    C++

eventpp is a C++ event library that provides tools that allow your application components to communicate with each other by dispatching events and listening to them. With eventpp you can implement signal/slot mechanism, or observer pattern, very easily. eventpp is currently usable and near stable.


STCBinder - If you want to decouple your business logic in UI, if you want a lightweight architecture than reactivecocoa , use STCBinder, a simple and easy way to write code in MVVM pattern, it is like react-redux。

  •    Objective-C

If you want to decouple your business logic in UI, if you want a lightweight architecture than reactivecocoa , use STCBinder, a simple and easy way to write code in MVVM pattern, it is like react-redux。

observable_state - 🔭 Flutter's State Manager for Reactive Apps in a Centralized and Predictable container

  •    Dart

Provider + ChangeNotifier will do the same. Flutter's State Manager for Reactive Apps in a Centralized and Predictable container.