[Pas2js] Pas2JS component design, any feedback

Ryan Joseph ryan at thealchemistguild.com
Tue Jun 5 05:04:10 CEST 2018



> On Jun 5, 2018, at 6:50 AM, warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:
> 
> I've been thinking, it would be a nice idea to build a core framework build
> on top of VueJS or F7 framework and or GreenSock libraries, just for
> instance, when it comes to writing smart components, interesting components,
> such as reactive components, it seems everybody ends up writing a framework,
> it seems, likely waste a lot of time solving problems others have already
> solved, VueJS here is a good alternative. The UI part could be implemented
> on of TCustomComponent, both visual or non-visual components could be used.

I don’t anything about modern web apps but it sounds like the entire industry has moved towards “reactive” components where macros in HTML are replaced by data from JavaScript. That’s what I know about React.js and just watched the VueJS intro video which seems to do the same thing. Is that correct? Sounds just like PHP (which I do know) but on the client side.

Is it smart to write a wrapper on top of another framework though? In my experience this leads to the painful experience of things always being out of date and breaking, ultimately leading to using the original framework in the intended language.

The aforementioned frameworks don’t use a visual IDE like Lazarus do they?

Regards,
	Ryan Joseph



More information about the Pas2js mailing list