>
> In the tutorial, 'view' is a _part of_ 'App'
> but in the generated code 'view' _is_ 'App'
>
In the generated code and the user_guide I show an approach of how each
view is in itself a self contained unit and no App_Data is required. That
makes Views reusable units, their intent.
In the multi_connect example I could have used App_Data to allow the View
to reach data instead of giving it an interface back to the controller, but
again I think that reduces reusability and encourages almost a "global"
variable style of programming.
For the tutorials I wanted single procedures to demo specific functionality
and so even made way too much use of Unrestricted_Access...
As the user_guide expands and/or there are other straightforward ways to
relate use of various parts of Gnoga I foresee getting rid of those
tutorials or replacing.
David Botton
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list