GWT Generators and OOPHM Allahbaksh Mohammedali Asadullah
Outline Generators Introduction to Generator Creating generator in short Defining module properties Syntax of module properties Demo of Generator &Debugging Generator Out of Process Hosted Mode Browser What is out of process Hosted Mode Browser
Introduction to Generators What is Generator? Whether I am using Generator indirectly any where? Why and where can I use these?
Creating Generator In Short Defining properties and rules in gwt.xml Create class using GWT.create(Type.class) Properties condition checking in module file (.gwt.xml)  Substitution replace-with Generation  generate-with
Defining module properties <define-property name= &quot; widgetType &quot;  values= &quot;basic,extended&quot; /> <property-provider name= “widgetType&quot; > <![CDATA[ try{ var tempVar = __gwt_getMetaProperty(&quot;  widgetType  &quot;);  if (tempVar==null){ tempVar = &quot;basic&quot;; } return tempVar; } catch (e) { return &quot;extended&quot;; } ]]> </property-provider>
Syntax of module file (gwt.xml) <replace-with  class= “com.barcamp.example.client.MyWidget”> <when-type-is  class=“com.barcamp.example.client.TestWidget”/> <when-property-is name=“ widgetType  ” value=“allahbaksh”/> </replace-with > <generate-with  class= “com.barcamp.example.rebind.MyWidgetGenerator”> <when-type-is  class=“com.barcamp.example.client.TestWidget”/> </ generate-with >
Out of Process Hosted Mode Browser Debugging GWT application? Why I need to mock browser? Disadvantages of present approach? What OOPHM offers me? Is the build available?
Demo

More Related Content

PDF
Understanding React hooks | Walkingtree Technologies
PPTX
React Hooks
ODP
Angular js-crash-course
PPT
PPT
Wake Up Coaches
PPTX
Fitness - There's an App for That
PDF
Med2.0 Conference at Harvard 2012
PPT
BlogTalk 2010 - Fit for Business and the Power of LinkedIn
Understanding React hooks | Walkingtree Technologies
React Hooks
Angular js-crash-course
Wake Up Coaches
Fitness - There's an App for That
Med2.0 Conference at Harvard 2012
BlogTalk 2010 - Fit for Business and the Power of LinkedIn

Similar to GWT Generators and OOPHM (20)

PPT
Advanced Web Form Practices - Miguel A. Castro
ODP
JUDCon London 2011 - Bin packing with drools planner by example
PDF
Migrating from Struts 1 to Struts 2
PPT
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
ODP
2012 02-04 fosdem 2012 - drools planner
PPTX
Custom Action Framework
PPT
Jsfsunum
PPT
Struts2.0basic
PPTX
Magento Performance Toolkit
PPT
Composite Applications with WPF and PRISM
PPT
PPT
Introduction To ASP.NET MVC
PDF
Writing Gadgets with the WSO2 Gadget Server
PDF
Intro To Mvc Development In Php
PPT
Mashups as Collection of Widgets
PPT
JSP Standart Tag Lİbrary - JSTL
ODP
Declarative Services Dependency Injection OSGi style
PDF
Enterprise Guice 20090217 Bejug
PDF
Webtests Reloaded - Webtest with Selenium, TestNG, Groovy and Maven
PDF
yagdao-0.3.1 hibernate guide
Advanced Web Form Practices - Miguel A. Castro
JUDCon London 2011 - Bin packing with drools planner by example
Migrating from Struts 1 to Struts 2
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
2012 02-04 fosdem 2012 - drools planner
Custom Action Framework
Jsfsunum
Struts2.0basic
Magento Performance Toolkit
Composite Applications with WPF and PRISM
Introduction To ASP.NET MVC
Writing Gadgets with the WSO2 Gadget Server
Intro To Mvc Development In Php
Mashups as Collection of Widgets
JSP Standart Tag Lİbrary - JSTL
Declarative Services Dependency Injection OSGi style
Enterprise Guice 20090217 Bejug
Webtests Reloaded - Webtest with Selenium, TestNG, Groovy and Maven
yagdao-0.3.1 hibernate guide
Ad

Recently uploaded (20)

PPTX
Modernising the Digital Integration Hub
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Five Habits of High-Impact Board Members
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPT
What is a Computer? Input Devices /output devices
PDF
CloudStack 4.21: First Look Webinar slides
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
PPTX
2018-HIPAA-Renewal-Training for executives
Modernising the Digital Integration Hub
Developing a website for English-speaking practice to English as a foreign la...
Abstractive summarization using multilingual text-to-text transfer transforme...
UiPath Agentic Automation session 1: RPA to Agents
The influence of sentiment analysis in enhancing early warning system model f...
Final SEM Unit 1 for mit wpu at pune .pptx
STKI Israel Market Study 2025 version august
Zenith AI: Advanced Artificial Intelligence
Microsoft Excel 365/2024 Beginner's training
sustainability-14-14877-v2.pddhzftheheeeee
Five Habits of High-Impact Board Members
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Hindi spoken digit analysis for native and non-native speakers
Custom Battery Pack Design Considerations for Performance and Safety
What is a Computer? Input Devices /output devices
CloudStack 4.21: First Look Webinar slides
Enhancing emotion recognition model for a student engagement use case through...
Consumable AI The What, Why & How for Small Teams.pdf
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
2018-HIPAA-Renewal-Training for executives
Ad

GWT Generators and OOPHM

  • 1. GWT Generators and OOPHM Allahbaksh Mohammedali Asadullah
  • 2. Outline Generators Introduction to Generator Creating generator in short Defining module properties Syntax of module properties Demo of Generator &Debugging Generator Out of Process Hosted Mode Browser What is out of process Hosted Mode Browser
  • 3. Introduction to Generators What is Generator? Whether I am using Generator indirectly any where? Why and where can I use these?
  • 4. Creating Generator In Short Defining properties and rules in gwt.xml Create class using GWT.create(Type.class) Properties condition checking in module file (.gwt.xml) Substitution replace-with Generation generate-with
  • 5. Defining module properties <define-property name= &quot; widgetType &quot; values= &quot;basic,extended&quot; /> <property-provider name= “widgetType&quot; > <![CDATA[ try{ var tempVar = __gwt_getMetaProperty(&quot; widgetType &quot;); if (tempVar==null){ tempVar = &quot;basic&quot;; } return tempVar; } catch (e) { return &quot;extended&quot;; } ]]> </property-provider>
  • 6. Syntax of module file (gwt.xml) <replace-with class= “com.barcamp.example.client.MyWidget”> <when-type-is class=“com.barcamp.example.client.TestWidget”/> <when-property-is name=“ widgetType ” value=“allahbaksh”/> </replace-with > <generate-with class= “com.barcamp.example.rebind.MyWidgetGenerator”> <when-type-is class=“com.barcamp.example.client.TestWidget”/> </ generate-with >
  • 7. Out of Process Hosted Mode Browser Debugging GWT application? Why I need to mock browser? Disadvantages of present approach? What OOPHM offers me? Is the build available?