[eluser]Myles Wakeham[/eluser]
I have a large framework of code that I've built up over the past year or so with CI and its great. However its not AJAX enabled, and along comes a really great tool that I want to use (Delphi for PHP) that implements a really nice WYSIWYG IDE for code generation, and is based on the Qooxdoo AJAX framework.
So I have started to try and integrate the code that it creates into my CI framework. The code that it builds is a PHP file with typically a class per form, a series of require_once lines for included code, and an associated XML file that contains all the properties of the class that are used for display.
The HTML that it sends to the browser has a bunch of included Javascript libraries for the AJAX stuff, but this is typically generated and sent through the PHP code that it creates.
I've tried to work out how best to integrate this sort of code. Its not a CI library, nor is it a plug-in. I use Smarty a lot and I'd like to integrate these pages as 'blocks' of HTML within my existing page templates, but that doesn't work very well because of all the Javascript header content. So I moved all of their JS files into my template header (which worked ok) and now I'm left with the resulting code to integrate.
If anyone has had experience in trying to integrate code produced by other 3rd party code generators, etc. into CI and has some suggestions on things they did that worked well, I'm all ears.
Thanks
Myles