http://nswong.50webs.com/, nswong personal website, nswong 個人網站
https://www.google.com/search?nfpr=1&filter=0&q=nswong, nswong, (Google webpage search, 谷歌網頁搜索)
https://www.google.com/search?tbm=isch&nfpr=1&filter=0&sout=1&q=nswong, nswong, (Google image search, 谷歌圖片搜索)
https://www.google.com/search?nfpr=1&filter=0&q=welcome_reprint.htm, Welcome to reprint, 歡迎轉載


{05111401.htm, 2005-11-14, Online game service}

https://www.google.com/search?nfpr=1&filter=0&q=05111401.htm, 05111401.htm, (Google webpage search, 谷歌網頁搜索)
https://www.google.com/search?nfpr=1&filter=0&q=sangoku.htm, 三國志NET-在綫遊戲

{05111401.htm, 2005-11-14, Online game service}


{Article, 文章, 05111401.htm, 2005-11-14, Online game service}


[2005-11-14, Online game service]

2005-01-12 nswong:
燕十三,
If you going to develop an online game, this is what I suggested:
Your data file format should be XML file. Raw data for each player should in it own player directory.
Process layer and data layer are written with C#.
Presentation/interface layer with .htm, not .php .cgi or asp.
Your read/write data server should be two, your process server also be two. All these 4 server should reside at the country where you stay.
You should have two mirror read only data server and two interface server in each country where your players are.
Access to all these server should provided by at least two different ISP.
Game service play a very important role in the success of online game.
You will fail regardless how good are your game but with poor game service.

2005-01-13 nswong:
燕十三,
 > I only do this on spare time, maybe few hours a week. So I don't expect to see something turn out very fast.
> It is more for my experimental rather then make it up and running.
When talk in work, all the effort we pay must can help to bring reward in the future. In another word, the effect of effort must can accumulated.
Also each step we do now, must can bring us logicaly nearer to our target. Even you are just doing research, the effort you pay should can apply in what you going to acheive in the future.
> Will do performance test on XML, Access and MYSql.
When talk about performance, unavoidable we must skip through those layers between application and data storage as long as it's feasible.
The file format of Access are no way to talk about performance. MySql got overhead and hard to do direct control. Both of them involve setup and human intervention of DataBase administation, I doubt you can get DataBase admin easily in some countries, and centralize administration(remote control) are not the answer to all the problem of DataBase administration.
> And check for the feature that available if using XML.
The support in .NET are more than enough for a system programmer. Look for XMLSerializer.
> Process layer and data layer I am thinking to use ASP, where I am familiar with.
You are taking risk of your server are hack or attack by people. And you can't get the performance you want.
> But I guess it is fun to try with C# too.
C# will be the trend for the next 5 years, be realistic, don't against the trend, save your time for your application.
> Presentation/interface layer with .htm, do validation on client side with Java script. Somehow I prefer Java script then VB script in this case for no reason.
Validation have to be done by server, if people hack it at client side, it's not worth the effort to solve the problem.
> Your read/write data server should be two, your process server also be two. All these 4 server should reside
> at the country where you stay<- I doubt I will bother this for the time being
Your application infrastructure must support this. We develop the banking software system on DOS platform and connected with LAN, but the whole thing can be implemented without changes in the code or data structure across DOS/Windows/Unix/LAN/WAN. Do some research at "Application Portability".
> In fact I can use my pc as server. But I doubt my pc and my line can support it. hoho
You need at least a fix IP address to setup a webserver, I don't think you have it now.

2005-01-13 燕十三:
> I doubt you can get DataBase admin easily in some countries
MySQL need to be installed at server. But Access no. As long the .mdb file is stored at server, Accessing the .mdb file using ADO. ADO are come with IE and OS.
Yes, I am kind of keen to look into .NET now.
> You are taking risk of your server are hack or attack by people
Admin should handle this. And don't think IIS is really that bad implemented even it is not great.
> C# will be the trend for the next 5 years, be realistic, don't against the trend 
C#,ASP.NET,VB.NET
> Do some research at "Application Portability".
You are asking me to get a degree before building up a dog house. For small scale application development, it hardly talk about this.
> You need at least a fix IP address to setup a webserver, I don't think you have it now.
I am using dymanic IP, but many website provide such a feature. I think one of it is no-ip.com I think we better stop here.

2005-01-14 nswong:
 > Accessing the .mdb file using ADO. ADO are come with IE and OS.
I do not got experience at ADO on .mdb, but please have a look at the problem you may face when using ODBC to access .mdb:
http://www.geocities.com/n_s_wong/odbc.zip
It like installing a hardware driver, when it work at your first install, your are lucky. Or else you are bad luck if you don't know about the detail.
> Admin should handle this. And don't think IIS is really that bad implemented even it is not great.
We can prevent it with our code or depend on build in security feature of network OS or firewall. When you depend on the network OS or firewall, you are in the mercy of network Admin. I'm sad to say that, by the time I setup my first TCP/IP network, I'm the best Admin for TCP/IP network the company can found. When I looking for help for so call chief network consultant from the so famous international company, the reply I get are posting to newsgroup, and see if someone may got solution, and at the end, I'm the one who solve the problem.
You should know that after this so long time lost in touch with networking, I got no confidence to my self on networking anymore. But I'm really sad to say that, I found out recently most of those so called network Admin are not even have the basic concept of networking. So, do you think I should suggest you depend on them to do the work?
> C#,ASP.NET,VB.NET
I'm sorry that when I write the previous message, I'm not in the right mood. I should said in more precise way: C# are the next programming language for serious application development. Even VB.NET do improve a lot in the language architecture over VB 6, due to it need to maintain minimal backward compatibility, it still got fault on the program logic flow control structure, especially on the error/exception handling part, that lead the software develop with it are trend to become messy. This trend will become obvious in a big software project, and restrict the expandability of software application due to it hard to modifiy and debug. You may happy with VB.NET when you do not see what can be do in C# before. Yes! We can implement all sort of software engineering concept in any programming language or software development tools. But why not we go by the easier path?
Look at MicroSoft, if they are happy with VB.NET, why they don't use it to write their Windows and other major application software? They are using C# for this now.
> You are asking me to get a degree before building up a dog house. For small scale application development, it hardly talk about this.
Do you see how I do it on my small piece of land? I use this small land to implement all sort of agriculture concept I learn, and earn the real life experience from it. This will help me to cut down the research time and learning curve when go to big scale.
After you design a working structure and system core, you can reuse and reuse at each application you develop with minor change to the structure. People called it as reusability of effort.
The way I prefer are, the game we develop can play as stand alone on our PC, and play as LAN game or Online game without any change on the code. And the design structure and system core can also use on other application that will bring in income for us, let say an Accounting system that can work at stand alone PC, on LAN, and on Internet at the sametime. This is the trend for future, we just can't avoid it if we still want to stay in software development line.
> I am using dymanic IP, but many website provide such a feature. I think one of it is no-ip.com
> In fact I can use my pc as server.
I'm refer to if you want to use your PC as a webserver, you do need to subscribe a fixed IP address from ISP.
> I think we better stop here.
If the way I express do offend you, try think it in another way. Do you notice I don't like to spend my time on argue with other people?
But I do put time on people I care for. :-)

[2005-11-14, Online game service]


{Article, 文章, 05111401.htm, 2005-11-14, Online game service}


valid-html401.gif, 2010-09-01, Valid HTML 4.01 Strict http://validator.w3.org/check?uri=referer, 2010-09-01, Validate this web page with HTML 4.01 strict.dtd for conformance to W3C Recommendations and other standards.