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...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Stanimir Stoyanov
May 11, 2019
Programming
170
0
Share
Как да си направим разширение с Реакт и WP REST API
Stanimir Stoyanov
May 11, 2019
More Decks by Stanimir Stoyanov
See All by Stanimir Stoyanov
Headless WordPress – или как да използваме WordPress като бекенд към собствената си уеб апликация.
stoyan0v
0
150
Organizing WordPress Events
stoyan0v
0
62
Working Remotely
stoyan0v
0
290
Other Decks in Programming
See All in Programming
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
270
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
310
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
220
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
830
「速くなった気がする」をデータで疑う
senleaf24
0
150
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
590
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
550
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
120
Featured
See All Featured
Everyday Curiosity
cassininazir
0
190
Code Reviewing Like a Champion
maltzj
528
40k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
The Invisible Side of Design
smashingmag
302
51k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
Marketing to machines
jonoalderson
1
5.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Limits of Empathy - UXLibs8
cassininazir
1
290
Making Projects Easy
brettharned
120
6.6k
First, design no harm
axbom
PRO
2
1.2k
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