On Wed, Jun 26, 2002 at 05:06:38PM +0700, Amiel Ong wrote: > I saw this script in the Pizzahut online ordering page.. I'm studying the > javascript code on that page coz I am planning to do something like their > online ordering system for my mom. > > I don't need a very detailed answer just a quick and simple answer :)
Quick and simple answer: if you want to do an online ordering system, the JavaScript is largely irrelevant. Learn how to do CGI programming if you want to do it. Longer answer: In my previous work at Inter.Net Philippines, one of the things I wound up doing was help maintain the actual online ordering system that Pizza Hut had (they used to be Inter.Net's client), so I had a look at the scripts that ran it. The real heart of the online ordering system there were a group of perl CGI scripts hacked together by Migs Paraz and Randy Ong that sent a fax with the details of the order to a central machine for processing. The JavaScript only helps fix the look of the pages, IIRC, and has absolutely nothing to do with the online ordering. To make dynamic web pages such as for online ordering, learn a scripting language like Perl, Python, or Ruby, and learn how to do CGI programming with them. Or maybe PHP or JSP might be better. You'll probably also need a database backend to do anything really useful. -- Rafael R. Sevilla <dido at imperium dot ph> +63(2)8123151 Software Developer, Imperium Technology Inc. +63(917)4458925 _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
