Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hi,
 
I have developed a website as example.com where all the employees of many companies will come and write their opinions and comments on their employers with their scores such as good, bad, excellent, etc. and this data needs to be shown on example.com and on all the clients websites with those actual data with the scores e.g. good, bad, excellent, etc. for example I have got 100 employers in the database and all the employees of those 100 companies will come and write their scores on a single website (example.com) and then my role is to show the real data related to that particular company to their website. And I am not allowed to show the x company’s data on y company's website. Meaning thereby, XYZ-employer should get the real data related to XYZ employer and not of the ABC employer and ABC employer should get only ABC related data. And then employers need their data on their respective websites.
 
So here I will have to manage the data for them and the employer being the client of example.com should get the api code for integration with their respective websites. So I need to develop such functionality where the employee can write their score either on example.com or on the employer’s website but then the scores should be updated on example.com and the employer’s website (clients) simultaneously. This application is supposing to get the scales very soon. That is why, I want to compare all the possibilities considering the heavy and bulky database of example.com because very soon there will some more functionalities. So I am not sure how to go ahead, so tell me if you can what are the possible alternatives for doing so. Please suggest me ASAP.
Will it be like creating Web API like Twitter API or Facebook API? which shows the actual likes or tweets related to that log in account on website as well as on client page of facebook and twitter.
Please explain. IT's VERY VERY URGENT.
Posted 19-Feb-13 19:14pm
Edited 20-Feb-13 1:38am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
You don't need to actually update their databases, why you wanna keep a copy in each customer's website? just give them a small java script code to embed it in their websites, this code will pull their results from your website and will be visible on their website, just make sure that each customer has an ID or something and let them pass it to the java script, in your website, read their ID and return their data!
 
Good Luck
 
Additional Information:
You may generate RSS Feeds for each customer, an easier way is to use Inline Frames (IFRAMES).
http://www.dyn-web.com/tutorials/iframes/[^]
  Permalink  
v2
Comments
winners6 at 20-Feb-13 23:41pm
   
Thanks Sameer,
I also thought the same way before putting up this question before you all. But also not sure how to achieve this. Can you just explain this in detail with a few references and links which can help me out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Marcin Kozub 310
1 OriginalGriff 248
2 Sergey Alexandrovich Kryukov 215
3 Richard MacCutchan 202
4 Praneet Nadkar 197
0 OriginalGriff 8,048
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100