Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
10
Erster Beitrag:
vor 8 Monaten, 1 Woche
Letzter Beitrag:
vor 8 Monaten
Beteiligte Autoren:
Art Bonds, Allard, Danny Lauwers, PETER PURTON, Peter Holemans, Fabrice Harari

Multi platform example

Startbeitrag von Art Bonds am 16.12.2016 12:49

PCS loves to tell us that Wx is "Integrated software for developing cross-platform applications". Is there a PCS supplied example of doing that? Maybe a simple rolodex app or something. Would be nice to show prospective clients.

Thx,

Antworten:

Hello Arts,

WXReplication... android, windows, web... (and IOS, but not availabel on my site yet) :-)

Best regards

von Fabrice Harari - am 16.12.2016 13:18
Thanks Fabrice, appreciate the reply. And I agree, it's multi-platform, and I am a big fan (fantastic job, appreciate your work and contribution to the community) . But it is not a small demo type program that a client can download from a website, install, run, interact with, CRUD data and print reports from.

von Art Bonds - am 16.12.2016 14:15
Hi,

Why not make a little app yourself. For instance a little to do app.

In windev webdev that takes about 5 minutes.

Edit field table buttons to add ,delete ,modify and less then 10 rows of code



regards
Allard

von Allard - am 18.12.2016 16:32
Thanks Allard, I was planning to do that if somebody didn't already have a simple one prebuilt. Seems it would be a nice little thing to have to show that we can in fact develop for all those platforms.

von Art Bonds - am 19.12.2016 04:44
Hi Art,

Ideally you'll need a good segregation between db, business logic and GUI where you have a common project written in WD/WM/WB (without GUI) that handles all the business logic and db IO.

I'm still working on getting my OO framework (published on the PCSoft repository) up to this level. The easy implementation of REST API's on top of such a business/db IO layer as of WX22 should make this work even more feasible to go for a real multi-platform solution where you just implement the GUI in each of the three products using a common business and db IO layer.

I just need to have a look first on how well it is implemented in the WX suite and how scalable/performant it is.

I'll keep you posted on my progress.

Best regards,

Peter Holemans

von Peter Holemans - am 19.12.2016 08:27
Hi Peter,

Indeed how stable is it. For instance saving a dashboard configuration .. same function saves different settings

As I see it you would have to make a section for web and windows. ofcource because screens are different but also it seems configuration is saved different.

Ideal code for web and windows the same. But in my opinion if this takes a huge amount of work then small differences and thus keeping two sets of code might be a better choise.

Maybe if you are in a big company and you have the resources to spent lots of time you could do it. For me it is important to get things done with maximum speed.

Remember we already have a big advantage wx needs far less code then for instance servoy.
so for me it is no problem having some code for specific web of windows.


regards

allard

von Allard - am 19.12.2016 10:18
Hi Art
Glade to know your still around.
Are you still in your mobile home ?
Let's do a skype
Give regards to your wife.
I am still using Clarion 10
I think they may have missed the Boat, with there Mobile Device
Frame.
And I must say, that Clarion is looking more and more like WinDev
Here from you soon
Peter

von PETER PURTON - am 21.12.2016 01:25
Quote
Peter Holemans

Ideally you'll need a good segregation between db, business logic and GUI where you have a common project written in WD/WM/WB (without GUI) that handles all the business logic and db IO.

I'm still working on getting my OO framework (published on the PCSoft repository) up to this level. The easy implementation of REST API's on top of such a business/db IO layer as of WX22 should make this work even more feasible to go for a real multi-platform solution where you just implement the GUI in each of the three products using a common business and db IO layer.


Hi Peter, I remember your original version, I remember WM was not really supported much because of it's limited functionality vs WD in the current version (was it 18 or so?). Do we think WM has progressed enough to be equal with WD? With ver 22 on the horizon it sounds like we will be able to do WD and WM using the same wx program, we just need to have the dongle (or maybe I read that wrong... my French she is not mui bien).

von Art Bonds - am 23.12.2016 02:31
Hi,

Currently in WM21 the problem is that it lacks support of variants, procedures Multi Syntax procedures,.... so if you have used these in your classes in WD, then you are out of luck and need to handle that by writing functions that are compatible with WM.

In v22 a lot of these shortcomings have been added (I don't know if all of them are covert), but from what I can read in the french PDF of v22 It would know be possible to share I thing more than 90% of your Business logic classes between the platforms. Your Gui or harware related or device specific things will always have to be platform specific in most cases.

In each version starting from 19 I have seen great improvements in the possibilities and stability of the WM application. They could do better ofcourse, because there are still a lot of functions (not hardware or platform specific) that are only available on some platforms. In that case you need to include some other code for the different platforms, but this is very manageable via the

von Danny Lauwers - am 23.12.2016 08:02
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.