Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Request #16325 convert to be zend framework complient - please!
Submitted: 2009-06-15 08:47 UTC
From: troyka Assigned: wiesemann
Status: Wont fix Package: Structures_DataGrid (version 0.9.0)
PHP Version: 5.2.9 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2009-06-15 08:47 UTC] troyka (troyka troyka)
Description: ------------ Hi guys I love the datagrid package and have been using it in its various incarnations now for a few years. However with the advent of the Zend Framework I find myself packaging it inside a view helper. This package would be BIG if it was actually part of the framework. You guys should consider refactoring it for Zend Framework and doing a release. I'm sure that if you got the ball rolling there would be plenty of people to help develop and maintain it. Cheers Troy Test script: --------------- Zend_DataGrid! Expected result: ---------------- Zend_DataGrid! Actual result: -------------- Zend_DataGrid!

Comments

 [2009-06-16 17:15 UTC] doconnor (Daniel O'Connor)
What benefits exist from doing it that or how exactly do you imagine it works?
 [2009-06-16 17:16 UTC] cweiske (Christian Weiske)
*cough*
 [2009-06-17 20:20 UTC] wiesemann (Mark Wiesemann)
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: wiesemann
SDG will remain a PEAR package. (But the license allows to start something new in ZF that is based on SDG, of course. And questions about the existing code and its concept are always welcome.)
 [2009-06-18 04:23 UTC] troyka (troyka troyka)
Hi guys, sorry I sent this directly to Daniel. I should have posted this here. I understand that this may not be taken further but I do believe that such a component would be great for the Zend Framework. As I said I have used PEAR datagrid for some time now (it must be 3 years or so). It's a fantastic package and I love the flexibility of it. However I am a stickler for PHP5 integration and the ability to extend homogeneously. With PHP6 on the way would be a great upgrade path for the project. I don't believe that it would be extremely difficult to port it over to a Zend Framework based package. Your package has enough noteriety, momentum and users to support it through the proposal process at Zend and to find developers to help. I am VERY surprised that no one has undertaken the project already and developed a Zend DataGrid component. In .Net its a fundamental set of classes that are used in every web application. A Zend dataGrid would be a very large addition to the Zend Frameworks everyday usage. As I'm sure that you're aware various parties have tried to get the ball rolling (see links below) but in my opinion they are all either trying to do too much (make full CRUD applications) or too little (not enough flexibility in their data adapter model). Some even sight PEAR datagrid as their sources of inspiration! In my opinion the same model used in PEAR could be applied to the Zend Framework but using the peripheral packages at hand instead. For example integration with Zend_Paginator, Zend_Db etc. Cheers Troy Links to other proposals and attempts http://www.nabble.com/Zend-Grid-Proposal---td19582725.html http://petala-azul.com/blog/datagrid-full-manual/ http://framework.zend.com/wiki/display/ZFPROP/Zend_DataGrid http://framework.zend.com/wiki/display/ZFPROP/Zend_Grid+-+Mihai+BOJIN
 [2009-06-18 14:49 UTC] wiesemann (Mark Wiesemann)
Troy, thanks for your thoughts. What I tried to say in my first reply was: This won't happen from us (the SDG maintainers) for various reasons, e.g. we already don't have much time to take care of SDG these days. If there is somebody else (e.g. you) that wants to do this work, he is welcome. And if he needs support about e.g. the code or the concept, we'll try to help with answering any questions that may occur.
 [2009-06-18 17:35 UTC] olivierg (Olivier Guilyardi)
Hi, although I'm quite retired of the SDG project, because I now concentrate on audio-related free software projects, I feel like giving my 2 cents here. I did think about SDG and ZF in the past, and had a quick look at it. I can't tell you for sure, but IIRC, it looked to me like SDG could remain a PEAR package, but still integrate with ZF, thanks to the driver-based architecture of SDG. For example, it may be possible to write a renderer for the Zend_Paginator, as well as a datasource driver for Zend_Db. However, some parts of SDG are not driver-based, such as request (GPC) parsing or url mapping. This is where it may get non-trivial. Anyway, all of this is likely not to happen without hard work. Maybe that's where you could come into play Troy... Good luck