Code Monkey home page Code Monkey logo

amqpbundle's Introduction

Wisembly

This repo is the code of wisembly website, made on top of Wisembly silexCMS.

Install

  • clone repository

git clone git://github.com/Wisembly/wisembly.git

  • initialise submodules (Twitter bootstrap, jQuery..)

git submodule update --init

  • get composer

  • install vendors

php composer.php install

  • duplicate every .dist file in app/config/, web/fr|en/ and tweak them as need

  • import bin/database_structure.sql

That's it!

Licence

MIT Licence

Authors

  • @nicolaschenet
  • @arcanis
  • @guillaumepotier

amqpbundle's People

Contributors

guillaumepotier avatar krichprollsch avatar rgazelot avatar taluu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

amqpbundle's Issues

Allow to change the consumer class

So that we can use a custom consumer instead. :}

It should be adding a configuration option, and mess with the consumer factory (adding a class path) + di extension.

Use symfony/messenger ?

Everything is in the title now that symfony 4.1 has been released. Using the messenger component instead of swarrot ?

Add a Processor service

So that the command processor have a bit less dependencies, and that it can be mocked and tested again.

Basically, everything build the Process should be deported in a new service (with or without an interface), such as the path to the console path.

Error An option named "env" already exists with sf3.3

Updating with sf3.3 generates an error with the command consume

                                                        
  [Symfony\Component\Console\Exception\LogicException]  
  An option named "env" already exists.                 
                                                        

Exception trace:
 () at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Input/InputDefinition.php:244
 Symfony\Component\Console\Input\InputDefinition->addOption() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Input/InputDefinition.php:230
 Symfony\Component\Console\Input\InputDefinition->addOptions() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:319
 Symfony\Component\Console\Command\Command->mergeApplicationDefinition() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:218
 Symfony\Component\Console\Command\Command->run() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887
 Symfony\Component\Console\Application->doRunCommand() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223
 Symfony\Component\Console\Application->doRun() at /srv/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /srv/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130
 Symfony\Component\Console\Application->run() at /srv/bin/console:28

wisembly:amqp:consume [--rpc] [--disable-verbosity-propagation] [--poll-interval POLL-INTERVAL] [--memory-limit MEMORY-LIMIT] [--env ENV] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <gate>

It seems that this hack does not work anymore

Use something else instead of plain old json exports

Currently, rabbit.sh script relies on rabbitmq-admin's json export to dump queue and exchange configuration.

Maybe using something with the gates (how about also proposing a step by step install ?) could generate those json files so that they can be imported (Or even better : maybe try to create them with through php's api ?)

Flex

Make it compatible with Flex. :}

Opensourcing the bundle

Here is a bunch of things left to do before opensourcing this bundle...

  • Split the bundle from our main project
  • Add a LICENSE file
  • Add a README file
  • Add some docs meh, enough stuff said in the README
  • Handle parameters the user must provide None actually, everything must be in the tree config
  • Clean up private config related stuff
  • Remove status things (sorry @krichprollsch - we would need I guess to handle these things somewhere else)
  • Invite @odolbeau, as he was interested in this bundle
  • Cleanup config (tree and what we should expect in it)
  • Move the generated config into a cache dir (the application one) ? Won't fix cuz complicated handloing of binaries etc.
  • Generate the rabbit.sh main file when installing this bundle (Composer Script ?), so that paths are correct and all (cf #3) Won't fix, just suggesting @odolbeau's rabbit manager is currently enoug. Making a bridge could be interesting though.

And some other things basically.

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.