« 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)
 
(28 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 java FX] applications developped by the author.
|-
| width="120" bgcolor="#ffff99" |
Project


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


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


| bgcolor="#ffccff" style="text-align: center;" | Shortcut Subdomain
This works with Firefox, Opera, IE, Safari. But Java is no more supported by Google Chrome.
| bgcolor="#ffccff" style="text-align: center;" | Eclipse Project

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

== App List ==

{| cellspacing="1" cellpadding="1" border="1" width="800"
|-
|-
| style="text-align: center;" | '''MatscApp Gallery'''
! scope="col" | Embed
| style="text-align: center;" | [http://mmm:8888/GwtApp.html gwtApp on mmm]
! scope="col" | WebStart
| style="text-align: center;" | [http://mmu:8080/GwtApp/ gwtApp on mmu]
! 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/fx/spiral Spiral]<br>
| style="text-align: center;" | [http://mmm:8888/GwtPBP.html TedScape on mmm]
| [http://m3m.homelinux.org/fx/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/fx/animPolyhedron Polyhedron]<br>
| style="text-align: center;" | [http://mmm:8888/GwtAlex.html gwtAlex on mmm]
| [http://m3m.homelinux.org/fx/animPolyhedron/animPolyhedron.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/fx/zeKlok ZeKlok]<br>
| [http://m3m.homelinux.org/fx/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/fx/klokoDream KlokoDream]<br>
| [http://m3m.homelinux.org/fx/klokoDream/klokoDream.jnlp KlokoDream]<br>
| a funny clock by Paul<br>
|-
| [http://m3m.homelinux.org/fx/tree3 3D-tree]<br>
| [http://m3m.homelinux.org/fx/tree3/tree3.jnlp 3D-tree]<br>
| a gently growing 3D tree<br>
|-
| [http://m3m.homelinux.org/fx/yumans Yumans]<br>
| [http://m3m.homelinux.org/fx/yumans/yumans.jnlp Yumans]<br>
| Affinities and mutation in human society, a minimal model<br>
|-
| [http://m3m.homelinux.org/fx/oscillo Oscillo]<br>
| [http://m3m.homelinux.org/fx/oscillo/oscillo.jnlp Oscillo]<br>
| simple 2D oscillator
|-
| [http://m3m.homelinux.org/fx/heron Heron]<br>
| [http://m3m.homelinux.org/fx/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 ceratins 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/fx/properties Properties]<br>
| [http://m3m.homelinux.org/fx/properties/properties.jnlp Properties]<br>
| display JVM&nbsp;properties<br>
|}
|}


<br>
== Tech notes ==

=== Modes<br> ===

The apps are accessible in 2 modes:

*The '''webstart''' mode opens a separate (nearly standalone) window
*The '''embedded''' mode opens a new browser page (this may take some time to load)<br>

During the development, the apps are tested in '''standalone''' mode.

=== 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 bash and php
*several specialized libraries from [http://www.matscape.com Matscape], including animation libraries.

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>


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
#In the <span style="color: rgb(128, 128, 128);">defineAnims</span>() segment ofg 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.


The '''Prod versions''' and '''Shortcut accessible versions''' are accessible&nbsp;when tomcat runs on MMU.
=== MatscApp deployment<br> ===


All are accessible with various browsers, but '''Google Chrome''' is the most efficient.
The deployment is realized through the bash script defined withiun the netBeans projects (typically ''A_deploy.bash'').


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.