Tomorrow (Friday, Mar 13) - 1:00 PM - Location: Pasadena/Sierra/Ventura
Brings "builder" experience from Flex/Silverlight to JavaScript
Tools and techniques to help you:
A standalone Node/Express app with a specific folder structure:
This probably should NOT be in your suorce control.
Work in your source control tree and use scripts to copy files
module.exports = function(grunt) {
var appDir = 'C:\\code\\arcgis-web-appbuilder-1.0\\server\\apps\\2';
var stemappDir = 'C:\\code\\arcgis-web-appbuilder-1.0\\client\\stemapp';
grunt.initConfig({
watch: {
main: {
files: ['src/**'],
tasks: ['sync'],
options: {
spawn: false
}
}
},
sync: {
main: {
files: [{
cwd: 'src',
src: ['**'],
dest: appDir
}, {
cwd: 'src',
src: ['**'],
dest: stemappDir
}],
verbose: true // Display log messages when copying files
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-sync');
grunt.registerTask('default', ['sync', 'watch']);
};
BaseWidget
is the interface between your widget(s) and the rest of the app (the panel, dialog windows, other widgets, etc)... but isn't it more work to set up?
Scott Davis
3PM Mesquite B
... and only your code
BaseWidget
codeHere are some resources to get you started:
esri.com/events/session-rater?id=90#18969
grehkemper@esri.com - @gavinrehkemper twayson@esri.com - @tomwayson