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
Ahmedabad WordPress Meetup
December 01, 2018
Technology
0
88
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
41
Beyond the Dashboard: Exploring the WordPress REST API
ahmedabadwordpress
0
70
Smart Solutions Ensuring the Accessibility without breaking the bank
ahmedabadwordpress
0
53
What you do need to know to select the right webhost
ahmedabadwordpress
0
80
Unleash Generative AI: Supercharge Your Productivity with ChatGPT
ahmedabadwordpress
0
150
Tips & Tricks for the Effective Communication with or without AI Tools
ahmedabadwordpress
0
95
WWH of WordPress Plugin Testing
ahmedabadwordpress
0
80
Block theme - Full Site Editing Theme
ahmedabadwordpress
0
110
Why Woocommerce is Good Choice for creating Marketplace
ahmedabadwordpress
0
110
Other Decks in Technology
See All in Technology
リリース2ヶ月で収益化した話
kent_code3
1
180
AI人生苦節10年で会得したAIがやること_人間がやること.pdf
shibuiwilliam
1
270
バクラクによるコーポレート業務の自動運転 #BetAIDay
layerx
PRO
1
830
マルチプロダクト×マルチテナントを支えるモジュラモノリスを中心としたアソビューのアーキテクチャ
disc99
0
250
Rubyの国のPerlMonger
anatofuz
3
730
AIに目を奪われすぎて、周りの困っている人間が見えなくなっていませんか?
cap120
1
430
AI コードレビューが面倒すぎるのでテスト駆動開発で解決しようとして読んだら、根本的に俺の勘違いだった
mutsumix
0
160
反脆弱性(アンチフラジャイル)とデータ基盤構築
cuebic9bic
2
160
解消したはずが…技術と人間のエラーが交錯する恐怖体験
lamaglama39
0
190
LLMをツールからプラットフォームへ〜Ai Workforceの戦略〜 #BetAIDay
layerx
PRO
1
840
【CEDEC2025】大規模言語モデルを活用したゲーム内会話パートのスクリプト作成支援への取り組み
cygames
PRO
2
770
Google Agentspaceを実際に導入した効果と今後の展望
mixi_engineers
PRO
2
320
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
337
57k
Bash Introduction
62gerente
614
210k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.2k
The Language of Interfaces
destraynor
158
25k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
GitHub's CSS Performance
jonrohan
1031
460k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Java REST API Framework Comparison - PWX 2021
mraible
32
8.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
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 ☕