Hi,
some preliminary remarks about how, TTBOMK,
GUI designers would want to do the design for
Gnoga applications (F'up of a c.l.ada discussion).
That's not, to start with, by writing

   something.Style("...");

in program text. I have asked a few designers
and I hope to get some more answers next week.
So far:

There are a few premises that may not hold in
every programming situation.

1 - The tools they use for web design cannot be
changed at the request of Ada programmers.

2 - It might be necessary to alter the design
without recompiling the program.

3 - a web page may need to present more
content than the Gnoga application proper.

4 - Interoperation with CMSs and web site
building setups may be required.

5 - placement of parts of the views might
need to adapt to devices.

I see that a few things can be achieved in Gnoga as is.
There is some support for style sheets. There
are plugins like jQuery. There are some hooks:
Create_From_HTML, innerHTML.

A minimum requirement would be that Gnoga be capable
of creating static HTML 5 pages that would act as drawing
boards or mockup for designers. They shan't use
Gnoga's GUI builder. Instead, what they produce
needs to be mapped to or merged with what the
Create (I guess) family of functions of Gnoga needs to do.

I imagine run-time support in the following sense
might do some of the trick, given the HTML material
as the means of storing ideas of the designers:

   Create_From_HTML
    (...,
     HTML => Config.Load_Via_ID ("element-by-id"));

That might, for example, refer to
 <div id="element-by-id"> ...
as part of importantâ„¢-to-show-exactly-like-so content,
at the bottom of that <form>.

Config is an object that represents external settings.
These account for the design as applying to the current
product (customer specific). A simple feature would be
a style sheet, or some Javascript text to be placed
precisely somewhere in the "page". Config also facilitates
changes in appearance by simply adopting external
"resource updates".

For that kind of interaction between programmers and
designers to work, web views need to have one more
representation. I.e., all possible views must also become
a manifest model of sorts, something with wich both
Gnoga programms and GUI designers can work.

------------------------------------------------------------------------------
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

Reply via email to