2006/5/11, Michael Van Canneyt <[EMAIL PROTECTED]>:
On Thu, 11 May 2006, Al Boldi wrote: > Michael Van Canneyt wrote: >> On Thu, 11 May 2006, Micha Nelissen wrote: >>> Al Boldi wrote: >>>>>> 2. Replace the delphi dfm with a real code init (java style). >>>>> >>>>> What are the advantages? >>>> >>>> Easier component creation control/management via ONE language. >>> >>> Management of custom modified code is a PITA and will be a failure for >>> big complex forms. Separate DFM/LFM is one *the* best things of Delphi >>> (and Lazarus), nice separation of layout and behaviour. >> >> My opinion too. > > Separation of layout and behaviour would still hold, only w/o requiring a > special scripting language. > > Remember, the DFM thing is really a copy-cat of VB's FRM format. I think exactly not: VB's frm files contain the code as well.
I totally agree. The code must be separated from the interface. I'm currently coding in a language that combines both, even the object encaptulation. It is a nightmare. As for the binary aspect of files, yep, the form files could be code a little bit more, and binary data escaped. But asside that the actuel structure is very good: code / form / ressources. -- Alexandre Leclerc _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives