Introduction to Pinax

Post on 03-Sep-2014

2,260 views 1 download

description

My quick investigations into Pinax and what I found out

transcript

Introduction to Pinax

Andy McKayClearwind Consulting

@clearwind

admit a bit of self-interest

my opinion, likely wrong

Part I: What is Pinax?

a collection of django apps

“Django with a bigger opinion”

opinions on JavaScript

opinions on Virtualenv

Python

Django

Your site

Python

Django

Your site

Python

Django

Your site

Pinax

Part 2: Create pinax site

download http://pinaxproject.com/download/

virtualenvhttp://pypi.python.org/pypi/virtualenv

easy_install virtualenv

python scripts/pinax-boot.py ~/pinax-envsource ~/pinax-env/bin/active

pinax-admin clone_project social_project ~/social

basic projectincludes only profiles and notices

openid loginuser profilesasync mail

ajax validation and more...

cms project companycms project holidayhouse

database templatesphotos and thumbnails

analyticsattachments

code projectavatarwiki

threaded comments etc

intranet projectprivate beta project

closed site, invitation onlytask tracking

wikibookmarks

sample group projectsocial project

profiles, friendsphotosblogstribes

Part 3: Demo

Part 4: Customisation

the $10 million question

easy to add your own apps

actually pretty easybut need to read the source

eg: photos still a bit interwined

couldn’t get all things working(pebkac)

demo django-awards

customising builtin apps still going to be a challenge

Part 5: Verdict

documentation bit lacking

tests didn’t pass(but at least it had them)

a bit unfocused

making some good choices

bright people working on it

sophisticated site up quickly

would use it for next project(that fit the mould)

Fin. Questions?

Andy McKayClearwind Consulting

@clearwind