alangrafu/lodspeakr — Issue #69: reorganize models and views hierarchy (again)
Author: timrdf
Created: 2012-02-22 14:34:17+00:00
State: open
Labels: Simplify usage, User submission, Would be nice

`models/service.configure-epoch/html.queries/biordf/local/previous_faqt_service_inputs.query` contains `select distinct ?input`

and is named according to the pattern:

```
models.service./[.]queries///.query
```

`views/service.configure-epoch/html.template` contains

```
{%for row in models.biordf.local.previous_faqt_service_inputs%}

{{row.input.value}}

{%endfor%}
```

Problem: "models" and "views" feel too disconnected.

I'd suggest reorganizing the directory structure (again) to:

```
module/services/configure-epoch/queries/biordf/previous_faqt_service_inputs.query` (defaults to local endpoint)

module/services/configure-epoch/queries/biordf/endpoint.local/previous_faqt_service_inputs.query`

module/services/configure-epoch/queries/endpoint.biordf/endpoint.local/previous_faqt_service_inputs.query` (cross-format, cascading queries)

module/services/configure-epoch/queries/html/endpoint.biordf/endpoint.local/previous_faqt_service_inputs.query` (format-specific cascading queries)

module/services/configure-epoch/html.template
module/services/configure-epoch/json.template
```