ajaxCFC update for Model Glue and MachII
I previously released some examples of Ajax for Model Glue, including port of the Contact Manager example that works with Ajax and XML Sockets. I missed to consider that most people will not be able to get the XML Socket server running, thus not being able to run this example on their servers. Added another example that uses only Ajax, without the sockets complication ... if you diff both versions, you'll find that I only changed a single line in the config file to use an ajaxLayout instead of socketLayout ... nonetheless, this should allow you to run this example out of the box ...
And the moment everyone has been waiting for: ajaxCFC for MachII is out thanks to Dan Wilson! He did a great job taking the same Contact Manager example and porting it to the MachII framework. His implementation is really clean, using Plugins and Filters to extend the MachII framework, not to mention that the layout he built for the example is much prettier than mines :)
The code is really clean and should make sense for every MachII developer. I'll try to write some documentation and instructions, but that will take some time. Sorry for delaying this post Dan, I really appreciate your contribution and so does the CF Community.
Enjoy.
And the moment everyone has been waiting for: ajaxCFC for MachII is out thanks to Dan Wilson! He did a great job taking the same Contact Manager example and porting it to the MachII framework. His implementation is really clean, using Plugins and Filters to extend the MachII framework, not to mention that the layout he built for the example is much prettier than mines :)
The code is really clean and should make sense for every MachII developer. I'll try to write some documentation and instructions, but that will take some time. Sorry for delaying this post Dan, I really appreciate your contribution and so does the CF Community.
Enjoy.
TrackBacks
Mach-II Contact Manager + ajaxCFC
Now this is seriously cool stuff. Rob Gonda has an example of Dan Wilson's port of the Contact Manager sample application I updated for Mach-II 1.1.0, now ajaxified! After MachBlog gets a 1.0 release out the door I was going to start doing some ajax stuff here and there so this will help tremendously.
Now this is seriously cool stuff. Rob Gonda has an example of Dan Wilson's port of the Contact Manager sample application I updated for Mach-II 1.1.0, now ajaxified! After MachBlog gets a 1.0 release out the door I was going to start doing some ajax stuff here and there so this will help tremendously.
Tracked by Matt Woodward's Blog | Tracked on 6/11/06 9:07 PM
Trackback URL for this entry:
http://www.robgonda.com/blog/trackback.cfm?C521D590-3048-7431-E42624B87EF1773D
http://www.robgonda.com/blog/trackback.cfm?C521D590-3048-7431-E42624B87EF1773D









Great work on all of this. I am an old-school PP ColdFusion guy getting back into the game to build a pretty hefty online application in the next few months. Currently it looks like i'll be using your fine ajaxcfc in conjunction with MG and perhaps reactor. In running your contactmanagerAJAX (the plain contact manager version works perfectly) example included in the ajaxcfc download, after changing the necessary mappings, i'm getting an "invalid reply from server" message. It's probably a stupid question, but i'll ask anyway - do you know why this might be?
Keep up the great work!
I'm also getting the "invalid reply from server" msg.
What special things do we need to do for Mach-ii implementation?
Thanks,
Joe
1) CFMX DevNet Edition... The JS version inside the MachII example does not escape that nasty meta tag.
2) Debugging enabled in the CF Administrator. The controllers that respond the Ajax events do not remove debugging with cfsetting like the traditional ajax.cfc does.
Other than that, it should be as easy as changing the mappings... in a few places... make sure you change the config, filters, models, plugins... man, I wish there was some global var to change... anyways... all those.
Let me know.