© 2011 LabKey Software LabKey Server Release 11.2 Atlas Developers Meeting 7/21/2011 Adam Rauch
© 2011 LabKey Software Client-Side JavaScript A few new JavaScript APIs: LABKEY.security.moveContainer() LABKEY.id() to support study demo mode QueryWebPart.js switches reports in place (AJAX) Removed YUI (Yahoo! JavaScript client library) Ext JS We’ve upgraded to Ext 3.4 (IE9)... but don’t use it 11.2 also includes Ext 4.0.2a... use Ext 4 for all new dev We’re transitioning everything to Ext 4; Ext 3 will be deprecated in 11.3 and eventually removed 2
© 2011 LabKey Software ExtJS 4.0 Example LABKEY.requiresExt4Sandbox(); // Ext4 runs in sandbox mode for now Ext4.onReady(function(){ var store = Ext4.create('Ext.data.JsonStore', { fields: ['name', 'data1', 'data2', 'data3', 'data4'], data: [ {'name':'metric one', 'data1':10, 'data2':12, 'data3':14, 'data4':8}, {'name':'metric two', 'data1':7, 'data2':8, 'data3':16, 'data4':10}, {'name':'metric three', 'data1':5, 'data2':2, 'data3':14, 'data4':12}, {'name':'metric four', 'data1':2, 'data2':14, 'data3':6, 'data4':1}, {'name':'metric five', 'data1':27, 'data2':38, 'data3':36, 'data4':13} ] }); Ext4.create('Ext.chart.Chart', { renderTo: 'chartDiv', width: 500, height: 300, store: store, [... Other config params... ] }); 3
© 2011 LabKey Software Other Scripting Languages No changes to Java, R, SAS, or Perl libraries New Python client library selectRows executeSql insertRows updateRows deleteRows Assay transform scripts – option to keep artifacts 4
© 2011 LabKey Software SQL Queries Greatly improved query editor Edit SQL, edit meta data, and execute on one page Iterate and preview before saving Keyboard accelerators 5
© 2011 LabKey Software Old SQL Query Editor 6
© 2011 LabKey Software Old SQL Query Editor 7
© 2011 LabKey Software New SQL Query Editor 8
© 2011 LabKey Software New SQL Query Editor 9
© 2011 LabKey Software SQL Queries Greatly improved query editor Edit SQL, edit meta data, and execute on one page Iterate and preview before saving Keyboard accelerators Query validation Option to validate in subfolders Include/exclude “system” (module-defined) queries 10
© 2011 LabKey Software Validate Queries in Subfolders 11
© 2011 LabKey Software SQL Queries Greatly improved query editor Edit SQL, edit meta data, and execute on one page Iterate and preview before saving Keyboard accelerators Query validation Option to validate in subfolders Include/exclude “system” (module-defined) queries External data sources Support for very large external schemas Support for Oracle data sources 12
© 2011 LabKey Software Other Possible Areas of Interest Import visit names Import Excel 2007/2010 file formats 13
© 2011 LabKey Software Questions? 14