GithubHelp home page GithubHelp logo

ialexi / contacts Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 2.0 1.65 MB

Example Contacts app for SproutCore and FormView. Growing slowly. See demo :)

Home Page: http://create.tpsitulsa.com/static/contacts/

Python 41.19% JavaScript 58.81%

contacts's Introduction

Contacts.app

(I add .app for no reason)

It is very work in progress; you can barely count it as functional!

For awhile, you had to actually download two components and start three servers manually. Now, as long as you have a few prerequisites, everything should work!

No-Back-End-Method (SproutCore as only prerequisite)

If you just run sc-server in the project directory, it should already work using fixtures.

Prerequisites (that I know of):

  • Python 2.6 (or 2.5 w/simplejson)
  • twisted (package for Python)
  • django
  • SproutCore (and all that entails)
  • Edited core.js to enable Django back-end.

To download: > git clone git://github.com/ialexi/Contacts contacts

To initialize all submodules and set up the sample database: > cd contacts > python contacts.py setup

It will show everything it does.

Now, change apps/contacts/core.js to enable the back-end by uncommenting the line for the django back-end.

To run: > python contacts.py start

And it should now be running! contacts.py starts all three servers (sc-server, Dobby, and django).

sc-server will proxy both the Comet server and the Django server. You should be able to open up two browser windows to: http://localhost:4020/contacts

If you change something in one, the changes should automatically appear in the other. There are some issues with deleting contacts (refreshing fixes these).

Good luck. :)

contacts's People

Contributors

ialexi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.