> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xoops-modules-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xoops-modules-cookbook/best-practices/best-practices.md).

# Best Practices

Here we'll be sharing our Best Practices in XOOPS Module Development, experiences and examples, which should help developers to understand and to update their modules.

## for XOOPS 2.5.10+

* [How to handle AND/OR in CriteriaCompo](/xoops-modules-cookbook/best-practices/best-practices/handlecriteriacompo.md)

## for PHP 7.0 +

* [Conventions over Configuration](/xoops-modules-cookbook/best-practices/best-practices/conventions.md)
* [Add namespaces](/xoops-modules-cookbook/best-practices/best-practices/addnamespaces.md)
* [Add Sample Buttons](/xoops-modules-cookbook/best-practices/best-practices/addsamplebuttons.md)
* [Add Notifications](https://github.com/XoopsDocs/xoops-modules-cookbook/tree/fc85fd3246383233be08e0b3a92dddca512fba62/en/book/best-practices/AddNotifications/README.md)
* [Add Comment Notification](/xoops-modules-cookbook/best-practices/best-practices/addcommentnotification.md)
* [Add Comments](/xoops-modules-cookbook/best-practices/best-practices/addcomments.md)
