Best Practices for Objects in Engine Awesome
- Data is Stored by Field Slug: Each field in an object is stored by its slug. Avoid changing slugs once defined. If you change a slug, your old data is still saved but will no longer display because it’s linked to the previous slug.
- Use Plural Names for Objects: Name your objects in the plural form, like “Contacts” or “Projects,” for consistency and clarity.
- Keep Object Names and Slugs Short: Short, concise names and slugs are easier to manage and use throughout your application.
- Select “Is Searchable” Carefully: Only enable “Is Searchable” for fields you plan to search on. Engine Awesome will index these fields for improved search performance, but it’s best to avoid selecting this for unnecessary fields to optimize system efficiency.
By following these best practices, you ensure your data is properly structured, easy to manage, and optimized for searching within your application.