Is it possible to design my Delphi app interface in HTML?

Hello,

I am wondering if it's possible to use HTML (e. g. using IWebBrowser) to create a Delphi app that intracts with the database?

If so, how this can be done?

Thanks.
AngryCAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aikimarkCommented:
Can you elaborate on what you'd like to happen?  You question is devoid of details.

There is an emerging WinFX/Longhorn standard, XAML, that is supposed to define a user interface.  However, I don't know how you would use this with Delphi.  There seems to be some similarity between XAML and the Delphi .dfm file (from the literature).

Here are some XAML references:
http://www.xaml.net/
http://www.ondotnet.com/pub/a/dotnet/2004/01/19/longhorn.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnintlong/html/longhornch03.asp
LMuadDIbCommented:
using ASP.NET in Delphi 8/2005/2006 you can.. or Intraweb
basically anything you can make you win32 / .net app do you can make your asp.net app do by coding in html/pascal

http://www.atozed.com/intraWeb/
Ivanov_GCommented:
The IWebBrowser browser itself will not do anything more that just displaying the HTML files.

If you want to make your application work you will need a web server to serve these HTML files. For e.g. when you click submit button, all the fields on your form will be available in the POST parameters, which you can handle serverside.

If this Delphi application will just some ready web site - why not, you can integrate it. Otherwise - it is useless.
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

KunfufaresiCommented:
hello,

if you use web browser as interface you must create teh html files and load them into the system but afterwards you can ues the go event to capture clicks easily and act accordingly. for instance you could say a href="mycode:open(table1)" when user clicks on a link you search for mycode: if you find it you interpret the rest of the link and make the browser go to another file:///c:\... which you would already have created. getting for values is also similar instead of go event you would work on the post event.
EugeneK-biruzaCommented:
The answer is in your question: you can use IWebBrowser for UI in your application. For example, MonarchSearch (which developers team leadr I am) uses it (http://www.monarchsearch.com)
aikimarkCommented:
I would NOT delete the question as it contains potentially useful information
GranModCommented:
Closed, no points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.