|
-
Aug 8th, 2006, 12:37 AM
#1
Thread Starter
New Member
Scalability of VB on Component Programming
Hi,
My company has decided to design a drawing component. At present i am using
VB6 for it. The main objective of the component is-
1. It will be used on the Client Browser.
2. It needs to be a part of another web application either in PHP or .Net or Java.
3. It needs to be scalable, maintainable and fast on production.
Can someone suggest, if VB6 can fulfill all the above creteria?
If not what should be the best option for such component?
The component will have lots of algorithm for rules and needs dynamic arrays for manipulating and storing data.
Thanks in Advance.
-
Aug 8th, 2006, 01:38 AM
#2
Re: Scalability of VB on Component Programming
No it can't. VB6 is not exactly portable and certainly isn't a tool for developing client-side web components.
Any sort of interactive web component must be developed using Javascript. There is ActiveX, but that only works in IE, and is difficult to use because of all the security risks associated with it.
Web components have two parts. Server-side, and client-side. Making a server-side component portable between PHP/.NET/JSON is basically impossible, so you are restricted to only one of those solutions. The logic should all be contained on the server side and the presentation and manipulation of this can be done on the client side. Communication can be done using either a hard refresh of the page or a background communication technique (AJAX).
So basically, your business logic algo stuff would be in PHP/ASP.NET/so on, this feeds to a server-side presentation layer which outputs the basic HTML code required to represent the presentational structure on the client's browser, client-side user manipulation of this is done using DOM methods in Javascript, and then the client-side data set is fed back to the logic layer on the server.
-
Aug 8th, 2006, 03:18 AM
#3
Thread Starter
New Member
Re: Scalability of VB on Component Programming
I forgot to mention, that this component has its own UI. Also its a container for another component i have downloaded.
Is the above requirement possible with server side VB component?
Can anyone suggest the best language to be used for such requirement?
Thanks.
-
Aug 8th, 2006, 03:53 PM
#4
Re: Scalability of VB on Component Programming
If the UI is server-side the user will never see it. If it's client-side it can't be VB.
Penagate told you the best language(s) to use - PHP/ASP.NET/so on server-side, HTML (produced on the server) and javascript client-side.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|