Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Planet Express Ship

Planet Express Ship

a Mojolicious::Lite rapid prototyping framework. Backed by couchDB and Twitter Bootstrap

Lenz Gschwendtner

September 28, 2012
Tweet

More Decks by Lenz Gschwendtner

Other Decks in Technology

Transcript

  1. start small - grow it • less code ⇾ easier

    to change • smaller code base ⇾ faster to work with • fewer files ⇾ better overview • existing frameworks ⇾ faster development Friday, 28 September 12
  2. package contents • Login/User handling • GMail/GoogleApps support • micro

    CMS • CDN storage • ... Friday, 28 September 12
  3. Package layout /Mojolicious/Plugin # plugin directory /bin # commandline tools

    /css # bootstrap less files /db # CouchDB view files /js # bootstrap js files /public # static files and # compiled js and css /templates # template tree Friday, 28 September 12
  4. User document { _id: "4e723e4457fcfd640e1858ab7f000a59", _rev: "1-b4907e749fcf64d08a3e23b6ed3f4976", last_login: 1341024403, active:

    1, name: "Lenz Gschwendtner", username: "[email protected]", password: "password hash", type: "user", role: "admin", } Friday, 28 September 12
  5. Template Layout • notification mechanism for info and errors •

    menu handling for logged in/out users • login form in menu bar • CMS hacks Friday, 28 September 12
  6. Templates for • login handling • password reset handling •

    admin editor templates • user update page Friday, 28 September 12