2017 © Pedro Peláez
 

neos-package voting

EventSourced Flow Framework Voting API Edit

image

ttree/voting

EventSourced Flow Framework Voting API Edit

  • Friday, June 16, 2017
  • by ttree
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1,054 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 25 % Grown

The README.md

Voting API

This package is under development and API can change / break without notice, please don't use this package in production currently., (*1)

This package provide some Voting API helps developers who want to use a standardized API and schema for storing, retrieving, and tabulating votes for Flow Framework application or Neos CMS content., (*2)

Note that this package does NOT directly expose any voting mechanisms to end users. It's a framework designed to make life easier for other developers, and to standardize voting data for consumption by other modules., (*3)

This package use EventSourcing and generate projections to make it really fast to query the vote results (average, number of votes, ...)., (*4)

Install the package

composer require ttree/voting
./flow eventstore:setup Ttree.Voting:EventStream
./flow doctrine:migrate

You can test the system by voting for something:, (*5)

./flow vote:register --for subject --by johndoe --vote 3 --tag vote

Features

  • [x] Vote for any subject
  • [x] Every voting subject support tags (so you can vote for multiple tag in the same subject)
  • [x] Duplicate voting is forbidden (based on the user identifier)
  • [ ] Allow to update a vote
  • [ ] Flexible configuration to enable/disable features (dupliate vote, allow update, ...)
  • [ ] Flexible voting configuration (start date, closing date, vote value interval, thumbs up/down, percent, ...)

Acknowledgments

Development sponsored by ttree ltd - neos solution provider., (*6)

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us., (*7)

License

Licensed under MIT, see LICENSE, (*8)

The Versions

16/06 2017

dev-master

9999999-dev

EventSourced Flow Framework Voting API Edit

  Sources   Download

MIT

The Requires