Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread General use of modules..
Sun, May 29 2016 10:05 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Hi All,

A simple question (I think) Smile
Let's say several functions (sending mail, retrieve files, posting
files.. you name it) are needed, can those functions be gathered into 1
module, or is there need for a module for a every function?

Regards,
Hüseyin
Sun, May 29 2016 4:40 PMPermanent Link

R&D team @ Environment Canada

I think you can do this quite easily

1. on the client, specify the 'functionality' you want via a custom parameter in the http call.

2. on the server side (Delphi XE module).. extract the parameter value, and then use a case or if/then structure to do the appropriate function. this is done in the 'OnExecute' function

See the EWB2 and EWB2 module help files. I think they are pretty complete.

//

=?UTF-8?Q?H=c3=bcseyin_Aliz?= wrote:

Hi All,

A simple question (I think) Smile
Let's say several functions (sending mail, retrieve files, posting
files.. you name it) are needed, can those functions be gathered into 1
module, or is there need for a module for a every function?

Regards,
Hüseyin
Mon, May 30 2016 4:25 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Bruno,

Thanks Smile

Regards,

Hüseyin


Den 29-05-2016 kl. 22:40 skrev "Bruno Larochelle"@Environment Canada:
> I think you can do this quite easily
>
> 1. on the client, specify the 'functionality' you want via a custom parameter in the http call.
>
> 2. on the server side (Delphi XE module).. extract the parameter value, and then use a case or if/then structure to do the appropriate function. this is done in the 'OnExecute' function
>
> See the EWB2 and EWB2 module help files. I think they are pretty complete.
>
> //
>
> =?UTF-8?Q?H=c3=bcseyin_Aliz?= wrote:
>
> Hi All,
>
> A simple question (I think) Smile
> Let's say several functions (sending mail, retrieve files, posting
> files.. you name it) are needed, can those functions be gathered into 1
> module, or is there need for a module for a every function?
>
> Regards,
> Hüseyin
>
Image