Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Как да си направим разширение с Реакт и WP REST API
Search
Stanimir Stoyanov
May 11, 2019
Programming
0
120
Как да си направим разширение с Реакт и WP REST API
Stanimir Stoyanov
May 11, 2019
Tweet
Share
More Decks by Stanimir Stoyanov
See All by Stanimir Stoyanov
Headless WordPress – или как да използваме WordPress като бекенд към собствената си уеб апликация.
stoyan0v
0
65
Organizing WordPress Events
stoyan0v
0
52
Working Remotely
stoyan0v
0
200
Other Decks in Programming
See All in Programming
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
3
420
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
330
Site Reliability Engineering for GMO
pyama86
6
840
[SF Ruby, March 2024] Rails on Wasm
palkan
0
370
Doctrine ORMでValue Objectを扱う方法4選 #phpstudy / 4 ways to handle Value Objects with Doctrine ORM
77web
4
110
入門 AWS Amplify Gen2 / Introduction to AWS Amplify Gen2
genkiogasawara
1
310
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
Git Rebase
bkuhlmann
11
1.6k
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
What We Can Learn From OSS
inouehi
0
400
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Gamification - CAS2011
davidbonilla
76
4.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
RailsConf 2023
tenderlove
1
530
Building an army of robots
kneath
300
41k
Fantastic passwords and where to find them - at NoRuKo
philnash
36
2.5k
Embracing the Ebb and Flow
colly
78
4.1k
Rails Girls Zürich Keynote
gr2m
91
13k
GraphQLの誤解/rethinking-graphql
sonatard
49
9.2k
Thoughts on Productivity
jonyablonski
57
3.8k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
103
6.6k
Optimizing for Happiness
mojombo
369
69k
Transcript
Как да си направим разширение с Реакт и WP REST
API
За мен WordPress Developer @ SiteGround Core Contributor WordCamp Organizer
Meetup Organizer Plugin Developer Father of two :)
Прост и Лесен за учене Бърз Преизползваеми компоненти State container(Redux)
Защо Реакт? #WCPLD
Прост и лесен за учене #WCPLD
Реакт е бърз! #WCPLD Real DOM Diff Patch Virtual DOM
DOM
#WCPLD Реакт е бърз!
Преизползваеми компоненти #WCPLD
Redux #WCPLD The box organises the state in a single
place
Redux #WCPLD You can ask the box what’s the current
state ?
Redux #WCPLD You can describe a change in the state
to the box
Redux #WCPLD The box will notify when its state changes
Redux #WCPLD Без Redux Компонент, иницииращ промяна С Redux STORE
#WCPLD Създаване на React App facebook.github.io/create-react-app/docs/getting-started
Кога да използваме Реакт? #WCPLD
#WCPLD
WP REST API #WCPLD "The WordPress REST API provides API
endpoints for WordPress data types that allow developers to interact with sites remotely by sending and receiving JSON (JavaScript Object Notation) objects"
example.com/wp-json/siteground-optimizer/v1/optimize-images WP REST API #WCPLD
example.com/wp-json/siteground-optimizer/v1/optimize-images #WCPLD
None
#WCPLD WP REST API
#WCPLD
wp_localize_script()
Да си направим Реакт приложение! #WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
None
None