Cakefest 2011 - pecha kucha talk abstraction
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Cakefest 2011 - pecha kucha talk abstraction

on

  • 363 views

cakefest 2011 pecha kucha talk on abstraction

cakefest 2011 pecha kucha talk on abstraction

Statistics

Views

Total Views
363
Views on SlideShare
361
Embed Views
2

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 2

http://localhost 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Cakefest 2011 - pecha kucha talk abstraction Presentation Transcript

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