2008-05-28

Office kommer att stödja Open Document Format

Office 2007 SP2 kommer att ha inbyggt stöd för Open Document Format (ODF). SP2 ligger dock många månader bort (första halvåret 2009 är det sagt).

odt_120

ODF, PDF and XPS as built-in file formats. We're making these new formats work just like the other formats Office supports, in a seamless and integrated fashion. When you click the Save As Type dropdown, for instance, you'll see a list which includes ODT, PDF and XPS in the same list where you'll find DOCX, DOC, and many other formats.

And of course users can set ODF to be the default format if they wish, the same way they would for other Word, Excel or PowerPoint formats. 

Läs mer: Office support for document format standards.

Technorati Tags: ,,

2008-05-09

Vad du kan vänta dig som SharePoint-utvecklare...

Funderar du på att börja med SharePoint? Här är en kul (och sann) artikel av Eric Shupps [MVP] om vad det innebär att bli SharePoint-utvecklare:

SharePoint development is not about wizards and IDE's – it's about raw code, XML (CAML), and a generous helping of elbow grease ...

... for VB/C# and ASP.NET developers, transitioning to SharePoint is like catching a bucket of ice water with your face on a chilly winter morning.

Let's face it – Microsoft has done a really good job over the last decade making repetitive programming tasks virtually extinct. Control libraries, project templates, database connections, event wireups – all the things which get done for you in Visual Studio with a few clicks in a wizard are suddenly missing in SharePoint and that causes a lot of heartburn for newbies.

Whether that's good or bad is relative; I would argue that knowing how to do things by hand makes you a better programmer in the long run but many people don't see it that way. Regardless, that's how it is (at least for the time being), so get used to it.

Hela artikeln, inklusive lite länkar att starta med: SharePoint Development for the Masses.

Technorati Tags: ,

Live Mesh

Det surras om Live Mesh ... a “software-plus-services” platform that enables individuals and organizations to manage, access, and share files, data and applications from anywhere.

There’s been a bunch of buzz about “the mesh” since Ray Ozzie alluded to it at last month’s MIX Conference. As Ray said there, we’ve been exploring the concept of “the mesh” for a couple of years now.

We started by asking ourselves a series of questions about our own digital lifestyle experiences, and examining the role of the web in our lives. We examined many of the ways the web is becoming more central to us – both workstyle and lifestyle. We’re friending, twittering, digging, tagging and linking to stay in touch, share photos, be entertained, meet new people, express our opinions, learn, and the list goes on.

Devices are how we interact in this new “web connected” world and we use a variety of them, including PCs, laptops, media devices, phones, digital picture frames, game consoles, music players and the list grows at every CES. However, as we discover, adopt and use more of these digital devices, it becomes increasingly difficult to keep the people, information and applications we depend on in sync... (Hela artikeln: Windows Live Dev blog)

Mer info: Exploring the Live Mesh Platform.

Testa Live Mesh tech preview: http://www.mesh.com/ 

Webb-säkra svenska filnamn

Ibland behöver man skapa webb-säkra namn från vanlig text, för använding i URLer, på samma sätt som bloggmotorer gör. Här är en försvenskad metod som är snäll mot svenska/konstiga tecken:

static string UrlNameFromTitle(string title, int maxlength)

{

    Regex nonstd = new Regex(@"[^a-zA-Z0-9\s]");

    Regex whites = new Regex(@"\s+");

    Regex dashes = new Regex(@"^[-]|[-]+$");

    string s = RemoveDiacritics(title);

    s = nonstd.Replace(s, "");

    s = whites.Replace(s, "-");

    if (s.Length > maxlength)

    {

        s = s.Substring(0, maxlength);

    }

    s = dashes.Replace(s, "");

    return s.ToLower();

}

Jag använder ett unicode-trick för att plocka bort prickar och ringar från svenska tecken, eller rättare sagt transformera alla accentuerade tecken till sin basform. Koden kommer från Michael Kaplan:

static string RemoveDiacritics(string s)

{

    string d = s.Normalize(NormalizationForm.FormD);

    StringBuilder sb = new StringBuilder();

    for (int i = 0; i < d.Length; i++)

    {

        UnicodeCategory uc =
           CharUnicodeInfo.GetUnicodeCategory(d[i]);

        if (uc != UnicodeCategory.NonSpacingMark)

        {

            sb.Append(d[i]);

        }

    }

    return sb.ToString().Normalize(NormalizationForm.FormC);

}

Technorati Tags: ,,

2008-05-08

SharePoint 2007 Test Data Population Tool

På CodePlex finns SPDataPop: ett verktyg, script och exempel för att lasttesta WSS och MOSS.

Use this tool to populate test data for SharePoint capacity planning. Also included are some sample test scripts that can be used for performance and load testing SharePoint and Excel Services with the test data.

...

MOSS and WSS performance testing samples have now been added as a download. These samples include about a dozen performance testing scripts each and are based on the "Microsoft Visual Studio 2005 Team Edition for Software Testers" performance testing tool.

Mer info här: SharePoint 2007 Test Data Population Tool - Home

Och är du intresserad av lasttester så kan det vara intressant att läsa: