NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Creating Data Sources for Use in ColdFusion
5151 Creating Data Sources for Use in ColdFusion http://www.kodefusion.com/article/index.cfm?&ArticleID=10 Databases are an essential part of any web application. Databases allow us to store information about our clients, users, products, sales, and virtually anything else you could possibly want to store. Using a relational database management system (RDBMS), we can define how various pieces of data relate to one another.



For example, we may have a table in our database that contains a list of all our registered users, their names, addresses, email addresses, usernames, and passwords. We may also have a table that contains a record of every sale we make and which use bought it. Having these two tables relate to one another allows us to look at our sales table and see that John Doe bought a widget for $100 on the first of January last year. In a properly designed database, we give our user a unique ID and then store that ID along with the sale for that user. Now instead of putting the user?s name, address, and email address in our sales record, we can simply tie the sales record to the user record so we only have to store the user?s name and other information once.



This is just a very small and basic example of how a database can be used. Databases are used in many different ways including the web, desktop applications, and client/server applications to name a few. Once you have a database designed, though, you must have a way to access it. This is why it?s important to learn how to create data sources for use in your ColdFusion applications.
CFML > Tips and Tutorials > Database-related Oct 10, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Creating Data Sources for Use in ColdFusion:


Other links at CFML > Tips and Tutorials > Database-related
Databases are an essential part of any web application. Databases allow us to store information about our clients, users, products, sales, and virtually anything else you could possibly want to store. Using a relational database management system (RDBMS), we can define how various pieces of data relate to one another.



For example, we may have a table in our database that contains a list of all our registered users, their names, addresses, email addresses, usernames, and passwords. We may also have a table that contains a record of every sale we make and which use bought it. Having these two tables relate to one another allows us to look at our sales table and see that John Doe bought a widget for $100 on the first of January last year. In a properly designed database, we give our user a unique ID and then store that ID along with the sale for that user. Now instead of putting the user?s name, address, and email address in our sales record, we can simply tie the sales record to the user record so we only have to store the user?s name and other information once.



This is just a very small and basic example of how a database can be used. Databases are used in many different ways including the web, desktop applications, and client/server applications to name a few. Once you have a database designed, though, you must have a way to access it. This is why it?s important to learn how to create data sources for use in your ColdFusion applications.
Category:




Main Category
185
2034
798
286
174
1802
1128
909
1160
7383
70
904
59
2198
173

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19243
Categories: 1275
Registered Users: 728
Mailing List Subscribers: 2043
Unique Outgoing Hits: 227958

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
37 site(s)
PR 7
290 site(s)
PR 6
826 site(s)
PR 5
2017 site(s)

PHP News