I require a web-based GUI module using PHP or Java. If Java, it must be something that can be launched form within a web-site. The GUI simply allows drag and drop components i.e. fields and controls like image for designing a form for use within a mobile application. The result is an XML document saved in appropriate tables. The Design must have a mySQL DB back-end and allow for adding new controls to a palette. The user drags components from the Palette to design their mobile application form or menu item. A detailed spec can be provided once I have found a partner capable of suggesting to me the solution.
I am not asking for a full web-application suite just the module that can be used in any Java application if we choose Java or any PHP application if we choose PHP.
Maybe we can use one technology for Java or PHP etc. I do not want Flex as I wish to be able to customise the code as I require when I integrate into applications.
The concept needs to be simple and easy to understand and integrate.