Hi!
Having been a lurker for some time, this is my first post to the list. I'm a ColdFusion developer for five years now, and I'm playing around with Farcry since b210. (BTW, great job, guys!)
To me, the most important achievement for "Glamour" would be to reach cross-platform and "cross-ColdFusion" compatibility and functionality in the FarCry code (zip files only?):
When I was about to launch the 1-800-solve web site we built over the last couple of months (www.1-800-solve.com, in case you want to give it a look; rants off-list, please ;-), I ran into several issues due to differences between my development system (CFMX 6.1 on JRun 4, Mac OSX 10.3.X), the test stage (CFMX 6.1 standalone in Win 2k SP4) and the production system (CFMX 6.1 on JRun 4, Win 2003 server):
* On JRun4, the CFID session variable which is used for the lock in overview_frame.cfm does not exist (I changed that to session.sessionID)
* In a shared hosting environment, you do not always have full access to java classes and the like. Thus, the session tracking does not work as intended. (I'm currently at implementing Raymond Camden's solution he has published in sys-con's ColdFusion Developer magazine a while ago. If anybody is interested, I may post it here when I'm finished.)
* The same applies to the otherwise useful core image class which utilizes java functions that might not be available in a shared hosting environment. (Sorry, no fix for that yet.)
* Furthermore, there is only one "farcry" virtual directory per box, and you may bet that at the time you are ready to launch your site it's already taken by someone else. I intend to write a short guide on what you need to change in order to be able to run FarCry in a shared hosting environment.
For 1-800-solve, I created a new application variable application.fourqpackagepath in the <applicationname>/config/_serverSpecificVars.cfm file which helped me a lot when porting the farcry_core and fourq code.
* I, too, think that the Admin UI could need some clean-up. I'm not quite sure if it's a bug, but have you ever tried (as customers would do) to call the handpicked rule with an object that was deleted before?
Adding the following piece of code just before the <tags:plpUpdateOutput> call at the end of the _ruleHandpicked/selectObjects.cfm file solved the problem for me (and yes, I know, the appropriate place to check if the object is published in any container would be the types CFC delete() method):
<!--- check if there are any objects stored in the PLP scope
that do no longer exist in the database --->
<cfif isDefined("form.wddx") AND isWDDX(form.wddx)>
<cfwddx
input="#form.wddx#"
action="wddx2cfml"
output="aCheckWDDX"
/>
<cfscript>
for (i=arrayLen(aCheckWDDX); i GT 1; i=i-1) {
o = createObject("component",
application.types[aCheckWDDX[i].typename]['typepath']);
st = o.getData(aCheckWDDX[i].objectid);
if (StructIsEmpty(st)) {
/* if the object does not exist in the database,
delete it from the array */
ArrayDeleteAt(aCheckWDDX,i);
}
}
</cfscript>
<cfwddx
input="#aCheckWDDX#"
action="cfml2wddx"
output="form.wddx"
/>
</cfif> <!--- cfif isDefined("form.wddx").. --->* I would also like to see some switch where you could throw away the audit and archive information and earlier versions of objects that are older than a specific, admin-entered date.
* The DHTML for the categorization did not work for me in Mozilla, Safari, Camino, Firefox and IE/Mac. However, after initializing it on IE/Win (other browsers didn't work either), adding and selecting categories works.
That's all I can think of at the moment.
Kind regards,
Thomas Prochazka (w) http://www.1-800-solve.com/ (e) [EMAIL PROTECTED]
--- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
