CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 Can we create Multiple Restaurants order system in Code charge studio using php?

Print topic Send  topic

Author Message
sheraz

Posts: 6
Posted: 02/16/2013, 11:55 AM

I am going to build a website which is about to have a lot of restaurant, say 200 restaurants. i am going show the menu for every restaurant. and further items in menu.

1st Question: Should I hard code the menus and item details or should i use the database??

2nd Question: I want my website pattern something like that, if i click on restaurant "Pisa Pizza"
my URL should be like this www.myrestaurant.com/pisa_pizza/
and content of page will be all the details of "Pisa Pizza".
Further if i click on the menu button
my URL should be like this www.myrestaurant.com/pisa_pizza/menu
and content of page will be all the details of "Menu".

I am just confused, this way i may have to make a lot of sub directories, what should i do here. Because there are too much restaurants i can't make a separate for all of them.

And i am building my website in CODE CHARGE using PHP.

I will be thankful if any one give me idea and right direction .

Thanx

_________________
One man army.
View profile  Send private message
Lucius

Posts: 220
Posted: 02/21/2013, 9:13 AM

Ok...

1.Do you think restaurant menus change over time? Do you want to add new restaurants or change the ones that are already in your system?

Answer those questions and think what would be easier. Hard-code it or have a DB with simple management forms created in CCS (admin panel).

2. Google "mod_rewrite".
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.