|
Views, URLs, and Generic Views in Django 1.0
|
Last Update 2009/9/2 5:32
|
Category
Programming
Python
:
Programming
Platforms
Web Client
:
Programming
Tools
|
Description
Many developers new to Django get tripped up on the vocabulary and purpose of different pieces of the system—models, views, generic views, model managers, and so on. With some functions belonging to models and others to views, it can be confusing to know where to put the logic of your applications. The view is where most of your application logic will be executed. Before we can work with views, however, we need to look at the URL dispatching system to see how a view is matched up with an incoming request. Once we have seen the URL dispatcher and some working views, we'll take a look at some shortcuts Django offers us to accomplish these actions even more quickly. You can write entire Django sites without using models, but you'd have a hard time doing that without views or generic views.
|
Hits: 332
|
Buttons, Menus, and Toolbars in Ext JS
|
Last Update 2009/6/17 13:41
|
Category
Programming
JavaScript
:
Programming
Platforms
Web Client
:
Programming
Tools
:
Programming
User Interface / UX User Experience
|
Description
The unsung heroes of every application are the simple things like buttons, menus, and toolbars. In this article by Shea Frederick, Steve 'Cutter' Blades, and Colin Ramsay, we will cover how to add these items to our applications. Our example will contain a few different types of buttons, both with and without menus. A button can simply be an icon, or text, or both. Toolbars also have some mechanical elements such as spacers and dividers that can help to organize the buttons on your toolbars items. We will also cover how to make these elements react to user interaction.
|
Hits: 226
|
|
|
|