SlideShare a Scribd company logo
1 of 18
Download to read offline
ESON (ex-EFactory) 
EclipseCon NA SFO 2014 
Michael Vorburger
EMF Simple Object 
Notation (ESON), generic 
DSL syntax (instead XMI) 
Xtext-based impl, BUT no 
*.xtext grammar - just 
your *.ecore (*.xcore) 
EFactory (old name) 
yes, like OMG HUTN 
or say Google’s Protocol 
Buffers Text Format (but 
w.o. references) 
or… few others like this. 
What?
DEMO
HOW ?
grammar EFactory with org.eclipse.xtext.common.Terminals 
Factory: root=NewObject 
NewObject: eClass=[ecore::EClass|QualifiedName] (name=ID)? "{" 
(features += Feature)* 
and… how does it work - grammar?! 
"}" 
Feature: eFeature=[ecore::EStructuralFeature] "=" (value=Value)? 
Value: MultiValue | Attribute | =>Containment | =>Reference 
MultiValue: "[" (values += Value)* "]" 
Reference: value = [ecore::EObject|QualifiedName] 
Containment: value = NewObject; 
Attribute: (StringAttribute | ... )
1. Create new/sync existing EObjects from the NewObjects (on load) 
but also ongoing for changes during editing of DSL! 
2. Create new/sync existing NewObjects from EObjects (on save) 
but also ongoing for changes during editing of EObjects 
e.g. by some EMF Editor or programmatic access. 
If you’re interested in looking under the hood: 
1. EFactoryDerivedStateComputer implements IDerivedStateComputer 
○ ModelBuilder 
○ The (real) EObjects are “bulk re-created” 
2. EFactoryAdapter extends EContentAdapter 
○ FactoryBuilder 
○ The NewObjects (DSL) are updated fine grained! 
(There is actually some duplication here, 
due to history; to clean-up, some time.) 
but… how? - EFactory syncs two models!
It works - so what next? 
1. org.eclipse.emf.eson (Bug #425671) 
2. resource.getContents().get(1) vs. get(0) problem 
3. Perf? E.g. Xtext Index Builder optimization 
4. Syntax: Custom DataTypes support 
5. Syntax: Optional Contained Types? 
6. Content assist bug (@helpwanted) 
7. JSON bi-di sync idea… 
8. your-issue-here! 
9. your-pull-request-here!!
So what’s new, actually? 
1. State sync, two-way!! 
2. Xtext Index compat. 
3. Xcore compat. work 
4. EPackage can now be 
from hosted plugins OR 
from workspace 
5. The use’d EPackage 
real ref. instead String 
6. Code base clean-up 
7. Xtext version upgrade 
8. Tycho CI Build & live p2 
site with TravisCI. 
9. Stability improvements 
10. Bug Fixes
Tree UI
$ who am i 
By day, product manager for Design Studio product 
line at TEMENOS, The Banking Software Company. 
DS products are Eclipse-based IDEs supporting 
implementations of Triple’A Plus & T24 core and 
private wealth management banking packages. 
By night, occasionally a hacker for Mifos 
humanitarian OSS Microfinance (GSoC Google 
Summer of Code mentor), Scratch/LEGO 
WeDo/Mindstorms with kids (YouTube channel!), 
AngularJS UI POCs, ...

More Related Content

Recently uploaded

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Recently uploaded (20)

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

ESON (ex-EFactory) @ EclipseCon SFO 2014

  • 1. ESON (ex-EFactory) EclipseCon NA SFO 2014 Michael Vorburger
  • 2. EMF Simple Object Notation (ESON), generic DSL syntax (instead XMI) Xtext-based impl, BUT no *.xtext grammar - just your *.ecore (*.xcore) EFactory (old name) yes, like OMG HUTN or say Google’s Protocol Buffers Text Format (but w.o. references) or… few others like this. What?
  • 5. grammar EFactory with org.eclipse.xtext.common.Terminals Factory: root=NewObject NewObject: eClass=[ecore::EClass|QualifiedName] (name=ID)? "{" (features += Feature)* and… how does it work - grammar?! "}" Feature: eFeature=[ecore::EStructuralFeature] "=" (value=Value)? Value: MultiValue | Attribute | =>Containment | =>Reference MultiValue: "[" (values += Value)* "]" Reference: value = [ecore::EObject|QualifiedName] Containment: value = NewObject; Attribute: (StringAttribute | ... )
  • 6. 1. Create new/sync existing EObjects from the NewObjects (on load) but also ongoing for changes during editing of DSL! 2. Create new/sync existing NewObjects from EObjects (on save) but also ongoing for changes during editing of EObjects e.g. by some EMF Editor or programmatic access. If you’re interested in looking under the hood: 1. EFactoryDerivedStateComputer implements IDerivedStateComputer ○ ModelBuilder ○ The (real) EObjects are “bulk re-created” 2. EFactoryAdapter extends EContentAdapter ○ FactoryBuilder ○ The NewObjects (DSL) are updated fine grained! (There is actually some duplication here, due to history; to clean-up, some time.) but… how? - EFactory syncs two models!
  • 7. It works - so what next? 1. org.eclipse.emf.eson (Bug #425671) 2. resource.getContents().get(1) vs. get(0) problem 3. Perf? E.g. Xtext Index Builder optimization 4. Syntax: Custom DataTypes support 5. Syntax: Optional Contained Types? 6. Content assist bug (@helpwanted) 7. JSON bi-di sync idea… 8. your-issue-here! 9. your-pull-request-here!!
  • 8.
  • 9.
  • 10.
  • 11. So what’s new, actually? 1. State sync, two-way!! 2. Xtext Index compat. 3. Xcore compat. work 4. EPackage can now be from hosted plugins OR from workspace 5. The use’d EPackage real ref. instead String 6. Code base clean-up 7. Xtext version upgrade 8. Tycho CI Build & live p2 site with TravisCI. 9. Stability improvements 10. Bug Fixes
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. $ who am i By day, product manager for Design Studio product line at TEMENOS, The Banking Software Company. DS products are Eclipse-based IDEs supporting implementations of Triple’A Plus & T24 core and private wealth management banking packages. By night, occasionally a hacker for Mifos humanitarian OSS Microfinance (GSoC Google Summer of Code mentor), Scratch/LEGO WeDo/Mindstorms with kids (YouTube channel!), AngularJS UI POCs, ...