Using LiveCode inside the WordPress backend

Recently I have had a couple of questions about being able to use LiveCode and other languages/frameworks from inside the WordPress backend. Is this even possible or is there a work around.

The advantage of doing this for the developer is that they can use a programming language of their choice to build tools and services and still deliver a solution that appears as part of the WordPress environment. The user would not even notice that a different programming language is being used as all they are seeing is a seamless WordPress experience.

The problem though is that you cannot mix languages – PHP can only run PHP and LiveCode can only run LiveCode, you cannot mix LiveCode and PHP.

After thinking about this for a bit, our solution is very simple and low tech (who does not like simple solutions). Welcome the often overlooked <iframe>. By creating a very simple WordPress plugin, you can quickly add menu items/pages that will load external scripts into an iframe, giving an almost seamless experience.

Here is an example of such a plugin. Please note that I have not included any security features in this example – but the must not be forgotten about.