Re: how can we create datagrind in cakephp using ajax helper
hi hydra12, thanks for your help i got the solution as i follow your suggestions on http://www.ntatd.org/mark/?p=29. and http://extjs.com/forum/showthread.php?p=53728#post53728. thanks a lot :) On Dec 23, 5:22 am, hydra12 [EMAIL PROTECTED] wrote: I need to see your code. Best would be your javascript code and your controller code. I'm on vacation for Christmas, but I'll see what I can do to help. hydra12 On Dec 22, 4:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks hydra12, but still i m not getting greed, actually in the code below, Ext.data.JsonReader = function(meta, recordType){ meta = meta || {}; Ext.data.JsonReader.superclass.constructor.call(this, meta, recordType||meta.fields);}; Ext.extend(Ext.data.JsonReader, Ext.data.DataReader, { read : function(response){ var json = response.responseText; var o = eval((+json+)); if(!o) { throw {message: JsonReader.read: Json object not found}; } if(o.metaData){ delete this.ef; this.meta = o.metaData; this.recordType = Ext.data.Record.create(o.metaData.fields); this.onMetaChange(this.meta, this.recordType, o); } return this.readRecords(o); }, onMetaChange : function(meta, recordType, o){ }, 'o' does not have any value, please help me out thank you On Dec 21, 5:47 pm, hydra12 [EMAIL PROTECTED] wrote: Yes, you can. It's not so easy to get setup, but I've written a tutorial about it here:http://www.ntatd.org/mark/?p=29. Also checkout this post:http://extjs.com/forum/showthread.php?p=53728#post53728. It starts with me asking questions trying to get thedatagridworking, then ends with me helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't anAjaxhelper for adatagridbut take a look atextjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp usingajaxhelper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
thanks hydra12, but still i m not getting greed, actually in the code below, Ext.data.JsonReader = function(meta, recordType){ meta = meta || {}; Ext.data.JsonReader.superclass.constructor.call(this, meta, recordType||meta.fields); }; Ext.extend(Ext.data.JsonReader, Ext.data.DataReader, { read : function(response){ var json = response.responseText; var o = eval((+json+)); if(!o) { throw {message: JsonReader.read: Json object not found}; } if(o.metaData){ delete this.ef; this.meta = o.metaData; this.recordType = Ext.data.Record.create(o.metaData.fields); this.onMetaChange(this.meta, this.recordType, o); } return this.readRecords(o); }, onMetaChange : function(meta, recordType, o){ }, 'o' does not have any value, please help me out thank you On Dec 21, 5:47 pm, hydra12 [EMAIL PROTECTED] wrote: Yes, you can. It's not so easy to get setup, but I've written a tutorial about it here:http://www.ntatd.org/mark/?p=29. Also checkout this post:http://extjs.com/forum/showthread.php?p=53728#post53728. It starts with me asking questions trying to get thedatagridworking, then ends with me helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't anAjaxhelper for adatagridbut take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp usingajaxhelper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
I need to see your code. Best would be your javascript code and your controller code. I'm on vacation for Christmas, but I'll see what I can do to help. hydra12 On Dec 22, 4:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks hydra12, but still i m not getting greed, actually in the code below, Ext.data.JsonReader = function(meta, recordType){ meta = meta || {}; Ext.data.JsonReader.superclass.constructor.call(this, meta, recordType||meta.fields);}; Ext.extend(Ext.data.JsonReader, Ext.data.DataReader, { read : function(response){ var json = response.responseText; var o = eval((+json+)); if(!o) { throw {message: JsonReader.read: Json object not found}; } if(o.metaData){ delete this.ef; this.meta = o.metaData; this.recordType = Ext.data.Record.create(o.metaData.fields); this.onMetaChange(this.meta, this.recordType, o); } return this.readRecords(o); }, onMetaChange : function(meta, recordType, o){ }, 'o' does not have any value, please help me out thank you On Dec 21, 5:47 pm, hydra12 [EMAIL PROTECTED] wrote: Yes, you can. It's not so easy to get setup, but I've written a tutorial about it here:http://www.ntatd.org/mark/?p=29. Also checkout this post:http://extjs.com/forum/showthread.php?p=53728#post53728. It starts with me asking questions trying to get thedatagridworking, then ends with me helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't anAjaxhelper for adatagridbut take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp usingajaxhelper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
There isn't an Ajax helper for a datagrid but take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp using ajax helper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't an Ajax helper for a datagrid but take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp using ajax helper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
Yes, you can. It's not so easy to get setup, but I've written a tutorial about it here: http://www.ntatd.org/mark/?p=29. Also checkout this post: http://extjs.com/forum/showthread.php?p=53728#post53728. It starts with me asking questions trying to get the datagrid working, then ends with me helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't an Ajax helper for a datagrid but take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp using ajax helper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how can we create datagrind in cakephp using ajax helper
I would look also on the Yahoo UI class libarary. You can set a CakePHP Ajax page to generate a JSON model and feed that into an Ajax datagrid class. Depending on your project, you need also to evaluate efficiency both in speed and bandwidth. For instance if speed was the only concern, we might just be rendering all our data in bitmap form with the GD library instead of setting it in tables. Ajax, being client centric, is by definition impossibly to accurately benchmark before you release it to the public because adding the Javascript/JSON/Ajax layer to a datagrid makes the final layer of the applicaiton execute on the clients machines which is a heterogeneous environment. The classic LAMP model on the other hand puts the burden on your servers, which changes the bandwidth of the data as it moves from server to client. Note I said changes not makes worse or better: if you are performance sensitive you need to measure the weight of rendering the HTML for 100 records and sending that HTML chunk through the server against the weight of sending the same data JSONed to a web app. Both the ultimate elapsed time to display and the resource consumption need to be independently evaluated. If the JSON method is hugely more efficient for a one client test and you expect massive traffic, it could ultimately be faster in high traffic context despite being slower in a single user test. Keep in mind though that if you are dealing with massive databases you might find that the overhead of Ajax plus the unavoidable overhead of a large database is a losing combination. For instance, Yahoo's new Ajax'ed mail is still noticeably slower than Yahoo Mail Classic. Consider excluding text and blob fields in the datagrid (or make them Ajax tipdowns that only populate when clicked) to speed up display On Dec 21, 4:47 am, hydra12 [EMAIL PROTECTED] wrote: Yes, you can. It's not so easy to get setup, but I've written a tutorial about it here:http://www.ntatd.org/mark/?p=29. Also checkout this post:http://extjs.com/forum/showthread.php?p=53728#post53728. It starts with me asking questions trying to get the datagrid working, then ends with me helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks for your reply, I still have one question - Can i used this with cakePHP? On Dec 21, 3:28 pm, dizz [EMAIL PROTECTED] wrote: There isn't an Ajax helper for a datagrid but take a look at extjs.com On Dec 21, 11:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i just want to know , how can we create datagrind in cakephp using ajax helper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
how can we create datagrind in cakephp using ajax helper
Hi, i just want to know , how can we create datagrind in cakephp using ajax helper I have post this topic before this also but I didn't find any solution please help me, if anyone finds the solution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---