An open API service indexing awesome lists of open source software.

https://github.com/ubermanu/magento2-motu

🏝️ An island architecture implementation for Magento 2 (WIP)
https://github.com/ubermanu/magento2-motu

island island-architecture magento2 progressive-enhancement

Last synced: 2 months ago
JSON representation

🏝️ An island architecture implementation for Magento 2 (WIP)

Awesome Lists containing this project

README

        

# Magento 2 - Motu

An implementation of the island pattern for Magento 2.

> The islands architecture encourages small, focused chunks of interactivity within server-rendered web pages. The output of islands is progressively enhanced HTML, with more specificity around how the enhancement occurs. Rather than a single application being in control of full-page rendering, there are multiple entry points. The script for these "islands" of interactivity can be delivered and hydrated independently, allowing the rest of the page to be just static HTML.

From [Islands Architecture](https://www.patterns.dev/posts/islands-architecture/)

## Installation

```bash
composer require ubermanu/magento2-motu
```

## Quick start

Create a new island block:

```php





```

That's it! The island will be rendered in the page and hydrated by the client-side script.