hrivera787 wrote on Thursday, August 26, 2010:
Hi everyone;
For a couple of weeks I have been working on the Sencha’s ExtJS GUI Framework integration on OpenEMR, so far so good. Because the integration and changes are too radical to keep with the original code. I had decided to add a extra letters to the files that I had touched for example, if the original filename is “main_screen.php”, the new filename with the ExtJS code is “main_screen.ejs.php”, this to maintain the original code and work with the integration without problems and confusions.
Later on, I will post a link to a video so you can appraise the benefits of this integration. The code will be arranged as follows:
- The PHP code will be on the top, in other words on the firsts lines of the file. (LOGIC)
- The ExtJS code will be on the bottom, in other words the GUI itself. (GUI)
- AJAX, ExtJS will handle the AJAX requests, no need of jQuery.
Why the radical change?
The original application uses frames to handle different windows and screens in ExtJS, frames can be handled, but are not convenient, this because when a dialog is called it remains inside the frame, and not on top of the entire application. Meaning, if I need to call a dialog on a MODAL basis, it will only be modal on the frame.
Where you can get it, to try it out?
Right now the code, is hosted on GitHub, as a forked repo of the original branch. Is not yet fully functional. I will keep you posted for future releases.