Previous | Next | Index
Wednesday, October 03, 2018
The fact that IDERA acquired the company Sencha behind the ExtJS framework and has now both Embarcadero and Sencha under its umbrella generated also some interest among Delphi developers for this framework. From time to time we get a request if the ExtJS framework can be used from TMS WEB Core. This triggered our team to investigate if this was technically feasible. And after the needed research, we are happy to inform that we managed to integrate a couple of ExtJS controls as proof of concept in TMS WEB Core. Technically this means that we can:
- Create the ExtJS control from a Pascal class
- Manage the ExtJS control settings via the Pascal class properties
- Map class methods on ExtJS control functions
- Catch the events triggered by the ExtJS control and route these to the Pascal class events
If this can be technically achieved for one ExtJS control, it typically means that this can be achieved for the full set of ExtJS controls. Further things that are nice to have but need deeper research are: control the ExtJS layouting setup from the Delphi form designer and use the TDataSource & TDataSet based data-binding mechanism also for ExtJS controls like the ExtJS grid.
With what could we better demonstrate this than with the Fishfact dataset, that wonderful dataset we all learned about and loved when it was demonstrated the first time by David Intersimone in 1995 with Borland's Delphi 1.
Here are some nostalgic pictures of these great days:
Back to 2018 though, where we have an ExtJS button, ExtJS label and an ExtJS grid on the Delphi form designer in the Delphi 10.2.3 Tokyo IDE:
When dropped on the form, from the ExtJS button OnClick event handler, the Fishfact dataset in JSON format is loaded in the ExtJS grid with the code:
This dataset contains the image URLs to the Fishfact fish images and these are rendered automatically in the ExtJS grid. At runtime, this becomes in the browser
Or of course, you can directly play with this prototype application here live from our website
ExtJS is a rich JavaScrpt framework with a large set of UI controls. Similar to the ability to use jQuery controls from TMS WEB Core, with some effort, it is also possible to integrate the ExtJS framework with TMS WEB Core. To make it really user-friendly, it is quite some work though to create well-designed Pascal wrapper classes to make the framework and its controls convenient to use from the 100% Pascal based TMS WEB Core framework. We love to hear your voice and your thoughts how much priority we should give to bring integration of the full ExtJS framework in TMS WEB Core. You, the user of TMS WEB Core are behind the steering wheel of the TMS WEB Core Mille Miglia route from Brescia to Rome and back to Brescia.
You can determine with your vote in what city along our route, you wish to see full ExtJS support.
Lab visit feedback & win!
Our team loves to hear what you think about what is brewing in the lab, how you plan to use the upcoming features, what priority our team should give to it and if you have possibly interesting and/or creative ideas to make this even more powerful for Delphi developers. To reward your interaction & feedback, we'll pick 3 blog comments on October 15 that we liked the most and first prize is a free TMS WEB Core license, the 2nd and 3rd prize is a 50% discount coupon on TMS WEB Core. Let yourself hear to increase your chances!
Meanwhile, you can go ahead and explore the new & exciting territories of web client development that become available for Delphi developers with TMS WEB Core! You can download the trial version that is generally available, go ahead with the standalone version you purchased or with TMS WEB Core and additional tools that are all included in TMS ALL-ACCESS. Or you can come to see TMS WEB Core and discover and discuss it face to face with Bruno Fierens of tmssoftware.com showing it in London on October 23, 2018. Note also that in October, you can still take advantage of purchasing TMS WEB Core at launch price from 295EUR for a single developer license. From Nov 1, regular pricing will be active on TMS WEB Core (395EUR for a single developer license).
This blog post has received 8 comments.
Previous | Next | Index