I am building an application where the client provides $_GET['task']
which is limited to list
, detail
, or edit
, and in response the server will provide a list of available records for all IDs, the record for $_GET['id']
, or a form to edit record $_GET['id']
, respectively.
I would like the string provided by the client to directly match a method in a certain object and not have to map it as a one-off so that I and others will not get confused.
All works well except for list
as it is a reserved word.
What is a good synonymy for "list" from both a general user's (since they will see it in the URL) and developers prospective (since they have to make it work)?