Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
10
Erster Beitrag:
vor 8 Jahren, 5 Monaten
Letzter Beitrag:
vor 8 Jahren, 5 Monaten
Beteiligte Autoren:
BLS, joe crevino, Fabrice Harari.pcs.crosspost, Fabrice Harari, heinz kübler, Paulo Oliveira

Windev vs Suneido ..

Startbeitrag von BLS am 20.04.2009 15:12

Not a complete comparison chart :) Just a few facts and one thing I would really like to see in Windev too.
Suneido's language is comparable to Ruby.
Suneido has no visual tools.
Suneido does not support SQL , instead it uses relational algebra language. (Like it)

However, Suneido comes with a very impressive feature I would like to see in Windev !

This is to enable the END USER to add a control to a Form window at runtime. Two things happen :
The database will be modified in order to hold the new information. (represented through the new control ) The program is modified automagically.. But read/see it by your self. (if you like)
http://www.suneido.com/suneidoc/User_Interfaces/Reference/CustomizableControl.htm

Beside that, I think a person which speaks fluently Suneido will win a RAD Race. The resulting software is, IMO, not as eye candy as the Windev one.

Björn

What is Suneido : http://www.suneido.com

Quote :
Suneido is a complete, integrated application platform -
a system for developing and deploying applications without the frustrations of integrating multiple different products.
Suneido incorporates an object-oriented programming language, client-server relational database software, and application frameworks and components. It includes the integrated development environment (IDE) used to create applications as well as the client and server required to run applications across networks. Suneido is Open Source - it is provided free, with complete source code. .

Antworten:

Nothing against suneido,

... but PC-Soft, please do NOT implement this feature,

it would be a nigthmare for a serious developper (if he would ever use such a thing ?)

As soon as users would start adding datafields to a database there is no way to deliver an update (release) of your software

-> complet loose of control
-> who is responsible for resulting problems/errors ?

just my 2 cents..



von heinz kübler - am 20.04.2009 19:57
Hi all...

in fact, even without pcsoft, it's already possible to implement this feature with a little coding, and it's perfectly maintainable...

- Use the cloning functions for the visual aspect
- Store and reuse the description of fields in memo under a schema looking something like this:
F1LabelUS=
F1LabelFR=
F1Type=
F1Mask=
...
FnLabel...
- Store the content of ALL 'user' fields in ONE memo field, under a schema looking by example like this:
F1=
F2=
F3=

If keys are necessary on some of those fields, manage them 'by hand' in coded designed index files...

And a new version of the software doesn't change a field, considering that all this is in ONE memo field per record...

In fact, you could design a whole application entirely like this

Best regards



von Fabrice Harari - am 20.04.2009 20:30
Hi Heinz,
Quote
heinz kübler
it would be a nigthmare for a serious developper (if he would ever use such a thing ?)


I have a lot of sleepless nights thanks to unfixed bugs in Windev. Suneido bugs are fixed within 48 hours. Some 3 years old WD bug are still waiting for a fix.

Quote
heinz kübler
As soon as users would start adding datafields to a database there is no way to deliver an update (release) of your software
-> complet loose of control
-> who is responsible for resulting problems/errors ?


This is why Suneido has the ensure statement.
Ensure that the specified table has at least the specified characteristics. (It may have more.)
For example:

ensure mytable (name, salary) key(name)

No loose of control, no additional errors. Ick, and less update politics related income ;)
Björn

von BLS - am 21.04.2009 02:17
Quote
Fabrice Harari
Hi all...

If keys are necessary on some of those fields, manage them 'by hand' in coded designed index files...
Fabrice Harari
WinDev, WebDev, WinDev Mobile Consulting & Video Courses


Yeah, how do you manage this keys by hand ?.
Everything else seems reasonable to me. (may be I would chose XML to store the information)
Björn


von BLS - am 21.04.2009 02:22
Hi Fabrice,
just one additional question : How do you manage anchoring in case that the new control should live between 2 existing ones ?
Guess this is doable but will require a lot of coding.

Björn

von BLS - am 21.04.2009 02:33
we use something like it in all our app.
In our standard db we have several tables to define all the characteristics of the tables, fields, keys, controls and validation rules the coding is base on hdescribefile, hdescribefield, hdescribekey ..., trigger, controlclone and compile.
when the user changes the table definition WDMODFIC doesn't work but we create one dynamic procedure to deal with it.

Some problems (just to start):
hdescribelink doesn't work like it should.
controlclone have some limitations, the size of the edit control label and data is the bigest.



von Paulo Oliveira - am 21.04.2009 12:02
Hi Björn

you create a file dynamically with the fields necessary for the key when
the design part is done, and then on each add/modify, you also
automatically modify the key files...

For the anchoring, the ..anchor property is your friend

Best regards

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

More information on http://www.fabriceharari.com


BLS wrote:
> Hi all...
>
>
>> If keys are necessary on some of those fields, manage them 'by hand' in coded designed index files...
>
>> Fabrice Harari
>
>> WinDev, WebDev, WinDev Mobile Consulting & Video Courses
> Yeah, how do you manage this keys by hand ?.
> Everything else seems reasonable to me. (may be I would chose XML to store the information)
> Björn
>
>
Message forwarded from pcsoft.us.windev

von Fabrice Harari.pcs.crosspost - am 21.04.2009 12:15
Lets not start comparing and stating that mine is bigger than yours. Use what you like. There are strong and weak points in every system. If you know it well and can make a living with it use it

joe crevino

von joe crevino - am 21.04.2009 13:14
Joe, don't get me wrong! I like WD.
It is just this feature I would like to see in WD.

But you are right the topic title " XX vs YY" wents into the wrong direction.

Björn
It is however not that bad to have a look on what happens outside our WD world.

von BLS - am 21.04.2009 15:26
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.