[size="5"]About http://www.nutritionix.com [/size]
Nutritionix was founded in March of 2010 by Matt and Danny when they realized a deficiency in available online nutritional information. We fell into the single guy routine of eating out with every meal and enjoying one too many happy hours. After gaining a few pounds and having a ten-year old beat us at pull-ups, we realized we needed to step up our game. Cooking at home wasn’t a feasible option with our busy schedules, so changing what we ate and making more informed decisions while at restaurants was our goal. After downloading app after app, and visiting restaurant website after website, the nutritional information reported was severely inadequate and not customizable to our needs. Both of our goals differed, one to trim down and one to bulk up.
This aspect inspired Nutritionix. We didn’t want a site dedicated to just losing weight or calorie-counting, we wanted to serve any and all dietary aspirations, be it flexing at the pool or making sure everything was moving in the same direction while running. So, we gathered a great team of programmers, nutritionists, and fitness gurus to deliver accurate and comprehensive nutritional information. Our database of restaurant nutrition comes directly from restaurants themselves, so there is no guessing on whether Nutritionix’s information is accurate. We hope you enjoy using Nutritionix to make healthier decisions, stay on track, and fulfill your dietary needs. It is our goal to build a community of users who can share tricks, ideas, and tasty yet healthy meals at all the favorite restaurants.
CWebUser was extended to add functionality for handling cookies easier and also to allow us to keep information regarding guest users. Some of this functionality includes giving guest users a nickname, ability to perform actions in the website and then to save those actions if the user decided to register.
CUrlManager was extended to allow us to specify rules specific to a subdomain.
CController was extended to output JSON, html or xml using the render method.
CConsoleCommands were created to process file uploads and to send emails to the user submitting uploads from the admin interface.
CActiveForm was extended to facilitate the ability to validate and submit forms using AJAX.
[size="5"]Other important features[/size]
Ability to set the site into maintaintence mode for all users except for the developers to allow them to test the new updates.
RBAC hiercharchy in which we have super admin roles(can perform all actions within the public and admin site), then admins for specific restaurants, these admins can only perform actions within their respective restaurants in the admin site.
Timezone manager component to display timestamps according to the current users timezone (for registered users and guest users).
Facebook component to allow users to access the site via their Facebook accounts.
ExtendedClientScript, RRGridView, RRListView