Wakanda: NoSQL for Model-Driven Web applications - NoSQL matters 2012

7,430 views
7,254 views

Published on

Published in: Technology, Education
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,430
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
96
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

Wakanda: NoSQL for Model-Driven Web applications - NoSQL matters 2012

  1. 1. Wakanda NoSQL for Model-driven Web ApplicationsAlexandre MorgautWeb Architect & Community Manager @amorgaut
  2. 2. wakanda.org@wakandasoftJSeverywhere.org@JSeverywhere
  3. 3. Cross-platform development anddeployment system for model-driven web-based applications
  4. 4. Business Web Applications
  5. 5. Business Web Applications
  6. 6. Business Web Applications Silverlight.NET Visual C++ C# IIS SQL Server
  7. 7. Business Web Applications Acegi Silverlight JSP.NET Visual Java C++ Hibernate C# Tomcat JUnit IIS OracleSpring GWT SQL Server
  8. 8. Business Web Applications Acegi Silverlight JSP.NET Symfony Aptana Visual Eclipse Java C++ Hibernate Tomcat C# VarnishPHP JUnit IIS Zend Apache OracleSpring GWT MySQL SQL Server
  9. 9. Business Web Applications ExtJS Flex Acegi Silverlight JSP.NET Symfony SSLHTTP Aptana ATOM Visual Eclipse Java C++ Hibernate Tomcat C# Varnish PHP JUnit REST IIS Zend Apache Oracle Spring GWT MySQL SQL Server JSO
  10. 10. Cross-platform development anddeployment system for model-driven web-based applications
  11. 11. Cross-platform development anddeployment system for model-driven web-based applications Model Based Engineering Model Driven Engineering Model Driven Development Model Driven Architecture See also: Domain Driven Design
  12. 12. many referenced nosql databases on http://nosql-database.org/
  13. 13. Alternative solutions to SQL eventual consistency Why? Cloud Non Relational? Scalability Model-driven Semantic How?CAP Theorem Consistency Availability Partition tolerance Schemaless Graph What for? BigData
  14. 14. NoSQL FamiliesDocument Store Object store GraphKey-value store Column store
  15. 15. NoSQL FamiliesDocument Store Object store GraphKey-value store Column store
  16. 16. NoSQL FamiliesDocument Store Object store GraphKey-value store Column store
  17. 17. Cross-platform development anddeployment system for model-driven web-based applications
  18. 18. Cross-platform development anddeployment system for model-driven web-based applications One Language JavaScript
  19. 19. JavaScript Engines C+ C + SpiderMonkey webkit JavaScriptCore: JSC 3 JIT Compilers: SquirrelFish Extreme: SFX aka Nitro TraceMonkey, (JIT Compiler inside) JägerMonkey, IonMonkey Jav C+ a + Rhino V8 Interpreted or Compiled execution JIT Compiler: CrankShaftNashorn? ? Trident: MSHTML Chakra -> Classic JScript, Managed JScript, & JScript.NET C+ ? + Tamarin Carakan JIT Compiler: NanoJIT -> ActionScript / “ECMAScript 4” Previously: Linear A, Linear B, Futhark
  20. 20. Server-Side JavaScriptSpiderMonkey JavaScriptCore Rhino V8 Trident / Chakra
  21. 21. Webkit JavaScriptCoremulti-threaded, preemptive, thread-safe, 64bits, strict mode fast, well structured & documented, maintained by Apple
  22. 22. wakanda
  23. 23. WakandaWakanda Server (aka WakandaDB)
  24. 24. Wakanda Wakanda Server REST/JSON Wakanda Application Framework (aka WakandaDB)DataStore Model Editor Debugger Code Editor Wakanda Studio Users & Groups GUI Designer Extensions Administration
  25. 25. Wakanda Wakanda Server REST/JSON Wakanda Application Framework (aka WakandaDB)DataStore Model Editor Debugger Code Editor Wakanda Studio Users & Groups GUI Designer Extensions Administration
  26. 26. Wakanda Wakanda Server REST/JSON Wakanda Application Framework (aka WakandaDB)DataStore Model Editor Debugger Code Editor Wakanda Studio Users & Groups GUI Designer Extensions Administration
  27. 27. Wakanda Wakanda Server REST/JSON Wakanda Application Framework (aka WakandaDB)DataStore Model Editor Debugger Code Editor Wakanda Studio Users & Groups GUI Designer Extensions Administration
  28. 28. WakandaDB REST/JSON Your Server Framework Java, .NET, node.js PHP, Python, Ruby...Wakanda Server Your Web app Client Framework ExtJS, Sencha Touch, Kendo UI, Backbone.js... (aka WakandaDB) Your native app Client Framework iOS, Androïd, .NET... Webkit debugger protocol 1.0 Your Development Tools Visual Studio, XCode, NetBeans, Eclipse, Cloud9, Orion, Sencha Architect + Chrome Web Inspector
  29. 29. Model & Data Classes
  30. 30. Relationship RecursivityAlias attributes
  31. 31. many to many
  32. 32. john = ds.Person.find(“firstName eq John”);conferences = john.allConferences;JohnJSConferences = conferences.filter(“title eq ‘@JavaScript@’”);JSAttendeesJohnMet = JSConferences.allPeople;
  33. 33. Extend a Datastore Class
  34. 34. Calculated attributes
  35. 35. Datastore Class Methods
  36. 36. Security
  37. 37. Scope Validation
  38. 38. Users & Groups
  39. 39. Open Environment
  40. 40. Open SourceWakanda Framework already on GithubWakanda Server coming soonWakanda Studio later to remove)(still some proprietary library dependenciesDownloads accessible from: the production channel (current release) the stabilization channel (next release) the development channel (nightly builds)
  41. 41. REST HTTP API doc.wakanda.org/REST/REST.100-808498.html Sencha proxy by https://github.com/revolunet/sencha-wakanda/ Sencha TouchSencha Architect ExtJS
  42. 42. Webkit debugger Protocol 1.0
  43. 43. CommonJS Modules 1.1.1 - test, assert, worker, console -partially: systemW3C / HTML5 - Storage, Worker, Blob, Timers, XMLHttpRequest, FileSystem - Upcoming: Web Socket, FileNode.js compatibility - Buffer, Process, Events, Net, TLS, OS
  44. 44. W3C Community & Business Groups“Client & Server JavaScript APIs” W3C Community Group http://www.w3.org/community/jseverywhere Workers ?
  45. 45. Come with us at San Jose, CA on October 26th: @JSeverywhere http://JSeverywhere.org Call to speaker ends on June, 30th!!!

×