Tapestry
  1. Tapestry
  2. TAPESTRY-1339

Rework Tapestry IoC to remove the concept of module ids and qualified service ids

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.3
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      As discussed on the mailing list, the cost/benefit ratio for qualified module ids is very high (in terms of adding complexity to the system) given that true name collisions are reasonably avoidable (in a system that will likely consist of between 5 and 10 modules for a particular application). Much of the documentation can be simplified greatly by treating service ids as (caselessly) unique, rather than qualified by a module id.

        Activity

        Howard M. Lewis Ship created issue -
        Hide
        Howard M. Lewis Ship added a comment -

        The one caveat I have with the application is really a Java language limitation: can't have multiple methods with the same name and same parameters return different types. So sometimes, you need to include the service id in the method name just to prevent collisions. Of course, with the new flat naming, you can easily break large modules into small pieces.

        Show
        Howard M. Lewis Ship added a comment - The one caveat I have with the application is really a Java language limitation: can't have multiple methods with the same name and same parameters return different types. So sometimes, you need to include the service id in the method name just to prevent collisions. Of course, with the new flat naming, you can easily break large modules into small pieces.
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.0.3 [ 12312338 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12399226 ] Default workflow, editable Closed status [ 12567752 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567752 ] jira [ 12590880 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1d 23h 34m 1 Howard M. Lewis Ship 11/Mar/07 19:22

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development