Sharing your content within your organization or with your 3rd party services is a pivotable part of what web 2.0 is all about. Not to mention sharing with the public internet at large. So with the release of DotNetNuke 7.0 and the inclusion of Web API it made me think of what sharing content really means.
My goal was to create a system wherein a website administrator could reuse content in other places in their own DotNetNuke website AND other websites which may or may not even be on the ASP.NET stack (I’m looking at you WordPress).
What is Data Exposé
The purpose of this module is to create a series of feeds that will “expose” data from your DotNetNuke database. These feeds can be pulled from stored procedures or customized SQL expressions and will be serialized utilizing the WEB API framework. The Web API framework allows Data Expose to deliver XML or JSON without calling separate end points or variable properties. Data Expose will also allow you to set specific restrictions on who accesses the individual feeds for added security.
Additionally Data Expose is an open source example of how to implement the services framework in DotNetNuke 7 as the module itself extends the services framework for use in it’s admin interface and feed requests.
Using Data Expose with XML Module
The XML module has been one of my favorite modules for a long time and I’m happy to re-purpose it. It’s a developer oriented module for sure and allows said developer to pull in a XML dataset and then render the output of that data using XSL stylesheets.
This will give you a completely server side experience to displaying your content within a DotNetNuke installation or multiple DotNetNuke installations.
Using Data Expose with jQuery
Maybe you need a lightweight mobile application or just a quick UI element or data listing on a page and you don’t want to create a whole module for that . Using jQuery’s ajax function you could pull a JSON object from Data Expose and iterate through that on the client.
|1 2 3 4 5 6 7 8 9 10 11 12 13||
What are the Requirements?
Data Expose requires DotNetNuke 7.0 or higher and that’s it!
What’s Next For Data Expose?
The #1 feature on the road map is to bind service calls to the DotNetNuke business layer API and grant the ability to use SQL or direct API calls. Please give it a try and let me know what you think or if there are any additional features you would like to see added.[button link=”https://github.com/jsheely/DotNetNuke-Data-Expose/blob/master/packages/InspectorIT.DataExpose_184.108.40.206_Install.zip?raw=true” size=”large” style=”download”]Download Data Expose[/button] [button link=”https://github.com/jsheely/DotNetNuke-Data-Expose” size=”small” color=”silver”]Github Project[/button]