Just getting back to reality after what has been a great Lotusphere 2011. I presented a 2 hour session SHOW107 on writing your own XPages Data Sources with Stephan Wissel. Sure you can have a managed bean create the data and pass it as a value into a data aware (UIData) component, but the nice thing I like about the data source is that they are declarative, can be switched easily within your code, nicely integrate with the existing set of simple actions (eventhough they are document oriented, it is not a strech to see them as record oriendted), can trigger events which you can code in SSJS, and you get all the nice rich property editors available from Domino Designer.
There is an XPages Data Source Community on BleedYellow and I have uploaded some of the samples where so you can get started pretty quickly. In fact, the observant will have noticed the image (thanks Mike!) above that decorates my blog shows the example data source. The samples that I am uploading, and that’s all there are, are little rough right now, and are purely focused on working with the XPages Framework – it’s basic CRUD and a lot of features and functionality have still to be added to make it production ready.
And, if you were at Lotusphere2011 session, ASK101: Ask The Developers, you would have heard Philippe Riand announce that I will be making the JDBC-based Relational Database XPages DataSource available on OpenNTF.org pretty soon as an open source contribution to the community. A lot of folks seem to be looking this. As this work is incubating, feel free to post any comments, request for features, etc., and I’ll see what I can do, time permitting – we stil have to get 8.5.3 out the door, and that’s the day job.