Relatude Help

22 Pitfalls

  • Setting up — The namespaces have two roots. Models, settings and utilities are under Relatude.CMS; the request, rendering, analytics, the CMS API and modules under Relatude.DB.CMS. ICountry is in Relatude.CMS itself, and the setup…
  • Rendering and routing — Layout variants of one type need a template on every page. When two templates list the same type, a page that chooses neither is ambiguous, and a request for it fails. A template beats a code default only when it is as…
  • Reading and writing — Create does not store. Follow it with Insert, and call Update after changing a loaded node. Async writes skip transaction plugins. Insert, Update, Delete and Execute run them; InsertAsync, UpdateAsync, ExecuteAsync and…
  • Modules and plugins — A module's commands and jobs are named after it. events.upcoming, not upcoming: any other name throws when the module is added (chapter 18). A module's seed steps are never renumbered. A database remembers the last step…