Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-12

pas2js 2.0.0 Release Candidate 5

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mgr. Janusz Chmiel
to Mattias Gaertner

When ever I read about new Pas2js version release, my soul is full of happyness and I feel joy fully. Because after many years of analysis, I have come to very interesting conclusion. Pas2JS and Borland Delphi for Windows are programming languages, which are fully usable even by visually impaired developers with no support even table creation and thanks to BOotstrap unit, it is really, really possible to create very nice WEB applications. The most amazing on this fact is, that if visually impaired programmer code by using this technology, he is not being forced to use numbers to specify every object dimension. And as A result, his handicappe is being hydden. Many other programming languages are very often forcing developers to use numbers to specify every object position. But Pas2JS and special units for it are not being forced programmers to do that. If somebody want to use .lfm forms, sure, it is possible. But also coding without visual designer is possible. And I would like to thank all of engaged programmers on this mailing list for that. May be, that you could think, that it is not important for majority of sighted programmers, but for visually impaired espcially for this group of people, Pas2JS and opensource units can really mean a very meaningfull possibility of development techniques, which would even allow visually impaired developers to work like a web applications developer. Sure, no developer of graphically focused games. But developer of text based web pages with interactive forms and other GUI elements. So thank you very much for all yours complex programmers work.

Tento e-mail byl zkontrolován na viry programem AVG. http://www.avg.cz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201204/fc88d34f/attachment.htm>

Reply by email

warleyalex
to Mattias Gaertner: I uploaded the fourth release candidate of pas2js 2.0.0. Changes and new features:…

...there is a long time I use pas2js, please implement these two features, for God's sake.

--> multiline string literals or $INCLUDE syntax to include a file as a string.
and
--> anonymous record type feature

type // define some record types, used as properties below
  TSimpleJSONArray = record
    F: String;
    G: array of String;
    H: record
      H1: Integer;
      H2: String;
      H3: record
        H3a: Boolean;
        H3b: TSQLRawBlob;
      end;
    end;
    I: TDateTime;
    J: array of record
      J1: Byte;
      J2: TGUID;
      J3: TRecordEnum;
    end;
  end;

regards,
warleyalex

Reply by email

warleyalex
to heliosroots

the anonymous record feature is very important as well.

in the cenario, we need to map complex databases objects, populate complex JSON object.
this json would be mapped to this record type structure. We should use the record type to store/retrieve the JSON data, to perform CRUD operations for instance.

{
"RowID" : 1,
"FirstName" : "First1",
"LastName" : "Last1",
"Data" : null,
"YearOfBirth" : 1801,
"YearOfDeath" : 1826,
"Another" : 1,
"Sexe" : 0,
"Simple" : {
"F" : "",
"G" : [],
"H" : {
"H1" : 0,
"H2" : "",
"H3" : {
"H3a" : false,
"H3b" : null
}
},
"I" : "",
"J" : []
}
}

Reply by email

Michael Van Canneyt
to warleyalex

As far as I am concerned, the support for anonymous records is first after release 2.0.

Michael.

warleyalex wrote 43 lines
the anonymous record feature is very important as well. in the cenario, we need to map complex databases objects, populate complex JSON object. this json would be mapped to this record type structure. We should use the record type to store/retrieve the JSON data, to perform CRUD operations for instance. { "RowID" : 1, "FirstName" : "First1", "LastName" : "Last1", "Data" : null, "YearOfBirth" : 1801, "YearOfDeath" : 1826, "Another" : 1, "Sexe" : 0, "Simple" : { "F" : "", "G" : [], "H" : { "H1" : 0, "H2" : "", "H3" : { "H3a" : false, "H3b" : null } }, "I" : "", "J" : [] } } -- Sent from: http://pas2js.38893.n8.nabble.com/ _______________________________________________ Pas2js maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js

Reply by email