« GWT apps » : différence entre les versions

De Lillois Fractale Wiki
Aller à la navigation Aller à la recherche
Contenu ajouté Contenu supprimé
Aucun résumé des modifications
m (Pge a déplacé la page PGE GWT apps vers GWT apps sans laisser de redirection)
 
(8 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
Various projects are accessible from here.
== Tech Intro ==


{| width="850" cellspacing="1" cellpadding="8" border="1"
This page contains links to various MatscApp ([http://www.matscape.com Matscape] Apps). These are [http://en.wikipedia.org/wiki/JavaFX javaFX] applications developped by the author.
|-
| width="120" bgcolor="#ffff99" |
Project


| bgcolor="#ffccff" |
It is possible to launch these apps online in two modes:
DVP (MMM)


| bgcolor="#ffccff" |
*'''embedded''': the app is embedded within the browser
Prod (MMU = m3m.homelinux.org)
*'''webstart''': in a separate window (in 'jnlp' mode)


| bgcolor="#ffccff" style="text-align: center;" | Shortcut Subdomain
But in development a third faster mode ('''standalone''' mode) is used.
| bgcolor="#ffccff" style="text-align: center;" | Eclipse Project

This works with Firefox, Opera, IE, Safari. But Java is no more supported by Google Chrome.

If you want to see the applications, you should accept to trust them (and the author).

When the app is running, various control actions are possible:

*'''ctrl-alt-Q''' exits
*'''ctrl-alt-M''' sets/unsets monitoring mode
*'''ctrl-alt-H''' halts/resumes animation
*'''ctrl-alt-F''' sets/unsets full screen mode (unpredicatble effect in embedded mode)

== App List ==

{| cellspacing="1" cellpadding="1" border="1" width="800"
|-
|-
| style="text-align: center;" | '''MatscApp Gallery'''
! bgcolor="#cccccc" scope="col" | Embedded
| style="text-align: center;" | [http://mmm:8888/GwtApp.html gwtApp on mmm]
! bgcolor="#cccccc" scope="col" | WebStart
| style="text-align: center;" | [http://mmu:8080/GwtApp/ gwtApp on mmu]
! bgcolor="#cccccc" scope="col" | Description
| style="text-align: center;" | [http://app.matscape.com app.matscape.com]
| style="text-align: center;" | gwtApp
|-
|-
| style="text-align: center;" | '''TedScape (PBP)'''
| [http://m3m.homelinux.org/afx/Spiral Spiral]<br>
| style="text-align: center;" | [http://mmm:8888/GwtPBP.html TedScape on mmm]
| [http://m3m.homelinux.org/afx/Spiral/Spiral.jnlp Spiral]<br>
| style="text-align: center;" | [http://mmu:8080/GwtPBP/ TedScape on mmu]
| basic animation drawing <br>
| style="text-align: center;" | [http://ted.matscape.com ted.matscape.com]
| style="text-align: center;" | gwtPBP
|-
|-
| style="text-align: center;" | '''Alex (Assothink)'''
| [http://m3m.homelinux.org/afx/Polyhedron Polyhedron]<br>
| style="text-align: center;" | [http://mmm:8888/GwtAlex.html gwtAlex on mmm]
| [http://m3m.homelinux.org/afx/Polyhedron/Polyhedron.jnlp Polyhedron]<br>
| style="text-align: center;" | [http://mmu:8080/GwtAlex/ gwtAlex on mmu]
| a study on numerous variants of animated polygons . It shows animated versions of the 5 basic platonic solids described by [http://en.wikipedia.org/wiki/Pythagoras Pythagoras]. <br>
| style="text-align: center;" | [http://alex.matscape.com alex.matscape.com]
|-
| style="text-align: center;" | gwtAlex
| [http://m3m.homelinux.org/afx/ZeKlok ZeKlok]<br>
| [http://m3m.homelinux.org/afx/ZeKlok/ZeKlok.jnlp ZeKlok]<br>
| a funny clock by Philippe. One of the original feature of ZeKlok is the separation of the inner (night) and outer (day) spires. <br>
|-
| [http://m3m.homelinux.org/afx/KlokoDream KlokoDream]<br>
| [http://m3m.homelinux.org/afx/KlokoDream/KlokoDream.jnlp KlokoDream]<br>
| a funny clock by Paul<br>
|-
| [http://m3m.homelinux.org/afx/FuzzyCircle FuzzyCircle]<br>
| [http://m3m.homelinux.org/afx/FuzzyCircle/FuzzyCircle.jnlp FuzzyCircle]<br>
| The sun seen as a fuzzy circle<br>
|-
| [http://m3m.homelinux.org/afx/Function Function]<br>
| [http://m3m.homelinux.org/afx/Function/Function.jnlp Function]<br>
| Display a function f(t) <br>
|-
| [http://m3m.homelinux.org/afx/Tree3 3D-tree]<br>
| [http://m3m.homelinux.org/afx/Tree3/Tree3.jnlp 3D-tree]<br>
| a gently growing 3D tree<br>
|-
| [http://m3m.homelinux.org/afx/Yumans Yumans]<br>
| [http://m3m.homelinux.org/afx/Yumans/Yumans.jnlp Yumans]<br>
| Affinities and mutation in human society, a minimal model<br>
|-
| [http://m3m.homelinux.org/afx/Oscillo Oscillo]<br>
| [http://m3m.homelinux.org/afx/Oscillo/Oscillo.jnlp Oscillo]<br>
| simple 2D oscillator
|-
| [http://m3m.homelinux.org/afx/Fractal Fractal]<br>
| [http://m3m.homelinux.org/afx/Fractal/Fractal.jnlp Fractal]<br>
| a fractal moving tree
|-
| [http://m3m.homelinux.org/afx/Lines Lines]<br>
| [http://m3m.homelinux.org/afx/Lines/Lines.jnlp Lines]<br>
| just random moving lines
|-
| [http://m3m.homelinux.org/afx/Alors Alors]<br>
| [http://m3m.homelinux.org/afx/Alors/Alors.jnlp Alors]<br>
| Bubble tests
|-
| [http://m3m.homelinux.org/afx/Multo Multo]<br>
| [http://m3m.homelinux.org/afx/Multo/Multo.jnlp Multo]<br>
| Multiple occurrences of an animated frame
|-
| [http://m3m.homelinux.org/afx/Password Password]<br>
| [http://m3m.homelinux.org/afx/Password/Password.jnlp Password]<br>
| A password control access to an animated app
|-
| [http://m3m.homelinux.org/afx/Control Control]<br>
| [http://m3m.homelinux.org/afx/Control/Control.jnlp Control]<br>
| Show animation control
|-
| [http://m3m.homelinux.org/afx/Heron Heron]<br>
| [http://m3m.homelinux.org/afx/Heron/Heron.jnlp Heron]<br>
| computing the surface of a triangle. The formula used for the computation was found in the first century of our era by [http://en.wikipedia.org/wiki/Hero_of_Alexandria Heron], in Alexandria. <br>
|-
| no<br>
| no<br>
| S'il est juste qu'un anniversaire représente un écho temporel remarquable (un nombre entier de rotation autour du soleil depuis l'événement original), il semble que d'autres échos temporels puissent être également déclarés remarquable. C'est le cas pour certains mensiversaires (mois), hebdoversaires (semaines) et diversaires (jours), en particulier lorsque les multiples sont des nombres remarquables. Par exemple 10 000 jours ou 300 mois représentent des échos célébrables d'événements originaux. <br>
|-
| [http://m3m.homelinux.org/afx/PropJVM PropJVM]<br>
| [http://m3m.homelinux.org/afx/PropJVM/PropJVM.jnlp PropJVM]<br>
| display JVM properties<br>
|}
|}


<br>
== Tech notes ==

=== Technology ===

The underlying technologies are:

*Java, [http://en.wikipedia.org/wiki/JavaFX JavaFX] ([http://en.wikipedia.org/wiki/NetBeans NetBeans] IDE&nbsp;projects)
*a bit of html &amp; php
*a deployment script (see below)
*several specialized libraries from [http://www.matscape.com Matscape], including animation librarie (mslib and drwFXLib)

Note that this animations are good examples of JavaFX&nbsp;development and deployment.

=== Browser support<br> ===

Depending on OS (windows, MAC, Linux), on browsers (Firefox, Chrome, Opera, IE), and on security settings, some modes may not work... <br>

=== Software Sources<br> ===

All MatscApp objects are basically (java) <span style="color: rgb(128, 128, 128);">animFXapplic</span> objects.<br>

They are defined as NetBeans projects, in the directory $jnb.<br>

Examples of <span style="color: rgb(128, 128, 128);">AnimFXApplic</span> objets are in the <span style="color: rgb(128, 128, 128);">AnimFXLab</span> project.<br>

An <span style="color: rgb(128, 128, 128);">AnimFXApplic</span> should at least contain: <br>

*package and include statements<br>
*class declaration (extends <span style="color: rgb(128, 128, 128);">animFXapplic</span>)<br>
*a <span style="color: rgb(128, 128, 128);">defineAnims</span>() method implementation
*a subclass of animPane, with 3 methods at least: <span style="color: rgb(128, 128, 128);">draw</span>(), <span style="color: rgb(128, 128, 128);">butEvent</span>() and <span style="color: rgb(128, 128, 128);">moveEvent</span>().

=== Password protection<br> ===

All MatscApp may be password protected. Here are the steps to organize it.<br>

#In the <span style="color: rgb(128, 128, 128);">defineAnims</span>() segment of the animFXapplic, initialize the global var <span style="color: rgb(128, 128, 128);">passwordApplic</span>.<br>
#The password management is covered by the class <span style="color: rgb(128, 128, 128);">mscp.util.password </span>(part of the <span style="color: rgb(128, 128, 128);">mslib</span> project).&nbsp; To create, reset or check password, use the bash command&nbsp;: <span style="color: rgb(128, 128, 128);">run password</span> . This application provides more explanation on the possible password tasks.

=== MatscApp deployment and ''afx'' bash utility<br> ===


The '''DVP versions''' are accessible&nbsp;:&nbsp;only from the the fractal network&nbsp;;&nbsp;&nbsp;when eclipse and its jetty server run on MMM for the specified project
The deployment is realized through the <span style="color: rgb(128, 128, 128);">afx</span> bash script.


The '''Prod versions''' and '''Shortcut accessible versions''' are accessible&nbsp;when tomcat runs on MMU.
This script also performs various other tasks:


All are accessible with various browsers, but '''Google Chrome''' is the most efficient.
*global deployment
*wiki doc access
*run in 3 modes
*backup


The technical information related to GWT&nbsp;development is [[GWT|here]].
<br>

Dernière version du 1 octobre 2017 à 17:33

Various projects are accessible from here.

Project

DVP (MMM)

Prod (MMU = m3m.homelinux.org)

Shortcut Subdomain Eclipse Project
MatscApp Gallery gwtApp on mmm gwtApp on mmu app.matscape.com gwtApp
TedScape (PBP) TedScape on mmm TedScape on mmu ted.matscape.com gwtPBP
Alex (Assothink) gwtAlex on mmm gwtAlex on mmu alex.matscape.com gwtAlex


The DVP versions are accessible : only from the the fractal network ;  when eclipse and its jetty server run on MMM for the specified project

The Prod versions and Shortcut accessible versions are accessible when tomcat runs on MMU.

All are accessible with various browsers, but Google Chrome is the most efficient.

The technical information related to GWT development is here.