Florian @ SharePoint UserGroup



Client-Side Technologies in SharePoint 2010 

Tags:

der letzte Vortrag heute auf der SharePoint Connections 2010 und wo werde ich bloß hingehen… natürlich zu einem meiner persönlichen Helden "Jan Tielens" (—> SmartPart) zum Thema "Client-Side Technologies in SharePoint 2010" :).

Nachdem ich gemeinsam mit Peter Pallierer am 19.11 beim MSDN Briefing zu diesem Thema einen Vortrag gehalten habe, werde ich die Informationen von diesem Vortrag mit unseren Folien und Inhalten ein wenig anreichern.

SharePoint 2007 Challenges:

  • Object MOdel only available on the server
  • Web Services are hard to use
    • Parameters and return values use XML documents
    • XML needs to be parsed manually
    • not very intuitive (kann ich bestätigen ;-))
  • FrontPage RPC

Client Object Model

Client Object Model Sample

using(ClientContext context = new ClientContext(http://server))
{
Web site = context.Web;
context.Load(site);
context.ExecuteQuery();
site.Title = site.Title + " and Client OM";
site.Update();
context.ExecuteQuery();
}

Design: Build Sequence of commands (Command 1, Command 2, Command n) –> Execute Commands –> Server-Side: send via XML to client.svc –> Execute Commans (Command 1, Command 2, Command n) –> Send results back –> Client-Side: Process Results

--> mit anderen Worten: solange nicht context.ExecuteQuery() ausgeführt wird, passiert nichts!

Wichtig –> Think about Efficiency! was soviel bedeutet, dass alle Properties geladen werden, falls nicht anders spezifiziert:
z.B.
Web web = ctx.Web;
List list = web.Lists.GetByTitle("Trainers");
ctx.ExecuteQuery();
--> ladet alle Properties des Webs, wenn man nur den titel z.B. braucht, dann sollte man das Spezifizieren
ctx.Load(web, w=>web.Title);

Loading List Items –> List items are always loaded using a CAML Query.

Creating and Updating List Items –> list.AddItem(new ListItemCreationInformation());  // item.Update() ausführen und natürlich ctx.ExecuteQuery();

Authentication:

  • Set the AuthenticiationMode property
  • ClientAuthenticationMode neum:
    • Anonymous
    • Default
    • FormsAuthentication
  • Using Forms Authentication:
    • set the FormsAuthenticationLoginInfo property

Was ist alles möglich:

  • Creating lists and Document Libraries
  • Creating Fields
  • Non List-related functionality

ECMAScript Object Model

  • \Layouts –> Ordner SP.js (added automatically SP.Core.js, SP.Runtime.js)
  • The .js files must be loaded in the context of a sharepoint page
  • Tip: use the jQuery are ASP.NET AJAX libraries
  • define <SharePoint:ScriptLink Name="sp.js … und jquery und dann kann man mittels SP.ClientContext.get_current(); mit dem ClientOM über JS arbeiten (—> clientCtx.executeQueryAsync()!!)

Für mich der beste Vortrag an diesem Tag.

 
Posted by f.grasel on 18-Jan-10
3 Comments  |  Trackback Url  |  Link to this post | Bookmark this post with:        
 

Comments


dresses commented on Tuesday, 16-Aug-2011
You could totally know Omega achievements from the meaning of its name. "O", as in Olympics devoting to sports timekeeping, "M", as in Mega-precision, precision instruments, "E", as in Elegance of style, "G", as in Geographic, the company technique pursued , "A", as in Astronaut, the pioneer outer space with NASA astronauts and Russian cosmonauts. Do not sweat it, and you may get a replica Omega omega replica that can be virtually indistinguishable from the real factor. Fake replica tag heuer watches aren't widely embraced by many men and fake rolex and this is mainly because they're recognized to be low cost. The only distinction is that they're not distributed by Omega along with the result can be a lot additional cost-effective cost tag.


dresses commented on Tuesday, 16-Aug-2011
Every season the House's DA, Christine Innamorato Bridal wedding dress sleeves , invents an enchanting and creative collection for Bonpoint from newborn to teenagers and YAM - for those young women who are still Bonpoint Girls at heart.Try looking in unconventional places to buy a plus size wedding dresses. Go shopping for them during prom season and after New Years Eve at department stores or onlineplus size alfred angelo bridesmaid dress . A bridesmaid's plus size dresses can be budget-friendly and doesn't have to come from a bridal shop.


weddingdress commented on Monday, 5-Dec-2011
This is an stimulating time of year for 2010 brides – all of the top designers have just showing their latest collections of wedding gowns in New York, and it won’t be long before the styles hit the stores. This year the gowns were dramatic and eclectic, with a dissimilar flavor than this year’s wedding dresses wedding dresses . Read on for the scoop on the hottest looks for 201
cheap wedding dresseshttp://www.hoboview.com/site/comment/reply/1
0 brides. The wedding gowns wedding gowns being sold this season have a strong leaning towards matte fabrics like chiffon and slender skirts. Not unfeigned for the most recent collection of gowns that was just shown. Brides who want a straighter skirt will surely have a great deal of choices, but most of the most recent gowns feature fuller and more dramatic skirts. One thing is for sure: the ballgown is back. Designers were unquestionably showing dresses with classic ballgown lines, but a good deal of of the fuller skirts had a lot more detail than a traditionalisti ballgown. The drama on the bottom half of the gowns gowns was devised from masses of ruffles, big draped layers, special occasion dresses and even unbelievable pinwheels and three-dimensional flower appliques. Another ordinary look is a gown that is somewhat slender through the hips and then flares into an exaggerated trumpet skirt. The styles are unquestionably eye-catching and exuberant. Speaking of ruffles, they are everyplace for next year’ wedding dresses with long sleeves discount bridesmaid dresses discount bridesmaid dressess gowns. Cascades of ruffles fall down a skirt into an unbelievable full skirt. Strapless gowns feature ruffles on the neckline. Designers were even showing ruffles on little bolero jackets and veils . One thing that these gowns are not is boring or shy.
Fabrics for 2010 bridal gowns bridal gowns are trending back towards the perennial favorites, brown cocktail dress satin and taffeta. This luxe fabrics are just right for the fuller skirts that are back in vogue. You are also seeing satin gowns embellished with accents such as beaded crystal straps, which pair perfectly with crystal bridal jewelry. This is a departure from the current season, which concentered wholly on fabric accents. Brides who love sparkle will be happy to see the return of crystal jewelry detailing on the bridal gowns ! Some of the 2009 gown trends have been carried into next year’s styles. Asymmetry is still all the rage. The one shoulder gown one shoulder gown sticks around for another season, but that is only the beginning. Designers went wild with asymmetrical draping and ruching on bodices and skirts. A love of interesting architecture in the way the fabric is hung and applied is still very popular. It is rare to see a gown that has plain fabric hung without a great deal of sort of folding, pleating, or gathering. One remarkable divergence is that the bridal designers have translated this conception from the soft chiffons of 2009 into the more significant satins of 2010. One other important idea for 2010 bridal gowns is the conception of intentional imperfection. Vera Wang, informal plus size wedding dresses informal plus size wedding dresses in particular, focalized on creating gowns that were eclectic and not too “perfect”. This was achieved by using such fabrics as silk organza or tulle with raw torn edges in a utterly artful way. It is a style that when done with care may be rather striking and unique. Picking out a wedding gown is always a very particular time in a bride’ simple wedding dresses simple wedding dresses simple wedding dresses s life. The styles that are fresh off the runway are chic, interesting, red formal dresses and rather beautiful. No matter what your taste is, simple wedding dresses you are sure to find an unbelievable dress among the most recent creations for 2010. affordable cocktail dresses affordable cocktail dresses fall bridesmaids dresses Related Articles: 1.The Lowdown on Evening Dresses 2.Excellent Dresses For a Special Prom Party 3.Purple Bridesmaid Dresses 4.Go All Out Mit Petite Dresses! 5.Brautjunferkleider Rosa Brautjungfern Schuhe von skyvogue

Name

Url

Email

Comments

CAPTCHA Image Validation