Skip to content
Dave Stewart edited this page Apr 29, 2016 · 24 revisions

Resourcery

The magical middle ground between a CMS and CRUD generation

Overview

It comprises an integrated set of services, classes, views and config that offers the DRYness of a CMS yet the flexibility of CRUD generation.

The package covers all aspects of the resource flow:

  • Controller logic
  • Database interaction
  • View generation
  • Form generation
  • Validation
  • User feedback
  • Localisation

Approach

Rather than generating 100s of static files, or providing a complex API or admin system, Resourcery's concise set of services, meta classes and view partials generate simple, standardised, yet fully-customisable CRUD administration on the fly.

Its rationale is that RESTful resources use 95% the same logic, code and markup across classes, views and config, which could be distilled into a kit of flexible components. Resourcery effectively does this, abstracting the parts that differ, componentising everything that requires reuse, and provides a small but effective framework to tie everything together.

Usage

You can use the package in its entirety, or just the services or components that make sense to you.

At any point that you need more flexibility, simply customise, overwrite or hand code the controller, service, component, views, partial, translation, or any other element that Resourcery was managing.

Resourcery gives you the freedom of CRUD generation, but the dynamism of a CMS.

Next steps