Skip to content

Building a Symfony API to support Ember.js (or anything else)

Avatar of Jonathan Johnson Jonathan Johnson

The Ilios Project at the University of California, San Francisco has been hard at work for the past 6 months creating the next version of our application using Symfony and Ember. I will show you the bundles we've used to build a beautiful REST API and the bundles we've written to make generating the necessary boilerplate as easy as possible.

Next we will talk about strategies for serving a single page app through Symfony. I will cover the pros and cons of user Assetic, placing the built application in the /web directory and our final solution of using AWS Cloudfront to provide the javascript and css assets and AWS S3 and Symfony to serve the index.html file. This last solution has made it possible to build our webapp and API in tandem but with no friction.

None of this is theory and all of our work is open source so we will be looking at the code we have in production to manage the curriculum at dozens of medical schools on 3 continents.

Delivered in English