Framework Open Source pour le développement d'interface utilisateur web, basé sur le puissant Framework GWT (Google Web Toolkit) Propre, claire, orientée-objet,

Slides:



Advertisements
Présentations similaires
Gestion des événements (suite)
Advertisements

Exposé de Système - Informatique et Réseau
Développement dun simulateur dinterface graphique à distance Présenté par Michaël Delhaye Promoteur : Jean Vanderdonckt.
Programmation par Objets et Java
Présentation de Windows Presentation Foundation Vers une nouvelle génération dinterfaces graphiques.
Développement Rapide dApplications Web avec.NET « Mon premier site »
Projet JAVA EE Approfondi
Templavoila_framework Une révolution Cyril Wolfangel.
Les choses que j aime Learning Objective: To know how to use j aime to talk about things I like to do.
OIL & UPML DREVET - HUMBERT Introduction OIL : un langage de description dontologies UPML : un langage de description de systèmes à base.
Clients riches RIA (Rich Internet Application) / RDA
I. Intro, contexte, historique des mmorts II. SVN, historique des langages utilisés III. Serveur PHP, client 2D: JavaScript IV. Client 3D: Java, JoGL.
Cest mercredi le neuf octobre Le plan! 1.Révisions 2.Vocabulaire 3.Jouer 4.Ecouter 5.Parler Il fait beau! Le but! Les couleurs!
Finger Rhyme 6 Summer Term Module 6 Culturethèque-ifru2013 May not be copied for commercial purposes.
Les Expressions Négatives
L’impératif.
 Sil vous plait suivis le “tutorial” dans les pages suivantes. Vous avez toutes la classe pour le finir.  Ouvrir un nouveau feuille de calculs dans.
LES CLIENTS WEB RICHES Tuteur : Olivier CARON LEFEBVRE Benoit
What gender is this word?
Core Module 10 Advocacy: Engaging the Public Association des conseils scolaires des écoles publiques de l’Ontario (ACÉPO) Association franco-ontarienne.
Variables et accès en Java. Déclaration des variables final transient static private Printer hp; transient => ne doivent pas être sérialisées volatile.
© Copyright Showeet.com S OCIAL M EDIA T HINKING.
3 Les Verbes -ER Talking about people’s activities Les normes: –Communication 1.2: Understanding the written and spoken language –Comparisons 4.1: Understanding.
SciTools Understand A Source Code Analysis and Metrics Tool
Présentation du framework JSF (Java Server Faces) dans le modèle événementiel MVCII
Les verbes réfléchis Les normes: Communication 1.2 Comparisions 4.1
Forming questions in French
Les adjectifs possessifs
Greetings, formal and informal
Le superlatif Comparing people and things within a group.
SIAD Tableaux de bord de gestion MR / YJ Tableaux de bords l Un exemple d ’interface réussi? l Digital Dashboards.
Chapitre 1 Une amie et un ami. Objectifs In this chapter, students will communicate in spoken and written French to: 1. Identify and describe themselves.
Cours MIAGE « Architectures Orientées Services »Henry Boccon-GibodCours MIAGE « Architectures Orientées Services »Henry Boccon-Gibod 1 Architectures Orientées.
Student Management Marks Gaston Berger University School Year Project on Mobile Application Development.
Nous allons .. préparer un texte (pour écrire ou décrire)
L’Heure To ask what time it is in French, say: – Quelle heure est-il? To respond, say: – Il est... heure(s). – Ex: 02h00 Il est deux heures. 04h00 Il est.
Les verbes réfléchis -au présent -à l’impérative (command) -avec l’infinitif Rouge, Unit 1, Part 1 Page 44.
Year 10. Bon appetit unit. Introducing ‘en’. ‘en’ – ‘some of it’ or ‘some of them’ ‘En’ is a small but important word in French that is commonly used.
Les pronoms objets Mme Zakus. Les pronoms objets When dealing with sentences, subjects are part of the action of the verb. In other words, they “ do ”
La mémoire(1): Comment bien travailler
Your team’s name. Préselection file You have just downloaded the preselection file: it’s the first step for you to win the challenge! In this file, you.
Irregular Adjectives Not all adjectives are made the same.
Les verbes réfléchis.
Tache 1 Construction d’un simulateur. Objectifs Disposer d’un simulateur d’une population présentant un déséquilibre de liaison historique, afin d’évaluer.
Welcome everyone.
2. Hier soir, on ________________(voir) un film.
8 Les pronoms interrogatifs et relatifs Les normes: Communication 1.2 Comparisons 4.1 Les questions essentielles: - What are the 2 ways to ask the question.
Let’s enjoy making Session 2. Let’s enjoy making: Session 2 Les déménageurs sont arrivés !
Let’s enjoy making Session 3 Let’s enjoy making: Session 3 Que pensez-vous ?
Tips & Tricks: Engage your students with your enhanced SMART lessons Assistive Technology Workshop presented by: Nate Maier.
Gestion des déplacements professionnels SAP Best Practices.
Répétez! Bonjour!. Je m’appelle ________. Et toi ? Tu t’appelles comment? Répétez!
8 Les pronoms interrogatifs et relatifs Les normes: Communication 1.2 Comparisons 4.1 Les questions essentielles: - What are the 2 ways to ask the question.
Salut, les copains! French 1, Chapter 1-1.
WILF: To be able to produce sentences in the future (Grade D)
Créez des applications Silverlight 3 David Rousset Relations Techniques avec les développeurs Microsoft France
U NITE 7A: E CHAUFFEMENT 1 L E PREMIER OCTOBRE Le mot juste Fill in each blank with an appropriate vocabulary word. 1. M. Tremaine doit ( must ) avoir.
LEÇON 13.  Écrivez vos devoirs: 1.Continuez de pratiquer le vocabulaire! 2.Devoirs packet #13  Sortez vos devoirs: #11 et #12.  Tout de Suite: #11.
© Crown copyright 2011, Department for Education These materials have been designed to be reproduced for internal circulation, research and teaching or.
With a partner, try to name all these things without looking at your vocab list!!
YOUR CENTRAL SOURCE FOR DATA EXCHANGE TranscenData Proprietary Confidential Support AP242 Solution d’Interopérabilité ITI TranscenData 26 Mars 2014 Vincent.
Le Verbe Avoir L’Objectif: to learn the verb avoir in the present tense and to be able to use it in context By: B. Antoniazzi DDE French 1 U1 L2C AVOIR.
TITLE Business PowerPoint Templates PowerPoint note pad template.
The imparfait can be translated several ways into English.
Update on Edge BI pricing January ©2011 SAP AG. All rights reserved.2 Confidential What you told us about the new Edge BI pricing Full Web Intelligence.
the Periodic Table the Periodic Table 2017/2018 Made by : NEDJAR NASSIMA Made by : NEDJAR NASSIMA MS:HAMZA 1.
Exercices: Système d’Information
Avoiding the Pitfalls of Bad Slides Tips to be Covered Outlines Slide Structure Fonts Colour Background Graphs Spelling and Grammar Conclusions Questions.
Transcription de la présentation:

Framework Open Source pour le développement d'interface utilisateur web, basé sur le puissant Framework GWT (Google Web Toolkit) Propre, claire, orientée-objet, approche composant, en code Java, avec des populaires IDEs Support automatique des mobiles comme apparence, comportement et gestion des événements Phase de compilation traduisant le code Java en JavaScript, HTML5/Ajax Selon une API standard résolvant les variations entre les navigateurs Gestion de: chargement et d'affichage des données, propagation des modifications utilisateur vers le serveur, validation du serveur, gestion des erreurs, mises à jour du cache sur plusieurs composants… SmartGwt Page 1/20

Difficulté d’écriture du code JavaScript( Langage au typage faible) Debug compliqué (alert !) Interprétation différente selon le navigateur Manque de compétence JavaScript Compétences nombreuses en développeur Java et librairie de code source complet à /showcase/#main /showcase/#main L’environnement de développement Java est très riche (ex: IDE Eclipse, debug pas à pas) Un seul code source Java pour tous les navigateurs, génération de JS pour chaque navigateur cible Le code Javascript est optimisé : compact, minimal, efficace Problèmes Solutions SmartGwt Page 1/20

L’interpréteur JS est mono thread Compilateur lent pour les gros projets Framework d’architecture de code (MVP) pas encore intégré Communauté Open source presque inactive jusqu’au maintenant SmartGwt Page 1/20

Représenté par un fichier XML (MonApp.gwt.xml), il est composé de : –Un ou plusieurs modules hérités –Un point d’entrée (le “main”) –Un chemin des sources, un autre des ressources –Scripts JS et CSS –Config vers les servlets RPC –Etc….ds.xml files describing your business objects.java files with DMI logic expressing business rules SmartGwt Page 1/20

A ListGrid is a DataBoundComponent that displays a list of objects in a grid, where each row represents one object and each cell in the row represents one property. A TreeGrid works just like a ListGrid, except one column (specified by treeField) shows a hierarchical Tree. A TreeGrid is not limited to displaying just the Tree column - you can define additional columns (via fields) which will render just like the columns of a ListGrid, and support all of the functionality of ListGrid columns, such as formatters. The Calendar component provides several different ways for a user to view and edit a set of events. A TileGrid is a DataBoundComponent that displays a list of objects as a set of "tiles", where each tile represents one object, and the tiles are laid out in a grid with multiple tiles per row. Each tile displays one or more properties of the object it represents. The DynamicForm manages a collection of FormItems which represent user input controls. The DynamicForm provides layout, value management, validation and databinding for the controls it manages. SmartGwt Page 1/20

UIObjectUIWidgetBaseWidgetCanvas CalendarListGridTileLayoutTileGridDynamicFormLayoutHStackHLayoutVStackVLayoutImg  void setHeight(int height) Sets the object's height  void setWidth(int width) Sets the object's width  void setMargin(Integer margin) Set the CSS Margin, in pixels, for this component  Void setLayoutAlign(Alignment layoutAlign) When this Canvas is included as a member in a Layout, layoutAlign controls alignment on the breadth axis of the layout.Alignment  void setBackgroundColor(String backgroundColor) The background color for this widget.  void setBackgroundImage(String backgroundImage) URL for a background image for this widget (corresponding to the CSS "background-image“ attribute).  void setBorder(String border) Set the CSS border of this component, as a CSS string including border-width, border-style, and/or color (eg "2px solid blue"). SmartGwt Page 1/20

UIObjectUIWidgetBaseWidgetCanvas CalendarListGridTileLayoutTileGridDynamicFormLayoutHStackHLayoutVStackVLayoutImg  void setCanAcceptDrop(Boolean canAcceptDrop) Indicates that this object can receive dropped widgets  void setCanDrag(Boolean canDrag) Indicates whether this widget can initiate custom drag- and-drop operations (other than reposition or resize).  void setDragType(String dragType) The "type" of thing given as a string that can be dragged from this widget.  void setDropTypes(String dropTypes) The "type" of thing(s) that can be dropped on this widget specified as a string or an array of strings (indicating multiple types).  void setDragAppearance(DragAppearance dragAppearance) Visual appearance to show when the object is being dragged.  void setCanDragReposition(Boolean canDragReposition) Indicates whether this widget can be moved by a user of your application by simply dragging with the mouse. Inheritance SmartGwt Page 1/20

smartgwt Page 12/20 Drag and drop pour déplacer les pièces entre les trois boîtes Les boîtes bleue et verte acceptent des pièces de son même couleur. La boîte grise accepte n'importe quelle pièce.

Invoquer par la class EntryPoint, permet de: 1.Creer les DropBox 2.Creer les DragPieces et l’inseret dans les DropBoxes 3.………………………………. 4.Gerer les positions des DropBoxes par le conteneur Hstack. Invoquer par la class EntryPoint, permet de: 1.Creer les DropBox 2.Creer les DragPieces et l’inseret dans les DropBoxes 3.………………………………. 4.Gerer les positions des DropBoxes par le conteneur Hstack. Class DropBox a creer, gerer les visual properties de DrogBox Class DragPiece a creer, gerer les visual properties de DragPiece SmartGwt Page 1/20

1- Creations des DropBoxes : 2- creation des DragPieces et l’insertion dans les DropBoxes Permet de creer la boitte gris Location de l’image de DropBox creer Creer le DragPiece SmartGwt Page 1/20

Permet de preciser le types des pieces qui peut être déposer dans le DropBox Initialise le hstack visual component Ajouter les DropBoxes creer a le conteneur Hstack SmartGwt Page 1/20

Definie les proprietes de visual component SmartGwt Page 1/20

1 Initiate the databound visual component designed to display, query, and edit our structured data Define the component visual properties Define the component Drag and Drop properties Layout Management Define the DataSource Fields SmartGwt Page 1/20

UIObjectUIWidgetBaseWidgetCanvas CalendarListGridTileLayoutTileGridDynamicFormLayoutHStackHLayoutVStackVLayoutImg The Img Widget class implements a single widget that displays a single image  void setShowEdges(Boolean showEdges) An EdgedCanvas should be used to show image-based edges around this component.  void setEdgeImage(String edgeImage) Extensions for each corner or edge piece will be added to this image URL, before the extension..  void setCanDrop(Boolean canDrop): Indicates that this object can be dropped on top of other widgets.