no feature solutions with sharepoint

23
“NO FEATURE” SOLUTIONS IN SHAREPOINT VIA JQUERY

Upload: mikehuguet

Post on 18-Dec-2014

930 views

Category:

Technology


0 download

DESCRIPTION

These are my slides from my presentation for the Baton Rouge and New Orleans SharePoint user group meetings.

TRANSCRIPT

Page 1: No Feature Solutions with SharePoint

“NO FEATURE” SOLUTIONS IN

SHAREPOINT VIA JQUERY

Page 2: No Feature Solutions with SharePoint

Intro – Mike Huguet

App Dev Evangelist for

BRDNUG leader, http://brdnug.org

.NET & SharePoint Architect, Presenter

MS P & P SP 2010 Advisory Member

http://twitter.com/mhuguet

http://geekswithblogs.com/mikehuguet

Page 3: No Feature Solutions with SharePoint

Agenda

What is jQuery anyway?

See some cool stuff

What skills does it take?

Best practices

Page 4: No Feature Solutions with SharePoint

IT IS CODE!

What is jQuery?

Page 5: No Feature Solutions with SharePoint

`

Open source JavaScript library, jquery.com

Development accelerator, simplifies JavaScript

Tons of documentation & samples

Extensible JavaScript framework (plug-in model)

Thousands of plug-ins in plug-in database

Page 6: No Feature Solutions with SharePoint

DOM element selections, traversal, &

manipulation(cross browser)

CSS manipulation

AJAX

General utilities (i.e.-”each”)

Fluent syntax

User Interface

Page 7: No Feature Solutions with SharePoint

C’mon, SharePoint Remember?

Client side script + markup, just an include in HTML

Works well in CEWP

Allows for endless “no feature” extension

possibilities

Not SP Edition or Version specific

SPServices library wraps SP Services (Mark

Anderson)

SP 2010 client-side object model (CSOM)

Page 8: No Feature Solutions with SharePoint

Winning Combination

CEWP or Page

Lists & Libraries

Page 9: No Feature Solutions with SharePoint

• Customize forms

• Creative navigation

• Fancy dashboards

• Adding sizzle to pages

Showcase Time!

Page 11: No Feature Solutions with SharePoint

Creative Navigation

http://www.sympraxisconsulting.com/demos/Demo%20Pages/QuickLaunchAccordion.aspx

Page 13: No Feature Solutions with SharePoint

Adding Sizzle to Pages

http://www.sympraxisconsulting.com/Demos/Demo

%20Pages/jQueryAnimatedBanner.aspx

Page 14: No Feature Solutions with SharePoint

Do I have what it takes?

Page 15: No Feature Solutions with SharePoint

Do I have the skills?

HTML

CSS

JavaScript

SharePoint Designer

Search engine skills

Page 16: No Feature Solutions with SharePoint

Best Practices

Page 17: No Feature Solutions with SharePoint

Where do I put those files?

Same Site or Site

Collection

Centralized Resource

Site

Externally hosted

Feature

Simple Re-usable

Page 18: No Feature Solutions with SharePoint

What about the other files?

HTML fragments in doc libs w/ versioning

CSS in doc libs w/versioning

Images in picture or doc libs

Page 19: No Feature Solutions with SharePoint

Where do I put the script tag?

CEWP PageMaster Page

Simple Re-usable

Page 20: No Feature Solutions with SharePoint

Other Best Practices

Test before updating jQuery source files

Document & comment your solution

Limit usage of generated SP element names

Be warned that your solution may not be forward

compatible

Version your files

Page 21: No Feature Solutions with SharePoint

Key Takeaways

jQuery has many abilities to extend all versions &

editions of SharePoint

jQuery is still coding

Check out SPServices

Page 22: No Feature Solutions with SharePoint

[email protected]

Questions