Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 19 of 19 total
Thread Recreating A Windows Application In EWB
Mon, Apr 23 2018 12:17 PMPermanent Link

Frederick Chin

"Matthew Jones" wrote:

/*
Have a look back at previous postings. Various people have described their servers. I've used RemObjects SDK and C#/.Net web services personally.
*/

I was thinking of using Delphi 7 and Indy.

/*
I will also say that you may be suite surprised at how much time it takes to convert a desktop project into a web application. You get a lot of things "for free" in Delphi components that you have to code in web applications. Doing a "like for like" will be difficult and not get the best experience from the web.
*/

So true. Delphi's range of components is very extensive and it is very difficult to emulate the functionality in EWB. When users ask me why the web application is so simple looking and has less features compared with the Windows application, I tell them that a web application is like that.

--
Frederick
Mon, Apr 23 2018 2:17 PMPermanent Link

Mark Brooks

Slikware

Avatar

Frederick Chin wrote:

So true. Delphi's range of components is very extensive and it is very difficult to emulate the functionality in EWB. When users ask me why the web application is so simple looking and has less features compared with the Windows application, I tell them that a web application is like that.

--------------------------------------------------------------------------------------

An interesting point and I thought this too when first moving across. However, the secret is to create your own components, which is actually straightforward in EWB, if not a little time-consuming. If you can get to this stage then you'll create web apps that actually look better then their Delphi equivalents and which users generally prefer. Not a lot of help at this stage I guess, but didn't want you to think that it wasn't possible.

Good luck
Mark
Mon, Apr 23 2018 2:18 PMPermanent Link

Raul

Team Elevate Team Elevate

On 4/23/2018 12:17 PM, Frederick Chin wrote:
>
> I was thinking of using Delphi 7 and Indy.
>

That IMHO would be the easiest and least expensive way to get started.

ICS has a free web server component as well and there are others.


If you want to support EWB native dataset functionality then this is the
JSON reference on what you'd need to minimally implement

https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=JSON_Reference


Raul
Mon, Apr 23 2018 6:22 PMPermanent Link

Frederick Chin

Mark Brooks wrote:

/*
An interesting point and I thought this too when first moving across. However, the secret is to create your own components, which is actually straightforward in EWB, if not a little time-consuming. If you can get to this stage then you'll create web apps that actually look better then their Delphi equivalents and which users generally prefer. Not a lot of help at this stage I guess, but didn't want you to think that it wasn't possible.
*/

I probably will get to create my components eventually unless a third-party set comes along. For now, I will be working on the web server first.

--
Frederick
Mon, Apr 23 2018 6:24 PMPermanent Link

Frederick Chin

Raul wrote:

/*
That IMHO would be the easiest and least expensive way to get started.

ICS has a free web server component as well and there are others.


If you want to support EWB native dataset functionality then this is the
JSON reference on what you'd need to minimally implement

https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=JSON_Reference
*/

Thanks for the reference and pointers.

--
Frederick
Mon, Apr 23 2018 11:04 PMPermanent Link

Raul

Team Elevate Team Elevate

On 4/23/2018 6:24 PM, Frederick Chin wrote:
>
> Thanks for the reference and pointers.
>

One more thing in that case. Took me a while to find the right post but
Tim had posted some sample delphi webserver code that does lot of the work:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_demos&msg=26&page=1

This was before EWB web server shipped so you might need to adjust
couple of things but see BuildColumns and BuildRows functions as they
likely implement most of the code you'd need

Raul
Tue, Apr 24 2018 2:11 AMPermanent Link

Frederick Chin

Raul wrote:

/*
One more thing in that case. Took me a while to find the right post but
Tim had posted some sample delphi webserver code that does lot of the work:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_demos&msg=26&page=1

This was before EWB web server shipped so you might need to adjust
couple of things but see BuildColumns and BuildRows functions as they
likely implement most of the code you'd need
*/

Thanks. I appreciate this.

--
Frederick
Tue, Apr 24 2018 4:09 AMPermanent Link

Matthew Jones

Frederick Chin wrote:

> I was thinking of using Delphi 7 and Indy.

You can do it with that. If you can go up a level to something that handles web sessions and cookies and the like, then it will save you a lot of time.

Not sure how relevant it is today, but https://matthew-jones.com/2014/05/13/why-do-i-use-remobjects/ shows some of the things you want to get from a framwork. No point doing all these things from scratch.

--

Matthew Jones
Tue, Apr 24 2018 10:18 AMPermanent Link

Frederick Chin

"Matthew Jones" wrote:

/*
You can do it with that. If you can go up a level to something that handles web sessions and cookies and the like, then it will save you a lot of time.

Not sure how relevant it is today, but https://matthew-jones.com/2014/05/13/why-do-i-use-remobjects/ shows some of the things you want to get from a framwork. No point doing all these things from scratch.
*/

Thanks for the link. I will explore this as well.

--
Frederick
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image