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
Front-end tooling and DX for WordPress Developm...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ahmedabad WordPress Meetup
December 01, 2018
Technology
0
94
Front-end tooling and DX for WordPress Development - WCAhmedabad 2018
Ahmedabad WordPress Meetup
December 01, 2018
Tweet
Share
More Decks by Ahmedabad WordPress Meetup
See All by Ahmedabad WordPress Meetup
Contributing to WPTV: A guide for WordPress TV Enthusiasts
ahmedabadwordpress
0
84
Beyond the Dashboard: Exploring the WordPress REST API
ahmedabadwordpress
0
120
Smart Solutions Ensuring the Accessibility without breaking the bank
ahmedabadwordpress
0
83
What you do need to know to select the right webhost
ahmedabadwordpress
0
100
Unleash Generative AI: Supercharge Your Productivity with ChatGPT
ahmedabadwordpress
0
190
Tips & Tricks for the Effective Communication with or without AI Tools
ahmedabadwordpress
0
120
WWH of WordPress Plugin Testing
ahmedabadwordpress
0
110
Block theme - Full Site Editing Theme
ahmedabadwordpress
0
150
Why Woocommerce is Good Choice for creating Marketplace
ahmedabadwordpress
0
140
Other Decks in Technology
See All in Technology
AI時代のシステム開発者の仕事_20260328
sengtor
0
310
Even G2 クイックスタートガイド(日本語版)
vrshinobi1
0
140
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
240
CREがSLOを握ると 何が変わるのか
nekomaho
0
290
How to install a gem
indirect
0
2k
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
120
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
120
遊びで始めたNew Relic MCP、気づいたらChatOpsなオブザーバビリティボットができてました/From New Relic MCP to a ChatOps Observability Bot
aeonpeople
1
100
ハーネスエンジニアリング×AI適応開発
aictokamiya
1
790
Zephyr(RTOS)でARMとRISC-Vのコア間通信をしてみた
iotengineer22
0
100
OCI技術資料 : 証明書サービス概要
ocise
1
7.1k
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
200
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
190
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Designing Powerful Visuals for Engaging Learning
tmiket
1
310
The Spectacular Lies of Maps
axbom
PRO
1
660
Statistics for Hackers
jakevdp
799
230k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
250
Build your cross-platform service in a week with App Engine
jlugia
234
18k
HDC tutorial
michielstock
1
590
Tell your own story through comics
letsgokoyo
1
870
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Embracing the Ebb and Flow
colly
88
5k
Transcript
@swashata | wca.wpack.io
front-end tooling for WordPress Themes and Plugins DEVELOPER EXPERIENCE
MODERN FRONT- END TERRAIN frontend web === JS, CSS, HTML.
new language features. development tooling. large scale web application.
ES6 ECMAScript2015 ECMAScript === JavaScript released in 2015, 4 years
after ES5 easier large-scale software development. exploringjs.com
SASS CSS with superpowers super-set of CSS. sweet features to
make CSS scale. battle tested and industry approved. sasslang.com
NPM PACKAGES install npm i lodash axios main.js import _
from 'lodash'; import axios from 'axios'; const peopleWhoLoveWP = axios .get('/users') .then(users => _.filter(users, user => user.loveWP)); npmjs.com
AWESOME DX developer experience you deserve
DX...WHAT? experience we get while developing. Language features. Tooling. Build
and Deploy. how modern tooling helps?
TOOLING for js, css and bundling
#1. BABEL Use next generation JavaScript, today. compile ES6+ code.
target your browsers.
#2. SASS LibSass or Dart Sass compile SASS to CSS.
incredible speed. automation.
#3. WEBPACK static module bundler for modern JavaScript applications. modular
JS/CSS code and imports. fonts, images and other les. can use babel and sass compiler.
SETUP APP Write an entry-point javascript le. Tell webpack to
use the entry-point. use different loaders. HMR with webpack-dev-server.
Todo Application with react & webpack URL Demo Webpack Dev
Server Watch later Share
can we do that with WordPress? YES
so we have to con gure babel? webpack? node-sass? ipity
op? uppity oop? and we have to do that everytime? how do we tell WP to use stuff from webpack? how do we have webpack-dev-server for HMR? LET US SEE
wpack.io webpack and browser-sync based front-end tooling for WordPress (OSS
- MIT Licensed) develop modern large-scale front-end heavy WordPress plugins and themes out of the box babel, sass and more. works with any local wp dev server. integrate with any project you have. dev server with live reload and HMR.
INTEGRATE Install nodejs. Add - npx @wpackio/cli Bootstrap - npm
run bootstrap PHP - composer require wpackio/enqueue Server - npm start Build - npm run build Pack - npm run archive
developing with wpackio-scripts URL Demo wpack.io Features Watch later Share
so let me ask you!! WAS IT FUN??
RECAP front-end tooling provides awesome DX. is easier to setup
today. is essential to create modern apps. can be integrated with WP development.
THANK YOU! to everyone, and WCA for giving me the
opportunity
NOTES Slide https://wca.wpack.io Docs https://wpack.io Webpack demo https://git.io/fpcEo wordpress demo
https://git.io/fpcEK slides https://git.io/fpEex
Q/A ☕