Boost Fertility New Invention Ups Success Rates.pdf
Creating stunning data analytics dashboard using php and flex
1. Creating a stunning data analytic dashboard using PHP and Flex Kevin Schroeder Technology Evangelist Zend Technologies
2. About Kevin Past: Programming/Sys Admin Current: Technology Evangelist/Author/Composer @kpschrade
3. Problems How do we create a dashboard for an e-commerce application? What data is interesting? What data do we need now? What data can wait? Is a database the best choice? What are other options?
4. Solutions Message queues are nice for quick, transient, serialized objects Databases are nice for persistent structured data Job queues are nice to batch data processing that might overwhelm the dash board Use what is best for individual features(but don’t go crazy)
6. Pieces Magento An observer that hooks in with each page request (traffic monitoring) end of the sale cycle (sale notices and product summary) Job Queue Process traffic Retrieves data from a message queue and summarizes it into a DB table Process sales Retrieves sales data from a message queue and includes it in a summary DB table
7. Pieces (con’t) ActiveMQ (using Stomp) Queues: traffic, sale, sale summary Flex Traffic View – gets data from a service call Sale View – gets data from the message queue Product Sales Summary View – gets data from a service call Service Calls Traffic summary – retrieves data DB summary table Product summary – retrieves data DB summary table