/    Sign up×
Community /Pin to ProfileBookmark

Dominos Auto-Update with Delivery order…

So if you have ever ordered a pizza with Dominos you see the process the pizza is going thru on their website. It auto updates when its going through there without you refreshing the page.
How do they do this? Is it a Javascript? I am going to be doing a project for school that i would like to do something similar to this i just don’t know how to do this.

Thanks

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@CharlesAug 24.2010 — I usually get my pizzas from a local artisanal shop--carmalized arugula is amazing--so I can't speak to that particular web site. Chances are it's done with what is called AJAX. Give it a Google but with one really huge warning. AJAX tends to not actually work. You need to have a non-AJAX, non-JavaScript back up option working.
Copy linkTweet thisAlerts:
@tirnaAug 25.2010 — One way they could be doing it is with AJAX

AJAX is not a new language. It is just a particular technique in using Javascript.

I use ajax quite a bit for getting the browser to communicate with the server to update/get information in a database and it works well.

However, AJAX being javascript means the user's browser needs to have javascript turned on for ajax to work. Given that according to the w3schools browser stats in January 2008 95% of users had javascript enabled in their browsers I don't provide (because I am not obliged to) alternative fuctionality for non javascript enabled browsers. Imo that 95% figure is much higher nowadays.

But catering for the relatively tiny number of non javascript users may or may not need to be a consideration for your project.
Copy linkTweet thisAlerts:
@CaptainCalvin87authorAug 25.2010 — So if AJAX isn't that reliable, what would you use to achieve this look?
Copy linkTweet thisAlerts:
@tirnaAug 25.2010 — I don't have any problems with AJAX for the reasons I posted earlier and it works well.

Maybe Charles will be able to help you more on any alternatives for your situation.
Copy linkTweet thisAlerts:
@kiwibritAug 25.2010 — The alternative to using AJAX would to run a session server side - but you would be loading a new page each time - not really a problem these days. There may be some accessibility issues running AJAX (though so far I have not come across user complaints where I have employed it). When I have run it, it has always been on asp.net sites - and been very robust.
Copy linkTweet thisAlerts:
@CharlesAug 25.2010 — You'll note that I didn't suggest that you avoid AJAX, but that you use it carefully. Give your users who need it a second way to get the info.
×

Success!

Help @CaptainCalvin87 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.19,
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,
)...