Главная
Study mode:
on
1
Intro
2
Application architecture
3
Code and component re-use
4
Rapid Development
5
With PHP and React.js
6
ResearchGate SCIENTIFIC NETWORK
7
PHP templates
8
Small components over big controllers
9
Share code between server and client
10
Virtual DOM
11
Getting the data in there
12
Problematic
13
Underfetching
14
Flux Datastores
15
Requirements
16
Remember: self contained
17
Do not fetch data directly
18
Require stuff
19
Request Cache
20
Multi-GET
21
Futures
22
Data dependencies within a widget
23
Callbacks
24
PHP 5.5 Generators
25
Data dependencies between Widgets
26
Assembling the tree
27
Widget Requirement
28
Getting the data to React.js
29
Server side rendering
30
Better user experience
31
Several approaches
32
NodeJS proxy
33
Bundling
34
Rapid prototyping
35
Easier Refactoring
36
Easy re-using of components
37
Error Handling
38
Feature toggles
39
Caching of Components
40
Load components asynchronously
41
Conclusion?
42
Think about your architecture
43
Frontend and backend are part of the same application
Description:
Explore how to enhance PHP applications using React.js in this 59-minute conference talk from PHP UK Conference. Learn about combining React's powerful user interface capabilities with PHP to create fast, maintainable, and interactive web applications. Discover techniques for server-side rendering, component-based architecture, and code reusability across PHP, JavaScript, HTML, CSS, and AJAX endpoints. Dive into topics such as virtual DOM, data fetching strategies, Flux datastores, and handling data dependencies. Gain insights on rapid prototyping, error handling, feature toggles, and asynchronous component loading. Understand how to create a flexible architecture that allows for easy placement of UI elements throughout your site without duplicating code.

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

PHP UK Conference
Add to list
0:00 / 0:00