can your ui change colors like chameleon vikrant patil
play

Can your UI change colors like chameleon? Vikrant Patil 1 Whats - PowerPoint PPT Presentation

Can your UI change colors like chameleon? Vikrant Patil 1 Whats in? 2 Whats in? The talk isnt really about changing colors! But its about rapid UI development. 3 Whats in? The talk isnt really about changing colors! But its


  1. Can your UI change colors like chameleon? Vikrant Patil 1

  2. Whats in? 2

  3. Whats in? • The talk isn’t really about changing colors! But its about rapid UI development. 3

  4. Whats in? • The talk isn’t really about changing colors! But its about rapid UI development. • At Strand we have build various products on underlying data analysis and visualization platform, avadis(TM). We usually need different wrappers of UI in different products. Although many of them have same underlying core functionality. 4

  5. Whats in? • The talk isn’t really about changing colors! But its about rapid UI development. • At Strand we have build various products on underlying data analysis and visualization platform, avadis(TM). We usually need different wrappers of UI in different products. Although many of them have same underlying core functionality. • I would like to share tips and tricks that we use at Strand to do rapid UI development. 5

  6. Patterns in User Interface 6

  7. Patterns in User Interface: Menus 7

  8. Patterns in User Interface: Toolbar/Menubar 8

  9. Patterns in User Interface: Parameters 9

  10. Patterns in User Interface: Parameters 10

  11. Patterns in User Interface: Parameters 11

  12. Patterns in User Interface: Custom 12

  13. Patterns in User Interface Find most commonly used components. Some of them are as listed below 13

  14. Patterns in User Interface Find most commonly used components. Some of them are as listed below • Menus/Menubars 14

  15. Patterns in User Interface Find most commonly used components. Some of them are as listed below • Menus/Menubars • Commandbars 15

  16. Patterns in User Interface Find most commonly used components. Some of them are as listed below • Menus/Menubars • Commandbars • Parameters input/output string parameters numeric parameters logical/boolean parameters/checkbox Dropdown menus etc. 16

  17. Patterns in User Interface Find most commonly used components. Some of them are as listed below • Menus/Menubars • Commandbars • Parameters input/output string parameters numeric parameters logical/boolean parameters/checkbox Dropdown menus etc. • Other custom UI components 17

  18. Automating the patterns 18

  19. Automating the patterns 19

  20. Automating the patterns • Abstract out common parts as core java classes e.g Menu, Menubar, Commandbar 20

  21. Automating the patterns • Abstract out common parts as core java classes e.g Menu, Menubar, Commandbar • Let the core classes be driven by specifications to create the actual UI item. 21

  22. Automating the patterns • Abstract out common parts as core java classes e.g Menu, Menubar, Commandbar • Let the core classes be driven by specifications to create the actual UI item. These two things will allow us automated UI creation. To generate any UI with new specifications, We need not create the the UI item using basic swing component. What we need is new specification file or whatever way of specifying specifications. 22

  23. Automating the patterns: Menu Let us automate the pattern Menu . If we want to create new Menu item, what we need is a core java class for Menu and a specification file. What specifications do you think we will need? 23

  24. Automating the patterns: Menu Let us automate the pattern Menu . If we want to create new Menu item, what we need is a core java class for Menu and a specification file. What specifications do you think we will need? • Name of menu 24

  25. Automating the patterns: Menu Let us automate the pattern Menu . If we want to create new Menu item, what we need is a core java class for Menu and a specification file. What specifications do you think we will need? • Name of menu • List of menu items 25

  26. Automating the patterns: Menu Let us automate the pattern Menu . If we want to create new Menu item, what we need is a core java class for Menu and a specification file. What specifications do you think we will need? • Name of menu • List of menu items • Actions of every menu item 26

  27. Automating the patterns: Menu Let us automate the pattern Menu . If we want to create new Menu item, what we need is a core java class for Menu and a specification file. What specifications do you think we will need? • Name of menu • List of menu items • Actions of every menu item Geting Name and list of menu-item s is easy job. It can be taken from any static file. Taking Action s from specification file is little tricky! Jython being a dynamic language can help here. 27

  28. Automating the patterns : avadis(TM) Menu Let us try to create a new menu Python with only one menu item in it, Hello Pycon The specification file for this menu in avadis(TM) would look like ... 28

  29. Automating the patterns : Parameters specification for various parameters 29

  30. Automating the patterns : Parameters specification for various parameters String • Description • Default value 30

  31. Automating the patterns : Parameters specification for various parameters String • Description • Default value Drop down menu • Description • List of items in drop down • Default value/selection 31

  32. Automating the patterns : Parameters specification for various parameters 32

  33. Automating the patterns : Parameters specification for various parameters Checkbox • Description • Default value 33

  34. Automating the patterns : Parameters specification for various parameters Checkbox • Description • Default value Slider • Maximum value of slider • Minimum value of slider • Default value 34

  35. I am reappy not a wizard But let us do some wizardry using Jython spells and just learnt UI automation. 35

  36. I am reappy not a wizard But let us do some wizardry using Jython spells and just learnt UI automation. • Parameter dialogs using Plugins 36

  37. I am reappy not a wizard But let us do some wizardry using Jython spells and just learnt UI automation. • Parameter dialogs using Plugins • Pycon profile editing form From script editor 37

  38. I am reappy not a wizard But let us do some wizardry using Jython spells and just learnt UI automation. • Parameter dialogs using Plugins • Pycon profile editing form From script editor Add it to menu 38

  39. I am reappy not a wizard But let us do some wizardry using Jython spells and just learnt UI automation. • Parameter dialogs using Plugins • Pycon profile editing form From script editor Add it to menu • More magic using Jython 39

  40. God and Devil Good 40

  41. God and Devil Good • Rapid UI development. 41

  42. God and Devil Good • Rapid UI development. • You can program with efficiency of java and expressiveness of python. 42

  43. God and Devil Good • Rapid UI development. • You can program with efficiency of java and expressiveness of python. • You can do tons of wizardry runtime. Bad 43

  44. God and Devil Good • Rapid UI development. • You can program with efficiency of java and expressiveness of python. • You can do tons of wizardry runtime. Bad • There is a chance that your system gets flooded with orphan code snippets in plugins or specification files 44

  45. God and Devil Good • Rapid UI development. • You can program with efficiency of java and expressiveness of python. • You can do tons of wizardry runtime. Bad • There is a chance that your system gets flooded with orphan code snippets in plugins or specification files • If action code goes in plugins, syntax errors show up only in runtime 45

  46. Thank you! 46

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend