JSFoo Pune 2020

JSFoo Pune 2020

On component architecture, performance, security for front-end, and emerging trends

Make a submission

Accepting submissions till 12 Feb 2020, 10:00 AM

MCCIA Trade Tower, Pune

JSFoo is a platform for:

  1. Front-end engineers
  2. Fullstack developers
  3. Web application development teams
  4. Senior architects

to:

  1. Share insights from work on web application development.
  2. Learn from peers.
  3. Discover of emerging trends for JavaScript in India.
  4. Understand perspectives on component architecture, front-end security, performance and emerging trends.

Talks from previous editions of JSFoo are published on hasgeek.tv/jsfoo

The Pune edition will be held on 28 February 2020 at MCCIA, Pune.
View schedule on https://hasgeek.com/jsfoo/2020-pune/schedule

JSFoo Pune 2020 will cover the following topics:

  1. Monorepos and tools to use for collaborating across large teams.
  2. Typescript - patterns and anti-patterns.
  3. New developments: ESNext
  4. DevSecOps for front-end; building defenses for client-side attacks.
  5. DevOps for front-end, including discussions on Kubernetes.
  6. PureScript and production use cases.

For inquiries about speaking/collaborating with JSFoo, write to jsfoo.editorial@hasgeek.com


Click here for the Sponsorship deck.
For more details and ticket inquiries, write to sales@hasgeek.com or call 7676332020


Silver Sponsor

Deque

Speaker Travel Sponsor

Freshworks Juspay
Pramati Wingify

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

Jai Santhosh

@jaisanthosh

Working with large Monorepos for web development

Submitted Jan 13, 2020

In Microsoft, we have a very large TypeScript-based git repository where over 250 developers build and write code for high-value frontend components which is used across all Microsoft365 products like Outlook, Office, Bing, SharePoint, etc. It contains over a 100 npm packages, containing over a million lines of TypeScript code. Co-locating these components encourages collaboration and sharing code across teams very easier.

In this talk, we’ll focus on the tooling used and code organization to make the development easier, fast and reliable and will not discuss in detail unit tests and automation for a better focus on development.

Outline

A closer look at package management

Since there are 100+ highly inter-connected internal npm packages which declare over 2,500 external dependencies, we will briefly take a look at how packages and dependency management. We will discuss the structure of each package in the monorepo and how dependencies are expressed across these packages.

The packages contain transpiled TypeScript code and bundles generated using webpack and the modules from these bundles are used across various product endpoints.

Handling package dependencies

We use yarn workspaces to install our external dependencies and link the Midgard-hosted packages together based on the dependencies expressed in the package.json files. We will use an example with yarn workspaces to handle package dependencies in a sample monorepo.

Cross-package orchestration

The other major part of managing monorepos is cross-package orchestration. We would want to execute scripts across all the packages easily like build/packaging commands, linting, etc. We will take a look at achieve this using Lerna through the talk.

Using Test Apps to validate user behaviour

To validate more complex component behaviors, like user interactions, we use test-apps. Test apps are either webpages or native applications which load our bundles to render our components for manual testing. This is probably the second most popular validation workflow, therefore we care a lot about it.

Improving “watch” across packages

We will also briefly look at how we will manage watch processes for the monorepo-hosted packages. Its also important to discuss the Intellisense performance here.

We will go over a sample monorepo structure to explain this in detail.

Speaker bio

Jai Santhosh currently works on the Microsoft Search team at Microsoft. He previously worked on the Outlook Web Team and led some efforts on the mobile web version. He is quite passionate about the Web, JavaScript and is a Web perf enthusiast. He had previously led UI efforts at a fintech startup, ClearTax and worked on building Offline heavy web applications. He was also part of the first real-world Progressive Web App, Flipkart Lite and the new Flipkart Desktop website and had earlier worked in teams at large-scale like Yahoo! Maps and Media sites at Yahoo!.

Links

Slides

https://speakerdeck.com/jaisanth/developing-in-a-large-monorepo

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Make a submission

Accepting submissions till 12 Feb 2020, 10:00 AM

MCCIA Trade Tower, Pune

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more