Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript in add-ons. Explain the Plone 6 way. #1270

Open
ksuess opened this issue Jul 13, 2022 · 1 comment
Open

Javascript in add-ons. Explain the Plone 6 way. #1270

ksuess opened this issue Jul 13, 2022 · 1 comment

Comments

@ksuess
Copy link
Member

ksuess commented Jul 13, 2022

The upgrade guide mentions already this topic: https://6.docs.plone.org/backend/upgrading/version-specific-migration/upgrade-to-60.html#mockup-and-resource-registry-redone
A more detailed "How To" would be helpful. With code and screenshots and examples of add-ons that do it the recommended way.

Placeholder is already there: https://6.docs.plone.org/classic-ui/static-resources.html

Suggested outline

  • What's the purpose of patterns?
  • Show me an example implementation. In which files is it applied? What does the code look like?
  • How do I write a pattern? plonecli, bobtemplates, other?
  • How do I register resources, such as JavaScript, images, and CSS?
  • Do I have to minify or does Plone minify?
  • Where does jQuery fit into patterns?
  • Does module federation affect me?
  • Where would should this chapter be located? In classic-ui or classic-ui/theming?
@ksuess ksuess added this to the Plone 6.0 milestone Jul 13, 2022
@ksuess ksuess moved this to New in Plone Documentation Aug 2, 2022
@ksuess ksuess moved this from New to Todo in Plone Documentation Aug 2, 2022
@ksuess
Copy link
Member Author

ksuess commented Aug 30, 2022

This PR could be a starting point: #1275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants