Web RAD : Turbogears + Elixir Tutorial – Part 1
In web application development, today we can get huge benefits by using frameworks, as they help with code reusing, generalization, templating and dealing with best pratices and design patterns.
While many people has moved toward Ruby on Rails, I'am more interested in learning Python, and using python-based frameworks. I've played a little with Django, but I was disappointed when I discovered that at present it doesn't support multiple-fields primary keys in your data models. So I looked around a little and i stepped into Turbogears. It seems to me that this framework is undertaking a lot of refactoring, but it still seems to me a good choice because of its modularity and interchangeability (while Django is more monolithic as I can understand).
As I'm learning, I will write some tutorials about Turbogears, hoping next people will get some help with issues I've encountered. I must say that, while I have a strong education in IT and programming languages, I am not an experienced python programmer, but this is surely not a problem (at least, in this tutorial's context
) . In this tutorial, I will show you a basic project setup: we will use Turbogears framework (1.0.4.4), Elixir (0.5.x) for data modeling & access, and Genshi for templating.
Print this post
Risorse e tutorial AJAX
AJAX sta per Asynchronous JavaScript and XML ed è un "mix di tecnologie standard" che permette di costruire applicazioni web molto più interattive e dinamiche di quanto si è normalmente abituati, senza il bisogno di ricorrere ad estensioni di terze parti (come ad esempio il Flash Player della Macromedia). Siccome tra breve dovrò buttarmi a piè pari in questo fantastico mondo, sto raccogliendo da un po' tutti i link interessanti che trovo su AJAX. Se siete interessati, la lista "live" dei miei link la trovate su del.icio.us. Siccome l'elenco sta cominciando a espandersi, vi metto qui quelli che ritengo più meritevoli:
- AJAX - Getting Started: una semplice introduzione alla tecnologia AJAX
- AJAX Lessons: Una fonte di risorse su AJAX con una message board su cui poter postare i propri dubbi (l'ingresso alla board è riservato solo a chi è veramente interessato)
- The Ten Best Ajax Links: Tutorials, Examples, and History: Una raccolta di link selezionati su AJAX
- AJAX on RAILS: Ruby on Rails è un web framework per lo sviluppo con un buon supporto per le applicazioni AJAX-based
- AJAX Design Patterns: i Design Patterns sono "la buona norma" che i programmatori sono incoraggiati a seguire quando risolvono problematiche comuni e ben note. Questo link contiene una vasta raccolta di Design Patterns su AJAX
Inoltre, per chi utilizza WordPress, segnalo questo plugin che utilizzando AJAX implementa un preloader per le immagini. Ve lo consiglio caldamente. Se volete vedere come funziona, cliccate sull'immagine qui a sinistra. Attualmente questo plugin non funziona se lasciate abilitata la compressione gzip on demand di WordPress (basta andare nelle opzioni e disabilitarla)
Print this post


