Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Front-end tooling and DX for WordPress Developm...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ahmedabad WordPress Meetup
December 01, 2018
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Front-end tooling and DX for WordPress Development - WCAhmedabad 2018
Ahmedabad WordPress Meetup
December 01, 2018
More Decks by Ahmedabad WordPress Meetup
See All by Ahmedabad WordPress Meetup
Contributing to WPTV: A guide for WordPress TV Enthusiasts
ahmedabadwordpress
0
140
Beyond the Dashboard: Exploring the WordPress REST API
ahmedabadwordpress
0
150
Smart Solutions Ensuring the Accessibility without breaking the bank
ahmedabadwordpress
0
120
What you do need to know to select the right webhost
ahmedabadwordpress
0
140
Unleash Generative AI: Supercharge Your Productivity with ChatGPT
ahmedabadwordpress
0
250
Tips & Tricks for the Effective Communication with or without AI Tools
ahmedabadwordpress
0
170
WWH of WordPress Plugin Testing
ahmedabadwordpress
0
160
Block theme - Full Site Editing Theme
ahmedabadwordpress
0
210
Why Woocommerce is Good Choice for creating Marketplace
ahmedabadwordpress
0
180
Other Decks in Technology
See All in Technology
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
9
4.7k
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
340
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
350
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.3k
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
380
Issue 駆動でスペシャリストの意図を届ける、AI 実装のアクセシビリティ向上
thkt
0
120
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
6
3.2k
エージェントはローカル、検証はMicroVM — Lambda MicroVMsでつくるServerless CI
fujioka6789
3
480
AIで社員の自主発信に広報目線を組み込む
_mossann_t
0
130
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
140
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
3
560
事業課題から技術的負債に向き合う
sansantech
PRO
2
2k
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
A Modern Web Designer's Workflow
chriscoyier
699
190k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
Discover your Explorer Soul
emna__ayadi
2
1.3k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Chasing Engaging Ingredients in Design
codingconduct
0
320
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
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 ☕