j querypresentation

19
By : P . Mahesh Reddy Software Engineer 20‟th Feb 2013

Upload: mahesh-reddy

Post on 11-Jul-2015

82 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: J querypresentation

By : P . Mahesh Reddy

Software Engineer

20‟th Feb 2013

Page 2: J querypresentation

http://buildinternet.com/live/curtains/

http://www.willjessup.com/sandbox/jquery/rotator/rotator.html

http://www.spritely.net/

http://lab.smashup.it/flip/

Impressed !!! Let’s see that jQuery

Page 3: J querypresentation

Where‟d jQuery came from?

Why is it so popular?

How has it changed development?

How will it drive innovation?

Then Code!

Page 4: J querypresentation

Complex

Highly technical

Highly dynamic

Exponential growth

Page 5: J querypresentation

5 Doctypes

3 css versions

Flash , Silverlight ,ActiveX , Java Applets

ASP(Classic) , ASP.net ,Java ,PHP ,Ruby ,Python

ColdFusion, Oracle , MySQL, Postgress ,CouchDB

MongoDB , Access

HTTP , FTP ,SMTP ,SSL ,gopher ://

Ajax , Comet, SOAP , and the REST

Page 6: J querypresentation

Innovation

Open Source

High distribution

Large community

Numerous problems to solve

Page 7: J querypresentation

Client side wasn't exciting

“Unique “ browsers

The time came for Hero entry..!

Page 8: J querypresentation

They are craftsman

Skilled at integration

“ Not only a Developer but also jQuery ”

Page 9: J querypresentation

Leveraged existing skills

Improved developer efficiency

Lowered barrier to entry

Fostered a community

Protected it‟s core focus

Page 10: J querypresentation

DOM centric JavaScript library & API

Plugin Architecture

$ =jQuery

Selectors:

1.$(css selectors) ,Ex:$(‘#myTable>#mytr’)#=id,.=class

2.$(DOM Element),Ex:$(„table‟)

Page 11: J querypresentation

Know more at:

http://www.w3schools.com/jsref/defaul

t.asp

Page 12: J querypresentation

1. HTML document traversal and

manipulation

2. Event handling

3. Effects

4. Ajax

Chaining

$(selector).action1().action2().action3();

Page 13: J querypresentation

Traversal: Manipulation:

.parents(expression) .appendTo(exp)

.find(expression) .prepend(content)

.prev() .prependTo(exp)

.next() .after(content)

.siblings() .before(content)

.remove()

Etc…. Etc….

Page 14: J querypresentation
Page 15: J querypresentation

.click()

.hover()

.dbclick()

.mouseenter()

.mouseleave()

Etc…

Page 16: J querypresentation

.show()

.hide()

.fadeIn()

.fadeOut()

.animate()

Etc..

Page 17: J querypresentation

$.ajax({url:aaa.html,data:values,etc..},success:function{},complete{},error:function(){});

Page 18: J querypresentation

Jqueryui.com

http://razorjack.net/quicksand/

http://www.jquery4u.com/function-demos/animate/

http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/demo.html

Page 19: J querypresentation