Re: [Lazarus] VCLJS

2015-07-06 Thread vfclists .
On 30 June 2015 at 11:44, luiz americo pereira camara luiz...@oi.com.br
wrote:



 2015-06-30 6:07 GMT-03:00 Michael Van Canneyt mich...@freepascal.org:




 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://medium.com/@mnemon1ck/why-you-should-not-use-angularjs-1df5ddf6fc99
 https://news.ycombinator.com/item?id=8830640

 Luiz

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-07-06 Thread Michael Van Canneyt



On Mon, 6 Jul 2015, vfclists . wrote:




On 30 June 2015 at 11:44, luiz americo pereira camara luiz...@oi.com.br wrote:


  2015-06-30 6:07 GMT-03:00 Michael Van Canneyt mich...@freepascal.org:



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.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread Michael Van Canneyt



On Tue, 30 Jun 2015, Bee wrote:


On Tue, Jun 30, 2015 at 1:31 PM, Michael Van Canneyt mich...@freepascal.org 
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...


 
  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.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread Michael Van Canneyt



On Tue, 30 Jun 2015, Michael Schnell wrote:


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.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread Michael Schnell

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.


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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread Bee
On Tue, Jun 30, 2015 at 1:31 PM, Michael Van Canneyt mich...@freepascal.org
 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?


 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-
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread luiz americo pereira camara
2015-06-30 5:44 GMT-03:00 Michael Van Canneyt mich...@freepascal.org:


 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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread Michael Van Canneyt



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).

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.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread aradeonas
Yes Im agree with Michael . VLC is here for years but JS libraries are
young and die young.
But some of theme like React are new but attract enough attention to
work something on.

Regards,
Ara


-- 
http://www.fastmail.com - The professional email service


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] VCLJS

2015-06-30 Thread luiz americo pereira camara
2015-06-30 6:07 GMT-03:00 Michael Van Canneyt mich...@freepascal.org:




 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://medium.com/@mnemon1ck/why-you-should-not-use-angularjs-1df5ddf6fc99
https://news.ycombinator.com/item?id=8830640

Luiz
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] VCLJS

2015-06-29 Thread Bee
Hi all,

Just found this: http://www.vcljs.com

Is it possible to use it as --say-- LCL for the web?

Regards,

-- 
-Bee-
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] VCLJS

2015-06-29 Thread Bee
Hi all,

Just found this: http://www.vcljs.com

Is it possible to use it as LCL for the web?

Regards,

-- 
-Bee-
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus