the main rendering technique for all SharePoint lists (well, except for Survey
and Calendar lists), JSGrid is used for list edit mode, and many many other
more often than we used to.
noticed drawbacks of JS long ago. To smooth them out, projects like Script# and GWT were
created. The idea is basically to compile a normal language like C# into
it works well enough! Script# has been used by Microsoft itself for some big
projects, like Office Web Apps, Bing Maps, and by pure happenstance, for
true, majority of js files you will find in 15 hive was generated by Script#.
Script# works very well... unless you must use some existing JS libraries. In this
case, you need definitions that would contain information about types of
variables, parameters, methods, etc. Unfortunately, no Script# definitions for
SharePoint is available. And creating them by hand is a very tedious work,
trust me. But wait, if SharePoint JSOM is written in Script#,
so long ago, another project has been started by Microsoft, TypeScript.
Unlike Script# and GWT, which use existing languages (C# and Java) as the
source, TypeScript is a new language. But the thing is, TypeScript is a
errors (at least this is the theory, in practice I know some exceptions from
of TypeScript is broad, community is passionate, and TypeScript definitions for
many and many JS libraries have already been created. The biggest collection of
them (DefinitelyTyped project)
includes definitions for 130 different libraries!!
have TypeScript intellisense right in browser.
sum, TypeScript is definitely promising. And even better, now you can use it
high-quality strongly-typed and even half-documented definitions which cover
definitions in next releases).
we have the following things covered:
- Client Side
Object Model (CSOM) core classes
Client Side Rendering (CSR)
- some useful stuff here nobody knows about e.g. ClientPeoplePickerWebServiceInterface!
Connectivity Services SharePoint
this means that now you and we - all of us can use TypeScript when working with
also includes many examples written in TypeScript and a couple of extensions.
Please, visit the project site on CodePlex to find out more: