Vortexmind: free your mind Tu ne cede malis sed contra audentior ito

6Jun/085

Framework Javascript

Dovendo scegliere un framework javascript per implementare applicazioni web fortemente orientate all'usabilità e al "desktop feeling" mi sto facendo passare un po'di librerie per capire quale sia la più adatta ai miei scopi. Utilizzando Turbogears, ho iniziato con Mochikit, il cui pregio principale (essere pensata per un programmatore python) non lo posso sfruttare perchè al momento non ho una vastissima esperienza in questo linguaggio di programmazione. Successivamente ho provato Dojo, molto completa e ricchissima di effetti ma con alcuni svantaggi, a mio parere: la predominanza di troppi meccanismi magici (quelli cioè che funzionano out of the box, ma che è difficile comprendere soprattutto se servono delle customizzazioni), la vastità e il supporto solo per i browser principali (Firefox, IE e Safari). Infine mi sto concentrando su mootools, il quale fornisce un giusto compromesso tra sufficiente potenza degli strumenti forniti mantenendo al contempo una fortissima modularità che permette di minimizzare le dimensioni della libreria. Rispetto a Dojo, è compatibile e testata anche con Opera e Camino. Tra l'altro ho trovato un layer addizionali di funzionalità "di alto livello" basato su mootools : CNET Common Libraries.

Voi che dite? Avete qualche esperienza con framework particolari da condividere?

Print this post Print this post
20Apr/081

Web RAD : Turbogears + Elixir Tutorial – Part 1

Turbogears Framework LogoIn 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 smiley ) . 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 Print this post
   
Creative Commons Licence
This work by Paolo Tagliaferri is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.