Link roundup for week ending 26/11/2010

By : Thejaswi Puthraya

  • In Washington Times' article on app-centric django development, they discuss the pros and cons of breaking your project into multiple apps.
  • Luke Plant writes how class based views in django views makes the code feel a bit like Ravioli (too many small classes with difficulty locating and identifying their functionality).
  • While we are at Ravioli, here is an interesting presentation about "How to stop writing Spaghetti code" in node.js.
  • Eric Holscher has a post on how to use Haystack search to index non-database content.
  • Facebook has written a blog post on "The underlying technology of Messages". Most of the ...

more info..
Topics : linkroundup
Javed
Comments
Reactions

Link Roundup for week ending 19/11/2010

By : Javed Khan

more info..
Topics : linkroundup
shabda
Comments
Reactions

Unfuddle Summary Script

By : Shabda Raaj

Unfuddle is our preferred tool for private repos, project management and ticketing. We recently wrote a slick script to summarize our Unfuddle status. So here is it.


import getpass
import simplejson
import sys
import urllib2

from datetime import datetime, date

try:
    from settings import *
except ImportError:
    ACCOUNT_DETAILS = {
        'account': '',
        'username': '', 
        'password': '',
    }
    SEND_MAIL = False

if not ACCOUNT_DETAILS['account']:
    ACCOUNT_DETAILS['account'] = raw_input('Enter unfuddle account name: ')

if not ACCOUNT_DETAILS['username']:
    ACCOUNT_DETAILS['username'] = raw_input('Username: ')

if not ACCOUNT_DETAILS['password']:
    ACCOUNT_DETAILS['password'] = getpass.getpass()

class Unfuddle(object):
    def __init__(self):
        self.base_url = 'https://%s.unfuddle.com' % (ACCOUNT_DETAILS['account'])
        self.api_base_path = '/api/v1/'

def get_data(self ...

more info..
thejaswi
Comments
Reactions

Link Roundup for week ending 12/11/2010

By : Thejaswi Puthraya

  • jQuery 1.4.4 and jQuery mobile alpha 2 were released this week. Progress on the jQuery mobile development seems to be very brisk at the moment.
  • Eric Holscher wrote a series of posts on building a django app server with Chef.
  • Do you generally have a tough time deciphering captchas? TextCaptcha is a service that uses text based questions to separate the humans from machines. It's got an API too!
  • Django Dose community catchup Episode #30 is out. Check it out today.
  • All references to the project name from the imports in the django tutorial have been removed ...

more info..
Topics : linkroundup

Github in github

By : Shabda Raaj

We have a (semi) new app. This takes your Github account and creates Github pages from it. It displays a summary of your account, and of all your apps. Get it at github


Readme

Takes a github account, creates html pages for it, and puts it on Github pages.

How it proceeds.

  1. Get data for specified account from Github API
  2. Uses Jinja2 to write ReST docs.
  3. Build html from the ReST docs.
  4. Pushes the html to a Git repo from which you build github pages.

tl;dr: Yo dawg, I heard you like github, so I put a github in ...

more info..
shabda
Comments
Reactions

I am so starving: Web app in python frameworks.

By : Shabda Raaj

I have written the same web app in various web frameworks. Get it from Github.

Copied from the Readme.

This is a set of apps which creates the same application in various Python web micro-frameworks.

The app(s) talks to Facebook, and finds out recent people who have posted a public status with the text "so starving".

This idea came from reading Onion.

We have the same app in these frameworks.

Microframeworks:

Full stack frameworks:


If the framework included template engine and caching, that was used directly. Otherwise ...

more info..
Topics : python
thejaswi
Comments
Reactions

Link Roundup for week ending 5/11/2011

By : Thejaswi Puthraya

  • Jacob Kaplan-Moss has a beautiful article on concrete inheritance vs abstract models for inheritance. Must read!
  • Charles Leifer, the current maintainer of Django Snippets has an exhaustive blog post on setting up search using the Solr backend for Haystack.
  • Chris Heilmann has an interesting video on "Reasons to be Cheerful: being a web developer is awesome!"
  • Andy McKay defends the plain old non-reusable Django apps as they are easy to write, rapid to develop and have very little boilerplate code.
  • Piotr Malinski has a blog post on how to use web based image editors within django apps.
  • Derek Gathright shows ...

more info..
Topics : linkroundup
Javed
Comments
Reactions

Seven reasons why you should switch to Vim

By : Javed Khan

So you want a better IDE for developing django, huh? Why not give good old vim a try?

Use pathogen to maintain your vim plugins (and sanity). Using this, you can clone the repositories listed here to .vim/bundle/ and start using them right away.

Also, consider adding your .vimrc and .vim to a repository. Include .vimrc inside .vim and symlink .vim/.vimrc to ~/.vimrc to version control your .vimrc.

My vim files can be found here. Also, here's an imgur album demonstrating these plugins in action.

1. Syntax highlighting for django templates

Starting from vim 7.1, syntax ...

more info..
Topics : django vim
© Agiliq, 2009-2012