Dear Muir,
As there are several talks about methodology design regarding ADF I
think that the piece that is missed is the documentation part, I mean
we have to reach an point that result in what is the document that
must be generated and deliver to developer of ADF from designer.
When we are using pure java developing the design document of Class-
diagram or Activity-diagram and other UML diagram would be sufficient
in most of the cases. but in ADF due to its framework it is more
component oriented than Object Oriented so the old design-document can
not be useful and also would put the developers in trouble and
confused.
here I want to propose the design-document which is based on ADF and I
hope that other members make this document more complete and become
the design de-facto for ADF
the steps..
1. the first phase of design beginning from table design, use-case and
any other rudimentary design document that are not specific to ADF
(general design documents which may vary base on each companies design
team)
2. complete the database design to match any specific need for ADF
such as (in most of the cases the below steps would be done in the
step one)
• adding any view needed for any LOV or any other read-only purpose.
• adding any trigger for post insert operation for PK.
3. Documents regarding EO and association between them
4. Detail design the validation on EO and their attributes
5. Documents regarding VO and link between them and also indicating
that each VO is composed of which EO's (in this step we are not focus
on LOV just the main VO's)
6. Detail design the attributes, detecting the attributes that have
specific feature mainly
• Is the attribute Updatable or un-updateable
• Any logic regarding the attributes that must be done in VO
• Detecting lov if any attribute has lov
1. Determining the select that is needed for lov(if it needs any
database-view the view would be add in DB also if it would use any
entity in the step 3 the view for lov would be based on that EO
otherwise just the view based on the query or fixed list of values.
2. Update the view list determined in the step 5
7. Determining the App-modules that are needed local or share and also
the view that each AM must have and the relationships between them,
(maybe it would be a good point to move this step from 7 to 3.)
8. Detail design regarding DML operations
• the needed pseudo-code or logic for the create/remove/update
• write any procedure in DB when the before/after DML operation need a
db-procedure
9. Determining the first look (prototype) of the pages that this
subsystem would have, in the prototype, mainly, the following steps
would be determined
• Views that are used in the page
• Default layout for the page
• Any roles that must be handled such as before going to page.
• Determining the popup
• Any pre-define template that developer must user for this page
10. Determining the flow between pages
11. Determining the bounded-task flows after revising the step 9 the
pages that must be logically be in a unit(bounded-task-flow) would be
determined.
12. Determining the backing-bean that each page must use such as
preserving the state of the user (of course the MB's are potentially
designed with developer and cannot be documented in design phase)
13. determine the security roles and policy for operations, in this
step, the roles regarding each page or operation would be determined
please take in consideration that the goal here is not specifying
every nuance of developing with ADF the goal is firstly avoiding the
repetitive objects in sub-systems if we do not use the above design
principal or any similar documents to determine the objects first(EO/
VO)… that would be a potential for existence of duplicate objects in
sub-systems. Secondly the goal is speeding up the development phase if
the documents are generated then it would be very easy to divide the
task between developer such as 1 developer designing the EO and other
work on UI and so on.
Another point to mention is that this kind of documents can simplify
the maintenance of the system.
All other aspect and procedure would be handled with Programmer in the
developing phase.
Thanks and regards,
Amir
--
You received this message because you are subscribed to the ADF Enterprise Methodology Group (
http://groups.google.com/group/adf-methodology). To unsubscribe send email to
adf-methodolo...@googlegroups.com