[cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)
Hi Robin, Color me confused... But does making use of the cffactory services involve breaking the EULA? I'm told they're used fairly extensively in the administrator application... but I first found out about them from a developer list, and learned most everything I know about them from CFDUMP and some constructive experimentation. I'm admittedly hazy on the exact details of the EULA off the top of my head. But I'm a touch curious what dangerous ground we're treading on? -Original Message- From: Robin Hilliard [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 7:57 PM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Don't forget what Geoff said about discussing stuff that breaks the EULA on the list... Beattie, Barry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all anyone know of more documentation (and examples?) for cf.Factory other than http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=10 ??? It's the only link I can find on it thanx barry.b --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)
Sean Basically it comes down to software licencing. http://www.macromedia.com/software/eula/server/ --- Section 3 (b) of the EULA You may not alter, merge, adapt or translate the Software, or decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human-perceivable form. --- I ask you this. Whats the point of an administrator if all your gonna do is get into it, see how it works and create your own code that will do what the administrator does. From a point of view of a hosting provider this would be a nightmare. But from a developers point of view, there is good cause to see how it ticks. Regardless of each ones perception of what is good and what is bad, the EULA is the bible so to speak and if you violate the EULA, then good luck to you. As Spike says, if its not documented, its not documented for a reason. Coldfusion provides to developers a set of tags to do what we need to do, and what ever special things run the administrator should not be used in development. Macromedia can change, add or even remove any of those special tags/functions at any time from its andministrator product, so why would you rely on them for your applications. Anyway Thats my bit Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sean Sent: Friday, 6 June 2003 12:47 AM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Hi Robin, Color me confused... But does making use of the cffactory services involve breaking the EULA? I'm told they're used fairly extensively in the administrator application... but I first found out about them from a developer list, and learned most everything I know about them from CFDUMP and some constructive experimentation. I'm admittedly hazy on the exact details of the EULA off the top of my head. But I'm a touch curious what dangerous ground we're treading on? -Original Message- From: Robin Hilliard [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 7:57 PM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Don't forget what Geoff said about discussing stuff that breaks the EULA on the list... Beattie, Barry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all anyone know of more documentation (and examples?) for cf.Factory other than http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=10 ??? It's the only link I can find on it thanx barry.b --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)
My problems with service factories are largely controlling them rather then using them. As a host? undocumented or not, they still work. That makes them a pain in my ass. But there is also some useful functionality I haven't found anywhere else. Like the user control functions. Checking several security functions AFAIK just isn't possible outside of factory services. Searching for a particular example (that I still can't bloody find!) turns up at least one use of the factory services in the _mmServerScripts generated by DWMX that can't be distributed... but is placed ina directory in plain text. I dunno. I dont recall ever altering, mergeing, adapting or translating the Software, or decompiling, reverse engineering, disassembling, or otherwise reducing the Software to a human-perceivable form. I saw some code samples on a list that did some nifty stuff... Nifty stuff that punched great big security holes in my shared servers... but still nifty stuff. At the very least, I don't see how using or talking about functionality availible on every server, without having to alter or modify anything on the server could possibly be a violation of the EULA. But then I never did work out how Napster was violating copywrite laws by providing a mechanism that was misused. I've got one of those simple views. I'm almost certain somebody broke the EULA at some point... either by decrypting something they shouldn't have, or by decrypting something and then making it public knowledge. But that person wasn't me. Ergo, not my bag. If I had to hack a config file? or decrypt something to make a change to it? or otherwise alter the server to make factory services work? yah. With ya 100%. That'd be bad. But I don't. So its not. At least in my ever so humble opinion. Unless Robin was warning people away from suggesting that barry go decrypt the administrator to find examples of the factory services... Which I didn't see anybody doing, or even considering as a plausable option, I'm just confused. But it is 6 am... -Original Message- From: Steve Onnis [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 1:04 AM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Sean Basically it comes down to software licencing. http://www.macromedia.com/software/eula/server/ --- Section 3 (b) of the EULA You may not alter, merge, adapt or translate the Software, or decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human-perceivable form. --- I ask you this. Whats the point of an administrator if all your gonna do is get into it, see how it works and create your own code that will do what the administrator does. From a point of view of a hosting provider this would be a nightmare. But from a developers point of view, there is good cause to see how it ticks. Regardless of each ones perception of what is good and what is bad, the EULA is the bible so to speak and if you violate the EULA, then good luck to you. As Spike says, if its not documented, its not documented for a reason. Coldfusion provides to developers a set of tags to do what we need to do, and what ever special things run the administrator should not be used in development. Macromedia can change, add or even remove any of those special tags/functions at any time from its andministrator product, so why would you rely on them for your applications. Anyway Thats my bit Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sean Sent: Friday, 6 June 2003 12:47 AM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Hi Robin, Color me confused... But does making use of the cffactory services involve breaking the EULA? I'm told they're used fairly extensively in the administrator application... but I first found out about them from a developer list, and learned most everything I know about them from CFDUMP and some constructive experimentation. I'm admittedly hazy on the exact details of the EULA off the top of my head. But I'm a touch curious what dangerous ground we're treading on? -Original Message- From: Robin Hilliard [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 7:57 PM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Don't forget what Geoff said about discussing stuff that breaks the EULA on the list... Beattie, Barry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all anyone know of more documentation (and examples?) for cf.Factory other than http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=10 ??? It's the only link I can find on it thanx barry.b --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon -
[cfaussie] Re: regex against word
One I found was the apostrophe above the 'e' in décor. XML throws a wobbly at these types of characters and thought there may be a regex that could grab them when used in these rare occasions. Cheers Drew -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 8:19 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word What kind of characters are they? Example would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Thursday, 5 June 2003 5:03 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
You don't really need to use a RegEx on this, you can just use the replace function on this, unless you want to remove any special character that makes XML fall over. replace(yourString, é, e, all) I guess your best bet would be to replace the character with the following ISO code or some other equivalent that won't make xml fall over replace(yourString, é, eacute;, all) I'm sure there is a tag or function somewhere that will do exactly what you want when you do a search in google or have a look at http://www.cflib.org/library.cfm?ID=1 Taco -Original Message- From: Andrew Parker [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 8:58 AM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word One I found was the apostrophe above the 'e' in décor. XML throws a wobbly at these types of characters and thought there may be a regex that could grab them when used in these rare occasions. Cheers Drew -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 8:19 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word What kind of characters are they? Example would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Thursday, 5 June 2003 5:03 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ This email, together with any attachments, is intended for the named recipient(s) only and may contain privileged and confidential information. If received in error, please inform the sender as quickly as possible and delete this email and any copies from your computer system network. If not an intended recipient of this email, you must not copy, distribute or rely upon it and any form of disclosure, modification, distribution and/or publication of this email is prohibited. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
I guess your best bet would be to replace the character with the following ISO code or some other equivalent that won't make xmlfall over However. NOTE: XML only supports a small set of the escaped characters (not the same set that HTML supports) - so you may find that, while they dont break XML, you may not get the behaviour you actually want (this may, of course, depend on how you are you processing your XML for output). Gary Menzel IT Operations Brisbane -+- ABN AMRO Morgans Limited Level 29, 123 Eagle Street BRISBANE QLD 4000 PH: 07 333 44 828 FX: 07 3834 0828 If this communication is not intended for you and you are not an authorised recipient of this email you are prohibited by law from dealing with or relying on the email or any file attachments. This prohibition includes reading, printing, copying, re-transmitting, disseminating, storing or in any other way dealing or acting in reliance on the information. If you have received this email in error, we request you contact ABN AMRO Morgans Limited immediately by returning the email to [EMAIL PROTECTED] and destroy the original. We will refund any reasonable costs associated with notifying ABN AMRO Morgans. This email is confidential and may contain privileged client information. ABN AMRO Morgans has taken reasonable steps to ensure the accuracy and integrity of all its communications, including electronic communications, but accepts no liability for materials transmitted. Materials may also be transmitted without the knowledge of ABN AMRO Morgans. ABN AMRO Morgans Limited its directors and employees do not accept liability for the results of any actions taken or not on the basis of the information in this report. ABN AMRO Morgans Limited and its associates hold or may hold securities in the companies/trusts mentioned herein. Any recommendation is made on the basis of our research of the investment and may not suit the specific requirements of clients. Assessments of suitability to an individual's portfolio can only be made after an examination of the particular client's investments, financial circumstances and requirements. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)
This email is to be read subject to the disclaimer below. Maybe we need a FAQ on what is considered breaking the EULA and what isn't? Viktor Radnai Web Developer Ernst Young Australia http://www.eyware.com/ http://www.eyonline.com/ http://www.compassweb.com.au/ Direct: +612 9248 4361 Fax: +612 9248 4073 Mobile: +61408 662 546 Sean [EMAIL PROTECTED] Sent by: To: CFAussie Mailing List [EMAIL PROTECTED] [EMAIL PROTECTED]cc: mon.com.auSubject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) 06/06/2003 06:13 AM Please respond to CFAussie Mailing List My problems with service factories are largely controlling them rather then using them. As a host? undocumented or not, they still work. That makes them a pain in my ass. But there is also some useful functionality I haven't found anywhere else. Like the user control functions. Checking several security functions AFAIK just isn't possible outside of factory services. Searching for a particular example (that I still can't bloody find!) turns up at least one use of the factory services in the _mmServerScripts generated by DWMX that can't be distributed... but is placed ina directory in plain text. I dunno. I dont recall ever altering, mergeing, adapting or translating the Software, or decompiling, reverse engineering, disassembling, or otherwise reducing the Software to a human-perceivable form. I saw some code samples on a list that did some nifty stuff... Nifty stuff that punched great big security holes in my shared servers... but still nifty stuff. At the very least, I don't see how using or talking about functionality availible on every server, without having to alter or modify anything on the server could possibly be a violation of the EULA. But then I never did work out how Napster was violating copywrite laws by providing a mechanism that was misused. I've got one of those simple views. I'm almost certain somebody broke the EULA at some point... either by decrypting something they shouldn't have, or by decrypting something and then making it public knowledge. But that person wasn't me. Ergo, not my bag. If I had to hack a config file? or decrypt something to make a change to it? or otherwise alter the server to make factory services work? yah. With ya 100%. That'd be bad. But I don't. So its not. At least in my ever so humble opinion. Unless Robin was warning people away from suggesting that barry go decrypt the administrator to find examples of the factory services... Which I didn't see anybody doing, or even considering as a plausable option, I'm just confused. But it is 6 am... -Original Message- From: Steve Onnis [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 1:04 AM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) Sean Basically it comes down to software licencing. http://www.macromedia.com/software/eula/server/ --- Section 3 (b) of the EULA You may not alter, merge, adapt or translate the Software, or decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human-perceivable form. --- I ask you this. Whats the point of an administrator if all your gonna do is get into it, see how it works and create your own code that will do what the administrator does. From a point of view of a hosting provider this would be a nightmare. But from a developers point of view, there is good cause to see how it ticks. Regardless of each ones perception of what is good and what is bad, the EULA is the bible so to speak and if you violate the EULA, then good luck to you. As Spike says, if its not documented, its not documented for a reason. Coldfusion provides to developers a set
[cfaussie] CFC Inheritence
Hi Is there a way with CFCs to do the equivalent of the super() call in java ? Pat --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: Migrating from CF 5 to CFMX
Cassie, once your mx server is up, look at http://localhost:8500/cfdocs/Migrating_ColdFusion_5_Applications/contents.htm should cover everything.. Kerr "australia" [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, We have an application currently running very well on CF5. However, because of one small but important issue we are going to move to CFMX. So my question is, does anyone have a list of the things to watch out for, code-wise, when moving an application across? Are there any functions in particular that behave differently etc. Thanks Cassie --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] RE: String Searches.
You would need to use regular expressions to do this reFindNocase(regExpression, string, [start], [returnsubexpressions]). I believe there are some functions available for this on http://www.cflib.org/ http://www.evolt.org/article/rating/20/22700/ is a very good article to get started with regex.. Taco -Original Message- From: Ricardo Russon [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 12:16 PM To: CFAussie Mailing List Subject: [cfaussie] String Searches. Hi guys, Is there anyway to wildcard a FindNoCase() ? I need to process a html file, find all the images, and extract their sources FindNoCase(HTMLCodeFormat(CFHTTP.FileContent), img src=http://' #wildcard# '/) are there any tools available for stripping html files into individual tags? I can't think of a way to do it, without knowing what the file is going to contain. which would be ok, except I all the files are completely different. thanks for your help. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ This email, together with any attachments, is intended for the named recipient(s) only and may contain privileged and confidential information. If received in error, please inform the sender as quickly as possible and delete this email and any copies from your computer system network. If not an intended recipient of this email, you must not copy, distribute or rely upon it and any form of disclosure, modification, distribution and/or publication of this email is prohibited. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)
This email is to be read subject to the disclaimer below. Hi Barry, Is editing cfmxroot\lib\neo-query.xml a breach of the EULA? This file contains all the datasource information and editing it could be a solution for your problem. You might need to restart CFMX for the changes to take effect (not sure as I haven't tested it). You could look at the other neo-*.xml files in that directory, they contain a whole lot of other settings. If you end up using this method you'll have to set the password as the encryption key seems to be unique for each server installation. IIRC someone has already suggested a cffactory method for changing the password in this thread today. HTH, Vik -- Viktor Radnai Web Developer Ernst Young Australia http://www.eyware.com/ http://www.eyonline.com/ http://www.compassweb.com.au/ Direct: +612 9248 4361 Fax: +612 9248 4073 Mobile: +61408 662 546 Beattie, Barry [EMAIL PROTECTED] To: CFAussie Mailing List [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED]Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) mon.com.au 06/06/2003 01:00 PM Please respond to CFAussie Mailing List Ummm, this has gotten way off what my origional thread was on about. Leaving out the fact that Spike seems to have come up with a nifty work-around (I'm still working on it but it's a great idea to pursue)... ... the origional reason was to create something to manage DSN's and sites. workaround != fix Sure this is for an internal student network but the same question arises: how do you automate the creating of hundreds of DSN's and configs? that's why I was trying to find out more about cf.factory. I mean, ASP.NET has a web.config file for such settings. to deploy a site a simple xcopy and it's done. If you're using SQLServer instead of MSAccess (not in my case here) it's - run a create database/create table script isung the db settings in the web.config file. (I think) Farcry has the niftyist install/configs I've seen for a while but it's still beholden to first creating a DSN. No probs for a one off - try it by 100, though. From what I'm able to find out, CFMX ISP's manually create DSN's for their customers, sometimes taking up to a week to get around to it. I haven't the time to do that for all these sits (120 students * 3 dsn's). I've got a DLL and matching VBS code to script creating DSN's but only for the OS - the CFMX administrator doesn't know anything about them. yes, I'm interested in how the CFMX administrator ticks so I can adapt + automate some of it's functionality no, I won't abuse the EULA by decrypting the files but I'm still stuck with being limited by the platform. any thoughts, opinions? thanx barry.b -Original Message- From: Sean [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 6:14 AM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) My problems with service factories are largely controlling them rather then using them. As a host? undocumented or not, they still work. That makes them a pain in my ass. But there is also some useful functionality I haven't found anywhere else. Like the user control functions. Checking several security functions AFAIK just isn't possible outside of factory services. Searching for a particular example (that I still can't bloody find!) turns up at least one use of the factory services in the _mmServerScripts generated by DWMX that can't be distributed... but is placed ina directory in plain text. I dunno. I dont recall ever altering, mergeing, adapting or translating the Software, or decompiling, reverse engineering, disassembling, or otherwise
[cfaussie] the obligorory Friday night OT
the obligorory Friday night OT... does anyone know someone from the Brisbane transinfo timetable (journeyplanner) site? http://jp.transinfo.qld.gov.au/ I've just found an error on a form processing, I'd like to let 'em know but I can't find a contact email. thanx barry.b --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] inserting a list
Hi I have a list of images image01.jpg, image02.jpg, image03.jpg associated with one stock record eg 1045 I want to insert these into a table like so: 1045 - image01.jpg 1045 - image02.jpg 1045 - image03.jpg Can anyone help me with the code for this please? Seamus Seamus Campbell Boldacious WebDesign http://www.boldacious.com [EMAIL PROTECTED] ph 02 6297 4883 fax 02 6297 8464 mob 0410 609 267 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/