Home arrow ASP arrow Page 2 - Calorie Counter Using WAP and ASP

Calorie Counter Using WAP and ASP

Many people are more conscious of what they eat than ever before. (I count myself as a member of that club). The biggest challenge faced by many in the quest for a healthier lifestyle is the ubiquitous “lack of time” excuse. To help out, I have created a simple WAP application that allows for one to search for different foods and get related nutritional information, based on data from the American Diabetes Association. In this article, I’ll go over the creation of the application, and in the process, make you a little bit more health conscious.

Author Info:
By: Tim Haight
Rating: 5 stars5 stars5 stars5 stars5 stars / 62
February 23, 2004
  1. · Calorie Counter Using WAP and ASP
  2. · Hosting
  3. · Index.wml
  4. · Application Deconstruction: Search.asp

print this article

Calorie Counter Using WAP and ASP - Hosting
(Page 2 of 4 )

The application has to be hosted on a server that allows ASP.  Currently this application is hosted at 1ASPHost.com. [Note: You can get a list of ASP-capable hosts here: http://www.aspfree.com/windows-web-hosting.asp. - Editor] Because the application uses a DNS-less connection to connect to the database, the database is loaded in the same directory as the WML and ASP pages.


Food.mdb is an Access database containing a table called tblFoods.


The above diagram shows the structure of the table. The figure below shows some of the data in a tabular form:

WAP - Table in Tabular Form

This data was compiled from the American Diabetes Association.  There are a total of 979 items in this database.

The next few sections will describe the other files, and list their source code that you can cut and paste into your text editor of choice.

blog comments powered by Disqus

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials