2017 © Pedro Peláez
 

neos-package ajaxify

Lazily load any content on your Neos site

image

psmb/ajaxify

Lazily load any content on your Neos site

  • Friday, April 21, 2017
  • by dimaip
  • Repository
  • 2 Watchers
  • 10 Stars
  • 724 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 26 % Grown

The README.md

Psmb.Ajaxify

Enhance your NeosCMS experience with Psmb.Ajaxify, a powerful package that streamlines asynchronous loading of specific page components through AJAX, all with just one line of Fusion code. Why bother? It significantly accelerates the initial page load by deferring the loading of less critical parts, such as comments., (*1)

See it in action, (*2)

TL;DR

Installation:

composer require psmb/ajaxify

Integration:

Add @process.myUniqueKey = Psmb.Ajaxify:Ajaxify to any Fusion path. Ensure that the myUniqueKey remains globally unique., (*3)

Incorporate the sample AJAX loading script into your Fusion code:, (*4)

prototype(Neos.Neos:Page).head.ajaxLoader = Psmb.Ajaxify:CssTag
prototype(Neos.Neos:Page).body.javascripts.ajax = Psmb.Ajaxify:JsTag

Alternatively, integrate these assets via your preferred build tool or craft your custom loader., (*5)

Completion:

Done. Now part of your pages will be lazily loaded via an AJAX request., (*6)

Note: Ensure that your Fusion component doesn't rely on any context variables apart from the standard ones. If you need to reuse an EEL expression, refrain from embedding it into context. Instead, encapsulate it within a Neos.Fusion:Value object for universal usage., (*7)

Customization:

Feel free to override the Psmb.Ajaxify:Loader object to tailor the loader according to your requirements., (*8)

Compatibility and Maintenance

This package is currently being maintained for the following versions:, (*9)

Neos Version Version Maintained
Neos 7.3 and above 1.x Yes
Neos 3.3 - 7.2 0.4 No

Contribution

Feel free to tweak and optimize your NeosCMS setup with Psmb.Ajaxify. Streamline your page loads and provide a smoother user experience effortlessly., (*10)

The Versions

21/04 2017

dev-master

9999999-dev

Lazily load any content on your Neos site

  Sources   Download

LGPL-3.0+

The Requires

 

21/04 2017

0.3.1

0.3.1.0

Lazily load any content on your Neos site

  Sources   Download

LGPL-3.0+

The Requires

 

21/04 2017

0.3

0.3.0.0

Lazily load any content on your Neos site

  Sources   Download

LGPL-3.0+

The Requires

 

19/04 2017

0.2

0.2.0.0

Lazily load any content on your Neos site

  Sources   Download

LGPL-3.0+

The Requires

 

19/04 2017

0.1

0.1.0.0

Lazily load any content on your Neos site

  Sources   Download

LGPL-3.0+

The Requires