Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Online application, with PHP code - Help!
Old 10-03-2007, 12:49 AM Online application, with PHP code - Help!
The PHP Professor

Posts: 340
Name: Alex
Location: Behind You
Trades: 0
I want to make a type of online application system where users can install modules into there account like facebook.com. I am a little confused on how to do this because i have no idea how i would set up the database.

The main code will be PHP but the data will be stored in a MySQL database. I dont want to create a completely new table for each module i have. But each module willbe different and consist of different functions/data.

These are some example modules that would be installed into a users account: Notepad, Blog, RSS Reader, Favorites system. See, i would just make one table called "Site_modules" but what about when the data has to be stored in multiple rows or somthing?

Thanks for help in advance!
__________________
Go Kirby! <(" . "<) (^" . "^) (>" . ")> Talkupation!
microcolt is offline
Reply With Quote
View Public Profile Visit microcolt's homepage!
 
 
Register now for full access!
Old 10-03-2007, 07:33 AM Re: Online application, with PHP code - Help!
Galaxian's Avatar
Rich Powell

Posts: 842
Name: Rich Powell
Location: United Kingdom
Trades: 0
List the modules in a modules table and make seperate tables for the modules contents. I know that's not what you want to do but it's the most efficient, productive, and flexible way to go.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please help get the new
Please login or register to view this content. Registration is FREE
forum started for Webmasters like you!

Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-03-2007, 05:32 PM Re: Online application, with PHP code - Help!
The PHP Professor

Posts: 340
Name: Alex
Location: Behind You
Trades: 0
That actually what i was thinking of just before i got on the computer...

But i have another question, what if i have like 200 modules? I mean wont that become a huge database, and will my database become slower?
__________________
Go Kirby! <(" . "<) (^" . "^) (>" . ")> Talkupation!
microcolt is offline
Reply With Quote
View Public Profile Visit microcolt's homepage!
 
Old 10-04-2007, 02:01 PM Re: Online application, with PHP code - Help!
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
naturally the more you have the slower it gets.

if you look at this forum for instance. if you had it with 10 posts and 2 users it would probably be faster. because it doesnt have to query the 35000 odd users and the squillens of posts.

I have seen the dbs of a standard vb install. .theres ALOT

basically keep the tables and database optimised clean out the stuff which is dead and ou shouldnt have any problems
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 10-06-2007, 10:00 PM Re: Online application, with PHP code - Help!
Average Talker

Posts: 22
Name: Paul
Trades: 0
It's like with a harddrive and a library system. Keep it organised, it's actually easier to search through. Even index it if you can. That will help it to find information quicker too.
__________________
Free Web Hosting Available At Simply Web Host

Please login or register to view this content. Registration is FREE
smithster is offline
Reply With Quote
View Public Profile Visit smithster's homepage!
 
Reply     « Reply to Online application, with PHP code - Help!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.59704 seconds with 12 queries