Archives

Archives / 2007 / March
  • Dundas Chart for SharePoint

    Dundas, long time ASP.NET Data Visualization Control provider, created a SharePoint version of their Chart controls that look impressive. Check out some live SharePoint demo pages. There are versions available for both Wss3 and MOSS2007. The resulting pages are really small, because the charts are either Flash movies or pictures that are loaded asynchronously. In the demo below (online at Dundas) you can interact with the charts because they are rendered as a Flash movie.

    An evaluation version is available for download, I didn't test it out yet, but they promise that it is a full version that will not time out. A watermark will be displayed on rendered images for the evaluation version. Pricing looks also good at less that 2000 US$ for a single server license (no client access licenses).

  • Consistent naming of PowerShell Cmdlets

    PowerShell has some simple guidelines in naming cmdlets so consistence is achieved in cmdlet names.

    Some quotes from this page describing Cmdlet Verb Names:

    Windows PowerShell uses a verb-noun pair format for the names of cmdlets and their derived .NET classes. For example, the Get-Command cmdlet provided by Windows PowerShell is used to retrieve all commands registered in the Windows PowerShell shell. The verb part of the name identifies the action that the cmdlet performs. The noun part of the name identifies the entity on which the action is performed.

    And

    The following list provides guidelines to consider when creating a verb-noun pair:

    • When specifying the verb part of a name, it is strongly recommended to use one of the predefined verb names provided by Windows PowerShell. In doing so, you will ensure consistency between the cmdlets that you create, those provided by Windows PowerShell, and others.

    • To enforce consistency across cmdlets, do not use a synonym of an approved verb name.

    • Use only the present tense of a verb for a name. For example, use "get" instead of "getting".

    • Use a simple, singular noun in cmdlet naming. For example, use "Get-Record" instead of "Get-Records".

    I wish I knew about this convention before writing loads of PowerShell code...

  • youOS, a web operating system. The ultimate AJAX application

    I can't remember how I stumbled across YouOS, but I must say I'm impressed. YouOS is a web operating system running in your browser. It provides a shared virtual server where multiple people can run their applications and interact with eachother. It is a platform to build and host applications that are written in Javascript. The application delivery mechanisms alows you to publish your application to other users running youOS. For storage purposes youOS uses the Amazon S3 storage system. It is still an Alpha release, but it looks very promising.

    The main window of youOS.

    YouOS contains already an extensive application catalog where you can sele4ct the application you would like to run:

    The application catalog.

     

    Although it is possible to run a demo session, you should absolutely create a login account because then you can see some more of the power of youOS. It contains a complete development IDE hosted in your browser.

    You can create our own applications within the youOS Developer Portal.

    Create a new application for youOS. 

    Applications can be authored in the Javascript language in the youOS development IDE which supports versioned code editing. From the ide you can publish your application to the application catalog when you are finished, so all people using youOS can use it.

     

    The application development IDE. Click to enlarge. 

    The IDE provides a high level abstraction layer to author your code. The different hooks where code or information can be added is presentened at the left side of the screen. The actual code that will run in the youOS environment is created after "compilation":

    Actual code generated after compilation.

    As you can see in the code Dojo, an impressive open source javascript toolkit, is used extensively within youOS. YouOS provides a rich API for all kind of functionality. See the online documentation for more information.

    The actual usage of the applications within youOS can be seen on the Developer Scoreboard:

    The developer score card

    The Developer Scorecard.

    It is possible to clone or extend any of the available applications, so the source of all applications is open to everyone. This provides you with real good insight into how to build even complex applications like an editor for youOS.

    If you create a shortcut on your desktop with: "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k https://www.youos.com you will get an experience that matches a full screen OS (from the youOS blog). Use ALT-F4 to kill the explorer in kiosk mode.

    The weblog of youOS seems a bit dead right now, the last post was of oktober 16 2006.

    Check it out and get inspired!

  • SharePoint Inspector - a cool WSS3/MOSS2007 exploration tool

    I just stumbled accross SharePoint Inspector by Gaetan Bouveret. A great tool that allows you to explore your SharePoint Farm.

    It is a very developer oriented tool that gives you insight in everything that is going on inside SharePoint. Check it out! Even source code available.

    To get the code compiled:

    • Download code
    • Unzip
    • Replace key GatWeb.snk.pfx (password protected) by your own key, name it GatWeb.snk
    • In the current download a file FDisplayView.resx is missing, remove it from the solution (click open FDisplayView.cs)
    • Compile and go!

    Features (quoted from the codeplex site):

    Version 1.0.0.0
    Displays SharePoint objects with reflection on their properties :

    • Farm
    • Servers
    • Services
    • Feature Definitions
    • Solutions
    • Databases
    • Web Applications
    • Site collections
    • Websites
    • Content Types
    • Site Columns
    • Features
    • Lists
    • Associated Workflows
    • Event Receivers
    • Recycle Bin
    • ...
    Actions :
    • Activate / Deactivate feature
    • Add / remove event receiver on list and content type
    • Manage Recycle bin