xml client server
xml client server
Can you help me with these assumptions about programming?
1. A client program running on a remote machine accesses the database much faster with a physical connection (cable) to the modem than with a wireless connection. Why? Is this really the case?
2. Xml config files are not completely necessary. I feel more comfortable getting config info (e.g., connection string) from a simple text file located in the same place than an XML file. I also see that PHP and Apache and other systems have .ini files (in text format, not .xml)
3. It is faster to do all data manipulation in SQL Server, and do business operations like on client machines.
4. It is faster to access a database on the web (or intranet) than to access it with a client app on a remote machine.
IF my assumptions are wrong, PLEASE enlighten me.
Thanks
1. True sometimes. Ethernet connections are nearly always faster than wireless. Ethernet also has the luxury of being able to resend things like fragmented packets faster. There’s less latency and less chance of the signal dropping or weakening because of distance (as long as the cable is solidly connected).
2. Well, I don’t know what you’re assumption is, but XML config files are just one way to save configurations. XML is text; there’s nothing binary about it. If the system parsing the XML file has the ability to do so (IOW, it understands how to read XML, which is a standard), it could read an XML file just as fast as a text file. The reason Apache and PHP use ini files (which are just text files) is because that’s how they were originally designed, and there’s no need to “fix” something that works fine. If reading XML were part of the construction of those two engines, they might have used XML instead.
The K Desktop System (KDE) used on Linux distributions keeps nearly all of it’s configurations in XML files.
3. Apples and oranges. You’re asking about two possibly different functions on two different kinds of machines. The only true way to compare the two is to perform the fame functions on both machines using different methods.
4. Again, apples and oranges. The bandwidth on the web varies considerably from site to site. That affects access time. When you say “remote machine”, what do you mean? Remote in the next room, the next building, on the opposite coast? You’re trying to build your assumptions based on generalizations, which is always a bad thing to do.
WAS XML Feature Pack Demo 7 – XML Thin Client (Beta 4)