View Issue Details

IDProjectCategoryView StatusLast Update
0001043Composr documentation[All Projects] General / Uncategorisedpublic2014-12-02 17:56
ReporterDuckAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionwon't fix 
Summary0001043: Coding a new module based on catalogues tutorial
DescriptionSince you are requesting tutorial ideas I would like to see more coding for Composr tutorials and perhaps a completely new module tutorial that uses the catalogue system as its base would be nice. I see a lot of addons are based on the catalogue system like say classifieds or ecommerce but a tutorial explaining exactly how it was built would be much easier to learn adding to the system than having to disect add-ons and figure it out. The codebook and such has some great stuff but a practical tutorial based on a front to finish full module would be nice.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2014-12-02 17:56

administrator   ~0002362

TBH, 99% of the time programmers shouldn't do it, it's a very special case. I regret we did the eCommerce products through catalogues, if doing it again we'd use them for custom fields but otherwise implement it as a totally new content type. That's a close-thing though. Classifieds is kind of bolted on, doing validation/devalidation behind-the-scenes so is a special case.

We could do a worked example, but there are so many addons nowadays, we're swimming in examples. Probably for v10 I'd just advise people to look at the iotds addon (which is no longer going to be a bundled addon, so you could very easily download the tar and examine all the different hooks etc in there).

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised