hi
>> So what I would like to see from you (in order to convince ME to try
>> your framework) is one thing: please describe in plain text how you
>> would implement the following task in your framework; with as much
>>technical detail as necessary.
>>
>>The task is:
>>"There's a table called EMPLOYEES in a DB2 database under AIX. There's
>>a table named DEPARTMENTS in an Oracle database under Solaris. And
>>finally there's a table named GROSS_REVENUE stored in a MS SQLServer
>>table.
>>Combine the data from all three tables such that the output of the
>>program contains:
>>- name of every department,
>>- total revenue generated by all programmers in
>>this dept.
>>Keep in mind that departments are stored in a hierarchical manner.
>>"
>>[end of task description]
ok, solving this problem (task) in programming without coding means that we
should
1 - Design High Level RPWI (Real/Rapid Programming without Instructions)
Package
2 - Implementation of the RPWI Package
3 - Testing it, to make sure that everything done well
4 - resuing it again and again as much as we need
High Level RPWI Package means developing GUI that can be used without
understanding the programming language syntax and rules, and interaction with
this GUI gives results that do something (Goal) we want.
Designing High Level RPWI Package (Design start from what we want , not what
we can do) is an art, and solutions differ from one to another
So i will give you a solution, but you can present another one , and so on.
[1] - the first step in designing High Level RPWI Package , is to determine
the *logical sequence* that you uses to solve the problem
in our task , for example, i will put the following logical squence
0 - Create Connections to differnet data sources
1 - Set state = firstdepartment (first record) = our first root
2 - use our Connection to Oracle Database
3 - Create view from Department table to get the department record by
(state)
3.1 - Start Scan (Record by Record) in our view
3.1.1 - Use our Connection to DB2 Database
3.1.2 - Create view from Employees table to get all employees from
our department
3.1.3 - Start Scan (Record by Record) in our view
3.1.3.1 - Connect to MS SQL Server Database
3.1.3.2 - create view from GROSS_REVENUE table for selected
dep & emp
3.1.3.3 - print/store program output on screen/file/printer
3.1.4 - update the cursor (for scan)
3.1.5 - Continue/End scan as required
3.2 - update the state to point to the next department in the
hierarchical strucutre
3.3 - Continue/End scan as required
4 - Clear Views
5 - Close Connections
6 - Return to caller
[2] the second step is to write a real code for each step written about in
the logical sequence
[3] for each real code in step [2], let the parameters (variables/attributes)
away from operations (commands,functions & methods)
i.e. X without F(X)
for example printf(" hello \n");
F(X) = printf("hello \n");
x = "hello \n" f = printf( );
[4] for each x without f(x) in step [3] , design an interactive pages (GUI)
in human language that let us determine only X without bothering about F()
the interactive page designed using Interaction Designer
[5] for step [3] and step[4] - write a code mask *script* that work as
junction between the GUI and the generated code
this process done using Transporter Designer
[6] for step [1] write a code mask *script* that generates the steps tree
automatically
this process done using Transporter Designer
[7] design domain tree which can be used to access all the designed components
this process done using Domain Tree Manager
[8] install components into our domain tree
this process done using Component Installer
To use Designers & to write Code Mask Script , you need to study the
framework documentation.
___________________________
Time Required to do all of that :
Design : 2 hours at max.
Development : 1 hour at max.
Testing : 15 min. at max
Usage : 3 min at max.
___________________________
Greetings,
Mahmoud
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]