Find Jobs
Hire Freelancers

jQuery Synchronous to Asynchronous Ajax Update

€30-250 EUR

Dibatalkan
Dibuat hampir 8 tahun yang lalu

€30-250 EUR

Dibayar ketika dikirim
Overview The person who is successful in their tender for this job will be asked to review the files contained within the repo ([login to view URL]) and to fix the following issues: • All Synchronous Ajax requests must be made into Asynchronous Ajax Requests, • All functions used within Ajax requests are updated to handle the new asynchronous nature of the data request. • That where Synchronous Ajax Requests were used to pass data to the front end, that interface updates are made that display meaningful default information. (See example below.) Detailed Project Description The files contained within this repo were created before Synchronous Ajax Requests on the main thread were deprecated. The project requirements are to update all the ajax requests to use Promises/ Web Workers to retrieve data from remote API endpoints and to correctly process the data when the Ajax request completes. The processing functions/ logic should not be changed except where the requirements to use Promises forces a change in the logic, but the end result must remain the same. It is acceptable to use a loading icon if data takes a long time to be returned, or if the interface would display incorrect data to the end user. For example, user data is requested from the back end and stored locally using the LocalStorage API. The data is then read from the LocalStorage API and displayed on screen. Because the code was initially written to treat the user data API call as a synchronous request, the user data would not be shown on screen until the Ajax request had completed. Now, the Ajax request is asynchronous, so the user data shows up as null, because non-existent user data is read from LocalStorage, before the user data API call has completed. In this case, it is acceptable to use a loading icon to hide the interface until the user data API call has completed. There a number of Ajax requests that have been rewritten to use Web Workers. (See the Workers directory.) The basic premise is that the web worker received a postMessage from it's parent scripts, performs an XMLHTTPRequest and usespostMessage to return the data. This pattern can be extended to the broken Ajax requests as long as the the data processing occurs within the parent scripts onmessage handler. Changes to function and variable names should not be made, as other parts of the code base may depend upon them.
ID Proyek: 10454125

Tentang proyek

8 proposal
Proyek remot
Aktif 8 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
8 freelancer menawar dengan rata-rata €205 EUR untuk pekerjaan ini
Avatar Pengguna
First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss requirements and terms before awarding the project.
€220 EUR dalam 3 hari
4,9 (67 ulasan)
6,7
6,7
Avatar Pengguna
Hi, Please wait. I will check and create a demo with your code if possible. Thanks.
€150 EUR dalam 1 hari
5,0 (4 ulasan)
2,4
2,4
Avatar Pengguna
Hello! We have a great experience in web development. We are deal with WordPress, PHP, HTML, MySQL, all types of front-end and back-end technologies. We are available via Skype. We would be pleased to provide you with our Skype ID to discuss the details of your project. Kind regards
€233 EUR dalam 10 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera IRELAND
Ballysimon Road, Ireland
4,6
4
Memverifikasi Metode pembayaran
Anggota sejak Mei 5, 2016

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.