modx-ccc-2015 / whishlist

The overall repository with MODX issues to tackle together at the MODX CCC 2015. This place is ment to be as a big pond of possibilies.
0 stars 0 forks source link

Make snippets/chunks (optional) available via FURL (for API-development and more) #22

Open JensWolff opened 9 years ago

JensWolff commented 9 years ago

It would be awesome, if you could enter an optionional alias for snippets and chunks, so that they become available (like resources) via own custom friendly urls like:

api/snippetname api/snippetname?parameter=value

api/chunkname api/chunkname?placeholder=value

to easily develop custom REST-APIs out of the box, without the need of wrapper-resources who only calls the snippet/chunk.

snippet-alias

christianseel commented 9 years ago

Oh, I like this idea! +1

wuuti commented 9 years ago

API-Mode: +1, Wrapper resources: -1 ... A typical work-around "design pattern" in modx. We should investigate more of those patterns (everyone uses them) and try to figure out how they could be overcome.