I’d like to be able to create my own extensions (for example, the charting comments are OK, but I’d like to create some re-usable D3 components.)
How could I create my own components?
Thanks!
1 Like
PHP
Sometimes you want to format or transform your data in a way that is not supported with the supplied formatters included with Wappler. This topic will explain you how you can write your own modules and formatters.
Writing your own Formatters
Location
All formatters are being placed in the extensions/server_connect/formatters folder. A single PHP file can contain multiple formatters and you can have multiple PHP files. Best practice it to group formatters that belong together in a single PHP f…
NODEJS
Writing your own Formatters
Location
All formatters are being placed in the extensions/server_connect/formatters folder. A single file can contain multiple formatters and you can have multiple files. Best practice is to group formatters that belong together in a single file. For example you to keep all array specific formatters in a file called array.js .
File Structure
Here a sample of how such a formatter file looks like.
exports.uppercase = function(str) {
return str.toUpperCase();
}…
ASP
Sometimes you want to format or transform your data in a way that is not supported with the supplied formatters included with Wappler. This topic will explain you how you can write your own modules and formatters.
Writing your own Formatters
Location
All formatters are being placed in the extensions/server_connect/formatters folder. A single ASP file can contain multiple formatters and you can have multiple ASP files. Best practice is to group formatters that belong together in a single ASP f…
You can create your own formatter or modules by following these documents.
George
October 23, 2020, 2:29pm
3
We hope soon to cover also the client side like creation of custom App Connect components
Well it’s a preview and much more is coming - we just touched the server side, but there is also client side, app connect components, css design frameworks
2 Likes
I love you guys! Can’t wait!
1 Like
Also, in the meantime, for something like using a custom chart library (like D3) you can just use it now and manually integrate with custom JS just like you would with any normal web app.
I’ve used a few including full calendar, apex charts, Syncfusion and jQuery Context Menu.
Teodor
March 9, 2023, 4:44pm
6
Since Wappler 5.5.0 you can create custom App Connect extensions.
Check: Building Custom App Connect Extensions
and also App Connect UI Controls Reference for more info
1 Like