WEB-APP FRAMEWORK   ( sponsored by )
NOT JUSTANOTHERFRAMEWORK
Web-Apps Vs Blogs CMS•   Need for rapid prototyping     • Difficult to do with schemas•   Need for instant scalability    ...
LET’S TALK ABOUTRAPID PROTOTYPING  WITH MONGOBASE
Create DB + Collection + Insert Data(even doing this natively with pure MongoDB and PHP is simple)// MongoDB PHP Class$m =...
Create App + Collection + Insert or Update Data// Configure MongoBase and Set Cascading File Inclusion$init = array(‘id’:‘...
Rapid Development from Front to Back•   Integrated Font-Awesome Icons•   Integrated SHIMs, Polyfills & Responsive Hooks•  ...
ONE FINAL THING (ON RAPID PROTOTYPING) THERE IS NO SPOON!!!
LET’S TALK ABOUTINSTANT SCALABILITY   WITH MONGOBASE
Instant Scalability with MongoBase• Uses mongoDB as its ONLY data-store  (with out-of-the-box backup & load-balancing)• El...
SOME SAY 6,000 TIMES FASTER!!!http://labs.laulima.com/how-to-import-7-million-locations-from-geonames-to-mysql-then-into-m...
MongoDB is an Instantly Scalable Database(with out of the box replica-sets and sharding)
Instant Scalability with MongoBase• Ability to create templates in HTML or PHP  (can parse pages in browser with Handlebar...
Not to Mention Distributed Caching!
LET’S TALK ABOUT INVITE-ONLY SIGN-UPSCHEMAS USED BY MONGOBASE
The Invite-Only Sign-Up Schema
Why Invite-Only …?• With web-apps, we want to communicate with  our users and potential customers…• We need to gather emai...
THE PSYCHOLOGY OF EXCLUSIVITYHELPS DEVELOP LOYALTY
LET’S TALK ABOUTDISTRIBUTED MEDIA  WITHIN MONGOBASE
Distributed Media with GridFS
Other Added Benefits of GridFS• GridFS Obtains Original Media Meta but also  allows you to add custom fields• This allows ...
YOUR OWN MEDIA MAIN-FRAME
LET’S TALK ABOUTBUSINESS INTELLIGENCE AT THE CORE OF MONGOBASE
Business Intelligence at Core• Automated mailing-list generation from  user types with dynamic field filtering• Staged aut...
Business Intelligence at Core• Extensible platform with secure cross-domain  (server-specific) 2-Way API access• Administr...
MAKE INFORMED DECISIONS
LET’S TALK ABOUTOUR CURRENT PROGRESS      06/JUNE/2012
Current MongoBase Modules    (all working but at different stages of semi-perfection)•   ADMIN (FULLY CUSTOMISABLE)       ...
WHO IS USING MONGOBASE…?  Mindvalley Marketplace (Project Collaboration)      HackrBackr (Private Social-Network)         ...
LEARN MORE         MongoBase Website:         http://mongobase.org MongoBase Twitter ( @mongobase )    http://twitter.com/...
Upcoming SlideShare
Loading in …5
×

Introducing MongoBase

2,375 views

Published on

MongoBase is a framework written in PHP and jQuery that allows for the rapid development of web-applications and is used by MongoPress, MongoMail and MongoKong as its core foundation

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,375
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
36
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introducing MongoBase

  1. 1. WEB-APP FRAMEWORK ( sponsored by )
  2. 2. NOT JUSTANOTHERFRAMEWORK
  3. 3. Web-Apps Vs Blogs CMS• Need for rapid prototyping • Difficult to do with schemas• Need for instant scalability • Not Native to SQL DBs• Need to obtain sign-ups • Unintuitive to admin focus• Need distributed media • FS difficult & costly to scale• Automated communication • Difficult to FULLY re-brand• Extend reach through APIs • Complex if using schemas• Only use what you need • Do you need a kitchen sink
  4. 4. LET’S TALK ABOUTRAPID PROTOTYPING WITH MONGOBASE
  5. 5. Create DB + Collection + Insert Data(even doing this natively with pure MongoDB and PHP is simple)// MongoDB PHP Class$m = new Mongo();// Select Database & Collection (Table)$db = $m->freesquare;$collection = $db->places;// Add Document (Add a Record)$obj = array( "title" => "KL MongoDB User-Group", "loc" => array( "lng" => 101.67646, "lat" => 3.127896 ))$results = $collection->insert($obj);
  6. 6. Create App + Collection + Insert or Update Data// Configure MongoBase and Set Cascading File Inclusion$init = array(‘id’:‘3square’,modules‘:array(‘db’,’auth’));$mb = new mongobase($init);// Add or Edit a Translatable Document via Dynamic User ID$updated_user_location = array( “col” => ‘user’, “id” => $mb->modules[‘auth’]->get_id();, “obj” => array( "title" => $mb->__("KL MongoDB User-Group“), "loc" => array( "lng" => 101.67646, "lat" => 3.127896 ) ))$results = $mb->modules[‘db’]->mbsert($updated_user_location);
  7. 7. Rapid Development from Front to Back• Integrated Font-Awesome Icons• Integrated SHIMs, Polyfills & Responsive Hooks• Integrated iOS Enhancments & HTML5 Forms• Drag & Drop Image Uploading & Aviary Filters• Auto Inclusion of JS and CSS Files from Slugs• Auto AJAX Fetching for Gravatars & Data DIVs• Filterable JSON-Powered Pivot Tables• Flexible CSS Frameworks & Re-Sets
  8. 8. ONE FINAL THING (ON RAPID PROTOTYPING) THERE IS NO SPOON!!!
  9. 9. LET’S TALK ABOUTINSTANT SCALABILITY WITH MONGOBASE
  10. 10. Instant Scalability with MongoBase• Uses mongoDB as its ONLY data-store (with out-of-the-box backup & load-balancing)• Eliminates the need for traditional caching• Unique Timestamped IDs rather than auto-inc• Incredibly fast!
  11. 11. SOME SAY 6,000 TIMES FASTER!!!http://labs.laulima.com/how-to-import-7-million-locations-from-geonames-to-mysql-then-into-mong
  12. 12. MongoDB is an Instantly Scalable Database(with out of the box replica-sets and sharding)
  13. 13. Instant Scalability with MongoBase• Ability to create templates in HTML or PHP (can parse pages in browser with Handlebars.js)• Intelligent cascading auto-inclusion of core files• AJAX Content Fetching & Processing• All media stored and served from mongoDB (also means it is backed-up and distributed)
  14. 14. Not to Mention Distributed Caching!
  15. 15. LET’S TALK ABOUT INVITE-ONLY SIGN-UPSCHEMAS USED BY MONGOBASE
  16. 16. The Invite-Only Sign-Up Schema
  17. 17. Why Invite-Only …?• With web-apps, we want to communicate with our users and potential customers…• We need to gather email addresses, which are easier to get when only asking for that• We can then convert email applicants into users later using automated intelligence• FYI – This is not fixed, only set-up by default
  18. 18. THE PSYCHOLOGY OF EXCLUSIVITYHELPS DEVELOP LOYALTY
  19. 19. LET’S TALK ABOUTDISTRIBUTED MEDIA WITHIN MONGOBASE
  20. 20. Distributed Media with GridFS
  21. 21. Other Added Benefits of GridFS• GridFS Obtains Original Media Meta but also allows you to add custom fields• This allows for integrated view counts or embedded location coordinates, etc• It also means we can search for media in the same way we search for objects!• Can also be used to cache fully rendered pages and (or) individual AJAX-fetched snippets…
  22. 22. YOUR OWN MEDIA MAIN-FRAME
  23. 23. LET’S TALK ABOUTBUSINESS INTELLIGENCE AT THE CORE OF MONGOBASE
  24. 24. Business Intelligence at Core• Automated mailing-list generation from user types with dynamic field filtering• Staged auto-confirmation, verification, activation and processing email messages• Integrated support via email and accessible by integrated web-access
  25. 25. Business Intelligence at Core• Extensible platform with secure cross-domain (server-specific) 2-Way API access• Administration pages can be easily extended to handle any & all applications• Have all of your company applications integrated through a single system
  26. 26. MAKE INFORMED DECISIONS
  27. 27. LET’S TALK ABOUTOUR CURRENT PROGRESS 06/JUNE/2012
  28. 28. Current MongoBase Modules (all working but at different stages of semi-perfection)• ADMIN (FULLY CUSTOMISABLE) ………………………… 90%• API (INSERT, UPDATE, FIND & DELETE) …………………………… 95%• AUTH (SHA256 HASHED TOKENS) …………………………… 95%• DB (BUILT-IN ORM FOR MONGODB) …………………………… 95%• EMAIL (SEND AND VIEW IMAP OR POP3) ………………………………. 100%• FORMS (PRETTY HTML5 FORMS) ………………………… 90%• GRIDFS (STORE AND SERVE IMAGES) ………………………… 90%• ROUTES (DEFINE APP LOGIC) ……………………. 80%• URLS (FULLY CONTROL URI REQUESTS) …………………………… 95% NOT YET WORKING - NEED CONVERTING• MEDIA …. 10%• WYSIWYG .. 5%• GEO ………… 40%• LAYOUTS ……… 35%
  29. 29. WHO IS USING MONGOBASE…? Mindvalley Marketplace (Project Collaboration) HackrBackr (Private Social-Network) http://hackrbackr.org MongoPress (CMS)* http://mongopress.org MongoMail (CRM)* http://mongomail.org …and more
  30. 30. LEARN MORE MongoBase Website: http://mongobase.org MongoBase Twitter ( @mongobase ) http://twitter.com/mongobaseMark’s Smalley’s Twitter ( @m_smalley ) http://twitter.com/m_smalley

×