Composer Module Development For WP-Property

Guide

  • Modules should throw Exceptions on invocation to notify admin of issues.
  • Module should install distributable versions of their dependencies (composer install --no-dev --prefer-dist).

The non-essential and vendor functionality of WP-Property are compartmentalized into "modules". Broadly speaking, there are three types of modules - "libraries", "components" and "modules".

Libraries

These are "vendor" libraries loaded by Composer and are essential for WP-Property to load. Required libraries of Features are bundled into the core vendor directory.

Features

These are Composer packages that are non-essential and are loaded by WP-Property when activated. Features are not packaged into distribution and are downloaded automatically by WP-Property once activated. Features do not use auto-loading since they are may be installed later and the autoload configuration packaged with WP-Property distributions is static. Features are loaded by Bootstrap class by scanning the vendor/usabilitydynamics directory.

UDX Libraries

These are special JavaScript libraries that are loaded from cdn.udx.io as needed, they are not bundled into the distribution.

Components

These are UI-oriented components that may include JavaScript, CSS and views. Components are stored in the /components directory and may be used as an alternative to UDX Libraries when all libraries need to be combined into a single file.

WP-Property

  1. How to add auto populated field to WP-Property search
  2. Customizing Templates in WP-Property
  3. WP-Property Shortcode Cheatsheet
  4. WP-Property - Parse error syntax error unexpected T_STRING
  5. Will WP-Property work with any theme?
  6. No Search Results in WP-Property Search
  7. Installing and Activating WP-Property Add ons
  8. How to customize Overview Page in WP-Property?
  9. Styling Oembed field on a Single Property Page in WP-Property
  10. The content moves to the side in WP-Property while using a third party theme
  11. Why is the Google Map not displayed in WP-Property?
  12. Slow Backend or Frontend performance when WP-Property is activated
  13. A List of Filters and Actions in WP-Property
  14. How to investigate any issue in WP-Property?
  15. How to Translate Add Ons for WP-Property?
  16. WP-Property: Setting Keys.
  17. WP-Property Types (examples)
  18. Translating WP-Property
  19. The Help Tab In WP-Property Settings
  20. How To Add, Delete Or Attach Images In WP-Property?
  21. WP-Property - Home
  22. Display Tab In WP-Property Settings
  23. Developer Tab In WP-Property Settings
  24. Composer Module Development For WP-Property
  25. Accessing WP-Property With A Non Admin User Role
  26. No Pagination On WP-Property Search Results
  27. Main Tab In WP-Property Settings
  28. Installing WP-Property
  29. How To Override Specific Functionality In WP-Property?
  30. How To Investigate Any Issue In WP-Property?
  31. How To Customize Overview Page In WP-Property?
  32. How To Add, Delete Or Attach Images In WP-Property?
  33. Issues With Polylang plug-in
  34. WPML Compatibility
  35. WP-Property Terminology - Store Types, Field Variety and API Endpoints
  36. Translating "Property Type" Attribute

Feedback and Knowledge Base