Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old March 22nd, 2006, 05:17 PM
Jam Jam is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 Jam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Application Architecture Suggestions Please?

Well, I have decided to learn programming, using php/mysql for web applications on linux/apache. My first application I'm attempting is a baseball team(s) player profile database, where the user can select a team from a list that would display a list of players on that team, with a thumbnail image for each record in the list. You could then click a player's name to display his profile which could have up 12 images with captions for each image. A small photo gallery for each player, if you will.

My main question is this. In designing the database should I store the images in the database, or store them in a folder.

If I store them in the database, I would assume I would just create fields for each of the images in the "player_info" table.

If I store them in a folder, it seems I might be better served to create an "images" table to store the image info, and add a "image_ID" field to the "player_info" table.

Any pointers to a good tutorial about image handling and assigning to records would also be helpful, as the php manual tends to speak in "programmers english" rather than "beginners english"

appreciate any info!

Reply With Quote
  #2  
Old March 22nd, 2006, 09:56 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,729 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 1 h 32 m 7 sec
Reputation Power: 6
RE: Application Architecture Suggestions Please?

Generally speaking saving images in a DB is considered a no-no since it is much slower then saving them to a file with the file location saved in the DB.


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > Application Architecture Suggestions Please?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT