How do I plan my php mysql database? - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Databases - MySQL, SQL, Oracle, Access and others

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-30-2010, 07:56 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 49
Default How do I plan my php mysql database?

I have a fairly detailed plan of the content and features of a website project I will be doing. How do I plan my php mysql database layout?
Cynthiya is offline   Reply With Quote
Sponsored Links
Old 03-24-2010, 07:34 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 17
Default Re: How do I plan my php mysql database?

if u chose the asp.net and sql.php is just like as the htmal tags
jakkevin4v is offline   Reply With Quote
Old 02-11-2011, 11:39 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 19
Default Re: How do I plan my php mysql database?

I want to help you. You can search the Spire.DataExport on the Internet.
tomason is offline   Reply With Quote
Old 02-19-2011, 04:34 PM   #4 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 40
Default Re: How do I plan my php mysql database?

Quote:
Originally Posted by tomason View Post
I want to help you. You can search the Spire.DataExport on the Internet.
stop spamming by posting the same reply to every question you reply to.
Webby Dev Rob is offline   Reply With Quote
Old 03-15-2011, 10:07 AM   #5 (permalink)
Junior Member
 
johnmartin's Avatar
 
Join Date: Mar 2011
Location: London
Posts: 22
Default Re: How do I plan my php mysql database?

Can you show me detailed plan of the content and features of a website project that you are doing so that I am able to see that how can I help you in php mysql..
software testing webinar
johnmartin is offline   Reply With Quote
Old 04-09-2011, 12:42 PM   #6 (permalink)
Regular User
 
Join Date: Apr 2011
Posts: 115
Default Re: How do I plan my php mysql database?

Go after the functional layout first, then look for dependencies, that shall help u design the databse and flow control. If you need more help, plz be more elaborative
chunnilal is offline   Reply With Quote
Old 04-17-2011, 06:14 PM   #7 (permalink)
Junior Member
 
Join Date: Apr 2011
Posts: 3
Default Re: How do I plan my php mysql database?

Before you even start designing the database, it would be extremely beneficial to read up on some MySQL literature and view some examples of quality code (there are plenty just have to google). Just some basic pointers though:
  • Choose the right engine; the most most popular two for MySQL are InnoDB and MyISAM. If you plan on having a highly trafficked site with possibly hundreds of writes/reads per second, then you would benefit greatly from InnoDB's row level locking. If you need it to be transaction safe then you NEED InnoDB as MyISAM is not ACID compliant. If transaction are not an issue and you have say greater than 80-90% reads compared to writes, then you'd probably be fine with MyISAM (the reason you want low writes for MyISAM is it uses table locking for all reads, which will prevent any actions on the table from taking place until the current query finishes). From my experience the difference on both isn't noticeable.
  • Use the proper data types for each column; if you need to store a username that will be a maximum of 16 characters long, do not make it a TEXT column, instead make it a VARCHAR(16) column.
  • You must learn how to create and use indexes properly unless you want a slow site. In order for MySQL to be extremely fast, it must be able to take advantage of indexes on columns. Learn about indexes and put them only on your most used columns - do NOT go overboard as they take up a lot of space!
  • Make sure that if you use any JOIN statements, they are on indexed columns.
  • Test things out yourself. While you can learn a lot from reading and viewing examples, some of the more valuable lessons will be taught through your own trial and error.

Those are the main things I can think of right now but hopefully it helps you out a little bit.
AdM.as is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 07:57 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting