承接 psmb/ajaxify 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

psmb/ajaxify

Composer 安装命令:

composer require psmb/ajaxify

包简介

Lazily load any content on your Neos site

README 文档

README

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.

See it in action

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.

Incorporate the sample AJAX loading script into your Fusion code:

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.

Completion:

Done. Now part of your pages will be lazily loaded via an AJAX request.

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.

Customization:

Feel free to override the Psmb.Ajaxify:Loader object to tailor the loader according to your requirements.

Compatibility and Maintenance

This package is currently being maintained for the following versions:

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.

统计信息

  • 总下载量: 7.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 3
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2017-04-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固