18
fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Embed Size (px)

Citation preview

Page 1: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

fun with forms… Jacob Greeff3 October 2015Johannesburg, SA

Page 2: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Sponsors

@sps_events #SPSPlus, #SPSJHB, #SPSCPT, #SPSDBN

Platinum

Gold Silver

Page 3: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

After 10 odd years in embedded OS design,

product design and system test I thought it was time to join the

server side of life.

I am also a student again having recently

started my Phd (early days though).

Ps. I am growing my hair, its not a

purposeful mullet. http

@ 3fifteen blogs

Meh, I use Yammer…

Japie Greeff

www.Britehouse.co.za

About Me

Page 4: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

1) look at some options that exist for creating custom forms.

2) Go into the Foetal position. Cry.

3) Use JQuery, CWP and CSS instead.

Session Info

Page 5: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Session Index• Forms? What are these things you speak

of?• Ye Olde Sharepoint form• Infopath forms• Aspx and SP Designer• Html 5 and Ajax• Angular • Jquery Replacement forms

Page 6: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

User + Form: a Love story

Does your user care how you do it? Or does he care about results?

Page 7: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Dev + Form: Sophie’s Choice

So many options…

Page 8: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Infopath

So Fast!Drag!Drop!Its like magic!!!!

However…

Page 9: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Infopath

Ouch.

Page 10: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

ASPX – so little time…

Options! The sky is the limit!!!! But…

Page 11: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

ASPX – so little time…

• You can do basically anything• No limit to data sources or anything really• Where you need to be if you want to integrate

But…

• Totally needs a Dev• With great power comes great responsibility• Learning curve• Postback anyone?Etc. etc. etc.

Page 12: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

HTML5 – Ajax

Asynchronicity! No postbacks for you!

Page 13: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

HTML5 – Ajax

• HTML5 validation – so easy• Rest service gives you access to anything you could

need• Very dynamic, options can change as the user

interacts• Angular and knockout allow for more generic

controllers

But…

• Cross site scripting can be a pain• Angular is awesome, but has quite a learning curve• Types – changes in the SP types need to be handled

wherever you use then – Error messages from the Rest service SUCK!

Page 14: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

HTML5 – Cross site side note

If you add a gateway, this largely solves the cross site issue…

Page 15: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Aaaaaaand finally – Replacement!

This is where a demo happens….

Page 16: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Questions

Remember, there are no stupid questions only stupid people…

Page 17: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

SharePint – Have a Drink on Us

@sps_events #SPSPlus, #SPSJHB, #SPSCPT, #SPSDBN

Platinum

Gold Silver

Page 18: Fun with forms… Jacob Greeff 3 October 2015 Johannesburg, SA

Questions

Thank You