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.

Website Design Forum


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



Freelance Jobs

Reply
Old 01-29-2009, 10:07 AM can this be done?
Skilled Talker

Posts: 85
Trades: 0
Hello,

I have a client that's got a restaurant. They would like a website created for it but they want to include an online ordering system but here is what they want.

Whenever someone creates a food order through the website that on the Restaurants PC some kind of pop up or alert shows up letting them done that an order just arrived.

How can this be done ?

Tx
__________________

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


Please login or register to view this content. Registration is FREE
allan16 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2009, 10:38 AM Re: can this be done?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You'd have to have the PC at the restaurant checking for new orders on a regular basis, say, every 30 seconds. JavaScript (which is what sends popups) can't be made to respond to external messages, it can only check data, then respond. You would need to make a database entry, then program the script to query it. Once something new is found, it gets marked old.

Obviously this will take some programming, though it's pretty simple if you know how.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-29-2009, 04:14 PM Re: can this be done?
Skilled Talker

Posts: 85
Trades: 0
any ideas how can I start?
__________________

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


Please login or register to view this content. Registration is FREE
allan16 is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 04:30 PM Re: can this be done?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
It depends on what technology you are familiar with, have available on the host, etc.

You are going to need:
1. a database.
2. a server side language (PHP, ASP, Ruby?)
3. some understanding of JavaScript and AJAX (maybe a JS framework if you like).

Although it is a relatively straightforward task, it does require a skillset.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-29-2009, 07:24 PM Re: can this be done?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
It can be done, and the way I would do it would be without a database.

You are going to need a server side language (I'd use PHP), and you will probably need some JavaScript to check for new orders. If I have some extra time on my hands, and you give me some more info, I could real quickly code you an idea.

- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 01-30-2009, 10:26 AM Re: can this be done?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Of course it could be done without a database, by writing to a flat file, but I think that would be a bad idea. What if multiple orders come in at once, and you don't have time to respond to them all? A database is going to be able to organize them in a much more efficient way. With a file system, it won't react dynamically like a database query will. Besides, a database is a lot more secure than the file system.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-30-2009, 10:39 AM Re: can this be done?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
EDIT: Never mind what I said about databases. After I started working on a little thing for this, I realized that databases were the only way to go. It just happens that I really don't like databases. :P

- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 02-04-2009, 06:56 PM Re: can this be done?
Junior Talker

Posts: 4
Name: George Baker
Trades: 0
Hi, If I was you, I would just ask them to refresh the screen let's say every 5 or ten minutes to check the inbox of their e-mail that should be the way to take orders online. Just a simple idea in case it can work easily!
george43 is offline
Reply With Quote
View Public Profile
 
Old 02-04-2009, 07:02 PM Re: can this be done?
johniman7's Avatar
President, JLI Media

Posts: 965
Name: John Irving
Trades: 0
You could try using an email form and using a push email service to make sure you get new messages. This would be a very bootlegged way of doing it if you don't know any server side programming. If you do know some server-side the other guys ideas are much better.
__________________
Cheers, John Irving: My Blog
JLI Media:
Please login or register to view this content. Registration is FREE
| Website Development (Link Coming Soon!)
johniman7 is offline
Reply With Quote
View Public Profile Visit johniman7's homepage!
 
Old 02-04-2009, 07:11 PM Re: can this be done?
Average Talker

Posts: 22
Name: alanis martin
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
It depends on what technology you are familiar with, have available on the host, etc.

You are going to need:
1. a database.
2. a server side language (PHP, ASP, Ruby?)
3. some understanding of JavaScript and AJAX (maybe a JS framework if you like).

Although it is a relatively straightforward task, it does require a skillset.
I think having a data base is the most important for you, specially at the beginning. Then you can also use the other options. But having a data base is always useful.
alanis79sc is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to can this be done?
 

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.30126 seconds with 12 queries