https://github.com/markstory/cakefest-rabbitmq
Example application shown at CakeFest about RabbitMQ and CakePHP
https://github.com/markstory/cakefest-rabbitmq
Last synced: about 2 months ago
JSON representation
Example application shown at CakeFest about RabbitMQ and CakePHP
- Host: GitHub
- URL: https://github.com/markstory/cakefest-rabbitmq
- Owner: markstory
- Created: 2011-09-04T18:04:39.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-10T22:24:17.000Z (over 13 years ago)
- Last Synced: 2025-04-11T01:53:06.068Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 126 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.mdown
Awesome Lists containing this project
README
This is a demo app for a talk that I gave at CakeFest 2011.
### Installing
- Install RabbitMQ
- Install librabbitmq.
- Install python, or make sure you have it already.
- Make sure you have `easy_install` or `pip` available.
- `easy_install sparkplug`.
- `sudo pecl install ampq`
- Create an app/Config/database.php file.Once everything is installed, create a table:
CREATE TABLE `page_views` (
`id` char(36) NOT NULL,
`user_agent` varchar(255) DEFAULT NULL,
`location` varchar(255) DEFAULT NULL,
`time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
);Visit the `/` route.