Relative Content

Tag Archive for synchronization

Keeping SQL Server DB Up to date in Team environment [duplicate]

This question already has answers here: How can I keep my visualstudio database project in sync with my database? (2 answers) Closed 11 years ago. We are working in a Visual Studio Environment using TFS. When developers get the latest source code it includes a copy of the ‘update’ sql scripts for the database of […]

How to make a method synchronized across all instances of a class

Today I was asked this interview question and could not answer.
If you have two instances of a Person class which has a setAddress method that is synchronized. Now if it was only one object and multiple threads were accessing it, the synchronized will make sure that only one method can access it at a time.

i have 3 php files 1 index.html and 1 js file i want to connect them all in that they are effected uniformly despite their difference in roles

my project was; I CREATED WITH THE DJ BOOKING AND IT HAD THE BOOKING FORM,WHICH WAS AFTER ENTERING THE DETAILS, OF WHEN THE DATE THE SHOW WILL BE FROM WHAT TIME TO WHAT TIME AND AFTER CONFIRMING THAT THE OTHER ONE WAS A POP UP TO SEE THE RATES AS SELECTED BY CLIENT, BUT IF IT MEETS OR COLLIDES WITH ANOTHER CLINTS TIME IT DISPLAYS SORRY DJ WILL NOT BE AVAILABLE AND THE OTHER CLIENTS TOLERANCE SHOULD BE + OR – 4HOURS,THE RATES TALE SHOULD AUTO CALCULATEA AND INCREASE VALUES AS SELECTED BY CLIENT THEN ALSO SHOW THE PAYMENT WHAT IT IT ENYAILS INCLUDING TRANSPORT FOOD AND PERFOMANCE FEE THEN AFTER CHOOSING, THHE DESIRED RATES THE NEXT STEP WAS TO DISPLAY PAYMENT CHANNELS ON MPESA OR BANKS WHICH SHOULD BE A DROPDOWN TO SELECT THE APPROPRIATE ONE BY NOW I HAVE CODDED AND CREATED DATABASES BUT AINT WORKING. now i have the user dashboard.php, admin dashboard.php the main page(index.html) and the checkavailability.php and djbooking.php.i want to syncronize them