Best way to do this?

A

Anonymous

I have a distributed N-tier C++ application that I want to make
available online. Because of the architecture, I should be *in theory*
be able to replace the presentation tier from the current one to web pages.

However, I am not sure what the best way to do this is - since the GUI
is quite sophisticated (interactive graphs, tables etc). Could anyone
with real world experience of doing this (or something similar), offer
some guidlines/advice ?
 
E

Eliyahu Goldin

You will get frustrated very soon if you will try to reproduce your Windows
GUI in web. Web has it's own GUI and usability rules. Have someone
experienced in web look at the application and give you an advice how to
proceed.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
 
J

JinWeiJie

I have a distributed N-tier C++ application that I want to make
available online. Because of the architecture, I should be *in theory*
be able to replace the presentation tier from the current one to web pages.

However, I am not sure what the best way to do this is - since the GUI
is quite sophisticated (interactive graphs, tables etc). Could anyone
with real world experience of doing this (or something similar), offer
some guidlines/advice ?


i guess adobe flex may suit your requirment, because it is more like
win form app.
 
M

Michael Nemtsev [MVP]

Hello Anonymous,

you need provide the new UI for web using ASP.net
and consider refactoring you business logic to extract web services to have
access via internet


---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


A> I have a distributed N-tier C++ application that I want to make
A> available online. Because of the architecture, I should be *in
A> theory* be able to replace the presentation tier from the current one
A> to web pages.
A>
A> However, I am not sure what the best way to do this is - since the
A> GUI is quite sophisticated (interactive graphs, tables etc). Could
A> anyone with real world experience of doing this (or something
A> similar), offer some guidlines/advice ?
A>
 
G

Guest

Since the names and structs of the controls behave the same in WinForm and
ASP.NET are identical, so most of the codes behind will work properly. You
will only need to use different assemble. Take Label for instance, you only
need to replace "using System.Windows.Forms" with "using System.Web.UI".
Something not supported in ASP.NET could be replaced with your own methods.
eg.
MessageBox.Show("Hello");
==>
static class MessageBox{
public static void Show(string msg){
HttpContext.Current.Page.Response.Write("<script>alert('"+ msg
+"!');</scrip>");
}
},

myForm.Show();
==>
class MyForm{
public string url = "www.xxx.com";
public void Show(){
Response.Redirect(url);
}
}

You will be able to make MessageBox.Show("Hello"), myForm.Show() work.

besides, what you have to do is to design the presentation web pages.

And the workforce depends on your code structure.

Hope that my message is useful!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top