SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
Efficiently developing web forms 
EclipseCon Europe 2014, 2014-10-30, Ludwigsburg 
Edgar Mueller and Philip Langer 
{emueller|planger}@eclipsesource.com 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
Reactive systems 
Modern web applications often have to be reactive 
Taken from “The Reactive Manifesto” 
http://www.reactivemanifesto.org/ 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
Web 
Server DB 
These times are over 
(at least for many web application providers) 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms 
… 1-100 users 
… Session data 
The good old past 
… Application
Web 
Server 
Web 
Server 
Web 
Server 
Load 
Balancer DB 
Web 
Server 
Web 
Server 
This is how many web applications are built today 
(excerpt ;)) 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms 
Web 
Server 
DB 
DB 
The present
Web 
Server 
Web 
Server 
Web 
Server 
Load 
Balancer DB 
Web 
Server 
Reactive web applications 
asynchronous stateless servers 
asynchronous stateful clients 
Web 
Server 
asynchronous communication among them 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms 
Web 
Server 
DB 
DB 
The present
Web 
Server DB 
Great technologies 
JSON JSON/SQL 
JSON 
Web 
Server 
REST API 
REST 
API 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
Still, there are several challenges 
Lots of work and “conceptual redundancy” 
Model Model 
Web 
Server DB 
Web 
Server 
Model 
Controller 
View 
Model 
Model 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
The challenges 
Composition and transformation chains of models 
Model Model 
Web 
Server DB 
Web 
Server 
Model 
Controller 
View 
Model 
Model 
Model Model Model Model Model 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
The challenges 
Each transformed/composed model needs to be valid/ated 
Model Model 
Web 
Server DB 
Web 
Server 
Model 
Controller 
View 
Model 
Model 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
The challenges 
Client-side forms need to be bound to models on the server 
Model Model 
Web 
Server DB 
Web 
Server 
Model 
Controller 
View 
Model 
Model 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
qb project 
● Ease the development of JSON-based web APIs & web forms 
○ qbSchema defining models +transformation +validation 
○ qbPlay integrating with Play +asynchronous +reactive 
○ qbForms generating AngularJS forms +asynchronous +reactive 
http://qb-project.org 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
qbSchema & qbPlay 
val schema = qbClass( 
"id" -> objectId, 
"name" -> qbNonEmptyText, 
"status" -> qbEnum("ACTIVE", "PASSIVE"), 
"email" -> qbEmail) 
Scala-based 
Schema DSL 
val schemaPlusDate = schema + 
("creationDate" -> qbDateTime) - 
"id" + otherSchema 
Composition and 
transformation 
1 
2 
3 Play integration 
REST API RESTful async 
CRUD operations 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
Demo 
val schema = qbClass( 
"id" -> objectId, 
"name" -> qbNonEmptyText, 
"status" -> qbEnum("ACTIVE", "PASSIVE"), 
"email" -> qbEmail) 
val schemaPlusDate = schema + 
("creationDate" -> qbDateTime) - 
"id" + otherSchema 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
qbSchema & qbPlay & qbForms 
val schema = qbClass( 
"id" -> objectId, 
"name" -> qbNonEmptyText, 
"status" -> qbEnum("ACTIVE", "PASSIVE"), 
"email" -> qbEmail) 
val schemaPlusDate = schema + 
("creationDate" -> qbDateTime) - 
"id" + otherSchema 
val userView = QBViewModel(schema, 
QBViewControl("name", QBViewPath("name")), 
QBViewControl("status", QBViewPath("status")), 
QBViewControl("email", QBViewPath("email"))) 
CRUD Operations 
REST API 
Schema 
View models 
1 
2 
3 
4 Play integration 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
qbSchema & qbPlay & qbForms & EMF model2web 
val schema = qbClass( 
"id" -> objectId, 
"name" -> qbNonEmptyText, 
"status" -> qbEnum("ACTIVE", "PASSIVE"), 
"email" -> qbEmail) 
val schemaPlusDate = schema + 
("creationDate" -> qbDateTime) - 
"id" + otherSchema 
val userView = QBViewModel(schema, 
QBViewControl("name", QBViewPath("name")), 
QBViewControl("status", QBViewPath("status")), 
QBViewControl("email", QBViewPath("email"))) 
CRUD Operations 
REST API 
Schema 
View models 
1 
2 
3 
4 Play integration 
1 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
qbSchema & qbPlay & qbForms & EMF model2web 
val schema = qbClass( 
"id" -> objectId, 
"name" -> qbNonEmptyText, 
"status" -> qbEnum("ACTIVE", "PASSIVE"), 
"email" -> qbEmail) 
val schemaPlusDate = schema + 
("creationDate" -> qbDateTime) - 
"id" + otherSchema 
val userView = QBViewModel(schema, 
QBViewControl("name", QBViewPath("name")), 
QBViewControl("status", QBViewPath("status")), 
QBViewControl("email", QBViewPath("email"))) 
CRUD Operations 
REST API 
Schema 
View models 
1 
2 
3 
4 Play integration 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms 
3
Demo 2 
val userView = QBViewModel(schema, 
QBViewControl("name", QBViewPath("name")), 
QBViewControl("status", QBViewPath("status")), 
QBViewControl("email", QBViewPath("email"))) 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
Thanks a lot and please leave feedback 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
http://qb-project.org 
Edgar Mueller 
emueller@eclipsesource.com 
Maximilian Koegel 
mkoegel@eclipsesource.com 
Philip Langer 
planger@eclipsesource.com 
© 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms

Contenu connexe

Dernier

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
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 GoalsJhone kinadey
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
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 🔝✔️✔️Delhi Call girls
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
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 Modelsaagamshah0812
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 

Dernier (20)

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
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
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS 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 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
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 ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 

En vedette

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 HubspotMarius Sescu
 
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 ChatGPTExpeed Software
 
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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 

En vedette (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...
 

Efficiently developing web forms

  • 1. Efficiently developing web forms EclipseCon Europe 2014, 2014-10-30, Ludwigsburg Edgar Mueller and Philip Langer {emueller|planger}@eclipsesource.com © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 2. Reactive systems Modern web applications often have to be reactive Taken from “The Reactive Manifesto” http://www.reactivemanifesto.org/ © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 3. Web Server DB These times are over (at least for many web application providers) © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms … 1-100 users … Session data The good old past … Application
  • 4. Web Server Web Server Web Server Load Balancer DB Web Server Web Server This is how many web applications are built today (excerpt ;)) © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms Web Server DB DB The present
  • 5. Web Server Web Server Web Server Load Balancer DB Web Server Reactive web applications asynchronous stateless servers asynchronous stateful clients Web Server asynchronous communication among them © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms Web Server DB DB The present
  • 6. Web Server DB Great technologies JSON JSON/SQL JSON Web Server REST API REST API © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 7. Still, there are several challenges Lots of work and “conceptual redundancy” Model Model Web Server DB Web Server Model Controller View Model Model © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 8. The challenges Composition and transformation chains of models Model Model Web Server DB Web Server Model Controller View Model Model Model Model Model Model Model © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 9. The challenges Each transformed/composed model needs to be valid/ated Model Model Web Server DB Web Server Model Controller View Model Model © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 10. The challenges Client-side forms need to be bound to models on the server Model Model Web Server DB Web Server Model Controller View Model Model © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 11. qb project ● Ease the development of JSON-based web APIs & web forms ○ qbSchema defining models +transformation +validation ○ qbPlay integrating with Play +asynchronous +reactive ○ qbForms generating AngularJS forms +asynchronous +reactive http://qb-project.org © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 12. qbSchema & qbPlay val schema = qbClass( "id" -> objectId, "name" -> qbNonEmptyText, "status" -> qbEnum("ACTIVE", "PASSIVE"), "email" -> qbEmail) Scala-based Schema DSL val schemaPlusDate = schema + ("creationDate" -> qbDateTime) - "id" + otherSchema Composition and transformation 1 2 3 Play integration REST API RESTful async CRUD operations © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 13. Demo val schema = qbClass( "id" -> objectId, "name" -> qbNonEmptyText, "status" -> qbEnum("ACTIVE", "PASSIVE"), "email" -> qbEmail) val schemaPlusDate = schema + ("creationDate" -> qbDateTime) - "id" + otherSchema © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 14. qbSchema & qbPlay & qbForms val schema = qbClass( "id" -> objectId, "name" -> qbNonEmptyText, "status" -> qbEnum("ACTIVE", "PASSIVE"), "email" -> qbEmail) val schemaPlusDate = schema + ("creationDate" -> qbDateTime) - "id" + otherSchema val userView = QBViewModel(schema, QBViewControl("name", QBViewPath("name")), QBViewControl("status", QBViewPath("status")), QBViewControl("email", QBViewPath("email"))) CRUD Operations REST API Schema View models 1 2 3 4 Play integration © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 15. qbSchema & qbPlay & qbForms & EMF model2web val schema = qbClass( "id" -> objectId, "name" -> qbNonEmptyText, "status" -> qbEnum("ACTIVE", "PASSIVE"), "email" -> qbEmail) val schemaPlusDate = schema + ("creationDate" -> qbDateTime) - "id" + otherSchema val userView = QBViewModel(schema, QBViewControl("name", QBViewPath("name")), QBViewControl("status", QBViewPath("status")), QBViewControl("email", QBViewPath("email"))) CRUD Operations REST API Schema View models 1 2 3 4 Play integration 1 © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 16. qbSchema & qbPlay & qbForms & EMF model2web val schema = qbClass( "id" -> objectId, "name" -> qbNonEmptyText, "status" -> qbEnum("ACTIVE", "PASSIVE"), "email" -> qbEmail) val schemaPlusDate = schema + ("creationDate" -> qbDateTime) - "id" + otherSchema val userView = QBViewModel(schema, QBViewControl("name", QBViewPath("name")), QBViewControl("status", QBViewPath("status")), QBViewControl("email", QBViewPath("email"))) CRUD Operations REST API Schema View models 1 2 3 4 Play integration © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms 3
  • 17. Demo 2 val userView = QBViewModel(schema, QBViewControl("name", QBViewPath("name")), QBViewControl("status", QBViewPath("status")), QBViewControl("email", QBViewPath("email"))) © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 18. Thanks a lot and please leave feedback © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms
  • 19. http://qb-project.org Edgar Mueller emueller@eclipsesource.com Maximilian Koegel mkoegel@eclipsesource.com Philip Langer planger@eclipsesource.com © 2014 EclipseSource | http://eclipsesource.com/munich | Dr. Philip Langer | Efficiently developing web forms