How to create a website with live commentry options [Resolved]

Posted by Skraghava under Others on 2/7/2011 | Points: 10 | Views : 2325 | Status : [Member] | Replies : 12
Hi Team,

Can you please tell on how the architecutre of the website should be for an website which will give live commentary as match progress?(like cricinfo.com or cricbuzz.com)?

Do we need to insert each comment to the database and make it visible in front end or we need to add some text to a file which will be displayed on the front end.

Thanks and regards,
Raghavendra SK



Responses

Posted by: Naimishforu on: 2/8/2011 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
No, What I meant is, You can develop a simple Windows Form or WPF application where the person who is entering the commentary will enter the details.

The application will have only TextBoxes and Buttons and so he can understand the same. Let him click OK button which will create an XML file and can be store somewhere.

Let your Cricket website check for the UPDATED XML File and update the content on your website.

Did you got the idea??

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/8/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Hi,

XML is the best way to put the live commentry... You can feed the XML and then using metadata you can refresh the page every 5 sec and load the XML...

As you mentioned Text file can be an option but you need to maintain the hierarchy then we need to go for the XML.

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/8/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
I'm not sure about the same but what you can try is XML File for the same. Please correct me if I am wrong.

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Skraghava on: 2/8/2011 [Member] Starter | Points: 25

Up
0
Down
Hi ,

Yes may be thats one of the solution. But will the person who is entering the commentry text will be knowing the XML? I think there will be a better solution.

I hope some one who has worked on this kind of projects shares his knowledge.

Thanks and regards,
Raghavendra SK

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Skraghava on: 2/8/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Karthik,

Yes, Your suggestion is good. However do we have any faster approach than this?

Thanks and regards,
Raghavendra SK

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/8/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
I think for as of now this is the best approach to use. I'm not sure if there is any faster way than this because XML is the best thing you can do for the same. Even you may try by automating the things.

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/8/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Yes if you want the faster method... We need to use the client scripts for loading the xml instead of normal aproach... Try the latest jquery opitions to fetch the xml. this way you can avoid the server trip and it will be fast

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/8/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi Karthik,

Just to understand......the method of accessing xml can be change and be fast right? But at the end....we need to achieve the same using xml right?

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/8/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Yes you are right... but since its client side scrpting it will be more faster than the normal page loading process...

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/8/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Yups, Absolutely!!!

Thanks for pointing the same out :)

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/8/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Sure Naimishforu!!!

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sahaya on: 4/27/2011 [Member] Starter | Points: 25

Up
0
Down
you can try this site http://www.xnynz.com/xyz/website-builder/ to create a site at cheap rates.

fagg

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response