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 Development - WCAhmedabad 2018
Search
Ahmedabad WordPress Meetup
December 01, 2018
Technology
0
66
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
Smart Solutions Ensuring the Accessibility without breaking the bank
ahmedabadwordpress
0
19
What you do need to know to select the right webhost
ahmedabadwordpress
0
58
Unleash Generative AI: Supercharge Your Productivity with ChatGPT
ahmedabadwordpress
0
90
Tips & Tricks for the Effective Communication with or without AI Tools
ahmedabadwordpress
0
59
WWH of WordPress Plugin Testing
ahmedabadwordpress
0
32
Block theme - Full Site Editing Theme
ahmedabadwordpress
0
61
Why Woocommerce is Good Choice for creating Marketplace
ahmedabadwordpress
0
77
Ignite the Visual Appeal of your WordPress Admin panel
ahmedabadwordpress
0
110
Using Core blocks Create Gutenberg Blocks Plugin In WordPress - July 2022 Ahmedabad WordPress Meetup
ahmedabadwordpress
0
140
Other Decks in Technology
See All in Technology
AWS アーキテクチャ作図入門/aws-architecture-diagram-101
ma2shita
16
6.4k
社内アプリで Cloudflare D1を プロダクト運用してみた体験談(Tokyo)
haochenx
0
130
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
940
類似ロジック実装をiOS/Android間で合わせる道標No.1
fumiyasac0921
1
140
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
410
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
37k
Cracking the KubeCon CfP
inductor
2
280
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
190
【SORACOM UG 東海】あらゆるモノがつながる社会へ、IoT と SORACOM
soracom
PRO
1
160
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
430
One engineer company with Ruby on Rails
rstankov
2
460
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
1
770
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
0
39
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Raft: Consensus for Rubyists
vanstee
133
6.3k
Practical Orchestrator
shlominoach
183
9.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
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 ☕