Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  Export as csv

phpMyEdit Features     Export as csv
Post new topic   Reply to topic   Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
 
ferobert     Joined: 19 Sep 2003   Posts: 5  
Post Posted: 2003-09-19 12:11
Back to top  Reply with quote     

Hello all,

I've used phpMyEdit in a few projects, mainly for the admin part. In the current project I needed to export various records, so I developed and integrated export-related code into the phpMyEdit class. Now the admin can use the usual phpMyEdit features, but also has the option to export as csv the records he sees on the current page (or all records).

The export option can be shown/hidden, like sort, and query, using $opts['display']. You can see how it works in a test page:

http://www.infolib.ro/test/admin/costs.php

I am willing to make the code available for those who need it, and maybe it can also be added to the main class, if the PhpMyEdit authors consider this useful. The export feature is general enough for my needs, but the code may need some improvement to be fully compatible with the phpMyEdit coding standards.

Regards,
Robert

 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2003-09-20 18:05
Back to top  Reply with quote     

Very nice!

It will be the best if you would create an extension for this functionality. Everyone who would like to have CSV export will use your extension.

See CVS repository for already existing extensions.

The goal and reward will be, that your functionality will probably persist with further phpMyEdit core updates.

 
ferobert     Joined: 19 Sep 2003   Posts: 5  
Post Posted: 2003-09-20 18:46
Back to top  Reply with quote     

Thanks for the advice, Nepto!

I see you developed most of the extensions from the CVS repository, and I will take your code as a basis to develop my own extension for the export feature.

Currently, my code and functions are placed inside the main phpMyEdit class, but I will extend it. I see you also have redefined functions (e.g. execute()), which means if the main execute() function is changed, my execute() will also need to be changed. But, I guess we have o live with that, as the extension is still better for general use, than "hacking" the main class.

When I am ready with the extension, how should I send it?

Regards,
Robert

 
nick     Joined: 20 Oct 2003   Posts: 1  
Post Posted: 2003-10-20 10:50
Back to top  Reply with quote     

Robert,

Your export functionality is exactly what I require for my app.

I would appreciate taking a look at your code as I am new to PHP (background is perl)?

Much appreciated.


Regards,
Nick

 
newmikey     Joined: 23 Oct 2003   Posts: 2  
Post Posted: 2003-10-23 09:48
Back to top  Reply with quote     

Robert, your code is exactly what I have been looking for!

Would you be willing to send me your phpMyEdit classfile by mail? At least I will have a solution until it is enveloped in the project as an extension.

Mike

 
ferobert     Joined: 19 Sep 2003   Posts: 5  
Post Posted: 2003-10-27 17:20
Back to top  Reply with quote     

Hi Mike,

Sorry for replying a bit late, I was out of town for several days.

I am willing to send you the code, but you should be also willing to provide your email address :) I have already sent the code to Nick, as he wrote his email address in a private message to me.

Robert

newmikey wrote:

Robert, your code is exactly what I have been looking for!

Would you be willing to send me your phpMyEdit classfile by mail? At least I will have a solution until it is enveloped in the project as an extension.

Mike


 
kitjocky     Joined: 07 Nov 2003   Posts: 1  
Post Posted: 2003-11-07 08:17
Back to top  Reply with quote     

Hello Robert,

is it possible for you, to send me your class-file ? Currently I'm working on a project for handling personell contacts and your function will be very helpful for me. mailto: alfred.cerny@aon.at

Thanks
Alfred
ferobert wrote:
Hello all,

I've used phpMyEdit in a few projects, mainly for the admin part. In the current project I needed to export various records, so I developed and integrated export-related code into the phpMyEdit class. Now the admin can use the usual phpMyEdit features, but also has the option to export as csv the records he sees on the current page (or all records).

The export option can be shown/hidden, like sort, and query, using $opts['display']. You can see how it works in a test page:

http://www.infolib.ro/test/admin/costs.php

I am willing to make the code available for those who need it, and maybe it can also be added to the main class, if the PhpMyEdit authors consider this useful. The export feature is general enough for my needs, but the code may need some improvement to be fully compatible with the phpMyEdit coding standards.

Regards,
Robert


 
ferobert     Joined: 19 Sep 2003   Posts: 5  
Post Posted: 2003-11-07 17:20
Back to top  Reply with quote     

Hello Alfred,

I've just mailed the class to you. Good luck with your project!

Robert

kitjocky wrote:
Hello Robert,

is it possible for you, to send me your class-file ? Currently I'm working on a project for handling personell contacts and your function will be very helpful for me. mailto: alfred.cerny@aon.at

Thanks
Alfred


 
morez     Joined: 10 Nov 2003   Posts: 10  
Post Posted: 2003-11-27 18:03
Back to top  Reply with quote     

Hi Robert,
I could be interested in your extension,
may I have a look at it ?

Regards
Marc ( morez@orez.net )

 
ferobert     Joined: 19 Sep 2003   Posts: 5  
Post Posted: 2003-11-28 18:58
Back to top  Reply with quote     

Hi Marc,

Just mailed you the class, with some explanations.

Robert

 
echo     Joined: 28 Dec 2003   Posts: 3  
Post Posted: 2003-12-29 07:20
Back to top  Reply with quote     

Any hopes on "export as csv" becoming an extension?

phpMyEdit is awesome btw, thanks!

 
mojakobsen     Joined: 17 Feb 2004   Posts: 3  
Post Posted: 2004-02-17 19:33
Back to top  Reply with quote     

Hello Robert,

This is exactly what I have been looking for - is it possible for you, to send me your class-file ?

Cheers,
Mogens (mogens@jakobsen.dyndns.dk)

 
etcetera     Joined: 08 Mar 2004   Posts: 4  
Post Posted: 2004-03-08 14:38
Back to top  Reply with quote     

Hello Robert,

I looked at your test page and it looks like a really interesting feature that I would like to incorporate into my PME scripts - would it be possible for you to send me your class file?

Regards,
Dan (daniel.dansereau@logikinfo.com)


ferobert wrote:
Hello all,

I've used phpMyEdit in a few projects, mainly for the admin part. In the current project I needed to export various records, so I developed and integrated export-related code into the phpMyEdit class. Now the admin can use the usual phpMyEdit features, but also has the option to export as csv the records he sees on the current page (or all records).

The export option can be shown/hidden, like sort, and query, using $opts['display']. You can see how it works in a test page:

http://www.infolib.ro/test/admin/costs.php

I am willing to make the code available for those who need it, and maybe it can also be added to the main class, if the PhpMyEdit authors consider this useful. The export feature is general enough for my needs, but the code may need some improvement to be fully compatible with the phpMyEdit coding standards.

Regards,
Robert


 
hbernard     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-03-09 17:49
Back to top  Reply with quote     

nepto wrote:
Very nice!

It will be the best if you would create an extension for this functionality. Everyone who would like to have CSV export will use your extension.

See CVS repository for already existing extensions.

The goal and reward will be, that your functionality will probably persist with further phpMyEdit core updates.


couldn't it be a phpMyEdit native feature ?

_________________
hbernard - phpMyEdit updater.
 
bjmuse     Joined: 30 Mar 2004   Posts: 1  
Post Posted: 2004-03-30 17:18
Back to top  Reply with quote     

Would it be possible for you to send me your class file? It's just what I'm looking for.

Bj Muse (admin@networkmuse.com)

 
Post new topic   Reply to topic   Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next  

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov