Extending 4D Applications
The 4D architecture is open and can be extended in different ways. If you need a feature that is not available natively in 4D, you can always integrate it into your application in a variety of ways, i.e.:
- System workers allow the 4D code to call any external process (a shell command, PHP, any script, etc.) and monitor its execution.
- SQL commands allow you to connect and use various SQL data sources.
- The built-in HTTP client can request any HTTP server and process data.
- Web Areas can give access to web pages or various HTML contents within your forms.
- Components. Components are made of 4D code. 4D includes by default a set of built-in 4D components. You can also develop your own 4D components, or use third-party components. Many developers from the 4D community have shared 4D components (browse Github to have a list of public 4D components gathered with the
4d-component
topic). - Plug-ins. Plug-ins can be built using any language. Plugins do things that 4D does not natively (e.g., specific platform technology), or would be very hard to write just using 4D. As described in this page, you can develop your own plug-ins. A lot of functionnalities are covered by the existing 4D plug-ins. Browse Github to have a list of public 4D plugins gathered with the
4d-plugin
topic.