Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2003, 09:41 AM
Ned Ned is offline
Authorized User
 
Join Date: Jun 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default For n-tier application

I have developed an n-tier application using VB6/SQL2K/COM+ tools. Do you think I should include XML? and will it make a big difference in terms of scalability, speed and performance? This application is running local area network as well as on VPN.

Well suggestions are welcome.
-Ned
__________________
-Ned
 
Old July 4th, 2003, 07:00 AM
Registered User
 
Join Date: Jun 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

These are some of the benefits that xml brings to an application,

Making information transfer more fluid:

-If your Vb components or classes return information back as Xml, ur display or user tier could be anything, as such your application would be more flexible. U could use the same components to send info to an excel sheet, a web page or even another application. This is because you can utilise xsl stylesheets to transform information to the desired effect.

- instead of passing back alot of ByRef variables or even hefty resource intensive objects (example ADO recordsets), you just pass back a string that contains all the information that you need.

Tier Separation,

- It ensures that ur tiers are really separated, ur user interface(display) tier becomes a tool for displaying and entering information only. All processing is centralised in your components and no where else.

Basically, your application becomes that bit more flexible and a bit more future proof. So it all depends on the type of app you have. In terms of speed you may get a bit of a boost and if your app is processing intensive that boost becomes a bit higher. In terms of scalability, it is a definite Yes since your app can support different clients of very varied types.

The thing to remember is that all the above comes with a bit of a learning curve. Dynamically creating Xml Strings, writing Xsl stylesheets and debugging the whole application is easy only when you know how. I suggest before tinkering with an already built app you start playing with something small until you feel conformtable with Xml.

This Web Link could start you on your new Xml adventures:

http://www.devguru.com/Features/tuto...nning_xml.html

Regards,

Abdel
 
Old July 4th, 2003, 12:07 PM
Ned Ned is offline
Authorized User
 
Join Date: Jun 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Abdel,
You are such a helpfull person. That link looks usefull to me.
Thanks very much,
-Ned

-Ned
 
Old July 5th, 2003, 07:37 AM
Registered User
 
Join Date: Jun 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Don't mention it.

Cheers,

Abdel
 
Old July 27th, 2005, 04:54 AM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can anybody help me with a sample code to build n-tier application

Technology VB6 - ADO - Xml and SQL/Access/Oracle

I have worked on building ntier application but was missing xml but as we all want to be up with xml i dont want to be left behind

Please be kind to send me a step guide or a sample code

Thank u

Anu







Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between 3 tier and N-Tier architecture Manoj Bisht ASP.NET 2.0 Professional 2 May 9th, 2008 08:42 AM
3 Tier example fj8283888 Pro VB.NET 2002/2003 1 August 2nd, 2006 03:44 AM
VB .NET in implementing 3-tier Application hplim18 VS.NET 2002/2003 1 July 6th, 2003 03:45 PM
VB.NET in implementing 3-tier Application hplim18 VB.NET 1 July 6th, 2003 05:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.