/blog-demo

Simple demo for event-based models

Primary LanguagePHP

Blog demo

Simple example of event-based models using PHP/Zend Framework 1.12, Redis and NodeJS.

Installation

  1. Install Vagrant and VirtualBox

  2. Add Ubuntu 13.04 i386 box:

     vagrant box add raring32 http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box
    
  3. Add salt plugin:

     vagrant plugin install vagrant-salt
    
  4. Checkout project:

     git clone git://github.com/nkbt/blog-demo.git blog-demo
    
  5. Run vagrant:

     cd blog-demo
     vagrant up
    
  6. Go to http://localhost:10080

TODO

  • Get working LAMP stack
  • Base PHP core with sample data, running site
  • Redis and PHPRedis
  • Redis admin at http://localhost:10080/redis
  • NodeJS 0.10 or newer
  • NPM
  • Forever
  • Node app
  • Sample subscribers
  • PHP API controller to handle node callbacks
  • Counters recalculation
  • Counters display
  • Topic: forms to add, edit, delete and restore
  • Comment: forms to add, edit, delete and restore
  • Dashboard for events chains at http://localhost:13000
  • User: forms to add, edit, delete and restore