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
Introduction of medpacker: RoR Frontend Boilerp...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
pipopotamasu
March 23, 2019
Technology
5k
0
Share
Introduction of medpacker: RoR Frontend Boilerplate
pipopotamasu
March 23, 2019
More Decks by pipopotamasu
See All by pipopotamasu
How JS Works
pipopotamasu
0
220
vue-function-tester
pipopotamasu
2
1.3k
Dive into vue-test-utils ~~Road of 1.0.0~~
pipopotamasu
0
110
medpacker_introduction_20190523
pipopotamasu
0
520
新サービス・JOURNAL(ジャーナル)開発秘話
pipopotamasu
2
300
メドピアにおけるライブラリアップデート_MedBeer_20180912.pdf
pipopotamasu
0
12k
MedPeer_JapaxTaxi_MeetUp_Actioncable
pipopotamasu
0
710
MedPeer X みんなのウェディング合同勉強会
pipopotamasu
0
1.1k
UXBridge_vol3_pipopotamasu
pipopotamasu
2
920
Other Decks in Technology
See All in Technology
Discordでリモートポケカしてたら、なぜかDOを25分間動かせるようになった話
umireon
0
110
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.2k
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.3k
Proxmox超入門
devops_vtj
0
120
AIを活用したアクセシビリティ改善フロー
degudegu2510
1
160
Babylon.js を使って試した色々な内容 / Various things I tried using Babylon.js / Babylon.js 勉強会 vol.5
you
PRO
0
260
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
560
ログ基盤・プラグイン・ダッシュボード、全部整えた。でも最後は人だった。
makikub
5
1.3k
スクラムを支える内部品質の話
iij_pr
0
340
見えない開発現場を、見える投資に変える
rojoudotcom
2
110
ふりかえりがなかった職能横断チームにふりかえりを導入してみて学んだこと 〜チームのふりかえりを「みんなで未来を考える場」にするプロローグ設計〜
masahiro1214shimokawa
0
260
Podcast配信で広がったアウトプットの輪~70人と音声発信してきた7年間~/outputconf_01
fortegp05
0
240
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
720
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
470
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
280
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Scaling GitHub
holman
464
140k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
220
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
160
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
250
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
760
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Transcript
Introduction Of medpacker RoR Frontend Boilerplate MedPeer, Inc Yamato Murakami
(@pipopotamasu3) RailsDM 03/23/2019
name: Yamato Murakami, github: pipopotamasu, twitter: pipopotamasu3, company: MedPeer, Inc,
tech: [ Ruby, PHP, Vue.js, React ], hobby: Baseball
So, what is medpacker?
So, what is medpacker? https://github.com/medpeer-inc/medpacker
So, what is medpacker? medpacker is … RoR Frontend Boilerplate
for MedPeer, Inc
So, what is medpacker? 3 concepts 1VSFXFCQBDL /PBTTFUQJQFMJOF /PXFCQBDLFS 1SFJOTUBMMFE
MJCSBSJFT 4UBSUEFWFMPQNFOU JNNFEJBUFMZ VOJGZMJCSBSJFT &BTZBOEGBTU JOTUBMM *OTUBMMUJNFJT XJUIJONJOJUFT
Why I developed medpacker?
3 motivations 1. Difficulties of asset pipeline and webpacker 2.
Light unification of adopted libraries 3. Faster services launch
Difficulties of asset pipeline and webpacker
Cons of asset pipeline • Integration Modern Frontend • Slow
sprokets • Rails-way frontend
Cons of webpacker • Abstract webpack config • Strange initial
config • Depend on webpack v3
Confs of webpacker • Abstract webpack config • Strange initial
config • Depend on webpack v3
webpacker • Abstract webpack config • Strange initial config •
Depend on webpack v3
We need pure webpack for modern frontend.
Light unification of adopted libraries
Imazine!
Backend engineers
Frontend engineer from associate company
Let’s start project!
None
webpacker
webpacker We focus on Vue.js!
webpacker We focus on Vue.js!
webpacker I had should share our tech context but I
had could’t …
We need light unification for libraries.
Faster services launch
MedPeer mid-term strategy
MedPeer mid-term strategy
Many new services will launch…
None
None
None
None
ۭͷpackge.json
It takes long time from scratch.
We need frontend boilerplate to launch services faster.
3 motivations 1. Difficulties of asset pipeline and webpacker 2.
Light unification of adopted libraries 3. Faster services launch
So, what is medpacker? 3 concepts 1VSFXFCQBDL /PBTTFUQJQFMJOF /PXFCQBDLFS 1SFJOTUBMMFE
MJCSBSJFT 4UBSUEFWFMPQNFOU JNNFEJBUFMZ VOJGZMJCSBSJFT &BTZBOEGBTU JOTUBMM *OTUBMMUJNFJT XJUIJONJOJUFT
So, what is medpacker?
Install Demo
Contents of medpacker
webpack ecosystem • webpack • webpack-dev-server • loaders
Babel ecosystem • @babel/core • @babel/polyfill • @babel/preset-env
PostCSS • autoprefixer • postcss-flexbugs-fixes
Lint • eslint • eslint-plugin-vue • stylelint • stylelint-scss
Others • Vue.js • rails-ujs • normalize.css • axios
Coming soon… • TypeScript • Image compression • etc..
You can start development with these libraries.
How medpacker works?
Install to your app
https://guides.rubyonrails.org/rails_application_templates.html
https://github.com/medpeer-inc/medpacker/ blob/master/template.rb
Read asset files
https://github.com/medpeer-inc/medpacker/blob/master/app/helpers/webpack_bundle_helper.rb
https://github.com/medpeer-inc/medpacker/blob/master/app/helpers/webpack_bundle_helper.rb
https://github.com/medpeer-inc/medpacker/blob/master/app/helpers/webpack_bundle_helper.rb
None
https://github.com/medpeer-inc/medpacker/blob/master/app/helpers/webpack_bundle_helper.rb
https://github.com/medpeer-inc/medpacker/blob/master/app/helpers/webpack_bundle_helper.rb
https://github.com/medpeer-inc/medpacker/blob/master/app/views/layouts/application.html.erb
https://github.com/medpeer-inc/medpacker/blob/master/app/views/home/index.html.erb
E2E test
https://github.com/medpeer-inc/medpacker/blob/master/spec/features/home_spec.rb
https://github.com/medpeer-inc/medpacker/blob/master/spec/features/home_spec.rb
https://github.com/medpeer-inc/medpacker/blob/master/spec/supports/webpack.rb
https://github.com/medpeer-inc/medpacker/blob/master/package.json
So, what is medpacker? https://github.com/medpeer-inc/medpacker
Special Thanks https://inside.pixiv.blog/subal/4615 https://medium.com/studist-dev/goodbye-webpacker-183155a942f6
References • https://inside.pixiv.blog/subal/4615 • https://medium.com/studist-dev/goodbye- webpacker-183155a942f6 • https://github.com/rails/webpacker • https://guides.rubyonrails.org/
Reference Images • http://hermie.jp/ • Yoshiki HAYAMA hermie.jp • CC
BY 3.0 • https://creativecommons.org/licenses/by/ 3.0/deed.ja
Thank you for listening!