[Phpmyadmin-devel] phpMyDesigner

Hi, since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain: - code cleanup - what do we do with similar functionality already in PMA - does he want to keep his phpMyDesigner name Anyway, please download and test his latest code: http://sourceforge.net/projects/phpmydesigner Marc

Hi On Sun, 15 Oct 2006 14:08:26 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain:
- code cleanup
And make the code actually work :-).
- what do we do with similar functionality already in PMA
Nothing, because his phpMyDesigner is Firefox/Opera only for now.
- does he want to keep his phpMyDesigner name
Hmm, we might add phpMyDesigner tab to database, but I'd prefer just Designer...
Anyway, please download and test his latest code:
Maybe I'm doing something incredibly wrong, but I don't expect it is supposed to look this way: http://new.cihar.com/phpMyDesigner.png [Temporary location] -- Michal Čihař | http://cihar.com | http://blog.cihar.com

Michal Čihař a écrit :
Hi
On Sun, 15 Oct 2006 14:08:26 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain:
- code cleanup
And make the code actually work :-).
- what do we do with similar functionality already in PMA
Nothing, because his phpMyDesigner is Firefox/Opera only for now.
- does he want to keep his phpMyDesigner name
Hmm, we might add phpMyDesigner tab to database, but I'd prefer just Designer...
Anyway, please download and test his latest code:
Maybe I'm doing something incredibly wrong, but I don't expect it is supposed to look this way:
http://new.cihar.com/phpMyDesigner.png [Temporary location]
I forgot: the way it's done, your control user must have create rights to the pmadb. Marc

Marc Delisle a écrit :
Michal Čihař a écrit :
Hi
On Sun, 15 Oct 2006 14:08:26 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain:
- code cleanup And make the code actually work :-).
- what do we do with similar functionality already in PMA Nothing, because his phpMyDesigner is Firefox/Opera only for now.
- does he want to keep his phpMyDesigner name Hmm, we might add phpMyDesigner tab to database, but I'd prefer just Designer...
Anyway, please download and test his latest code:
http://sourceforge.net/projects/phpmydesigner Maybe I'm doing something incredibly wrong, but I don't expect it is supposed to look this way:
http://new.cihar.com/phpMyDesigner.png [Temporary location]
I forgot: the way it's done, your control user must have create rights to the pmadb.
In fact, for my tests here I added CREATE, INDEX, ALTER. Marc

Hi, I've included it as plugin into my curent developer enviroment. I prefer a new setup var like $cfg['plugin'] = ... I've made some test's with phpmydesigner and it works. Perhabs we should patch the css files to our themes? I think, with some modifications it would work under IE too? I've readed the code and phpmydesigner uses ajax and some jsDOM behaviors. I would make some tests and post my results soon as possible. Another: I've patched tinymce (http://tinymce.moxiecode.com/) as plugin for phpmyadmin. I will submit the link for testing and viewing soon as possible ... Regards Michael --- Original Message --- Mail from: Marc Delisle Date: 16.10.2006 14:40
Marc Delisle a écrit :
Michal ÄOEihaÅ^(TM) a écrit :
Hi
On Sun, 15 Oct 2006 14:08:26 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain:
- code cleanup
And make the code actually work :-).
- what do we do with similar functionality already in PMA
Nothing, because his phpMyDesigner is Firefox/Opera only for now.
- does he want to keep his phpMyDesigner name
Hmm, we might add phpMyDesigner tab to database, but I'd prefer just Designer...
Anyway, please download and test his latest code:
Maybe I'm doing something incredibly wrong, but I don't expect it is supposed to look this way:
http://new.cihar.com/phpMyDesigner.png [Temporary location]
I forgot: the way it's done, your control user must have create rights to the pmadb.
In fact, for my tests here I added CREATE, INDEX, ALTER.
Marc
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

Hi On Tue, 17 Oct 2006 11:28:50 +0200 Michael Keck <sfnet@michaelkeck.de> wrote:
I've included it as plugin into my curent developer enviroment. I prefer a new setup var like $cfg['plugin'] = ...
We would need to allow adding hooks then. Anyway it would definitely be useful for stuff developed by users.
I've made some test's with phpmydesigner and it works. Perhabs we should patch the css files to our themes?
If we decide to merge it then we really should. As author prefers to keep his name, I'd rather define plugin interface which would allow various additions to plug into phpMyAdmin. -- Michal Čihař | http://cihar.com | http://blog.cihar.com

Hi again, okay I've made my test enviroment public: http://keck.dnsalias.org/samples/pma/ use to login: username: demo password: test Regards Michael --- Original Message --- Mail from: Michal C(ihar( Date: 17.10.2006 11:36
Hi
On Tue, 17 Oct 2006 11:28:50 +0200 Michael Keck <sfnet@michaelkeck.de> wrote:
I've included it as plugin into my curent developer enviroment. I prefer a new setup var like $cfg['plugin'] = ...
We would need to allow adding hooks then. Anyway it would definitely be useful for stuff developed by users.
I've made some test's with phpmydesigner and it works. Perhabs we should patch the css files to our themes?
If we decide to merge it then we really should.
As author prefers to keep his name, I'd rather define plugin interface which would allow various additions to plug into phpMyAdmin.
------------------------------------------------------------------------
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------------------------------------------------
_______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

Michal Čihař a écrit :
Hi
On Tue, 17 Oct 2006 11:28:50 +0200 Michael Keck <sfnet@michaelkeck.de> wrote:
I've included it as plugin into my curent developer enviroment. I prefer a new setup var like $cfg['plugin'] = ...
We would need to allow adding hooks then. Anyway it would definitely be useful for stuff developed by users.
I've made some test's with phpmydesigner and it works. Perhabs we should patch the css files to our themes?
Yes, and probably put the link in the Operations sub-page for a database.
If we decide to merge it then we really should.
As author prefers to keep his name, I'd rather define plugin interface which would allow various additions to plug into phpMyAdmin.
It's not yet clear that the author prefers to keep phpMyDesigner's name, I just asked him again. For a plugin interface, I don't know yet if we can generalize it enough to be useful. For the Designer, he used some code he had in another project, plus the db interface to pmadb. For tinymce, Michael will tell us what was involved. Marc

Michael Keck a écrit :
Hi,
I've included it as plugin into my curent developer enviroment. I prefer a new setup var like $cfg['plugin'] = ...
I've made some test's with phpmydesigner and it works. Perhabs we should patch the css files to our themes?
I think, with some modifications it would work under IE too? I've readed the code and phpmydesigner uses ajax and some jsDOM behaviors. I would make some tests and post my results soon as possible.
I hope someone can make this feature work under IE too :)
Another: I've patched tinymce (http://tinymce.moxiecode.com/) as plugin for phpmyadmin.
Interesting! What was the needed work? Can we generalize it into a plugin interface? - link/icon positionning in PMA - data exchange between PMA's interface and external code - other? Also, does their license permit us to include their code in PMA?
I will submit the link for testing and viewing soon as possible ...
Regards Michael
--- Original Message --- Mail from: Marc Delisle Date: 16.10.2006 14:40
Marc Delisle a écrit :
Michal Čihař a écrit :
Hi
On Sun, 15 Oct 2006 14:08:26 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
since a few weeks, I have been testing the code and making suggestions to the developer of phpMyDesigner, a plug-in for phpMyAdmin. He would like his code to be merged into phpMyAdmin, but a few issues remain:
- code cleanup
And make the code actually work :-).
- what do we do with similar functionality already in PMA
Nothing, because his phpMyDesigner is Firefox/Opera only for now.
- does he want to keep his phpMyDesigner name
Hmm, we might add phpMyDesigner tab to database, but I'd prefer just Designer...
Anyway, please download and test his latest code:
Maybe I'm doing something incredibly wrong, but I don't expect it is supposed to look this way:
http://new.cihar.com/phpMyDesigner.png [Temporary location]
I forgot: the way it's done, your control user must have create rights to the pmadb.
In fact, for my tests here I added CREATE, INDEX, ALTER.
Marc

Hi again, I've made some little mods on tinyMCE and the tinyMCE is under GPL, I will ask the author. Some other projects like Mambo or Typo3 hav included the tinyMCE too. I think, there would'nt be problem to include. I've made under my server http://keck.dnsalias.org/samples/pma/ a little demo. Just come in and try it. Username: demo, password: test. Simple click on (I hope it would not be deleted) on the table 'test_title' and insert a new entry. The field 'content' has an little icon above. Click on it, and the editor will be opened. The mods on Tiny: - tabs for 'edit' and 'preview' - tinymce.php - some patches on some scripts - some basic configurations The mods on PMA: - file 'tbl_change.php' modifed the edit button only displayed on text / longtext fields - file 'config_inc.php' modified $cfg['PluginPath'] = '../plugins'; $cfg['PluginWYSIWYG'] = 'tinymce.php'; - new icon: editor.png General: - new directory: plugins Todo: - discussion about external plugins, path, setup and so on - and then, perhabs fix some files like tbl_change.php How it works: - gets the data form the selected PMA field - after 'apply' writes the data (html-code / plain text) into the selected PMA field. Regards Michael --- Original Message --- Mail from: Marc Delisle Date: 17.10.2006 14:28
Another: I've patched tinymce (http://tinymce.moxiecode.com/) as plugin for phpmyadmin.
Interesting! What was the needed work? Can we generalize it into a plugin interface?
- link/icon positionning in PMA - data exchange between PMA's interface and external code - other?
Also, does their license permit us to include their code in PMA?
participants (3)
-
Marc Delisle
-
Michael Keck
-
Michal Čihař