DocPad
2.5YRS IN


By Benjamin Lupton
(Bevry, DocPad, History.js, Startup Hostel)

@balupton / @docpad
balupton.com / docpad.org

https://slid.es/balupton/docpad-2-5-years-in/

overview


WHO IS THIS PUNK?
WHY IS HE HERE?
WHY DO I CARE?
WHAT IS HE GOING TO TELL US?

who is he?


BEVRY - AN OPEN COMPANY

HISTORY.JS - A TOP 40 JAVASCRIPT PROJECT

DOCPAD - A TOP 20 COFFEESCRIPT PROJECT

STARTUP HOSTEL - CO-WORK CO-LIVE

BIG ON OPEN-COLLABORATION

WHY IS HE HERE?


A CRAZY IDEA

MANIFESTED OVER 3 YEARS

NOW SOMETHING TO SHOW

AIN'T THAT CRAZY AFTER ALL...
OR...
I'VE FOUND MORE CRAZY PEOPLE!
YAY
(500 DAILY USERS, 100+ PLUGINS, EXPONENTIAL ACTIVITY)

why should I care?


RAPIDLY MAKE WEB SITES AND WEB APPS

CREATE DYNAMIC STATIC WEBSITES

DEVELOPER FRIENDLY

GUIS FOR CLIENT FRIENDLINESS

USE EXISTING INFRASTRUCTURE

BUSINESS NOW PAYING ATTENTION
(BEEN FUNDED SINCE JULY)

STRUCTURE


A BRIEF HISTORY / THE WHY
+ PLUGINS
+ DYNAMIC
+ BACKBONE.JS & NOSQL
+ IMPORTERS
+ GUIS
+ GROWING PAINS
+ OPPORTUNITIES
(SAAS, TRAININGS, PARTNERS)
+ RECAP / VALUES

A BRIEF HISTORY


JEKYLL... SUCKED
JUNGLE WITH A MACHETE

NEEDED SOMETHING...
ABSTRACTION FRIENDLY!!!

JENGA VS LEGO

ARCHITECTURE (CORE)


GENERATION
(LOAD, PARSE, CONTEXTUALIZE, RENDER, WRITE)

SERVER (EXPRESS.JS)

PLUGINS (NPM)

WATCHING (WATCHR)

LOGGING (CATERPILLAR)

ARCHITECTURE (PLUGINS)


CORE -> SUBMODULES -> REPOS -> NPM

EVENTED

RENDERERS
HELPERS
DEPLOYERS
GUIS

DYNAMIC STATIC ABILITIES


PULL IN REMOTE DATA (TWITTER, GITHUB, ETC)

REGENERATE ON CHANGE (GREAT FOR DEV)

REGENERATE ON INTERVAL (GREAT FOR FEEDS)

REGENERATE VIA API
(USEFUL FOR GIT DOCUMENTATION VIA HOOKS)

RE-RENDER EACH REQUEST SUPPORTED (LIKE PHP)

EXTEND THE SERVER


BACKBONE.JS & NOSQL


ORIGNALLY USED JAVASCRIPT OBJECTS
THEN CLASSES
THEN/NOW BACKBONE MODELS

USES QUERY ENGINE FOR NOSQL SUPPORT
SUPPORTS LIVE QUERIES

COMMON GOTCHA
.TOJSON(), .GET('META'), .META
SOLUTION IN THE QUEUE

IMPORTERS


PULL IN DATA FROM

FEEDS (JSON, XML, ETC)

REPOS AND ARCHIVES

INDIVIDUAL FILES

TUMBLR

DROPBOX (UNDERWAY)

GUIS


DCE

MINICMS

INLINE GUI
WEB WRITE
(AGNOSTIC GUI MOVEMENT)

GROWING PAINS


BACKGROUND/JIT RENDERING
(GROUNDWORK LAID, NEEDS IMPL)

MORE INTELLIGENT DOCUMENT INTER-REFERENCES
(GROUNDWORK LAID, NEEDS IMPL)

MODULARIZE ALL THE THINGS
(PROPOSAL FORMING)

WATCHING (WE'RE LOOKING INTO IT)

BUSINESS PROCESS DOCUMENTS

WHAT'S NEXT? OPPORTUNITIES


SAAS
(WEBWRITE, MYPLANET?)

MORE TRAININGS
(ONLINE AND DEV CAMPS)

BUSINESS INTEREST
PARTNERS (MDM, MYPLANET, ALMERO, ETC)
GO STATIC CAMPAIGN
BETTER MARKETING
BETTER WEBSITE

FINAL THOUGHTS, VALUES


RAPID RELEASE
DISCUSS -> PROPOSAL -> CONFIRM -> IMPLEMENT

ARGUMENTATIVE
WE WANT TO UNDERSTAND THE CAUSE
AND WILL ALWAYS SEEK IMPROVEMENT

ABUNDANTLY OPEN
WE SHARE EVERYTHING... KINDLY

NOW WHAT?


QUESTIONS
THOUGHTS
COMMENTS
https://github.com/bevry/meetups/issues/1

FEEDBACK
RATE
http://spkr8.com/t/26001

JOIN US
http://docpad.org/docs/participate
Made with Slides.com