Chipotle Nutrition Calculator
Chipotle Burrito
View ApplicationView Source
 

The Chipotle application calculates all the nutritional information from the many Chipotle meal combinations. The application is a standalone application meaning it is self contained. There are no server oriented technologies such as MySQL or PHP in this application. All the processing is done on the client's browser. This makes the application very easy to install.

Technologies used in this application are as follows: Flex / Actionscript 3 and XML.

 
  Technical Overview  

I wanted to make the application standalone without any dependency on outside server resources. This was fairly easy to reach by using Flex. Originally, the plan was to hard code all the Nutritional information in the program itself. The problem with hard coding is if the information ever needed to be updated it would require recompiling the application. Recompiling seemed to me to be too complicated for just changing the nutritional information. The system needed a database. One of the major advantages of the Flex and Actionscript 3 is there exist a way to process XML files. So I decided to place Chipotle's nutritional information in an XML file. Then also made the decision to include another XML file for the Daily Values; again allowing me to change the information without having to re-compile the program.

 

 
  Technical Facts  
Total Lines of Code: Total Files / Folders: Total Databases: Total Disk Size:
515 9 (non-compiled) 2 (XML) 94KB (non-compiled)
- 57 (compiled) - 1.3MB (compiled)
       

 

  Screenshots