Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ColdFusion Builder extensions (CFCamp 2012)

993 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

ColdFusion Builder extensions (CFCamp 2012)

  1. 1. CFCamp, MunichColdFusion Builder Extensions October 16th, 2012
  2. 2. About me• Guust Nieuwenhuis• Analyst Programmer at Trasys• Owner at Orange Lark• Adobe Community Professional• CFUG Belgium co-manager• ColdFusion CAB member• Scotch on the Rocks CAB member 2
  3. 3. About me• Guust Nieuwenhuis• Analyst Programmer at Trasys• Owner at Orange Lark• Adobe Community Professional• CFUG Belgium co-manager• ColdFusion CAB member• Scotch on the Rocks CAB member 3
  4. 4. ColdFusion Builder Extensions Extensions? Installation Using extensions
  5. 5. Extensions?• Extend the features of ColdFusion Builder• Using ColdFusion• 65 extensions on RiaForge.org
  6. 6. Installation• Install from a zip file• Import a folder• Extensions view
  7. 7. Using extensions• Context menus• Views• Post install wizard• Project creation wizard
  8. 8. RDS view Project view Editor view Outline viewContext menus
  9. 9. Using extensions• Context menus• Views• Post install wizard• Project creation wizard
  10. 10. Building extensions Configuration file Metadata Install Extending IDE Handlers Handler communication User interfaces Callback commands Tips and tricks
  11. 11. Configuration file• IDE_config.xml• Contains • Metadata • Install • Extending IDE (menu, events, view, code assist, start page) • Handlers• Cashed!
  12. 12. Metadata• Contains information about the extension • Name • Author • Version • Email • Description • License
  13. 13. Install• Add screens to the ColdFusion Builder extension install wizard
  14. 14. Extending IDE• Extend the context menus • Resource navigator • RDS Data view • Outline view • CFML Editor
  15. 15. Extending IDE• Respond to events • onprojectcreate • onfilechangeineditor • onRDSDataViewSelectionChange • onFileSaved
  16. 16. Extending IDE• Views • Create views
  17. 17. Handlers• File that contains code• Runs in response to an event or an action
  18. 18. Handler communication• Communication between handler and ColdFusion Builder• Trough XML• FORM.ideeventinfo
  19. 19. User interfaces• Configuration files• HTML interfaces• XML response
  20. 20. Callback commands• Ask ColdFusion Builder to do something or to give something • refreshFile, refreshFolder, refreshProject, openFile, insertText, getServers, getDatasources, getTables, getTable, searchFile, getFunctionsAndVariables
  21. 21. DEMO: Squeezer
  22. 22. Not covered• Code assist • on variables • for function parameters • for function invoked on a specific variable• Setting Launch page
  23. 23. Tips and tricks• Turn debugging off!• Use the CF error log• Use extensions to build extensions • Adobe Extension Builder • Extension Builder (by Dan Vega) • ColdFusion Builder Extension Test Creator (by Terry Ryan)
  24. 24. Contact me! info@lagaffe.be www.lagaffe.be @lagaffe info@orangelark.be www.orangelark.be @orangelark
  25. 25. CFCamp, MunichColdFusion Builder Extensions October 16th, 2012

×