Jean-Marc Kiener Posted December 21, 2017 Share Posted December 21, 2017 Are there plans to write client events in pascal too? Something like this? https://github.com/bytbox/pas2js Anyone knows morfik ( http://www.morfik.com/)? With this dev-tool you are able to write in pascal for client and for server side. Client side pascal will then compiled into javascript. Great concept, very elegant. But unfortunatly morfik is not maintained anymore. Cheers! Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted December 21, 2017 Share Posted December 21, 2017 wow ... sounds great :-) cool Idea +1 Quote Link to comment Share on other sites More sharing options...
rgreat Posted December 21, 2017 Share Posted December 21, 2017 Interesting. But i wonder if you can really develop client side completely without JS. Quote Link to comment Share on other sites More sharing options...
Ron Posted December 22, 2017 Share Posted December 22, 2017 I bought and used Morfik before switching to Unigui, and sure - it was kind of nice to have that ability, writing it all in pascal. At least it will lower the learning curve for those not familiar with JS. But if you plan on working with the web for some years professionally, wouldn't it be ok to get a basic understanding of the only language that runs in your web OS, which is the browser... I guess the optimum would be the ability to do both, pascal for entry-level and JS for more complex stuff. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 22, 2017 Administrators Share Posted December 22, 2017 If it is only a Pascal to JS syntax converter then better to learn JS. Having Pascal on client side can only make sense if you can also access Delphi RTL library and its full power otherwise better use JS. Quote Link to comment Share on other sites More sharing options...
Mohammed Nasman Posted December 24, 2017 Share Posted December 24, 2017 There's another project from Free Pascal team, with RTL written in JS http://wiki.freepascal.org/pas2js There is a basic Object Pascal RTL, several units from the FPC Packages are also available system sysutils Math strutils rtlconst classes contnrs DB (yes, TDataset) fpcunit testsuite custapp restconnection js (javascript system objects) web (browser provided objects) libjquery (jquery is available too) nodejs (basic node runtime environment) typinfo objpas browserconsole (support writeln) dateutils browserapp nodejsapp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.