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

What's hot (20)

PPTX
Week01 jan19
Jeanho Chu
 
PPTX
WordPress Customization and Security
Joe Casabona
 
PDF
WordCamp RVA 2011 - Performance & Tuning
Timothy Wood
 
PPTX
Basic Wordpress Session
Vipul Garg
 
PDF
Improve WordPress performance with caching and deferred execution of code
Danilo Ercoli
 
PDF
WordPress Development Tools and Best Practices
Danilo Ercoli
 
PDF
Mobile Hybrid Development with WordPress
Danilo Ercoli
 
PPT
Caching strategy and apc
Võ Duy Tuấn
 
ODP
Making Chrome Extension with AngularJS
Ben Lau
 
PDF
PAC 2019 virtual Mark Tomlinson
Neotys
 
PPTX
Introduction to PHP
Techsters Web
 
PPTX
BDUG Responsive Web Theming - 7/23/12
ucbdrupal
 
PDF
Flying with Griffon @ CONFESS
Andres Almiray
 
PDF
Implementing and running Joomla at a large South African university
Joomla Day South Africa
 
KEY
<?php + WordPress
Christopher Reding
 
PPTX
Footloose journeys by_nagnath
Nagnath Mungade
 
PPTX
Start using less css
Ali MasudianPour
 
PPTX
Introduction to Web Architecture
Chamnap Chhorn
 
PPTX
Squeeze Maximum Performance From Your Joomla Website
SiteGround.com
 
PPTX
From PSD to WordPress Theme: Bringing designs to life
Derek Christensen
 
Week01 jan19
Jeanho Chu
 
WordPress Customization and Security
Joe Casabona
 
WordCamp RVA 2011 - Performance & Tuning
Timothy Wood
 
Basic Wordpress Session
Vipul Garg
 
Improve WordPress performance with caching and deferred execution of code
Danilo Ercoli
 
WordPress Development Tools and Best Practices
Danilo Ercoli
 
Mobile Hybrid Development with WordPress
Danilo Ercoli
 
Caching strategy and apc
Võ Duy Tuấn
 
Making Chrome Extension with AngularJS
Ben Lau
 
PAC 2019 virtual Mark Tomlinson
Neotys
 
Introduction to PHP
Techsters Web
 
BDUG Responsive Web Theming - 7/23/12
ucbdrupal
 
Flying with Griffon @ CONFESS
Andres Almiray
 
Implementing and running Joomla at a large South African university
Joomla Day South Africa
 
<?php + WordPress
Christopher Reding
 
Footloose journeys by_nagnath
Nagnath Mungade
 
Start using less css
Ali MasudianPour
 
Introduction to Web Architecture
Chamnap Chhorn
 
Squeeze Maximum Performance From Your Joomla Website
SiteGround.com
 
From PSD to WordPress Theme: Bringing designs to life
Derek Christensen
 

Similar to Introducing MongoBase (20)

PDF
MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB
r1dotmy
 
PPTX
An Evening with MongoDB Detroit 2013
MongoDB
 
PPTX
MediaGlu and Mongo DB
Sundar Nathikudi
 
PPT
Challenges in an E-Commerce Catalogue with SQL; How Mongo helps
MongoDB
 
PPT
Mongo @ homeshop18
Mahesh Tiyyagura
 
PPT
Mongo @ homeshop18
MongoDB
 
PPT
A Morning with MongoDB - Helsinki
MongoDB
 
PPT
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
MongoDB
 
KEY
Mongo Seattle - The Business of MongoDB
Justin Smestad
 
KEY
Hybrid MongoDB and RDBMS Applications
Steven Francia
 
KEY
MongoDB, PHP and the cloud - php cloud summit 2011
Steven Francia
 
PPTX
Mongo db conference march 2012 (1)
MongoDB
 
PPTX
MongoDB at Flight Centre Ltd
MongoDB
 
PPTX
Tim Marston.
PatrickCrompton
 
KEY
Discover MongoDB - Israel
Michael Fiedler
 
KEY
Mongo NYC PHP Development
Fitz Agard
 
PPTX
Tim marston
PatrickCrompton
 
PPT
Mongodb open source_high_performance_database
Murat Çakal
 
PPTX
A great api is hard to find
Dan Diephouse
 
MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB
r1dotmy
 
An Evening with MongoDB Detroit 2013
MongoDB
 
MediaGlu and Mongo DB
Sundar Nathikudi
 
Challenges in an E-Commerce Catalogue with SQL; How Mongo helps
MongoDB
 
Mongo @ homeshop18
Mahesh Tiyyagura
 
Mongo @ homeshop18
MongoDB
 
A Morning with MongoDB - Helsinki
MongoDB
 
Welcome and Introduction to A Morning with MongoDB Petah Tikvah
MongoDB
 
Mongo Seattle - The Business of MongoDB
Justin Smestad
 
Hybrid MongoDB and RDBMS Applications
Steven Francia
 
MongoDB, PHP and the cloud - php cloud summit 2011
Steven Francia
 
Mongo db conference march 2012 (1)
MongoDB
 
MongoDB at Flight Centre Ltd
MongoDB
 
Tim Marston.
PatrickCrompton
 
Discover MongoDB - Israel
Michael Fiedler
 
Mongo NYC PHP Development
Fitz Agard
 
Tim marston
PatrickCrompton
 
Mongodb open source_high_performance_database
Murat Çakal
 
A great api is hard to find
Dan Diephouse
 
Ad

Recently uploaded (20)

PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
July Patch Tuesday
Ivanti
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Python basic programing language for automation
DanialHabibi2
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Ad

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