Sign in Join

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

Mailing lists / lazarus / 2015-06

VCLJS

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Bee
Bee wrote
Hi all, Just found this:?http://www.vcljs.com Is it possible to use it as LCL for the web?

I would not recommend it. It's typescript, not javascript. Typescript is an M$ experiment. You need visual studio for it to work. (conceivably it can be used without VS, but it is an additional hurdle).

There are many javascript "widgetsets" out there that can be used as "VCL for the web": React, ExtJS, Angular, Jquery UI etc. Focusing on one is not the right approach IMHO. Not to mention that they all evolve at breathtaking speed, and what is current today is no longer current next year.

Michael.

Reply by email

Michael Schnell
to Michael Van Canneyt: I would not recommend it. It's typescript, not javascript. Typescript is an M$…
Michael Van Canneyt wrote
There are many javascript "widgetsets" out there that can be used as "VCL for the web": React, ExtJS, Angular, Jquery UI etc.

Any recommendation for one of those to create a server-based application featuring a web-based remote GUI that is supposed to not very complex, but "active" (i.e. sowing internal states of the server based application by a kind of "reverse event".

I only know EXTJS (in the "EXTPASCAL" incarnation) to have had (at some time in the past) an at least exceptionally working link top fpc/Lazarus.

-Michael

Reply by email

Bee
to Michael Van Canneyt: I would not recommend it. It's typescript, not javascript. Typescript is an M$…

On Tue, Jun 30, 2015 at 1:31 PM, Michael Van Canneyt <

Show quoted text 14 lines
wrote: On Tue, 30 Jun 2015, Bee wrote: > Hi all, > > Just found this: http://www.vcljs.com > Is it possible to use it as LCL for the web? > I would not recommend it. It's typescript, not javascript. Typescript is an M$ experiment. You need visual studio for it to work. (conceivably it can be used without VS, but it is an additional hurdle).

TypeScript outputs JavaScript, right? Is it possible to use the JS directly?

Show quoted text 5 lines
There are many javascript "widgetsets" out there that can be used as "VCL for the web": React, ExtJS, Angular, Jquery UI etc. Focusing on one is not the right approach IMHO. Not to mention that they all evolve at breathtaking speed, and what is current today is no longer current next year.

Supporting one of many JS libraries doesn't mean only focusing on one and only that. Consider it like desktop widgetset, there are GDI, QT, GTK, Cocoa, etc. I just found another alternative. Its advantage is similar object model to VCL, so perhaps it might attract someone out here to create a new web-widget project. :)

-Bee- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150630/56435344/attachment-0001.html>

Reply by email

Michael Van Canneyt
to Bee
Bee wrote 13 lines
On Tue, Jun 30, 2015 at 1:31 PM, Michael Van Canneyt wrote: On Tue, 30 Jun 2015, Bee wrote: Hi all, Just found this:?http://www.vcljs.com Is it possible to use it as LCL for the web? I would not recommend it. It's typescript, not javascript. Typescript is an M$ experiment. You need visual studio for it to work.?(conceivably it can be used without VS, but it is an additional hurdle). TypeScript outputs JavaScript, right? Is it possible to use the JS directly?

I have no idea.
I dropped the idea of Typescript as soon as I saw that you need Visual Studio to be able to handle it halfway decent. The new features in upcoming releases of Javascript should remove the need for Typescript anyway...

Show quoted text 7 lines
? There are many javascript "widgetsets" out there that can be used as "VCL for the web": React, ExtJS, Angular, Jquery UI etc.?Focusing on one is not the right approach IMHO. Not to mention that they all evolve at breathtaking speed, and what is current today is no longer current next year. Supporting one of many JS libraries doesn't mean only focusing on one and only that. Consider it like desktop widgetset, there are GDI, QT, GTK, Cocoa, etc. I just found another alternative. Its advantage is similar object model to VCL, so perhaps it might attract someone out here to create a new web-widget project. :)

All correct.
But then I'd prefer to start with a widely supported one, and not an obscure one that is designed for VS. Just a matter of preference.

Michael.

Reply by email

Michael Van Canneyt
to Michael Schnell: Any recommendation for one of those to create a server-based application featuring a…
Michael Schnell wrote 8 lines
On 06/30/2015 08:31 AM, Michael Van Canneyt wrote: > There are many javascript "widgetsets" out there that can be used as "VCL > for the web": React, ExtJS, Angular, Jquery UI etc. Any recommendation for one of those to create a server-based application featuring a web-based remote GUI that is supposed to not very complex, but "active" (i.e. sowing internal states of the server based application by a kind of "reverse event".

They all operate more or less on the same principle concerning servers. I know none that works with websockets.

I only know EXTJS (in the "EXTPASCAL" incarnation) to have had (at some time in the past) an at least exceptionally working link top fpc/Lazarus.

We use ExtJS at work, but are switching to Angular. Neither of them can be used using FPC/Lazarus classes to generate Javascript. (though there is Raudus, but that's not very scalable)

Michael.

Reply by email

luiz americo pereira camara
to Michael Van Canneyt: I have no idea. I dropped the idea of Typescript as soon as I saw that you need Visual…

2015-06-30 5:44 GMT-03:00 Michael Van Canneyt :

Show quoted text 8 lines
On Tue, 30 Jun 2015, Bee wrote: > TypeScript outputs JavaScript, right? Is it possible to use the JS > directly? >

Yes. TypeScript outputs JavaScript.
Is it possible to use the JS directly in VCLJS? -> I dont know

I have no idea. I dropped the idea of Typescript as soon as I saw that you need Visual Studio to be able to handle it halfway decent.

I dont use TypeScript today and dont have plans to use it, but is gaining traction in the JS landscape. The next version of Angular (the most popular JS framework) will be written in TypeScript.

Regarding IDE support WebStorm has native support. Other editors like Sublime or Atom have plugins for it.

The new features in upcoming releases of Javascript should remove the need for Typescript anyway...

TypeScript is a superset of ECMAScript2015, which as TypeScript also needs a transpiler like Babel

BTW: not impressed by VCL.JS

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150630/565fc0bf/attachment.html>

Reply by email

luiz americo pereira camara
to Michael Van Canneyt: They all operate more or less on the same principle concerning servers. I know none that…

2015-06-30 6:07 GMT-03:00 Michael Van Canneyt :

We use ExtJS at work, but are switching to Angular.

If you want to go with Angular in the long run you will need to use TypeScript.

http://www.itworld.com/article/2894936/googles-angular-2-being-built-with-microsofts-typescript.html

Unless you stay in 1.x and all it's problems

https://javascriptkicks.com/articles/2657/i-wont-be-using-angular-for-my-next-project-and-neither-should-you https://news.ycombinator.com/item?id=9325501

https://news.ycombinator.com/item?id=8830640

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150630/9901da5d/attachment-0001.html>

Reply by email

vfclists .
to luiz americo pereira camara
luiz americo pereira camara wrote 34 lines
2015-06-30 6:07 GMT-03:00 Michael Van Canneyt : > > > > We use ExtJS at work, but are switching to Angular. If you want to go with Angular in the long run you will need to use TypeScript. http://www.itworld.com/article/2894936/googles-angular-2-being-built-with-microsofts-typescript.html Unless you stay in 1.x and all it's problems https://javascriptkicks.com/articles/2657/i-wont-be-using-angular-for-my-next-project-and-neither-should-you https://news.ycombinator.com/item?id=9325501 https://news.ycombinator.com/item?id=8830640 Luiz -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

http://smartmobilestudio.com/feature-matrix/

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150706/feeda188/attachment.html>

Reply by email

Michael Van Canneyt
to vfclists .
vfclists . wrote 15 lines
On 30 June 2015 at 11:44, luiz americo pereira camara wrote: 2015-06-30 6:07 GMT-03:00 Michael Van Canneyt : We use ExtJS at work, but are switching to Angular. If you want to go with Angular in the long run you will need to use TypeScript. http://www.itworld.com/article/2894936/googles-angular-2-being-built-with-microsofts-typescript.html

That's really bad news :(

Well, we're not that far yet, there is still time to reconsider.

Michael.

Reply by email