Connecting AngularJS and ColdFusion

(This presentation can be done as a 1-day hands-on workshop, as a regular 1-hour session, or as a more involved 2-hour deep dive. Given the major differences in Angular 1.x and the 2+ series, there are 2 variations of this talk for each type of Angular code available. Either version can be given, whichever the audience prefers.)

Angular is an extremely popular JavaScript framework for building client-side applications.  Angular contains lots of great features and can be used to build both web and mobile applications.  Then comes the server part. How do we send data from the Angular app to a server in the cloud? That’s where our ColdFusion code comes into play.  In this session we’ll discuss how to get started with Angular and how to start building a simple JSON API using ColdFusion.  Then we’ll connect the 2 pieces together building a fully working application with Angular + ColdFusion.

Target audience:

ColdFusion programmers that are new nor mostly new to Angular are encouraged to attend.  Developers looking to start using ColdBox and those still stuck maintaining a legacy CF-include based application will all learn ways to connect their CFML codebase to an Angular front end application.

Main takeaways:

  • Installing Angular and building your first Angular app
  • Basic structure of an Angular application
  • Building views and navigation
  • Adding a service layer to Angular
  • A brief intro to JSON, REST and API’s
  • Using ColdFusion to build a JSON API
  • Connecting a ColdFusion API to an Angular application
  • Some best practices
  • Other resources