comp.lang.ada
 help / color / mirror / Atom feed
* example of layered software?
@ 2005-11-29 19:52 Lionel Draghi
  2005-11-30 14:28 ` Marc A. Criley
  2005-11-30 20:57 ` Bobby D. Bryant
  0 siblings, 2 replies; 7+ messages in thread
From: Lionel Draghi @ 2005-11-29 19:52 UTC (permalink / raw)


I wrote a tool to check architecture, and I wan't to test it on real 
projects.
This is why I am looking for Ada (and Java/C/C++) sources that have a 
layered architecture, and describe it.

Here is an example from GtkAda documentation :

+---------------------------------------------+
|             Your Application                |
+---------------------------------------------+
|                 GtkAda                      |
|               +-----------------------------+
|               |            GTK              |
|       +-------+-----------------------------+
|       |           GDK                       |
+-------+--------------+--+-------------------+
|          GLIB        |  | X-Window / Win32  |
+----------------------+  +-------------------+

I would apreciate something more simple (without bridging), but here is 
the idea.

Note that I'll release the tool as free software.

Thank you for your help.

-- 
Lionel Draghi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-11-29 19:52 example of layered software? Lionel Draghi
@ 2005-11-30 14:28 ` Marc A. Criley
  2005-11-30 20:44   ` Lionel Draghi
  2005-11-30 20:57 ` Bobby D. Bryant
  1 sibling, 1 reply; 7+ messages in thread
From: Marc A. Criley @ 2005-11-30 14:28 UTC (permalink / raw)


Lionel Draghi wrote:
> I wrote a tool to check architecture, and I wan't to test it on real 
> projects.
> This is why I am looking for Ada (and Java/C/C++) sources that have a 
> layered architecture, and describe it.

I think you're going to have to describe a bit more what your tool does, 
so we can get a better idea of what kind of suggestions would be 
appropriate for helping you test it.

-- Marc A. Criley
-- McKae Techologies
-- www.mckae.com
-- DTraq - XPath In Ada - XML EZ Out



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-11-30 14:28 ` Marc A. Criley
@ 2005-11-30 20:44   ` Lionel Draghi
  2005-12-11 15:19     ` Marco
  0 siblings, 1 reply; 7+ messages in thread
From: Lionel Draghi @ 2005-11-30 20:44 UTC (permalink / raw)


Marc A. Criley a ï¿œcrit :
...
> I think you're going to have to describe a bit more what your tool does, 
> so we can get a better idea of what kind of suggestions would be 
> appropriate for helping you test it.

It checks that sources are conpliant with a description of this kind :
- GUI contains pkg_1, pkg_2
- DB  contains pkg_3, pkg_4
- GUI is a layer over DB

It will then (for example) checks that pkg_3 is not using pkg_2.

My tests are not really much more complex than this example, and this is 
why I am looking for real sources organized in true layers.

-- 
Lionel Draghi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-11-29 19:52 example of layered software? Lionel Draghi
  2005-11-30 14:28 ` Marc A. Criley
@ 2005-11-30 20:57 ` Bobby D. Bryant
  1 sibling, 0 replies; 7+ messages in thread
From: Bobby D. Bryant @ 2005-11-30 20:57 UTC (permalink / raw)


On Tue, 29 Nov 2005, Lionel Draghi <Lionel.nospam.Draghi@Ada-France.org> wrote:

> I wrote a tool to check architecture, and I wan't to test it on real 
> projects.
> This is why I am looking for Ada (and Java/C/C++) sources that have a 
> layered architecture, and describe it.
> 
> Here is an example from GtkAda documentation :
> 
> +---------------------------------------------+
>|             Your Application                |
> +---------------------------------------------+
>|                 GtkAda                      |
>|               +-----------------------------+
>|               |            GTK              |
>|       +-------+-----------------------------+
>|       |           GDK                       |
> +-------+--------------+--+-------------------+
>|          GLIB        |  | X-Window / Win32  |
> +----------------------+  +-------------------+
> 
> I would apreciate something more simple (without bridging), but here is 
> the idea.

The GtkAda page lists some applications that use it; you might look to
see if any of them give out their source.

-- 
Bobby Bryant
Austin, Texas



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-11-30 20:44   ` Lionel Draghi
@ 2005-12-11 15:19     ` Marco
  2005-12-11 19:06       ` Lionel Draghi
  0 siblings, 1 reply; 7+ messages in thread
From: Marco @ 2005-12-11 15:19 UTC (permalink / raw)


my suggestion:

To get started, synthetic test code is the way to go.  After that,
"beta" release your tool so others can test it for you on real code and
provide feedback. Since you are releasing the tool as free software
then let others be your test team.

 
 Mark




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-12-11 15:19     ` Marco
@ 2005-12-11 19:06       ` Lionel Draghi
  2005-12-11 22:07         ` Lionel Draghi
  0 siblings, 1 reply; 7+ messages in thread
From: Lionel Draghi @ 2005-12-11 19:06 UTC (permalink / raw)


Marco a ï¿œcrit :
> my suggestion:
> 
> To get started, synthetic test code is the way to go.

I wrote a small tool to create Ada packages, that I use in my "make check".
It eases package creation with precise dependencies.

For example:

    @create_pkg P1 spec -with P2 -with P3

will create:

    with P2;
    with P3;

    -- created by Create_Pkg v1.0
    package P1;
       null;
    end P1;

All my tests are based on those minimal packages, and my biggest test 
only involve half of them.
This is why I don't feel comfortable to release something without at 
least once real size testing.

> After that,
> "beta" release your tool so others can test it for you on real code and
> provide feedback. Since you are releasing the tool as free software
> then let others be your test team.

OK, but I want to reach a minimal useability level.
I'm not sure it's already the case, I have to think about it.

-- 
Lionel Draghi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: example of layered software?
  2005-12-11 19:06       ` Lionel Draghi
@ 2005-12-11 22:07         ` Lionel Draghi
  0 siblings, 0 replies; 7+ messages in thread
From: Lionel Draghi @ 2005-12-11 22:07 UTC (permalink / raw)


> All my tests are based on those minimal packages, and my biggest test 
> only involve half of them.
half a dozen of them



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-12-11 22:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 19:52 example of layered software? Lionel Draghi
2005-11-30 14:28 ` Marc A. Criley
2005-11-30 20:44   ` Lionel Draghi
2005-12-11 15:19     ` Marco
2005-12-11 19:06       ` Lionel Draghi
2005-12-11 22:07         ` Lionel Draghi
2005-11-30 20:57 ` Bobby D. Bryant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox