SlideShare a Scribd company logo
WEB-APP FRAMEWORK


   ( sponsored by )
NOT JUST

ANOTHER
FRAMEWORK
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
LET’S TALK ABOUT

RAPID PROTOTYPING
  WITH MONGOBASE
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);
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);
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
ONE FINAL THING (ON RAPID PROTOTYPING)


 THERE IS NO SPOON!!!
LET’S TALK ABOUT

INSTANT SCALABILITY
   WITH MONGOBASE
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!
SOME SAY 6,000 TIMES FASTER!!!
http://labs.laulima.com/how-to-import-7-million-locations-from-geonames-to-mysql-then-into-mong
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 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)
Not to Mention Distributed Caching!
LET’S TALK ABOUT

 INVITE-ONLY SIGN-UP
SCHEMAS 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 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
THE PSYCHOLOGY OF EXCLUSIVITY


HELPS DEVELOP LOYALTY
LET’S TALK ABOUT

DISTRIBUTED 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 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…
YOUR OWN MEDIA MAIN-FRAME
LET’S TALK ABOUT

BUSINESS INTELLIGENCE
 AT THE CORE OF MONGOBASE
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
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
MAKE INFORMED DECISIONS
LET’S TALK ABOUT

OUR CURRENT PROGRESS
      06/JUNE/2012
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%
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
LEARN MORE
         MongoBase Website:
         http://mongobase.org

 MongoBase Twitter ( @mongobase )
    http://twitter.com/mongobase

Mark’s Smalley’s Twitter ( @m_smalley )
      http://twitter.com/m_smalley

More Related Content

PPT
Introducing MongoPress
PPTX
Week01 jan19 introductionto_php
PDF
Week01 jan19 introductionto_php
PPTX
Introduction to web development
PDF
Meta Refresh 2014
PPTX
Presentation1
PPTX
NEPA BlogCon 2013 - WordPress Customization & Security
PDF
High Performance - Joomla!Days NL 2009 #jd09nl
Introducing MongoPress
Week01 jan19 introductionto_php
Week01 jan19 introductionto_php
Introduction to web development
Meta Refresh 2014
Presentation1
NEPA BlogCon 2013 - WordPress Customization & Security
High Performance - Joomla!Days NL 2009 #jd09nl

What's hot (20)

PPTX
Week01 jan19
PPTX
WordPress Customization and Security
PDF
WordCamp RVA 2011 - Performance & Tuning
PPTX
Basic Wordpress Session
PDF
Improve WordPress performance with caching and deferred execution of code
PDF
WordPress Development Tools and Best Practices
PDF
Mobile Hybrid Development with WordPress
PPT
Caching strategy and apc
ODP
Making Chrome Extension with AngularJS
PDF
PAC 2019 virtual Mark Tomlinson
PPTX
Introduction to PHP
PPTX
BDUG Responsive Web Theming - 7/23/12
PDF
Flying with Griffon @ CONFESS
PDF
Implementing and running Joomla at a large South African university
KEY
<?php + WordPress
PPTX
Footloose journeys by_nagnath
PPTX
Start using less css
PPTX
Introduction to Web Architecture
PPTX
Squeeze Maximum Performance From Your Joomla Website
PPTX
From PSD to WordPress Theme: Bringing designs to life
Week01 jan19
WordPress Customization and Security
WordCamp RVA 2011 - Performance & Tuning
Basic Wordpress Session
Improve WordPress performance with caching and deferred execution of code
WordPress Development Tools and Best Practices
Mobile Hybrid Development with WordPress
Caching strategy and apc
Making Chrome Extension with AngularJS
PAC 2019 virtual Mark Tomlinson
Introduction to PHP
BDUG Responsive Web Theming - 7/23/12
Flying with Griffon @ CONFESS
Implementing and running Joomla at a large South African university
<?php + WordPress
Footloose journeys by_nagnath
Start using less css
Introduction to Web Architecture
Squeeze Maximum Performance From Your Joomla Website
From PSD to WordPress Theme: Bringing designs to life
Ad

Similar to Introducing MongoBase (20)

PPTX
(Updated) SharePoint & jQuery Guide
PPTX
Single Page Applications: Your Browser is the OS!
PPTX
MongoDB.local Atlanta: MongoDB Stitch Tutorial
PPTX
MongoDB.local Seattle 2019: MongoDB Stitch Tutorial
PDF
Drupal performance and scalability
PDF
Google App Engine
PDF
Google app-engine-cloudcamplagos2011
PDF
The future of web development write once, run everywhere with angular js an...
PPTX
The future of web development write once, run everywhere with angular.js and ...
PDF
Content as a Service with Umbraco Headless
PDF
Micro frontend: The microservices puzzle extended to frontend
PPTX
The SharePoint & jQuery Guide - Updated 1/14/14
PDF
DevOps Cardiff - Monitoring Automation for DevOps
PDF
Accra MongoDB User Group
PPTX
SilverStripe From a Developer's Perspective
PDF
Server and client rendering of single page apps
PPTX
Feature driven agile oriented web applications
PPT
5 Common Mistakes You are Making on your Website
ODP
Cvcc performance tuning
PPTX
BackboneJS Training - Giving Backbone to your applications
(Updated) SharePoint & jQuery Guide
Single Page Applications: Your Browser is the OS!
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Seattle 2019: MongoDB Stitch Tutorial
Drupal performance and scalability
Google App Engine
Google app-engine-cloudcamplagos2011
The future of web development write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular.js and ...
Content as a Service with Umbraco Headless
Micro frontend: The microservices puzzle extended to frontend
The SharePoint & jQuery Guide - Updated 1/14/14
DevOps Cardiff - Monitoring Automation for DevOps
Accra MongoDB User Group
SilverStripe From a Developer's Perspective
Server and client rendering of single page apps
Feature driven agile oriented web applications
5 Common Mistakes You are Making on your Website
Cvcc performance tuning
BackboneJS Training - Giving Backbone to your applications
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Spectroscopy.pptx food analysis technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Programs and apps: productivity, graphics, security and other tools
Spectroscopy.pptx food analysis technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)

Introducing MongoBase

  • 1. WEB-APP FRAMEWORK ( sponsored by )
  • 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. LET’S TALK ABOUT RAPID PROTOTYPING WITH MONGOBASE
  • 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. 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. 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. ONE FINAL THING (ON RAPID PROTOTYPING) THERE IS NO SPOON!!!
  • 9. LET’S TALK ABOUT INSTANT SCALABILITY WITH MONGOBASE
  • 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. SOME SAY 6,000 TIMES FASTER!!! http://labs.laulima.com/how-to-import-7-million-locations-from-geonames-to-mysql-then-into-mong
  • 12. MongoDB is an Instantly Scalable Database (with out of the box replica-sets and sharding)
  • 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. Not to Mention Distributed Caching!
  • 15. LET’S TALK ABOUT INVITE-ONLY SIGN-UP SCHEMAS USED BY MONGOBASE
  • 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. THE PSYCHOLOGY OF EXCLUSIVITY HELPS DEVELOP LOYALTY
  • 19. LET’S TALK ABOUT DISTRIBUTED MEDIA WITHIN MONGOBASE
  • 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. YOUR OWN MEDIA MAIN-FRAME
  • 23. LET’S TALK ABOUT BUSINESS INTELLIGENCE AT THE CORE OF MONGOBASE
  • 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. 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
  • 27. LET’S TALK ABOUT OUR CURRENT PROGRESS 06/JUNE/2012
  • 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. 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. LEARN MORE MongoBase Website: http://mongobase.org MongoBase Twitter ( @mongobase ) http://twitter.com/mongobase Mark’s Smalley’s Twitter ( @m_smalley ) http://twitter.com/m_smalley