Guest User

Untitled

a guest
Jan 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. Lithium PHP Framework Talk Outline
  2.  
  3. About Lithium
  4. -------------
  5. Lithium PHP is modern PHP 5.3+ MVC framework aimed at developers looking for a framework that offers amazing flexibility built
  6. on top of a solid set of built-in conventions and defaults. Lithium takes liberal advantage of PHP 5.3 features like
  7. closures (anonymous functions), namespaces (for autoloading classes) and late-static-binding (proper subclassing for static methods).
  8. Lithium was developed by some of the core developers of CakePHP and brings a strong pedigree from experienced high-adoption framework designers.
  9.  
  10. Talk Summary
  11. ------------
  12. - The Lithium Design Philosophy
  13. - Framework Highlights
  14. - The lifecycle of a Request
  15. - Working with models
  16. - Controllers and Routing
  17. - Views and the Media Class (for handling json, xml)
  18. - Working with and extending helpers
  19. - Introduction to Lithium’s Method Filter system
  20.  
  21.  
  22. Key Points
  23. -----------
  24. - Everything in Lithium can be extended or swapped out, including core framework dependencies
  25. - Lithium offers an astoundingly powerful chained method filtering system, which can intercept specially-designed methods
  26. at any point before or after execution. (thanks to closures)
  27. - Lithium handles multiple environment configurations out of the box for Caching, database connections and many other core components.
  28. - Lithium is flexible enough to build a microframework, integrate with existing apps or as a standalone app.
  29.  
  30. Rough Slide outline
  31. -------------------
  32.  
  33. - About Lithium
  34. - comparisons to CakePHP
  35. - Multiparadigm
  36. - object oriented, functional, aspect oriented, procedural
  37. - design pattern dogma
  38. - php is not java (play to your strengths)
  39. - php 5.3+ only
  40.  
  41. - Lithium’s use of PHP5.3
  42. - namespaces
  43. - autoloading based on standardized namespace + path conventions
  44. - late static binding
  45. - properly subclass static methods
  46. - closures
  47. - filter system
  48. - aspect oriented programming
  49. - router redirect, intercepting flow
  50.  
  51. - Lithium is adaptable
  52. - multiple environments
  53. - multiple database, mix & match SQL & NoSQL
  54. - flexible caching
  55. - can substitute dependencies
  56.  
  57. - Installing
  58. - download zip
  59. - install via git
  60.  
  61. - Typical Lifecycle of a request
  62. - Request Obj, Bootstrap, Dispatch, Route, Response
  63. - request obj
  64. - created on request, encapsulates all important data
  65.  
  66. - bootstrap
  67. - load only the parts of the app you need
  68. - config info in one folder
  69.  
  70. - Routing
  71. - how to map urls
  72. - reverse routing in views
  73. - microframework
  74.  
  75. - Controllers
  76. - Assemble data from model, return vars for view
  77.  
  78. - Models
  79. - Built in find methods
  80. - Multiple datasources
  81. - Static methods represent table/class, instance methods for resulting Record/Document Objects
  82. - Model results at itterable objects and model instance methods can be called on them.
  83.  
  84. - View
  85. - automatic variable escaping
  86. - helpers
  87. - helpers autoload
  88. - easily override core helper output and behavior
  89. - extend helpers with your own version
  90.  
  91. - Extending
  92. - all classes are extendable,
  93. - Importing libraries
Add Comment
Please, Sign In to add comment