jQuery: presentation
September 13, 2007 7 comments
In this article presenting the framework jQuery, showing benefits of use and some of its features.
Contents
Introduction
I love to collect libraries and scripts ready for every programming language to appreciate. I have in my personal files, many files of others, provided examples and objects, through models and everything else that I can serve in any way and / or simply to satisfy my curiosity about certain way or technique to program.
There are about 3 months I had the opportunity to meet an excellent framework javascript: jQuery (in the beginning I called the "jota cuéri", but the Gevã, both speak the way "right" in my head, just convincing me of "djei cuéri ").
What is a framework?
This is the easiest way, simple, elegant and sophisticated to codify javascript; is, nothing more, nothing less, which my opinion, one of the best frameworks already developed! To be clearer, framework, the second definition found in Wikipedia, is:
In the development of software, a framework or framework is a framework defined in support of another project that the software can be organized and developed. A framework may include support programs, libraries of code, script languages and other software to help develop and add different components of a software project.
Frameworks are designed with the intent to facilitate the development of software, enabling designers and developers to spend more time determining the requirements of the software than with tedious low-level details of the system. (Sic)
Who is jQuery?
Second is the official web site, "jQuery is designed to change the way that you write JavaScript", or jQuery is designed to change the way you write javascript (free translation). By experience, I can say that the goal of the team of development was achieved with success!
jQuery is available in two versions:
- Normal: presents all its codes identados and easy to understand (that is on…). Ideal for those who want to study and understand "how things work";
- Compressed: as its name suggests, their codes are without any formatting. Ideal for those who want to use the framework quickly, saving the ceiling of monthly transfer.
With the release of version 1.2 of jQuery, its own developers cite a technique that is called "Minified and Gzipped" which serves to provide a very compact version of the framework. Just pass the code by the packer, Dean Edwards.
When using jQuery, really the way to write javascript changes! It is the view of the huge lines that serve only to identify an element, the end of ties to repeat that only identify those elements of a given category are present in the document, the order of many "CTRL Cs, Vs Control"; finally, is the end labour and heavy loss of time in coding javascript.
With very few lines of code, you can move at will with the FOD (identification, editing, insertion, deletion…), manipulate events javascript, change CSS rules, apply visual effects (fade in / fade out, drag and drop, slides, movements , Etc.) and much more interesting and useful. And when I say "very few lines of code ', I mean, for example, the 3 or 4 lines - the identa ç ã - requests for AJAX (using functions of treatment)! And it is cross browser.
Want more? JQuery is designed to accept third-party extensions, that is, anyone with more advanced programming skills can create extra features for the framework, extending its potential native and / or using their power of operation.
Not everything is flowers…
But the jQuery also has its bad side… In another day, in college, when a colleague asked to make a routine in javascript, I was more than 5 minutes trying to remind me of the "traditional method of encoding" and I could not, I thought: "Oh Had it here jQuery "…
Summary
jQuery is a framework "designed to change the way you write javascript." Some of its features are:
- Cross browser
- complete control over the DOM
- manipulation of events javascript
- manipulation of rules CSS
- application of visual effects
- use of AJAX
We must be careful to always take the jQuery for posts in that potentially will use a computer to encode javascript…
international benchmarks
jquery.com
This is the site of the official framework - it called "library". There is also the official blog.
15daysofjquery.com
This is the site of Jack Born, which contains tutorials, examples and references on the jQuery.
visualjquery.com
Yehuda Katz has done a great reference guide for dynamic on the features of jQuery (using their own framework for this, of course). On this page you can view the characteristics of each function in detail. Excellent a reference guide (which can be downloaded on the site itself).
learningjquery.com
This is the blog of Brandon, Dan, JonBob, Karl and Mike, that post tips, tutorials and macetes on jQuery so systematically organized.
national references
jquerybrasil.com
Brazilian Blog "official" on the jQuery. There are placed posts strictly on jQuery, with indications of plugins, examples, tips and comments. Oh, and has forum!
supplements
DHTML Crossbrowser Easy
This is a tutorialzinho already known in the "middle". He teaches some basic principles to understand DHTML (for this, various web technologies and techniques are addressed).














Epa Tárcio!
Sent… well in the Post, in addition to the general explanation, "takes the fear," placed great links of reference.
… JQuery vai know is who promises to be good, after all the effects (fade, slide, etc.). Confudir reach 'lay' and 'developers' who do not know the framework for thinking be flash.
Qdo. I have a while, I read with calm. But lack of face I felt that address with download codes of example! I do not remember the name, but had eye in the middle.
Vc he showed me sometimes. The example that I drew the most attention was that menu turning in circles that appeared flash… Posta address him there also…
MY
"Palma, Palm, not priemos cânico"!
That was only a "presentation"…
Pingback on October 3, 2007
Pingback on November 12, 2007
Pingback on January 22, 2008
Pingback on February 27, 2008