A blog about Django, Python, mongo DB, LINUX, Amazon Web Services


Creating Django App

Posted On 18 June 2011 By MicroPyramid

Django is a high-level, free and open-source Python Web framework that encourages rapid development. Django follows the model–view–controller (MVC) architectural pattern. Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and pluggability of components, rapid development.

Event Delegation in Jquery

Posted On 05 May 2011 By MicroPyramid

Event handling is the basic need to develop Rich Internet Web Applications and that will become very tough with elements added to DOM dynamically. Jquery gives simple solution to do event binding for dynamic elements under a DOM object.

QRCode generation in python

Posted On 25 April 2011 By MicroPyramid

A Quick Response code(QRCode) is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric, or Kanji symbols).

Streaming Protocols continued... RTMP, MMS

Posted On 09 March 2011 By MicroPyramid

Streaming is the technique for transferring data at fixed rate in real time between the client and the server. There are many streaming protocols available for streaming data. HTTP, RTSP, MMS, RTMP, RTP, MSB, MBSD, RTCP etc. are the streaming protocols.

Streaming protocols ogg, mp3, aac

Posted On 19 February 2011 By MicroPyramid

Audio format is a file format for storing the digital audio data on a computer. The encoding of the audio data is done by the encoder according to the file format specifications.The data in the file may be in compressed or uncompressed format.

The audio format is categorized into three types:
1. Uncompressed audio Format:
2. Lossless Compression:
3. Lossy Compression:

Understanding Audio Quality: Bit Rate, Sample Rate

Posted On 23 January 2011 By MicroPyramid

Audio Quality is the accuracy and enjoyability of the audio which the user can listen from an electronic device. Audio quality depends upon the bit rate, sample rate, file format and encoded method. It also depends on the ability of the encoder to get the important bits right.

Programming with python Descriptors (_get_, _set_, _delete_) - MicroPyramid

Posted On 12 December 2010 By MicroPyramid

Python descriptors are object attributes that are only invoked for new style of classes. Python descriptors comes under the category of meta programming(code that manipulates code). The descriptors are accessed with special classes that allows to: -- manage properties of another class and -- implement an interface for get, set and delete We can also say that the descriptors are object attributes and the attribute access is overridden by one of the methods in descriptor protocol.

Debugging in Python

Posted On 21 November 2010 By MicroPyramid

When something goes wrong with your code instead of using standard debugging techniques such as print statements use debugging tools. I found two great tools for debugging.

1. using the code module.
2. pdb module.

How to develop better software with best practices

Posted On 27 October 2010 By MicroPyramid

Writing good code is a habit that comes from mixing several approaches and changing practices by learning from your own experiences. And mostly its about thinking pessimistic. There is no happy programmer because there are infinity ways to break your code, all you need to look for is to cover all the pit falls by following best practices.

Python development environment on windows

Posted On 06 September 2010 By MicroPyramid

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. During execution the Python source code is translated into bytecode which is then interpreted by the Python interpreter. Python source code can also run on the Java Virtual Machine, in this case you are using Jython.


Need any Help in your Project?Let's Talk