/    Sign up×
Community /Pin to ProfileBookmark

hello, a local pizza company wants me to re-do their site and add the newly and highly popular order online options, and i don’t really know where to begin or if its some long script that i should just tell them it’s to hard? i thought if any one would know it would be people here =P

so thanks for any kind of help/suggestions

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@jstestpagerJun 01.2008 — well obviously you need to start with a simple form.

have them fill out their name and phone number and select from a dropdown menu their order. Use the GET method and process the data. How to process the data though depends on exactly what they want...
Copy linkTweet thisAlerts:
@NogDogJun 01.2008 — Use the POST method, not the GET method, as an order form like that is non-idempotent. As stated in the [url=http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1]HTML spec.[/url]:

The "get" method should be used when the form is idempotent (i.e., causes no side-effects). Many database searches have no visible side-effects and make ideal applications for the "get" method.

If the service associated with the processing of a form causes side effects (for example, if the form modifies a database or subscription to a service), the "post" method should be used.[/quote]


Anyway, the underpinning of any such order process is the database design. It can be used to automate the population of your forms, and of course will be the recipient of all submitted orders. So you really need to start by getting your head around how the data will be organized and structured, and how you will access it.
Copy linkTweet thisAlerts:
@GoverNmentauthorJun 02.2008 — and how would i capture all this data though, i just need something simple for them and me nothing fancy, and what language of coding?
Copy linkTweet thisAlerts:
@NogDogJun 02.2008 — If you are going to be accepting any sensitive data, especially payment data, then this is not something to be undertaken lightly. You should either look into using a 3rd-party solution (e.g. ZenCart for one example) or hiring an expert to build it for you. (A possible compromise would be to hire someone experienced with this to install and configure a 3rd-party package if you do not have the experience and/or time to learn that package and do the installation yourself.)

I don't mean this to sound like any sort of put-down, but an improperly built shopping cart/order form application can do more harm than good if any customer data should be stolen or simply because business is lost when it fails to function properly. Therefore if you are new to server-side programming then it is not the best place to jump into the deep end and see if you can swim. ?
Copy linkTweet thisAlerts:
@GoverNmentauthorJun 02.2008 — hey no put down at all i understand business is business and your in for the money. ill look into a third party program, i'll look for one and run it over with the pizza shop owner , and then run it over with you guys to make sure its not a generic one
×

Success!

Help @GoverNment spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...