Django forms is powerful module to help django application development in rendering html from model, validate input from http request to model specifications. And we can extend the module to suit our exact need. Lets see basics of django forms. Forms are a collection of fields that knows how to validate itself,Form classes are created as subclasses of django.forms.Form
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 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.
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 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.
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:
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.
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.
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.
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.