~/talk

Bring Your PHP Application to the Next Level with React.JS

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [react, php]
links:none on file
slides:none on file

Combines PHP server-side rendering with React.JS by mounting React components into PHP pages to keep fast interactive UIs. Shows a concrete reusable React component — a single "follow" button — reused site-wide without duplicating PHP, JS, HTML, CSS or AJAX endpoints, and walks through tooling, integration patterns, and measured reductions in duplicated code using a real project architecture.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Application architecture
  3. 0:44Code and component re-use
  4. 0:55Rapid Development
  5. 1:23With PHP and React.js
  6. 2:53ResearchGate SCIENTIFIC NETWORK
  7. 4:13PHP templates
  8. 5:13Small components over big controllers
  9. 6:48Share code between server and client
  10. 7:55Virtual DOM
  11. 12:01Getting the data in there
  12. 13:00Problematic
  13. 14:04Underfetching
  14. 15:05Flux Datastores
  15. 16:48Requirements
  16. 18:24Remember: self contained
  17. 19:12Do not fetch data directly
  18. 19:23Require stuff
  19. 21:15Request Cache
  20. 21:32Futures
  21. 22:02Data dependencies within a widget
  22. 22:41PHP 5.5 Generators
  23. 26:33Data dependencies between Widgets
  24. 26:54Assembling the tree
  25. 27:10Widget Requirement
  26. 29:59Getting the data to React.js
  27. 32:14Server side rendering
  28. 32:24Better user experience
  29. 33:00Several approaches
  30. 34:20NodeJS proxy
  31. 36:11Bundling
  32. 42:31Rapid prototyping
  33. 42:50Easier Refactoring
  34. 43:00Error Handling
  35. 44:45Feature toggles
  36. 45:50Caching of Components
  37. 46:55Load components asynchronously
  38. 47:25Conclusion?
  39. 48:05Frontend and backend are part of the same application
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.