working magic with jquery and sharepoint web services

13
Working Magic with jQuery and SharePoint Web Services

Upload: connor

Post on 24-Feb-2016

27 views

Category:

Documents


0 download

DESCRIPTION

Working Magic with jQuery and SharePoint Web Services. What is jQuery?. is. What is jQueryUI ?. is. What is SPServices?. is. CSS Styles. .article { color: red ; }. Select something. Style it!. jQuery. Select something. $( '.article' ). hide() ;. Do something!. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Working Magic with jQuery and SharePoint Web Services

Working Magic with jQuery and SharePoint Web Services

Page 2: Working Magic with jQuery and SharePoint Web Services

What is jQuery?

is

Page 3: Working Magic with jQuery and SharePoint Web Services

What is jQueryUI?

is

Page 4: Working Magic with jQuery and SharePoint Web Services

What is SPServices?

is

Page 5: Working Magic with jQuery and SharePoint Web Services

CSS Styles

.article { color: red;}

Select something

Style it!

Page 6: Working Magic with jQuery and SharePoint Web Services

jQuery

$('.article').hide();

Select something

Do something!

Page 7: Working Magic with jQuery and SharePoint Web Services

Referencing Script Libraries from CDNs

<!-- Reference the jQueryUI theme's stylesheet on the Google CDN. Here we're using the "Start" theme --><link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/start/jquery-ui.css" /><!-- Reference jQuery on the Google CDN --><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><!-- Reference jQueryUI on the Google CDN --><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script><!-- Reference SPServices on cdnjs (Cloudflare) --><script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.1a/jquery.SPServices-0.7.1a.min.js"></script>More: http://sympmarc.com/2012/04/20/referencing-jquery-jqueryui-and-spservices-from-cdns/

Page 8: Working Magic with jQuery and SharePoint Web Services

Adding Some UsefulSharePoint-Specific Tools into the Mix

Data ViewWeb Parts(DVWPs)

Content EditorWeb Parts(CEWPs)

Content QueryWeb Parts(CQWPs)

Page 9: Working Magic with jQuery and SharePoint Web Services

What Can’t You Do?

• Event Receivers• Timer Jobs• Elevate Permissions• Deployments of a large number of

sites or other objects• Deploy files to the server’s file

system

Page 10: Working Magic with jQuery and SharePoint Web Services

Don’t Forget Governance!

• Development with jQuery should also follow good governance– Coding practices– Deployment mechanisms– Testing methods– Documentation– Training–Maintenance planning

Page 11: Working Magic with jQuery and SharePoint Web Services

Scripting WorksGreat in “The Cloud”

Page 12: Working Magic with jQuery and SharePoint Web Services

DEMOS

Page 13: Working Magic with jQuery and SharePoint Web Services

Contact InformationeMail marc.anderson@sympraxisconsulting.

comBlog http://sympmarc.comSPServices http://spservices.codeplex.com

SPXSLT http://spxslt.codeplex.comUSPJA Academy http://uspja.com

eBook http://bit.ly/UnlockingDVWPThe Middle Tier

Manifestohttp://bit.ly/middletier