Yii Framework Forum: Nutritionix.com - Simplifying Nutrition - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Nutritionix.com - Simplifying Nutrition Rate Topic: -----

#1 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 09 November 2011 - 04:54 PM

About http://www.nutritionix.com

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.

Yii Components

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.

Other important features

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.

Yii Extensions

ExtendedClientScript, RRGridView, RRListView
1

#2 User is offline   codesutra 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 596
  • Joined: 15-March 11
  • Location:India

Posted 10 November 2011 - 04:08 AM

Great Job guys...!!!


i'm Just Lovin it.. :)


Nice design,great piece of work.Specially a subject you have selected is damn good.

Congratulations for your great efforts.
CodeSutra
1

#3 User is offline   ridz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 05-August 11

Posted 12 November 2011 - 03:11 PM

View Postpcs2112, on 09 November 2011 - 04:54 PM, said:


Facebook component to allow users to access the site via their Facebook accounts.



Nice work. Which Facebook component did you use? Is it an existing extension?
0

#4 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 12 November 2011 - 05:04 PM

View Postridz, on 12 November 2011 - 03:11 PM, said:

Nice work. Which Facebook component did you use? Is it an existing extension?


Thanks for the comments. We created our own one
0

#5 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 02 December 2011 - 02:01 PM

Yesterday we upgraded the look of http://www.nutritionix.com/
And also implemented caching using APC.
0

#6 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 699
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 02 December 2011 - 02:56 PM

wow, how did I miss this site! AWESOME!

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#7 User is offline   elbek 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 134
  • Joined: 22-July 10
  • Location:MA, USA

Posted 02 December 2011 - 09:48 PM

perfect, i love the functionality
Elbek
0

#8 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 02 December 2011 - 11:42 PM

Thank you guys for the positive comments. Matt and Danny have big plans for this website powered by the wonderful Yii framework.

http://blog.nutritionix.com/
0

#9 User is offline   Ivica 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 311
  • Joined: 25-May 11

Posted 03 December 2011 - 04:43 AM

Very nice website, I like design.
Zurmo: Yii Powered Open Source CRM
zurmo.org
0

#10 User is offline   DigiFox 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 30-January 11

Posted 03 December 2011 - 04:46 AM

Fantastic. Excellent design, great UX and brilliant business idea. Well done guys.
0

#11 User is offline   tburandt 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-December 11

Posted 04 December 2011 - 06:17 PM

Very impressive. I would only suggest using a search that auto loads like google.
0

#12 User is offline   hnam 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 19-September 10
  • Location:BSP

Posted 06 December 2011 - 02:35 AM

good man
On revolutions !
0

#13 User is offline   mattsilv 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 23-November 10
  • Location:NYC

Posted 07 December 2011 - 10:51 PM

Greetings Fellow Yii Devs,

I'm Matt, Co-Founder of Nutritionix. I greatly appreciate all of the nice feedback everyone has left us. We have worked tremendously hard on the site over the last 12 months, and we are very proud of all the things we were able to accomplish. Yii specifically has helped us greatly streamline our development process, while making it relatively easy for us to utilize significant Yii caching mechanisms to ensure our site can handle load spikes.

Our goal is to focus on restaurant nutrition for the time being, and you can browse our massive restaurant directory to see what I'm talking about.


If anyone has any more specific items of feedback, or questions about our site, myself or Vince (Our developer and OP of this thread) would be more than happy to answer.

Thanks again for taking the time to give us feedback!
Managing Partner, Co-Founder, Nutritionix
0

#14 User is offline   mattsilv 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 23-November 10
  • Location:NYC

Posted 07 December 2011 - 10:54 PM

View Postimehesz, on 02 December 2011 - 02:56 PM, said:

wow, how did I miss this site! AWESOME!

--iM


Thanks so much iM, and also thank you for featuring us in your podcast! :D
Managing Partner, Co-Founder, Nutritionix
1

#15 User is offline   tburandt 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-December 11

Posted 08 December 2011 - 01:05 AM

I believe I found a bug. I just posted a comment under Chipotle and I refresh the page and it still says there is 0 comments.

http://www.nutrition...tion-calculator
0

#16 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 08 December 2011 - 01:39 AM

View Posttburandt, on 08 December 2011 - 01:05 AM, said:

I believe I found a bug. I just posted a comment under Chipotle and I refresh the page and it still says there is 0 comments.

http://www.nutrition...tion-calculator


Weird i can see it

Travis Durant:

My favorite burrito is 995 calories!
0

#17 User is offline   Pravin Gajera 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 137
  • Joined: 25-October 11
  • Location:India

Posted 08 December 2011 - 02:21 AM

can you please check this page

http://www.nutrition...tion-calculator
0

#18 User is offline   pcs2112 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 31-July 10

Posted 08 December 2011 - 02:26 AM

View PostPravin Gajera, on 08 December 2011 - 02:21 AM, said:

can you please check this page

http://www.nutrition...tion-calculator

,
Is this related to the comments not displaying? I can see it if that is the case.
What browser are you using?
0

#19 User is offline   tburandt 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-December 11

Posted 08 December 2011 - 02:11 PM

View Postpcs2112, on 08 December 2011 - 01:39 AM, said:

Weird i can see it

Travis Durant:

My favorite burrito is 995 calories!

I can see it now too. I posted the comment, refreshed the page and it said 0 comments. I kept refreshing and it eventually said 1 comment. Whats weird is I refreshed again and it said 0 comments... I kept refreshing and it went back and forth from 1 to 0 a couple of times. Maybe 2 or 3 times. I don't know, maybe I am doing something wrong but I thought I would at least let you know.
0

#20 User is offline   majin sensei 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 23-June 11

Posted 08 December 2011 - 09:00 PM

View Posttburandt, on 08 December 2011 - 02:11 PM, said:

I can see it now too. I posted the comment, refreshed the page and it said 0 comments. I kept refreshing and it eventually said 1 comment. Whats weird is I refreshed again and it said 0 comments... I kept refreshing and it went back and forth from 1 to 0 a couple of times. Maybe 2 or 3 times. I don't know, maybe I am doing something wrong but I thought I would at least let you know.


Hi tburandt,

Thanks for the heads up. I guess it's just a bug with disqus but I can see the comment that you posted http://awesomescreenshot.com/03aptq55d

I also want to help everyone who like the site. The forum has been a great help especially for me who is a newbie on Yii and php framework and this is the first project where I use a framework.

Please feel free to post any bugs and we'll check it asap.

Thanks again
Leejay - one of the devs on the site
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users