
Starting a Django 1.4 Project the Right Way Check out the new, updated version of this post with Django 1.6 specific changes and updates. Back in February, I wrote a post titled 'Starting a Django Project the Right Way', which still draws a consistent audience eight months later. In those eight months, Django has released version 1.4 of the framework, with 1.5 under active development and promising experimental support for Python 3.x. Given these changes, as well as the availability of new and updated resources available to Django developers, I decided to revisit the concept of best practices when starting a Django project. The beginning of a project is a critical time. By the end of this post, you will have None of these steps, except for perhaps the first, are covered in the official tutorial. Prerequisites A working knowledge of Python is assumed. Preparing To Install I'm assuming you have Python installed. So, what's the first step? $ pip install virtualenvwrapper Creating a new environment $ mkvirtualenv django_project git Mercurial
Solutoire.com - Ajax Resources (-) Welcome | Flask (A Python Microframework) Welcome to Flask’s documentation. Get started with Installation and then get an overview with the Quickstart. There is also a more detailed Tutorial that shows how to create a small but complete application with Flask. Common patterns are described in the Patterns for Flask section. Flask depends on the Werkzeug WSGI toolkit, the Jinja template engine, and the Click CLI toolkit. User’s Guide¶ Flask provides configuration and conventions, with sensible defaults, to get started. API Reference¶ If you are looking for information on a specific function, class or method, this part of the documentation is for you. Additional Notes¶
Easymode : toolkit for making xml based flash websites — django-easymode v1.0b1 documentation With easymode you can create backends for dynamic flash/flex websites. Easymode makes internationalization simple and outputs xml by default. To tailor the xml to your application, you can transform it using xslt templates, which easymode integrates. For more info, look at Why does easymode exist? The best way to learn how easymode works, is to read the above topics in sequence and then look at the example_app. If you have questions please send them to the mailing list at easymode@librelist.com. Easymode requires python 2.6, furthermore the following packages must be installed: Django The following packages might also be required, depending on what features you are using. lxmlpolibdjango-reversion Easymode comes with an example app which is available from github: To run the example app, you must clone the repository, install the dependencies and initialize the database: Each update to the development status will increase the first digit.
Help Desk Software, Live Chat Software and Customer Service Software 运维和开发 deschler/django-modeltranslation 45+ Excellent Examples of Flash Websites Design advertisement Talking about website design, Flash website could be the most very attractive as it catch every people’s eye for its flashy and animated effect. On this matter I made a list of 45+ Excellent Examples of Flash Websites Design as for more inspirations. These sites are hand picked and a best example of flash websites on the web. Raymanzone Olainteractiveagency Ilovedust Pegadaecologica Happyingreenville Feartox Kapanga Hype Proyectiva Thunderfuel iam-studios Galaicofolia Ecodazoo Palermo Misshiv Theseen Problemplayground Progressivered Custom-design Neumann-health Rakugaki.iekaki Admediastudio Moodbuilder Ads Feijoada.art Skunky Tbwahakuhodo Jurajska Electricdynamic Doritos Chevaldetroie Wesc Toshiyukikuwabara Cathybeck Iestudio Northkingdom Levytheband Actioncity Bozzettofoto Sheeladaley Capitalcomm Chromazone-imaging Graphikline Thibaud Adventskalender Mikimottes Kungfupanda
Set Up Python and Install Django on Mac OS X Lion 10.7 | Hacker Codex NOTE: This guide was written for Lion 10.7 and has since been superceded by these new guides: First steps Lion has done away with the “Sites” folder by default, but it’s easy to add it back — the custom icon will even show up automatically. Use the Finder, or enter the following in a Terminal session: Another change is the hidden ~/Library folder. We can make it visible again with the following command (which gets overridden by OS updates and must be run again afterwards): chflags nohidden ~/Library/ Since Lion is a full 64-bit system, we’ll save some headaches by letting our compiler know that all compilation should assume 64 bits. … and add: # Set architecture flagsexport ARCHFLAGS="-arch x86_64" With those first steps out of the way, now it’s time to get the necessary compilation tools in place. Compiler Installing development-related software in the past has required the compiler tool-chain that comes with Xcode. Homebrew That’s it — Homebrew is now installed. Python site-packages Dotfiles
Flash Showcase Encrypting Database Data in Django | Tyler Lesmann This last week I was putting together a password management application for our group at work. The biggest obstacle was adding encryption to the password data in the database. At first I thought, "I'll use Django's password field." The first step was learning how to do cryptography in python. AES has a few requirements. If you execute this, it will generate a key and a string, plus encrypt and decrypt the string. If you run this, you'll see a line like, Encrypted base64: vF7nMm7N1EhalQ/4gtQhaxEHeCgY2dOsNf2rA7tQZW8=. All that's left now is our custom field. This requires the user to have a AESKEY set in the settings.py of their project.
HTML5 Showcase: 48 Potential Flash-Killing Demos So you’ve heard all rumors about HTML5 would take over Adobe Flash. While most web community argues that it’s possible or not, you must be wandering what makes HTML5 so powerful that even giant company Apple wants to use it to replace Flash. That’s why this post exists, we’re not going to talk about what HTML5 can do, but show live demos of magical things that HTML5 can achieve with other language like JavaScript, so get ready to be inspired. Note: As HTML5 is not fully supported by certain web browser like Internet Explorer, you’re strongly recommended to use Firefox browser to view all HTML5 demos below. Animation The HTML5’s canvas element is the deciding factor for HTML5 to replace certain Flash animation. Audioburst Animation A comfortable and fantastic animation created with HTML5’s canvas and audio tag. Ball Pool Being showcased in the last Google I/O event, this demo shows you how dynamic can HTML5 be. Blob Sallad A HTML5-spawned creature that would please you. Bomomo Browser Ball Bubbles
Selectors Level 3 Abstract Selectors are patterns that match against elements in a tree, and as such form one of several technologies that can be used to select nodes in an XML document. Selectors have been optimized for use with HTML and XML, and are designed to be usable in performance-critical code. CSS (Cascading Style Sheets) is a language for describing the rendering of HTML and XML documents on screen, on paper, in speech, etc. CSS uses Selectors for binding style properties to elements in the document. This document describes the selectors that already exist in CSS1 [CSS1] and CSS2 [CSS21], and further introduces new selectors for CSS3 and other languages that may need them. Selectors define the following function: expression ∗ element → boolean That is, given an element and a selector, this specification defines whether that element matches the selector. Status of this document This section describes the status of this document at the time of its publication. Table of Contents 1. 1.1. 1.2. 1.3. 2. 3. .
Best Flash