House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Convert php to cfm

Author:
Andrew Scott
01/11/2012 12:18 PM

ColdFusion 9 comes with its own serialise and de-serialise function of json, the downside to this is that extJS will not work natively with that format of Json. I think I blogged an example on how you can write your own reader to then convert ColdFusion's JSon by extJS. As for output into the store, this is easily done by using the datastore load or via an ajax call manually. Then when the data is returned the store will do all the hard work for you. Most of what you are asking is Javascript, and there are plenty of examples on sencha.com and their forums to achieve what you are looking for. The downside as I said is ColdFusion 8/9 native functions have a different JSon format and therefore need a reader to convert this on the fly as it is read. If you find yourself getting stuck some more, start with some of the examples and tutorials, and then use ColdFusion to deliver the content. Even if it is a basic grid, with a datastore that automatically loads the data via Ajax. You should not have any problems with this, but if you do then by all means shoot me an email and I will help you out further. --  Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 Hi Andrew, I am using ColdFusion9 and have downloaded json (serialize and deserialize) from cflibs. Although this may sound naive, can you tell me where to include both files, also how to cfoutput it via json to my datastore  as I am a newbie...


Search cf-talk

September 02, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30         

Designer, Developer and mobile workflow conference