Cakefest 2011 - pecha kucha talk abstraction

382 views

Published on

cakefest 2011 pecha kucha talk on abstraction

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
382
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cakefest 2011 - pecha kucha talk abstraction

  1. 1. dogmatic69http://dogmatic69.comhttp://github.com/dogmatic69https://github.com/infinitas/infinitas/tree/beta/core/charts
  2. 2. Code patternsgood and bad patternsmoderation = good
  3. 3. Enginesawesome adapter abstraction
  4. 4. Examples Js Engine Cake DBO Authentication (2.0)
  5. 5. Abstraction limits functionality
  6. 6. V3.xV1: started with simple chart api for googlev2: almost complete google api for chartsV3: chart engine with GoogleChartEngineHelper + others
  7. 7. Google charts
  8. 8. Chart Engine Any chart lib Same code for all Switch engines on the fly Simple API
  9. 9. How
  10. 10. Example 1
  11. 11. Reasonsnot all chart libs are created equalcharts in view (js)charts in pdf (google static charts / html)charts in terminal
  12. 12. Switching Engines
  13. 13. ClassesDataManipulation LIb (format data for charting)BaseChartEngineHelper (abstract)ChartsHelper (does the heavy lifting)YourCustomChartEngineHelper (what ever you like)
  14. 14. BaseChartEngine - extend this class
  15. 15. char data manipulation
  16. 16. API sample
  17. 17. Cachedone in the ChartsHelperhash paramscheck for a matchreturn | process datawrite cache
  18. 18. Infinitas needs a new designer

×