[ADFEMG-124] [ADFng1-04001] View instance name. Created: 01/May/13  Updated: 15/Jul/13  Resolved: 15/Jul/13

Status: Closed
Project: adfemg
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: ainoan Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is related to ADFEMG-94 [ADFng1-04014] - View object instance... Closed


I would suggest to apply the convention that View Object instance names must be logical names, often the view's name and don't include any suffix, not the default numerical suffix and also not the ViewObject's suffix 'view'.

This means that normally my entity and viewobject have the same 'base' name with different suffixes and that they are normally the same as the database table or view and that the logical 'translation' is done the View Object instance as that's the interface to the UI.

Comment by Jan Vervecken [ 02/May/13 ]

related to JIRA issue ADFEMG-94, "[ADFng1-04014] - View object instance names"

Comment by chriscmuir [ 13/May/13 ]

Splitting this into 2 issues:

a) VOs having logical names

The document states a principal of convention over configuration, thus why it doesn't pursue logical names. You're preference is of course valid, and as the document says:

"Generally the guidelines should be followed but in the cases where it doesn't make sense to do so, where you have your own preference, certainly diverge from the guidelines. However ensure to document why and when this has occurred so your team follows a single guideline rather than an ambiguous set of conflicting guidelines from Oracle and your own efforts."

b) VO suffixes

As the document states in the principal section, there is two competing requirements, convention over configuration vs no hungarian notation, with the former taking preference. As the IDE by default creates a suffix View, this is what we leave such that programmer doesn't have to make any unnecessary configurations to the code.


Comment by chriscmuir [ 15/Jul/13 ]

No comment back from submitter, issue closed.


Generated at Fri Feb 24 22:28:15 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.