Modeling on the Web

Pedro J. Molina
Pedro J. MolinaFounder at Metadev en Metadev
Modeling on the Web
Pedro J. Molina, Ahmed Negm, Ruben Jiménez
@pmolinam @anegm81 @rubenjmarrufo
@icinetic
Icinetic
• We do MDSD Tools for Developers, Citizen Developers & End-Users
• HQ in Seville, Spain, EU
• Offices in San Francisco, Seattle, Cairo, Seville & Madrid
http://www.icinetic.com/
If I want to jump, but I am not trained
What can I do?
Question?
A1: Lower the bar
Question?
A2: Use High-Tech
Question?
Creating applications is getting more and more
complex:
Technologies, frameworks, versions, dependencies, different
screen sizes and aspect ratios, incompatible API &
vendors, platform fragmentation…
How we can help as the MDE community?
Why the metaphor?
Types of complexities
•Essential Complexity
•Accidental Complexity
Terms from : “Fred Brooks, 1986, No Silver Bullet”
Complexities on Software
Complexity inherent to the system been designed.
“Everything should be made as simple as possible,
but not simpler.” (A. Einstein)
Essential Complexity
Accidental Complexity
Any other Extra Complexity arisen from tools, methods,
technologies, etc. used to build the system.
Programming languages, tools, frameworks… computers,
devices introduce many, many Accidental Complexity.
From idea  usage
Idea  design  build  test  debug  provision  deploy  usage
Can we do something to speed up this
delivery critical path?
Accidental Complexities
MDE helps to reduce Accidental Complexity.
The ultimate “noble” Quest for MDE
Make life easier!
Radarc online
Radarc
Abstraction Level covered by tools
High
Low
Telerik
AppBuilder
Xamarin
Visual Studio
Eclipse
MS Siena
Wizards
Models
Code
Graphical Design
HTML+JS
Native code
Drag&Drop Models
Deployed App
Compiled App
• Non coding skills Users
• Amateurs Programmers
• Citizen Developers
• Professional Developers
• Gurus / Hackers
• Code Generation attendees ;-)
• MPS Users };-)
User, a segmentation
The App industry is growing. End Users joining.
Consumer
• Mobile apps will be a
$77B business by 2017
Business
• Mobile Business apps will
be worth almost $50B by
2017
• In 2013, an estimated 200
million workers used
mobile business apps
Citizen Developers
• Users operating outside of
the scope of enterprise IT
and its governance who
creates new business
applications for
consumption by others -
Gartner
• In 2014, 25% of new
business applications will
be delivered by Citizen
Developers
MDE
• Developers: tendency to craftsmanship / artists / Not seen like an engineer…
• Citizen Developers: benefit directly from automation and complexity hiding
• We are not going to be enough
• MDE is a tool for Lowering the Entry Barrier
• Allowing non programmers to DIY to solve their day to day problems
• Mobility, Ubiquity computers, Different UI, UX, form factors
The role of MDE
Last week at /Build Conference
Microsoft presented the line of work they are going to push hard:
Connected Devices
• Same App
• Cross Devices: Tablet / Phone
• Adapted to the context (device, form factor, & user needs)
Trend on Connected Devices
Windows 8.1 Blue
Google, Samsung, Microsoft working on:
• Glasses
• Phone
• Tablets
• TVs
• Watches
• Internet of Things
Trend on Connected Devices
Main Features
• Same Services
• Cross Devices
• Contextual
My code,
my Treasure,
my IDE?
Where is my IDE now?
It’s going with wind…
to The Cloud!
My code, my Treasure
Everything going to The Cloud. Why?
• Zero installation
• Instant updates
• Do it from any device, any time (any browser)
My IDE  on The Cloud
What is other people doing?
State of the Art
Cloud9
Eclipse Orion
MS Monaco
GenMyModel
Martin Thiede
http://concrete-editor.org
Presented here a CG2010
Four years ago!
Concrete Editor
Rafael Chavez
@abstratt
Cloudfier
We decided at Icinetic:
We need to go to the cloud,
the sooner, the better.
Move to the cloud
Because
Not Typed
Relaxed syntax  error prone
WAT Programming: http://bit.ly/watProg
JavaScript is not my favorite language
[] + []
[] + {}
{} + []
{} + {}
 “”
 [Object Object]
 0
 NaN
But
It is the World most ubiquity computer
runtime ever deployed.
And runs fast in all modern browsers!
JavaScript is not my favorite language
• Global variables
• with keyword
• eval()
• Type coercion
• Block syntax with no block scope
• Optional semicolons (sometimes, some browsers, but not all)
First Developer Sin: Lack of understanding of its prototypical inheritance
Recommended reading: Douglas Crockford book. “JavaScript: The Good parts”
JavaScript main Sins
Typescript typing the un-typed
Type annotations, Generics, modules, classes, interfaces for JS
Hack “typing” to PHP to support a gigantic codebase that has to be maintained.
Dynamic typing languages are good for quick prototyping.
Static typing languages are better for maintaining code.
Compilers provide you a chance to catch some type error before the user see them.
In any case, Unit Testing is A MUST in both code-camps.
Taming the ‘wild’ JavaScript
http://hacklang.org
http://www.typescriptlang.org
•Stateless
•Scalable
•Run in any browser
•It is not a desktop frontend (almost!?)
Web
•Stateless
•Scalable
•Run in any browser
•It is not a desktop frontend (almost!?)
Web
• Looking for
• Textual
• Diagram
• Projectional
• Tabular
• Mixed forms.
Editors for Models
• Grammars
• BNF
• Parsers
• Facilities
• Inline errors
• Syntax Coloring
• Code Completion
Textual Editors
• Easier to use for non programmers
• The editor follows the form of the model
• Difficult to create non consistent models
• Limited, constrained
Projectional Editors
• Graphical editors with a strong
focus on visualization
• Excellent for showing
relationships between objects
Diagram Editors
Editors on the Web
Demo Time
D←mo
Canvas Surface for drag and drop
controls and UI components
• Shows presentation layouts an
embedding relationships
• Objects can be setup one by one to the
detail with an auxiliary Property Grid
Editor
Designer Editor
• Tree Editors
• Table Editors
• Allows to cross two relationships for a set of objects and show or edit a third property in a tabular way
• Custom Editors
• Wizard style or free form of editor are also a good choice when UX is the key issue to address
• Composed Editors
• The previous one shows some paradigms for editor. Combining the previous ones to created compounded
editors allows to create a complex one.
Other Editors
Language skills requires time and experience
Level of abstraction of a language is a sword with two edges
• Easy to think in such abstractions
• Removes other details
What happens when we need to go deeper in the details?
• Progressive Modeling
Customizations Cliffs
End User
Levels of abstraction for App Design
Power User
Developer
Expert Developer / Architect
• Simple Model for End Users
• Powerful for advanced users
• Full expressiveness power for developers: access to full
details
Progressive Modeling
Progressive Modeling. Sample
Progressive Modeling. Sample
Progressive Modeling on
http://radarconline.com (in Private Beta)
All of you invited to try!
Demo Time
D←mo
Models everywhere: generation/build pipeline
Metamodel.meta Model.ts
parser.pegjs
Comon-js Format
Server-side
AMD Format
Client/Browser-side
Model.js
parser.js
Model.js
parser.js
Generation
JSON
Model.cs
Parser.cs
Model.java
Lang.gram
Meta-definitons
Backend / Cloud
Frontend
• Where to validate?
• XRefs?
• How to propagate?
Models everywhere
Generation as a Service
• If your IDE is in the cloud,
• If your modeling is the cloud,
• If your code is on the cloud
• IaaS, PaaS, SaaS
Where to put your code generators?
GaaS
GaaS
Demo Time
D←mo
The world is changing:
• The Cloud is coming & disrupting
• Mobile Devices
• Devices Everywhere
• Citizen Developers creating Apps
Conclusions
So, do we:
• Getting ready for Cloud
• Modeling once on the web
• Tools for Citizen Developers
• Reducing accidental complexity
• Delivering Native Apps cross-devices
• If we can Model on the Web
as simple as possible
• An then, get the application running on the device
With Zero Technical Details
• We have removed much of the Accidental Complexity
Conclusions
Lowering the Entry Barriers to Build Apps
Conclusions
www.icinetic.com
Thank you
“Devices everywhere & Platform Fragmentation
have potential
to make MDE inevitable.”
A Prediction
1 de 55

Más contenido relacionado

La actualidad más candente(18)

Native vs cross platform vs html5Native vs cross platform vs html5
Native vs cross platform vs html5
Naga Harish M5K vistas
CURRICULUM VITAECURRICULUM VITAE
CURRICULUM VITAE
Vicky Kumar189 vistas
Sunil Kumar SarvepalliSunil Kumar Sarvepalli
Sunil Kumar Sarvepalli
Sunil Sarvepalli290 vistas
DishitJoshi_CVDishitJoshi_CV
DishitJoshi_CV
Dishit Joshi123 vistas
Latest_Edwin_Alberto_Arias_EspinozaLatest_Edwin_Alberto_Arias_Espinoza
Latest_Edwin_Alberto_Arias_Espinoza
Edwin Espinoza150 vistas
AlekyaNyalakonda_ResumeAlekyaNyalakonda_Resume
AlekyaNyalakonda_Resume
Alekya Nyalakonda207 vistas
Nishit NaikNishit Naik
Nishit Naik
Nishit Naik76 vistas
Technical Architect on Embedded System.Technical Architect on Embedded System.
Technical Architect on Embedded System.
Prasad Roy Raju662 vistas
Ashutosh jaimini resumeAshutosh jaimini resume
Ashutosh jaimini resume
rit200706224 vistas
Introduction to c_sharpIntroduction to c_sharp
Introduction to c_sharp
Jayanta Basak186 vistas
Resume for Ladan JamaliResume for Ladan Jamali
Resume for Ladan Jamali
Ladan Jamali347 vistas
01 the big_idea01 the big_idea
01 the big_idea
Majong DevJfu513 vistas

Destacado(20)

SVQDC 2017 Tecnologías para MicroserviciosSVQDC 2017 Tecnologías para Microservicios
SVQDC 2017 Tecnologías para Microservicios
Pedro J. Molina1.1K vistas
Multichannel User InterfacesMultichannel User Interfaces
Multichannel User Interfaces
Icinetic7.4K vistas
Introducción a StackOverflowIntroducción a StackOverflow
Introducción a StackOverflow
Pedro J. Molina803 vistas
TDD+CI con TeamcityTDD+CI con Teamcity
TDD+CI con Teamcity
Pedro J. Molina1.4K vistas
Hivepod: Casos de uso en OpenDataHivepod: Casos de uso en OpenData
Hivepod: Casos de uso en OpenData
Pedro J. Molina797 vistas
MDD: Models, frameworks, & code generationMDD: Models, frameworks, & code generation
MDD: Models, frameworks, & code generation
Pedro J. Molina2.9K vistas
Microservicios sobre MEAN StackMicroservicios sobre MEAN Stack
Microservicios sobre MEAN Stack
Pedro J. Molina1.7K vistas
Tecnologías para microserviciosTecnologías para microservicios
Tecnologías para microservicios
Pedro J. Molina3.6K vistas
Modelling the User InterfaceModelling the User Interface
Modelling the User Interface
Pedro J. Molina4.5K vistas
The PISA Project: a MDD case studyThe PISA Project: a MDD case study
The PISA Project: a MDD case study
Pedro J. Molina798 vistas
Introducción a AngularIntroducción a Angular
Introducción a Angular
Pedro J. Molina3.2K vistas
CG2010 Introducing MDSDCG2010 Introducing MDSD
CG2010 Introducing MDSD
Pedro J. Molina1.6K vistas

Similar a Modeling on the Web(20)

MyAppConverter DroidconUK 2014MyAppConverter DroidconUK 2014
MyAppConverter DroidconUK 2014
myappconverter2.6K vistas
Domain specific modelling (DSM)Domain specific modelling (DSM)
Domain specific modelling (DSM)
PG Scholar731 vistas
IntroductionIntroduction
Introduction
Skillspire LLC145 vistas
Is the Browser a Transitional Technology?Is the Browser a Transitional Technology?
Is the Browser a Transitional Technology?
Allen Wirfs-Brock3.2K vistas
Software Development in 21st CenturySoftware Development in 21st Century
Software Development in 21st Century
Henry Jacob618 vistas
Tech Thursdays: Building ProductsTech Thursdays: Building Products
Tech Thursdays: Building Products
Hayden Bleasel733 vistas

Más de Pedro J. Molina

TerraformTerraform
TerraformPedro J. Molina
5 vistas1 diapositiva
Are Startups for me?Are Startups for me?
Are Startups for me?Pedro J. Molina
465 vistas18 diapositivas
Meow DemoMeow Demo
Meow DemoPedro J. Molina
228 vistas5 diapositivas

Más de Pedro J. Molina(16)

TerraformTerraform
Terraform
Pedro J. Molina5 vistas
Infrastructure as Code with TerraformInfrastructure as Code with Terraform
Infrastructure as Code with Terraform
Pedro J. Molina51 vistas
Are Startups for me?Are Startups for me?
Are Startups for me?
Pedro J. Molina465 vistas
Meow DemoMeow Demo
Meow Demo
Pedro J. Molina228 vistas
Essential as the base for Web DSLsEssential as the base for Web DSLs
Essential as the base for Web DSLs
Pedro J. Molina300 vistas
Esencia de Web ComponentsEsencia de Web Components
Esencia de Web Components
Pedro J. Molina313 vistas
Esencia de web componentsEsencia de web components
Esencia de web components
Pedro J. Molina323 vistas
OpenAPI 3.0.2OpenAPI 3.0.2
OpenAPI 3.0.2
Pedro J. Molina1.3K vistas
QuidQuid
Quid
Pedro J. Molina430 vistas
Securizando por construcción mediante MDESecurizando por construcción mediante MDE
Securizando por construcción mediante MDE
Pedro J. Molina237 vistas
Building APIs with the OpenApi SpecBuilding APIs with the OpenApi Spec
Building APIs with the OpenApi Spec
Pedro J. Molina1K vistas
Micro vs Nano (servicios)Micro vs Nano (servicios)
Micro vs Nano (servicios)
Pedro J. Molina2K vistas
Diseño de APIs con OpenAPIDiseño de APIs con OpenAPI
Diseño de APIs con OpenAPI
Pedro J. Molina2.3K vistas
Introducing MDSDIntroducing MDSD
Introducing MDSD
Pedro J. Molina10.2K vistas

Modeling on the Web

  • 1. Modeling on the Web Pedro J. Molina, Ahmed Negm, Ruben Jiménez @pmolinam @anegm81 @rubenjmarrufo @icinetic
  • 2. Icinetic • We do MDSD Tools for Developers, Citizen Developers & End-Users • HQ in Seville, Spain, EU • Offices in San Francisco, Seattle, Cairo, Seville & Madrid http://www.icinetic.com/
  • 3. If I want to jump, but I am not trained What can I do? Question?
  • 4. A1: Lower the bar Question?
  • 6. Creating applications is getting more and more complex: Technologies, frameworks, versions, dependencies, different screen sizes and aspect ratios, incompatible API & vendors, platform fragmentation… How we can help as the MDE community? Why the metaphor?
  • 7. Types of complexities •Essential Complexity •Accidental Complexity Terms from : “Fred Brooks, 1986, No Silver Bullet” Complexities on Software
  • 8. Complexity inherent to the system been designed. “Everything should be made as simple as possible, but not simpler.” (A. Einstein) Essential Complexity
  • 9. Accidental Complexity Any other Extra Complexity arisen from tools, methods, technologies, etc. used to build the system. Programming languages, tools, frameworks… computers, devices introduce many, many Accidental Complexity.
  • 10. From idea  usage Idea  design  build  test  debug  provision  deploy  usage Can we do something to speed up this delivery critical path? Accidental Complexities
  • 11. MDE helps to reduce Accidental Complexity. The ultimate “noble” Quest for MDE Make life easier!
  • 12. Radarc online Radarc Abstraction Level covered by tools High Low Telerik AppBuilder Xamarin Visual Studio Eclipse MS Siena Wizards Models Code Graphical Design HTML+JS Native code Drag&Drop Models Deployed App Compiled App
  • 13. • Non coding skills Users • Amateurs Programmers • Citizen Developers • Professional Developers • Gurus / Hackers • Code Generation attendees ;-) • MPS Users };-) User, a segmentation
  • 14. The App industry is growing. End Users joining. Consumer • Mobile apps will be a $77B business by 2017 Business • Mobile Business apps will be worth almost $50B by 2017 • In 2013, an estimated 200 million workers used mobile business apps Citizen Developers • Users operating outside of the scope of enterprise IT and its governance who creates new business applications for consumption by others - Gartner • In 2014, 25% of new business applications will be delivered by Citizen Developers
  • 15. MDE • Developers: tendency to craftsmanship / artists / Not seen like an engineer… • Citizen Developers: benefit directly from automation and complexity hiding • We are not going to be enough • MDE is a tool for Lowering the Entry Barrier • Allowing non programmers to DIY to solve their day to day problems • Mobility, Ubiquity computers, Different UI, UX, form factors The role of MDE
  • 16. Last week at /Build Conference Microsoft presented the line of work they are going to push hard: Connected Devices • Same App • Cross Devices: Tablet / Phone • Adapted to the context (device, form factor, & user needs) Trend on Connected Devices Windows 8.1 Blue
  • 17. Google, Samsung, Microsoft working on: • Glasses • Phone • Tablets • TVs • Watches • Internet of Things Trend on Connected Devices Main Features • Same Services • Cross Devices • Contextual
  • 18. My code, my Treasure, my IDE? Where is my IDE now? It’s going with wind… to The Cloud! My code, my Treasure
  • 19. Everything going to The Cloud. Why? • Zero installation • Instant updates • Do it from any device, any time (any browser) My IDE  on The Cloud
  • 20. What is other people doing? State of the Art
  • 25. Martin Thiede http://concrete-editor.org Presented here a CG2010 Four years ago! Concrete Editor
  • 27. We decided at Icinetic: We need to go to the cloud, the sooner, the better. Move to the cloud
  • 28. Because Not Typed Relaxed syntax  error prone WAT Programming: http://bit.ly/watProg JavaScript is not my favorite language [] + [] [] + {} {} + [] {} + {}  “”  [Object Object]  0  NaN
  • 29. But It is the World most ubiquity computer runtime ever deployed. And runs fast in all modern browsers! JavaScript is not my favorite language
  • 30. • Global variables • with keyword • eval() • Type coercion • Block syntax with no block scope • Optional semicolons (sometimes, some browsers, but not all) First Developer Sin: Lack of understanding of its prototypical inheritance Recommended reading: Douglas Crockford book. “JavaScript: The Good parts” JavaScript main Sins
  • 31. Typescript typing the un-typed Type annotations, Generics, modules, classes, interfaces for JS Hack “typing” to PHP to support a gigantic codebase that has to be maintained. Dynamic typing languages are good for quick prototyping. Static typing languages are better for maintaining code. Compilers provide you a chance to catch some type error before the user see them. In any case, Unit Testing is A MUST in both code-camps. Taming the ‘wild’ JavaScript http://hacklang.org http://www.typescriptlang.org
  • 32. •Stateless •Scalable •Run in any browser •It is not a desktop frontend (almost!?) Web
  • 33. •Stateless •Scalable •Run in any browser •It is not a desktop frontend (almost!?) Web
  • 34. • Looking for • Textual • Diagram • Projectional • Tabular • Mixed forms. Editors for Models
  • 35. • Grammars • BNF • Parsers • Facilities • Inline errors • Syntax Coloring • Code Completion Textual Editors
  • 36. • Easier to use for non programmers • The editor follows the form of the model • Difficult to create non consistent models • Limited, constrained Projectional Editors
  • 37. • Graphical editors with a strong focus on visualization • Excellent for showing relationships between objects Diagram Editors
  • 38. Editors on the Web Demo Time D←mo
  • 39. Canvas Surface for drag and drop controls and UI components • Shows presentation layouts an embedding relationships • Objects can be setup one by one to the detail with an auxiliary Property Grid Editor Designer Editor
  • 40. • Tree Editors • Table Editors • Allows to cross two relationships for a set of objects and show or edit a third property in a tabular way • Custom Editors • Wizard style or free form of editor are also a good choice when UX is the key issue to address • Composed Editors • The previous one shows some paradigms for editor. Combining the previous ones to created compounded editors allows to create a complex one. Other Editors
  • 41. Language skills requires time and experience Level of abstraction of a language is a sword with two edges • Easy to think in such abstractions • Removes other details What happens when we need to go deeper in the details? • Progressive Modeling Customizations Cliffs
  • 42. End User Levels of abstraction for App Design Power User Developer Expert Developer / Architect
  • 43. • Simple Model for End Users • Powerful for advanced users • Full expressiveness power for developers: access to full details Progressive Modeling
  • 46. Progressive Modeling on http://radarconline.com (in Private Beta) All of you invited to try! Demo Time D←mo
  • 47. Models everywhere: generation/build pipeline Metamodel.meta Model.ts parser.pegjs Comon-js Format Server-side AMD Format Client/Browser-side Model.js parser.js Model.js parser.js Generation JSON Model.cs Parser.cs Model.java Lang.gram Meta-definitons
  • 48. Backend / Cloud Frontend • Where to validate? • XRefs? • How to propagate? Models everywhere
  • 49. Generation as a Service • If your IDE is in the cloud, • If your modeling is the cloud, • If your code is on the cloud • IaaS, PaaS, SaaS Where to put your code generators? GaaS
  • 51. The world is changing: • The Cloud is coming & disrupting • Mobile Devices • Devices Everywhere • Citizen Developers creating Apps Conclusions So, do we: • Getting ready for Cloud • Modeling once on the web • Tools for Citizen Developers • Reducing accidental complexity • Delivering Native Apps cross-devices
  • 52. • If we can Model on the Web as simple as possible • An then, get the application running on the device With Zero Technical Details • We have removed much of the Accidental Complexity Conclusions
  • 53. Lowering the Entry Barriers to Build Apps Conclusions
  • 55. “Devices everywhere & Platform Fragmentation have potential to make MDE inevitable.” A Prediction