Guida all'utilizzo di jQuery

venerdì, 1 febbraio 2008 14.00 by Marco Bellinaso

Qualche giorno fa in un post relativo alle librerie JavaScript / AJAX, ho messo in elenco jQuery. Oggi mi sono messo a studiare questa libreria più seriamente, visto che finora non ne avevo mai fatto uso direttamente, ma era referenziata nei miei progetti solo come base per altri plug-in che invece usavo. Ho trovato delle guide veramente chiare e complete, che permettono di essere produttivi (nel senso che si sarà in grado di usare la libreria risparmiando effettivamente tempo rispetto a scrivere a mano montagne di JavaScript per i compiti più banali) in un'ora. La guida "Getting Started" ufficiale spiega la filosofia di base, mostra le varie scorciatoie per selezionare elementi (con un certo id, con una certa classe, di un certo tipo, con un parametro equivalente ad un certo valore, ecc.), mostra come implementare un meccanismo di rating tramite ajax, e come effettuare semplici animazioni (nascondere/mostrare dei pannelli) in una riga di codice. Quest'altra guida spiega più o meno le stesse cose ma tramite altri esempi, quindi potrebbe essere utile per chiarirsi ulteriormente le idee e vedere altri scenari di utilizzo.

Una volta acquisite le basi, il vostro riferimento diventerà Visual jQuery, una preziosa reference che raggruppa tutte le funzioni della libreria in varie categorie e sottocategorie (Core, DOM, CSS, Ajax, Effects, Events, ...) e per ciascuna offre una descrizione e un esempio di codice completo.

Per chi ora stesse usando un framework diverso da jQuery (principalmente il framework "storico" Prototype, ma anche Dojo o MooTools), e soprattutto per chi dovesse ancora scegliere quale framework adottare, di seguito elenco qualche articolo di confronto:

Ovviamente sono tutte opinioni soggettive, ma sembra che sia più facile trovare voti a favore di jQuery. Ad ogni modo, vedere i vari pezzi di codice a confronto potrebbe semplificare la vostra personale scelta.

Da non dimenticare infine che anche la Microsoft AJAX Library può essere un'opzione per un framework JavaScript client-side (cross-browser e cross-technology, nel senso che può essere usata anche in PHP, RoR ecc.), anche se per ora non sembra essere proprio allo stesso livello dei concorrenti (fosse solo per la diffusione, documentazione, esempi disponibili, estensioni ecc.)

Correntemente valutato 4.3 da 3 utenti

  • Currently 4,333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Segnala:  
Tags:   ,
Categorie:   Sviluppo software
Azioni:   E-mail | Permalink | Commenti (25) | RSS CommentiRSS comment feed

Post correlati

Commenti

febbraio 1. 2008 19.23

Pierluca

...ovviamente aggiunto ai feeds ;)

Pierluca

febbraio 11. 2008 14.32

Alberto Falossi

Ok, mi hai convinto. Per la prossima versione di QualeTeatro userò jQuery sul frontend Smile

Alberto Falossi

marzo 27. 2009 11.53

Luigi Zambetti

Pensi che queste librerie Jquery prenderanno piede?
Mi sembra infatti che stiano riscuotendo un certo successo.

Luigi Zambetti

dicembre 6. 2009 06.35

payday loans

Hello, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, Your blog looks good. Have a nice day.

payday loans

gennaio 3. 2010 15.27

payday loans

Couldnt be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

payday loans

febbraio 13. 2010 11.08

teeth whitening products

I am not really sure if best practices have emerged around things like that, but I am sure that your great job is clearly identified. I was wondering if you offer any subscription to your RSS feeds as I would be very interested and can?t find any link to subscribe here.

teeth whitening products

febbraio 16. 2010 14.58

Herbal colon cleanse

Wow! Thank you! I always wanted to write in my site something like that.

Herbal colon cleanse

febbraio 22. 2010 11.59

Acne treatment

This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article!

Acne treatment

febbraio 27. 2010 19.43

personal loans

I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well.

personal loans

marzo 6. 2010 16.23

no credit check loans

As a Noob, I am always seeking online for articles that can help me. Big thanks for the useful info i found on Guida all'utilizzo di jQuery.

no credit check loans

marzo 9. 2010 10.51

replica watches

thanks for the share

replica watches

marzo 10. 2010 11.23

payday cash loans

Hi. I read a few of your other posts and i wanted to say thank you for the informative posts. Big thanks for the useful info i found on Guida all'utilizzo di jQuery.

payday cash loans

marzo 15. 2010 13.14

Stretch marks

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

Stretch marks

marzo 22. 2010 15.02

ssk sorgulama

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

ssk sorgulama

marzo 22. 2010 15.02

ssk sorgulama

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

ssk sorgulama

marzo 22. 2010 22.20

new cellulite treatment

There is obviously a lot to know about this. I think you made some good points in Features also. Big thanks for the useful info i found on Guida all'utilizzo di jQuery.

new cellulite treatment

marzo 23. 2010 16.19

ehliyet

Aw, this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get something done.

ehliyet

marzo 24. 2010 15.06

rolex replica

thank you

rolex replica

marzo 24. 2010 16.42

guaranteed car loan

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

guaranteed car loan

marzo 25. 2010 14.52

bağkur

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

bağkur

marzo 29. 2010 21.33

arac sorgulama

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

arac sorgulama

marzo 29. 2010 22.41

fingernail fungus treatment

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work. Big thanks for the useful info i found on Guida all'utilizzo di jQuery.

fingernail fungus treatment

aprile 3. 2010 11.40

how to get rid of genital warts

Please, can you PM me and tell me few more thinks about this, I am really fan of your blog... Big thanks for the useful info i found on Guida all'utilizzo di jQuery.

how to get rid of genital warts

aprile 7. 2010 19.49

credit card debt help

I keep listening to the news talk about getting free online grant applications so I have been searching around for the best site to get one.

credit card debt help

aprile 8. 2010 16.08

gerdek gecesi

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

gerdek gecesi

Commenti chiusi