SlideShare a Scribd company logo
Angular 4 / Webpack/
Yarn in JHipster
Sendil Kumar N
Sendil Kumar N
Developer | JHipster ngx lead
@sendilkumarn
https://sendilkumarn.js.org
About you
Anyone using Typescript ?
Anyone using Angular ?
Have you used JHipster before ?
JHipster
https://jhipster.github.io
+ =
ng4 webpack and yarn in JHipster
ng4 webpack and yarn in JHipster
ng4 webpack and yarn in JHipster
ng4 webpack and yarn in JHipster
Architecture
Options
Monolithic
Application
Microservices
Devops ( CI-CD )
Deployment Options
Code Time
Lets create an application
Tools - JDL Studio
Code Time
Lets spin up some entities...
NG1
Builders View Testers
Client Side
NGx
Server
Side
Developed for developers
by developers, to enrich
developer experience...
Migrating from
AngularJs to Angular
1.x 4.x
Angular
TypeScript
Javascript that scales
Typed superset of JS
Compiles to pure JS
Use latest syntax worry free
TypeScript
Controller to Component
1.x 4.x
Service Migration
1.x 4.x
Angular Router
Based on Browser model
Easier to do lazy loading
More workarounds were needed.
Webpack
Why Webpack
Webpack - an overview
Entry Output
Plugins
Loaders
Webpack Bundling
Compiles & Bundles app into static assets
Lot of plugins and options
Code Time
Switch to demo mode...
Yar
n
Yarn
Time in seconds
Bootstrap
Sass
Browsersync
ng4 webpack and yarn in JHipster
Karma
Testing
Karma based testing
In TypeScript
Protractor testing
Few tricks
Distance yourself from DOM
Use AOT for super-minified JS
Use lazy loading
Browsersync for better development experience
Careful about library migration
Code Time
Switch to demo mode...
Whats Next ?
Questions?
Thank You

More Related Content

PDF
Devoxx : being productive with JHipster
PPTX
How we built a job board in one week with JHipster
PDF
Easy Microservices with JHipster - Devoxx BE 2017
PDF
JHipster, modern web application development made easy
PDF
JHipster
PDF
Jhipster
PDF
Алексей Волков "Введение в React Native"
PPTX
React Native
Devoxx : being productive with JHipster
How we built a job board in one week with JHipster
Easy Microservices with JHipster - Devoxx BE 2017
JHipster, modern web application development made easy
JHipster
Jhipster
Алексей Волков "Введение в React Native"
React Native

What's hot (20)

PDF
Swagger code motion talk
PDF
React native: building native iOS apps with javascript
PDF
Continuous delivery@LesFurets - DC Continuous delivery meetup
PDF
Continuous Deployment with Kubernetes, Docker and GitLab CI
PDF
Red Hat OpenShift App Dev meetup - Operator SDK
PDF
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
PPTX
2015 05-06-karsten gaebert-akademie-etrainings
PDF
React native-meetup-talk
PPTX
React.js - The Dawn of Virtual DOM
PDF
Stripe con 2021 UI stack
PPTX
CI/CD with GitHub Actions
PDF
Silverstripe CMS 4.9.0 release and beyound
PPTX
React in production (react global summit 2021)
PPTX
PPTX
Helm at reddit: from local dev, staging, to production
PPTX
CICD Pipeline Using Github Actions
PDF
Why you can't ignore GitLab
PPTX
High Performance NodeJS
PDF
FOSDEM 2017: GitLab CI
PDF
ぼくがかんがえたさいきょうのクリーンアーキテクチャ部分適応
Swagger code motion talk
React native: building native iOS apps with javascript
Continuous delivery@LesFurets - DC Continuous delivery meetup
Continuous Deployment with Kubernetes, Docker and GitLab CI
Red Hat OpenShift App Dev meetup - Operator SDK
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
2015 05-06-karsten gaebert-akademie-etrainings
React native-meetup-talk
React.js - The Dawn of Virtual DOM
Stripe con 2021 UI stack
CI/CD with GitHub Actions
Silverstripe CMS 4.9.0 release and beyound
React in production (react global summit 2021)
Helm at reddit: from local dev, staging, to production
CICD Pipeline Using Github Actions
Why you can't ignore GitLab
High Performance NodeJS
FOSDEM 2017: GitLab CI
ぼくがかんがえたさいきょうのクリーンアーキテクチャ部分適応
Ad

Similar to ng4 webpack and yarn in JHipster (8)

PPTX
Angular 2 Migration - JHipster Meetup 6
PDF
Predictable Web Apps with Angular and Redux
PDF
Myths of Angular 2: What Angular Really Is
PDF
Angular + JHipster - JHipster Conf
PDF
The Angular road from 1.x to 2.0
PDF
Using JHipster 4 for generating Angular/Spring Boot apps
PDF
What is Angular version 4?
PDF
better-apps-angular-2-day1.pdf and home
Angular 2 Migration - JHipster Meetup 6
Predictable Web Apps with Angular and Redux
Myths of Angular 2: What Angular Really Is
Angular + JHipster - JHipster Conf
The Angular road from 1.x to 2.0
Using JHipster 4 for generating Angular/Spring Boot apps
What is Angular version 4?
better-apps-angular-2-day1.pdf and home
Ad

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Cloud computing and distributed systems.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Modernizing your data center with Dell and AMD
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Monthly Chronicles - July 2025
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Reach Out and Touch Someone: Haptics and Empathic Computing
Cloud computing and distributed systems.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
The AUB Centre for AI in Media Proposal.docx
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Modernizing your data center with Dell and AMD
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

ng4 webpack and yarn in JHipster

Editor's Notes

  • #20: What we require in modern web app You can solve by adding front end and backend separately but amt of work? Increase dev ex app will have more user exp
  • #23: Angular library itself written on typescript. That enables seamless integration when you write in typescript. One thing to note here is you do have an option, to use things like JS / Dart. But it has its own limits. In case of JS, you have to make sure that you write in ES5/6, which has a lot of boilerplate code. Code is inturn converted into JS (ES3-5) but it is the job of the transpiler.
  • #24: Angular library itself written on typescript. That enables seamless integration when you write in typescript. One thing to note here is you do have an option, to use things like JS / Dart. But it has its own limits. In case of JS, you have to make sure that you write in ES5/6, which has a lot of boilerplate code. Code is inturn converted into JS (ES3-5) but it is the job of the transpiler.
  • #26: Much cleaner, readable aligned code.
  • #27: Few Hacks for example pop up routing. Populating page title.