PyWeb31 - Lithning Talks

Get Started. It's Free
or sign up with your email address
PyWeb31 - Lithning Talks by Mind Map: PyWeb31 - Lithning Talks

1. Talk.js, Zohar Arad

1.1. about

1.1.1. a project of the FEDs community Front End Developers


1.2. motivation

1.2.1. Replace Google/Facebook groups

1.2.2. using Node.js server-side JS using V8 event-based async IO libraries evented/async using OS-based libs

1.2.3. Many modules ORM Mongoos ORM for MongoDB Redis

1.2.4. Some PaaS vendors Nodijitsu, CloudFoundry, Heroku &c

1.3. Node.js programming model

1.3.1. global entry points public to enable Rails-like auto-load magic new Talk...

1.3.2. bootstrapping method loads ORM

1.3.3. this issue applies to Node as well want to keep scopes each method call encapsulates its scope variables when invoking functions, use apply auto_load.apply(this, [params]); or use bind: function(file) { ... }.bind(this);

1.3.4. index.js like __init__ initialization upon package load in Node, to avoid packages conflicts The scope is always limited to current file, not including imported files To overcome this, use exports determines what will be imported when doing require example

1.3.5. post.js Define DB shcema using Mongoose Untitled module.exports = DB.Mongoose.model('Post', Post);

1.4. Changes the way you program

1.4.1. Makes you a better planner, not necessarily better programmer

1.5. Q&A

1.5.1. Why mongo? There are 4 main Eventualy Consistent data stores Mongo Couch Riak Redis

2. Boorgle, Alon Burg

2.1. About

2.1.1. side project of Alon


2.2. A service for synchronizing contact information to friends mobile phone

2.3. demo

2.3.1. sign up as a user

2.3.2. your contacts need connect their GMail account to the service

2.3.3. then change some contact detail

2.3.4. this changes the contact details automatically to the Gmail address book of your friends, which may synchronize with their mobile phones