Creating stunning data analytics dashboard using php and flex

5,363 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,363
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Creating stunning data analytics dashboard using php and flex

  1. 1. Creating a stunning data analytic dashboard using PHP and Flex<br />Kevin Schroeder<br />Technology Evangelist<br />Zend Technologies<br />
  2. 2. About Kevin<br /> Past: Programming/Sys Admin<br /> Current: Technology Evangelist/Author/Composer<br /> @kpschrade<br />
  3. 3. Problems<br />How do we create a dashboard for an e-commerce application?<br />What data is interesting?<br />What data do we need now?<br />What data can wait?<br />Is a database the best choice?<br />What are other options?<br />
  4. 4. Solutions<br />Message queues are nice for quick, transient, serialized objects<br />Databases are nice for persistent structured data<br />Job queues are nice to batch data processing that might overwhelm the dash board<br />Use what is best for individual features(but don’t go crazy)<br />
  5. 5. Data Retrieval<br />Delayed traffic reports (1-2 seconds)<br />Immediate sales notification<br />Delayed product sales (~10 seconds)<br />
  6. 6. Pieces<br />Magento<br />An observer that hooks in with<br />each page request (traffic monitoring)<br />end of the sale cycle (sale notices and product summary)<br />Job Queue<br />Process traffic <br />Retrieves data from a message queue and summarizes it into a DB table<br />Process sales<br />Retrieves sales data from a message queue and includes it in a summary DB table<br />
  7. 7. Pieces (con’t)<br />ActiveMQ (using Stomp)<br />Queues: traffic, sale, sale summary<br />Flex<br />Traffic View – gets data from a service call<br />Sale View – gets data from the message queue<br />Product Sales Summary View – gets data from a service call<br />Service Calls<br />Traffic summary – retrieves data DB summary table<br />Product summary – retrieves data DB summary table<br />
  8. 8. Traffic Architecture<br />
  9. 9. Sale Architecture<br />
  10. 10. Sale Summary Architecture<br />
  11. 11. Demo<br />
  12. 12. Follow us!<br />Zend Technologies<br />http://twitter.com/zend<br />http://twitter.com/kpschrade (me!)<br />

×