Slide 1

Slide 1 text

Building Modern Monolithic Applications With Inertia.js, Laravel, and React

Slide 2

Slide 2 text

Bheru Lal Gameti Co-Founder @ Globally Digital

Slide 3

Slide 3 text

Stackoverflow Survey 2023 Source- https://survey.stackoverflow.co/2023

Slide 4

Slide 4 text

What is Inertia Frontend Backend

Slide 5

Slide 5 text

Request HTML & CSS How the treditional setup work Client Browser render the HTML & CSS

Slide 6

Slide 6 text

Request JSON How the SPA work Dynamic update page component

Slide 7

Slide 7 text

Treditional setup SPA setup Pros Pros Full Page Reloads Limited interactivity No full page reload Feel like native app Highly interactive ....more Need to take care of session, auth, state Routing management application + API Too many api calls Security

Slide 8

Slide 8 text

Initial Request Request with inertia header HTML, Page assests... Update page data as json and page components How Inertia works No need of API endpoint! Full Page load X-Inertia: true

Slide 9

Slide 9 text

What Problem is Inertia.js Solving Complexity of SPAs - Single-page applications require managing client-side routing, state management, and API integrations, making the development process cumbersome. Code Duplication - Writing separate codebases for frontend and backend logic can lead to duplication and inconsistencies. Slow Development Cycle: Constantly switching between frontend and backend environments can slow down development. Building APIs โ€” With Inertia.js you donโ€™t need to build a REST or GraphQL API.

Slide 10

Slide 10 text

Why should you use Inertia.js? GraphQL benefits without using GraphQL Limited AJAX calls Security Framework agnostic

Slide 11

Slide 11 text

Prerequisites for Working with Inertia Basic Knowledge of Laravel Familiarity with React/Vue/ Node.js and NPM

Slide 12

Slide 12 text

Itโ€™s time for a demo ๐ŸŽ‰

Slide 13

Slide 13 text

Want more ๐Ÿ“š Inertia js - https://inertiajs.com Demo CRM - https://github.com/inertiajs/pingcrm Learn JavaScript - https://javascript.info

Slide 14

Slide 14 text

@iambherulal @iambherulal @iambherulal Do you have any questions? Find Me Across the Web!