PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Design for task implementation
Design for task implementation
Iniciado por sivakrith, 20,feb. 2015 13:34 - 5 respuestas
Publicado el 20,febrero 2015 - 13:34
Hello,

I"m new to Wx products, would like your expert advice regarding development of the following project, using Windev Mobile.
It's a task scheduler program and all communications happens using mobile(s) and Web.

Coverage:
A task is initiated by one member (mobile number) and assigned to another member (mobile number). On receipt of the task, the other member executes it and informs the initiator about its completion.

1. Restricted to Members alone.
2. Only through the software developed for this purpose.
3. Security, all the way, is utmost important. Third parties or other members should not have any chance to see "other's task".
4. High Scalability. Members may go up to few hundreds to thousands to few millions.
5. Speed.

My recommendation.
1. Windev Mobile / HFSQL on client side.
2. PHP / MySQL on the web (Java / Mysql is also under consideration). Scalability and initial cost is preventing us to choose Webdev.

Doubts:
1. Methods to transfer these tasks to the other mobile and re-transfer the status after completion. Intermediary status also could be set which also needs to be transferred. Should a RESTful web service is a better choice or any other better ways available.
2. Not restricted to handset but mobile number. Member is a mobile number. If one member changes his handset, he should be able to continue to use it. He must be able to see all his old tasks and its completion stage.
3. Having concern about storing those tasks in the web db. Is it advisable ?

Happiness Always
BKR Sivaprakash
Publicado el 20,febrero 2015 - 14:22
Hi,
1. Methods to transfer these tasks to the other mobile and re-transfer
the status after completion. Intermediary status also could be set
which also needs to be transferred. Should a RESTful web service is a
better choice or any other better ways available.



That's the way I prefer, but soap web services are also available. Now,
this method implies that the receiver/target regularly Polls the
webservice to see if any task has been assigned to him, which may become
costly. So you may want to add a direct signaling method, either with
push notification or via sms to tell the target program to go ask the
webservice for details...

2. Not restricted to handset but mobile number. Member is a mobile
number. If one member changes his handset, he should be able to continue
to use it. He must be able to see all his old tasks and its completion
stage.


This just means that you need to store all this information on the web
DB, and create an enrollment process, where the user/mobile number (and
a password for security) give access to the data on the web server and
allow to replicate it on the mobile

3. Having concern about storing those tasks in the web db. Is it
advisable ?

If your DB is encrypted and password protected, yes... I'm doing that
without any problem with webdev and HFSQL. As for your choice of PHP and
mysql, it's your choice, your responsability...

If you want to see some code doing similar things, you can find the open
source project wxreplication on my web site (android, windows, and
webdev). This project covers the whole replication aspect of the data.
What data is sent is up to you (in your case, orders and such)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com


Happiness Always
BKR Sivaprakash
Publicado el 20,febrero 2015 - 14:49
Thanks Fabrice.

Few more clarifications.
What will be the format to transfer those between mobile / web ? With security in mind, I want all those informations to be encrypted that no one could read in middle.

If someone knows how we send / receive data, won't it be easier for them to incorporate the same in their application and receive / send data ? Is there any way to prevent this ?

No problem with Webdev / HFCS, if it could scale up for a good number of concurrent users, say millions. (Initial cost for webdev server and atleast VPS hosting to be planned)

Happiness Always
BKR Sivaprakash
Publicado el 20,febrero 2015 - 15:42
Hi again

Few more clarifications. What will be the format to transfer those
between mobile / web ? With security in mind, I want all those
informations to be encrypted that no one could read in middle.
If someone knows how we send / receive data, won't it be easier for them
to incorporate the same in their application and receive / send data
? Is there any way to prevent this ?


In wxreplication, data is encrypted using a RC4 encryption system. As
you are the only one knowing the key, chances of interception are slim.
You can of course also use a https URL, which gives you a second layer
of encryption.

As soon as version 20 will be available, there will be more encryption
possibilities (up till 19, there is no common encryption available
between mobile and everything else, thus the need to code our own RC4
encryption functions).

No problem with Webdev / HFCS, if it could scale up for a good number of
concurrent users, say millions. (Initial cost for webdev server and
atleast VPS hosting to be planned)

I don't see why it wouldn't be possible... It's only a question of
numbers of servers and of a good load balancing solution, just the same
as for mysql.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com

Happiness Always
BKR Sivaprakash
Publicado el 21,febrero 2015 - 06:54
Thanks Fabrice again. I'll start working on the Wx platform for this project. I need to start from scratch as I'm new to these products / technologies. I'll be in need of your expert advice on the way. :)

Could you suggest one good webdev / HFSQL web hosting provider to start with.

Happiness Always
BKR Sivaprakash
Publicado el 21,febrero 2015 - 16:19
Hi

I'm sending my customers to kalanda.net. They have a hosting plan
starting at 5€/month, which is perfect for your testing phase, and they
have servers in France and Canada...

You can contact them using contact@kalanda.net in english, as their web
site is STILL not available in english (it's on the way)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com


On 2/21/2015 12:54 AM, Sivaprakash wrote:
Thanks Fabrice again. I'll start working on the Wx platform for this
project. I need to start from scratch as I'm new to these products /
technologies. I'll be in need of your expert advice on the way. :)

Could you suggest one good webdev / HFSQL web hosting provider to start
with.

Happiness Always
BKR Sivaprakash