[fw-general] Datagrid - What features would you like?
Hello together, i'm developing on a datagrid since some time now: https://github.com/ThaDafinser/ZfcDatagrid You can already do a lot of things with it: - different datasources - different output formats - filtering - sorting - pagination - ... My question are: What features are missing for you? What would you like in it? Is something bad developed? ... Thanks in advance for feedback! Best regards Martin
Re: [fw-general] DataGrid
On Fri, Sep 25, 2009 at 2:28 AM, Kyle Spraggs the...@spiffyjr.me wrote: Matthew Weier O'Phinney-3 wrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/ I don't mean to steal your thunder but that's exactly what I'm using and am in the middle of writing a blog post. :) I've got the whole lot working pretty nicely at the moment, just trying to work out how best to do inline Selects - trying to get a dojox.data.KeyValueStore to attach. It'd be nice to have a KVS and just grab the options autocomplete style from a json-providing url!
Re: [fw-general] DataGrid
Hi folks, I've just subscribed the mailing lists. Matthew Weier O'Phinney-3 wrote: The place that problems occur is when I add new rows -- Dojo generates a unique hash for the ID, but that means that if I save() a second time, JsonRestStore tries to do a PUT (update) request -- and I have an invalid identifier. I'm still trying to work out that part of the equation. Matthew, I had a similar problem last week working with a dijit.Tree widget and a JsonRestStore at the client side (with dojo 1.3.2), and a Zend_Rest_Controller at the server side. The key to solve it is that when you create a new item, the model should make a POST request to create it at the server. This post request sends an additional header with de Content-Id that dojo has assigned to the new created item. When the item it's created at the server side, that content-id it's stored at a temporary array as the key, and the real id for that item as the value. Then, when a PUT request is received to update an item with an ID that match this pattern /^[\da-f]{...@\w*$/, the action looks at the temporary array, and find the real ID of the item which should be updated. You can find some info at http://www.sitepen.com/blog/2009/01/26/new-in-jsonreststore-13-dates-deleting-conflict-handling-and-more/ (Section: In Transaction Referencing) -- Antonio José García Lagar http://aj.garcialagar.es a...@garcialagar.es -- View this message in context: http://www.nabble.com/DataGrid-tp25559736p25608678.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] DataGrid
-- Cameron themsel...@gmail.com wrote (on Friday, 25 September 2009, 03:57 PM +0800): On Fri, Sep 25, 2009 at 2:28 AM, Kyle Spraggs the...@spiffyjr.me wrote: Matthew Weier O'Phinney-3 wrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/ I don't mean to steal your thunder but that's exactly what I'm using and am in the middle of writing a blog post. :) I've got the whole lot working pretty nicely at the moment, just trying to work out how best to do inline Selects - trying to get a dojox.data.KeyValueStore to attach. It'd be nice to have a KVS and just grab the options autocomplete style from a json-providing url! I wrote a grid cell widget for that. Look in dojox/grid/cells/_base.js and dijit.js for the ComboBox widget; it's pretty easy to use that as a template for a FilteringSelect that can be used as an editor widget in the cells. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
-- ajgarlag a...@garcialagar.es wrote (on Friday, 25 September 2009, 01:56 AM -0700): Hi folks, I've just subscribed the mailing lists. Matthew Weier O'Phinney-3 wrote: The place that problems occur is when I add new rows -- Dojo generates a unique hash for the ID, but that means that if I save() a second time, JsonRestStore tries to do a PUT (update) request -- and I have an invalid identifier. I'm still trying to work out that part of the equation. Matthew, I had a similar problem last week working with a dijit.Tree widget and a JsonRestStore at the client side (with dojo 1.3.2), and a Zend_Rest_Controller at the server side. The key to solve it is that when you create a new item, the model should make a POST request to create it at the server. This post request sends an additional header with de Content-Id that dojo has assigned to the new created item. When the item it's created at the server side, that content-id it's stored at a temporary array as the key, and the real id for that item as the value. Then, when a PUT request is received to update an item with an ID that match this pattern /^[\da-f]{...@\w*$/, the action looks at the temporary array, and find the real ID of the item which should be updated. You can find some info at http://www.sitepen.com/blog/2009/01/26/new-in-jsonreststore-13-dates-deleting-conflict-handling-and-more/ (Section: In Transaction Referencing) Awesome - I'll look into that some more. Thanks for the information! -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
On Thu, Sep 24, 2009 at 8:38 AM, Cameron themsel...@gmail.com wrote: On Wed, Sep 23, 2009 at 6:49 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. So far I'm finding the same, it's a match made in heaven, except for some reason the grid doesn't seem to be triggering on edits. I can't see any ajax hits in firebug. Anyway, I'm sure it's my fault, I'll work it out! Ok, so I'm dumb, you need to manually call store.save(). Matthew, one thing that your post should cover over is the handling of error conditions - I'm struggling to find any examples of neatly dealing with what happens if your controller decides it's not happy with the data and has to let the store know so it can deal with the situation appropriately. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
-- Cameron themsel...@gmail.com wrote (on Thursday, 24 September 2009, 02:53 PM +0800): On Thu, Sep 24, 2009 at 8:38 AM, Cameron themsel...@gmail.com wrote: On Wed, Sep 23, 2009 at 6:49 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. So far I'm finding the same, it's a match made in heaven, except for some reason the grid doesn't seem to be triggering on edits. I can't see any ajax hits in firebug. Anyway, I'm sure it's my fault, I'll work it out! Ok, so I'm dumb, you need to manually call store.save(). I was about to write back and mention that you need to trigger store.save() -- glad you found it. (In my identifier column, I typically add a save button to trigger this.) Matthew, one thing that your post should cover over is the handling of error conditions - I'm struggling to find any examples of neatly dealing with what happens if your controller decides it's not happy with the data and has to let the store know so it can deal with the situation appropriately. When you call store.save(), you can pass onError and onComplete callbacks. In the case of an error, I return an HTTP 400 status with a JSON payload with my error messages, and then popup a dialog indicating what needs to be changed; for success messages, I use a notification system (currently one derived from http://blog.uxdriven.com/2009/09/08/making-your-own-growl-widget-with-dojo/) The place that problems occur is when I add new rows -- Dojo generates a unique hash for the ID, but that means that if I save() a second time, JsonRestStore tries to do a PUT (update) request -- and I have an invalid identifier. I'm still trying to work out that part of the equation. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/ -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
Matthew Weier O'Phinney-3 wrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/ I don't mean to steal your thunder but that's exactly what I'm using and am in the middle of writing a blog post. :) -- View this message in context: http://www.nabble.com/DataGrid-tp25559736p25578037.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] DataGrid
I use (and I'm very happy with it) Jquery Grid: http://www.trirand.com/blog/ I use ZendX_JQuery* for ZF integration and it works like a charm... Kyle Spraggs wrote: I was curious what everyone is using for DataGrids. I am aware of http://petala-azul.com/blog/ as well as http://code.google.com/p/zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Kyle Spraggs (SpiffyJr) http://www.spiffyjr.me -- View this message in context: http://www.nabble.com/DataGrid-tp25559736p25589776.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] DataGrid
-- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
On Wed, Sep 23, 2009 at 6:49 PM, Matthew Weier O'Phinney matt...@zend.comwrote: -- Cameron themsel...@gmail.com wrote (on Wednesday, 23 September 2009, 09:42 AM +0800): Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. I'm planning on doing a blog post on this combination (Zend_Rest_Route + dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work together incredibly well, and make CRUD interfaces a breeze. So far I'm finding the same, it's a match made in heaven, except for some reason the grid doesn't seem to be triggering on edits. I can't see any ajax hits in firebug. Anyway, I'm sure it's my fault, I'll work it out! On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http:// petala-azul.com/blog/ as well as http://code.google.com/p/ zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
[fw-general] DataGrid
I was curious what everyone is using for DataGrids. I am aware of http://petala-azul.com/blog/ as well as http://code.google.com/p/zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Kyle Spraggs (SpiffyJr) http://www.spiffyjr.me
Re: [fw-general] DataGrid
-- Kyle Spraggs the...@spiffyjr.me wrote (on Tuesday, 22 September 2009, 08:10 AM -0500): I was curious what everyone is using for DataGrids. I am aware of http://petala-azul.com/blog/ as well as http://code.google.com/p/zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. I use dojox.grid.DataGrid exclusively for grids -- it's trivial to feed from ZF, and incredibly flexible. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] DataGrid
Ext JS (primarily Ext.grid.GridPanel). We have some pretty stringent needs for data grid functionality, and--with plugins--this meets our needs. I've written quite a bit of code for facilitating communication with the back end which perhaps I'll release at some point in early 2010. -Matt On Tue, Sep 22, 2009 at 6:10 AM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http://petala-azul.com/blog/ as well as http://code.google.com/p/zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Kyle Spraggs (SpiffyJr) http://www.spiffyjr.me
Re: [fw-general] DataGrid
Dojo grids. I've actually just moved a lot of my functionality over to Dojo JsonRestStore so I can do in-grid editing, it's not completed yet, but so far it is coming together really smoothly. On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs the...@spiffyjr.me wrote: I was curious what everyone is using for DataGrids. I am aware of http://petala-azul.com/blog/ as well as http://code.google.com/p/zend-framework-datagrid/ and there is also the possibility of Dojo Grids. Any input would be appreciated. -- Kyle Spraggs (SpiffyJr) http://www.spiffyjr.me
Re: [fw-general] Datagrid in Zend Framework
Hi, You can try this one http://petala-azul.com/blog/ It seams very powerful, judging by the features list Best Regards, Filipe Carvalho wrote: Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p20118313.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Datagrid in Zend Framework
Thanks, I've been thinking about it. Hope that soon. Best regards Zsamer Tobias Gies wrote: Wow, very cool stuff! I beg you, please create a ZF proposal :-) Best regards Tobias 2008/10/1 zsamer [EMAIL PROTECTED] here you have my own implementation: http://code.google.com/p/zend-framework-datagrid/ soon I'm going to translate to English. Filipe Carvalho wrote: Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19760525.html Sent from the Zend Framework mailing list archive at Nabble.com. - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19798062.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Datagrid in Zend Framework
+1 from me, this is a cool idea and very useful :) On Friday 03 October 2008 15:45:43 zsamer wrote: Thanks, I've been thinking about it. Hope that soon. Best regards Zsamer Tobias Gies wrote: Wow, very cool stuff! I beg you, please create a ZF proposal :-) Best regards Tobias 2008/10/1 zsamer [EMAIL PROTECTED] here you have my own implementation: http://code.google.com/p/zend-framework-datagrid/ soon I'm going to translate to English. Filipe Carvalho wrote: Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19760525.htm l Sent from the Zend Framework mailing list archive at Nabble.com. - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- Benjamin Eberlei http://www.beberlei.de
Re: [fw-general] Datagrid in Zend Framework
Hey!, Excelente :) Why you don't create a zf proposal for it ? or maybe why you don't talk with the Zym Project people, I know that they will going to create a datagrid some day :O ;). - Original Message - From: zsamer [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Wednesday, October 1, 2008 8:31:26 AM GMT -05:00 Columbia Subject: Re: [fw-general] Datagrid in Zend Framework here you have my own implementation: http://code.google.com/p/zend-framework-datagrid/ soon I'm going to translate to English. Filipe Carvalho wrote: Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19760525.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Datagrid in Zend Framework
Wow, very cool stuff! I beg you, please create a ZF proposal :-) Best regards Tobias 2008/10/1 zsamer [EMAIL PROTECTED] here you have my own implementation: http://code.google.com/p/zend-framework-datagrid/ soon I'm going to translate to English. Filipe Carvalho wrote: Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho - http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art http://www.bolsadeideas.cl Bolsa de Ideas -- View this message in context: http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19760525.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Datagrid in Zend Framework
Hi Filipe, I have done it base on 3 others component: Mmx_Data_Sort Mmx_Data_Criterion Mmx_Data_Pager There is no coupling between components so you can use them individually. The rendering part is done as in Zend_Form : a __toString() method is making use of view helpers. May be http://xyster.devweblog.org/ and Xyster_Data is worth a like look as component to build something upon. I haven’t time to get a closer look though. A basic use case: // Data Grid Zend_Loader::loadClass('Mmx_Data_Grid'); // Params: grid name, filter data, sort column $grid = new Mmx_Data_Grid('users', $_POST, @$_GET['sort']); $grid-addElement('integer', 'user_id'); $grid-addElement('integer', 'acl_role_id'); $grid-addElement('string', 'username'); $grid-addElement('string', 'firstname'); $grid-addElement('string', 'lastname'); $grid-addElement('boolean', 'isActive'); $grid-setDefaultSort('username'); $rowsPerPage = $this-getRequest()-getParam('limit'); $currentPage = $this-getRequest()-getParam('page', 1); $totalRows = $usersTable-count($grid-getFilterCriteria()); $grid-initPager($totalRows, $rowsPerPage, $currentPage); // Query DB $rows = $usersTable-fetchAll($grid-getFilterCriteria(), $grid-getSortCriteria(),$grid-getRowsPerPage(), $grid-getPageOffset()); $grid-populate($rows); // Grid Renderer $options = array( 'labels' = $this-_labels, 'pkname' = 'user_id', 'urlbase' = $this-view-url(array('page'='@@page@@'), null, false, false), 'urledit' = $this-view-url(array('action'='edit', 'page'=null)).'/@@id@@?Mmx_Back=1', 'urldelete'= $this-view-url(array('action'='delete')).'/@@id@@?Mmx_Back=1' ); $grid-setDecorators($options); $this-view-grid = $grid; -- Laurent Melmoux Conseils et Solutions Web | [EMAIL PROTECTED] 2mx - Annecy, France | http://www.2mx.fr/ Filipe Carvalho a écrit : Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho
Re: [fw-general] Datagrid in Zend Framework
I generally use the PEAR structures_datagrid package. I have also used a funnky jquery table editor plugin, so the fields are all editable and updated via ajax. On 08/05/2008, at 2:11 AM, Joó Ádám wrote: This looks neat – scaffolding and grid was already mentioned, would be great to have a ZF component for this job. Is there any ongoing development in this area? Regards, Ádám
[fw-general] Datagrid in Zend Framework
Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho smime.p7s Description: S/MIME Cryptographic Signature
Re: [fw-general] Datagrid in Zend Framework
This looks neat – scaffolding and grid was already mentioned, would be great to have a ZF component for this job. Is there any ongoing development in this area? Regards, Ádám
RE: [fw-general] Datagrid in Zend Framework
The way we have done it is to create a Javascript datagrid and we pass JSON strings from PHP. The great thing about this is the client already has the JS cached so drawing grids is really snappy! - Robert -Original Message- From: Joó Ádám [mailto:[EMAIL PROTECTED] Sent: 07 May 2008 17:11 To: Filipe Carvalho Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Datagrid in Zend Framework This looks neat - scaffolding and grid was already mentioned, would be great to have a ZF component for this job. Is there any ongoing development in this area? Regards, Ádám This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system.
RE: [fw-general] Datagrid in Zend Framework
One of our developers created a helper that is model aware and outputs a table with those features. Its pretty flexible, and generic and are using it for many different models (i.e. its not tied to something, but instead ready to work with any of our model object). There is some talk about cleaning this up and releasing it for free, but its not quite ready for that yet. -- Eric Marden From: Filipe Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 11:40 AM To: fw-general@lists.zend.com Subject: [fw-general] Datagrid in Zend Framework Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho
RE: [fw-general] Datagrid in Zend Framework
Filpe, I'm planning to split off the site specific code and release my TableMaker script this weekend. I'll be happy to let you know when that is done. I'll try and draft together a little usage example explaining the different aspects of the helper. I'll make an announcement on this list for interested parties. Since this is my work e-mail, I won't make the announcement on this list until Monday. Kevin Hallmark PHP Developer Bonnier Corporation 460 N Orlando Ave Suite 200 Winter Park, FL 32789 (407) 571-4960 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: Eric Marden Sent: Wednesday, May 07, 2008 3:52 PM To: fw-general@lists.zend.com Subject: RE: [fw-general] Datagrid in Zend Framework One of our developers created a helper that is model aware and outputs a table with those features. Its pretty flexible, and generic and are using it for many different models (i.e. its not tied to something, but instead ready to work with any of our model object). There is some talk about cleaning this up and releasing it for free, but its not quite ready for that yet. -- Eric Marden From: Filipe Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 11:40 AM To: fw-general@lists.zend.com Subject: [fw-general] Datagrid in Zend Framework Hi all, I'm looking for something like phpGrid (http://www.phpgrid.com/). Not so advanced... i will be happy in having out the box features like: - Paging - Sorting columns - Capability to create links values of some columns It is not hard to do it, but using model-view-controller pattern I can't realize how to do something clean and reusable. Can you give some clues how to do it? Best Regards, Filipe Carvalho