Hide
Bored? Check out the Recent Activity on Siafoo Join Siafoo Now or Learn More

SharePoint Data Zoom Web Part brings NVelocity, MVC to SharePoint Atom Feed 1

All aboard for the Data Zoom Express! With just about all the effort of falling off a rail car, this new web part will allow you to pull data from nearly any data source and integrate it directly inline with your SharePoint content. This is made possible with the help of a powerful template engine called NVelocity.
http://www.siafoo.net/image/145

Further reading:

In the coming days, SharePoint Solutions will be releasing our new SharePoint Data Zoom Web Part. With just about all the effort of falling off a truck, this new web part will allow you to pull data from nearly any data source and integrate it directly inline with your SharePoint content. This is made possible with the help of a powerful template engine called NVelocity, but more on that later. (Note: NVelocity is a port of the Apache Velocity template engine to .NET. To find out more about template engines and template languages, start with this article on Wikipedia.)

To determine if the Data Zoom Web Part is right for you, take a look at the following snippet and ask yourself, "would I like to create data-driven web parts literally this easily"?

# 's
 1<p>Hello $customer.Name!</p>
2<table>
3 #foreach( $widget in $widgetsOnSpecial )
4 #if ( $customer.hasPurchased($widget) )
5 <tr>
6 <td>$lob.getPromo( $widget )</td>
7 </tr>
8 #end
9 #end
10</table>
This snippet is licensed under the Public Domain license
If you answered "yes", (or "yeah, dude" for you left-coasters) then you're probably ready to take a ride on the Data Zoom express.
http://www.siafoo.net/image/146?w=200

Note

Did I mention that we're giving away the SharePoint Data Zoom Web Part for free?

The SharePoint Data Zoom Web Part is the brainchild SharePoint Solutions' software production manager Jeremy Luerkens. After using the NVelocity template engine in another platform, Jeremy felt that the SharePoint world just had to get some of that too. NVelocity is a template engine that allows you to manage your web content according to the Model-View-Controller (MVC) model. With MVC, web page designers can focus solely on creating a well-designed site, and programmers can focus solely on writing quality, robust code to support it.

Out-of-the-box, the SharePoint Data Zoom Web Part will include access to site and cross-site list data within your SharePoint environment. Imagine iterating over list items as easily as in the code listing above. We've included a multitude of helper utilities for accessing, manipulating and formatting data. Everything is accessible from a convenient command menu right within the Data Zoom's source editor. We're also including the SharePoint Data Zoom Extension for Syndication free with the Data Zoom. With this extension, you'll have complete control over fetching and integrating RSS and ATOM feeds into your SharePoint pages. Consider this simple snippet to render a feed:

# 's
 1#set( $feed = $Feeds.GetFeed( "http://news.google.com/news?pz=1&ned=us&hl=en&topic=s&output=rss" ) )
2
3#foreach($item in $feed.items)
4 #beforeall
5 <br/><h2><img src="$feed.ImageUrl.ToString()"/>&nbsp;<a href="$feed.Links.get_Item(0).Uri.ToString()">$feed.Title.Text</a></h2>
6 #before
7 <div style="width:100%">
8 #each
9 <h3 style="background-color:#B0C4DE;padding:4px;"><a href="$item.Links.get_Item(0).Uri.ToString()">$item.Title.Text</a><span class="ms-vb" style="width:100%;font-size:smaller;color:white;text-align:right;vertical-align:middle;font-style:italic">posted $item.PublishDate.ToString()</span></h3>
10 <blockquote>$item.Summary.Text</blockquote>
11 #after
12 </div>
13 #nodata
14 <div>No feed data available.</div>
15#end
This snippet is licensed under the Public Domain license

I just can't imagine how accessing and integrating data from disparate sources inside and outside SharePoint could be any easier than this, while still maintaining complete control over how and where the data is rendered.

Using the Data Zoom Web Part, your SharePoint pages can perform powerful, flexible queries on a variety of data sources using simple, familiar syntax that's easy to write and understand. You'll be a able to create robust, value-added SharePoint applications in a fraction of the time, without the need for .NET or XSLT programming.

Several examples of applications based on the Data Zoom Web Part are up and running in production environments today. These applications include a Sales Funnel using Data Zoom Extension for salesforce.com, a User Directory using Data Zoom Extension for Active Directory, and several more. These applications would have normally taken a few weeks or more to create by a .NET development team, but with the SharePoint Data Zoom Web Part the development effort involved only a single sharepoint web designer and took only a few days.

For data sources other than SharePoint lists and syndication feeds, we've created several Data Zoom Extensions. In the next few weeks, we'll be releasing extensions for access to a variety of data sources including salesforce.com, Microsoft SQL server and Active Directory. Along with our partners, we'll be creating even more extensions which will allow you to integrate data from just about any source you can find. Stay tuned for much more on this innovative new web part from SharePoint Solutions.

Get more information: