Coldfusion Date
Hi the Community, I just discover Coldfusion. It's really a so powerfull language that i would like to ask if a function which take a month and a year as parameters and return the number of days (for this month and this year) exist in Coldfusion. Thnx for future answers. Khaled ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314336 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Coldfusion Date
You'll have to nest some functions: cfoutput #DaysInMonth(CreateDate(2008, 3, 1))# /cfoutput Adrian Building a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Khaled SAIDI Sent: 24 October 2008 09:23 To: cf-talk Subject: Coldfusion Date Hi the Community, I just discover Coldfusion. It's really a so powerfull language that i would like to ask if a function which take a month and a year as parameters and return the number of days (for this month and this year) exist in Coldfusion. Thnx for future answers. Khaled ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: basic cfc/oo design question
as an extra helper i would say if you are migrating from procedural to OO i would suggest MG, as it is fantastic and forces you down an OO route. i havent done too much research on the others but when i was deciding, i posted a message on this forum and was told that MG is def more OO than others I'm planning on using one of the MVC frameworks (probably MG, but I'll look at Mach ii and OO Fusebox again as well) for a seperate project that can be built from the ground up. This project has enough quirks (like an existing url rewriter scheme) that I'd prefer not to try and shoehorn in a whole framework. I agree though that having a framework that you make yourself use will certainly aid in getting it down. As for the getters/setters, I just read a posting and comments discussion on Brian Kotek's blog that helps clarify the getter/setter argument and I think I'll go ahead and do the extra work for getters/setters. Thanks, Judah ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314338 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Ben Forta for president?
Just write him in. andy -Original Message- From: Dave Long [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 10:19 PM To: cf-talk Subject: RE: Ben Forta for president? Great idea! Somebody send me the PDF for some counterfeit voter registration forms and we can start canvassing. Dave ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314339 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Proper Authentication with CFLDAP?
It depends on your LDAP server. It appears that you are not using Active Directory due to the way you have handled your start and username attributes. AD allows any domain user to query the directory. Other servers, such as Novell DS, may require you to first query the directory for the DN of the user who is trying to authenticate. This first query will require a known username and password. Then, the second query will take the first query's DN and use it as the username. If all works, then, the user is authenticated. However, I have worked with a Novell server that doesn't require a username/password at all. From what I am told, this is common for Novell servers. There are a couple of improvements I would suggest. 1. As Shannon said, for the START, you can specify the root of the users container, rather than the DN of the user object. If you are told to specify the DN in the START, then change your SCOPE to BASE. There is no SUBTREE for a single object. Therefore, there is no need to ask the LDAP server to search through sub-OUs when you just told it the exact destination. It doesn't hurt, but it's confusing when reading the code. 2. While authenticating, you can also bring out other attributes such as givenName, sn, mail, etc. Currently, you are returning only cn. You may need other attributes within your application, so why not authenticate, and get their values, in a single request? 3. You don't need the cfelse part of your condition. You already know the UserIsValid variable is 0. Mike -Original Message- From: Marie Taylore [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 4:01 PM To: cf-talk Subject: Proper Authentication with CFLDAP? I just received this code as the proper way to bind someone during an LDAP login to a ColdFusion App. Is this really the right way? cfset UserIsValid = 0 CFTRY cfldap action=QUERY name=Authenticate start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# attributes=cn scope=SUBTREE server=#OurServer# username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# password=#password# cfif Authenticate.RecordCount GT 0 cfset UserIsValid = 1 cfelse cfset UserIsValid = 0 /cfif cfcatch type=Any cfset UserIsValid = 0 !--- DEBUG CODE HERE --- /cfcatch /CFTRY cfif UserIsValid EQ 0 Sorry, login failed. cfabort /cfif If they pass the CFABORT above, they're authenticated to your app. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314340 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Proper Authentication with CFLDAP?
There are three types of binds that a LDAP server can be configured for: 1. anonymous - the tree is world readable, so no credentials are checked, and your search has all of the rights granted to anonymous 2. user bind - the user authenticates against the tree, and has rights granted based upon the users rights. (no anonymous reads usually). 3. unauthenticated - anonymous binding with user dn, but no password. 1 and 2 are the most prevalent. I don't have as much experience with Active Directory, so they may have extended these possibilities. speeves On Fri, Oct 24, 2008 at 8:38 AM, Dawson, Michael [EMAIL PROTECTED]wrote: It depends on your LDAP server. It appears that you are not using Active Directory due to the way you have handled your start and username attributes. AD allows any domain user to query the directory. Other servers, such as Novell DS, may require you to first query the directory for the DN of the user who is trying to authenticate. This first query will require a known username and password. Then, the second query will take the first query's DN and use it as the username. If all works, then, the user is authenticated. However, I have worked with a Novell server that doesn't require a username/password at all. From what I am told, this is common for Novell servers. There are a couple of improvements I would suggest. 1. As Shannon said, for the START, you can specify the root of the users container, rather than the DN of the user object. If you are told to specify the DN in the START, then change your SCOPE to BASE. There is no SUBTREE for a single object. Therefore, there is no need to ask the LDAP server to search through sub-OUs when you just told it the exact destination. It doesn't hurt, but it's confusing when reading the code. 2. While authenticating, you can also bring out other attributes such as givenName, sn, mail, etc. Currently, you are returning only cn. You may need other attributes within your application, so why not authenticate, and get their values, in a single request? 3. You don't need the cfelse part of your condition. You already know the UserIsValid variable is 0. Mike -Original Message- From: Marie Taylore [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 4:01 PM To: cf-talk Subject: Proper Authentication with CFLDAP? I just received this code as the proper way to bind someone during an LDAP login to a ColdFusion App. Is this really the right way? cfset UserIsValid = 0 CFTRY cfldap action=QUERY name=Authenticate start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# attributes=cn scope=SUBTREE server=#OurServer# username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# password=#password# cfif Authenticate.RecordCount GT 0 cfset UserIsValid = 1 cfelse cfset UserIsValid = 0 /cfif cfcatch type=Any cfset UserIsValid = 0 !--- DEBUG CODE HERE --- /cfcatch /CFTRY cfif UserIsValid EQ 0 Sorry, login failed. cfabort /cfif If they pass the CFABORT above, they're authenticated to your app. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Proper Authentication with CFLDAP?
AD is closest to #2 in your list. Mike -Original Message- From: Shannon Peevey [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 8:54 AM To: cf-talk Subject: Re: Proper Authentication with CFLDAP? There are three types of binds that a LDAP server can be configured for: 1. anonymous - the tree is world readable, so no credentials are checked, and your search has all of the rights granted to anonymous 2. user bind - the user authenticates against the tree, and has rights granted based upon the users rights. (no anonymous reads usually). 3. unauthenticated - anonymous binding with user dn, but no password. 1 and 2 are the most prevalent. I don't have as much experience with Active Directory, so they may have extended these possibilities. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Alternative to coldfusion8
Part of the reason for Adobe Coldfusion 8 having features that the open source competitors do not is commercial licensing. Adobe either owns the license for some of the cool new tag features or paid the bucks to use a third party license. The open source products may not have the money to pay out to buy those licenses. NewAtlanta's Bluedragon may have a better shot at being fully compatable on their next release since they have commercial licensing for Bluedragon. Also, timing of releases plays a part in feature comparisons. Example, Bluedragon 7 was released before Coldfusion 8 but after Coldfusion 7. Thus Bluedragon 7 had features that Coldfusion 7 did not but now Coldfusion 8 has leaped ahead those features and with newer features. In addition Bluedragon had CFTHREAD and CFIMAGE before Coldfusion and thus Bluedragon's implimentation is different than Coldfusion's implimentations of those tags that were later added to Coldfusion 8. BlueDragon now has an open source version and they are looking for community developers. Feel free to jump in and help. Also, I did not address the other flavs of CFML engines since I am not familar with them. I only use Coldfusion and Bluedragon. I was the lucky one at the ColderFusion UG (Twin Cities, MN) to win a fully licensed copy of Bluedragon. So I use it. Wil Genovese On Thu, Oct 23, 2008 at 9:00 PM, Don L [EMAIL PROTECTED] wrote: Umm... http://www.railo-technologies.com/en/index.cfm?treeID=107 Thanks for the URL. It looks like an alternative could a road to he?? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314343 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfexchange
I am just starting to play around with cfexchange because I have not really needed it up until now. I see its pretty easy to get a list of contacts using the following code. cfexchangeconnection action=open connection=myExchangeConnection server=* username=* password=* / cfexchangecontact action=get name=myContacts connection=myExchangeConnection / cfexchangeconnection action=close connection=myExchangeConnection / cfdump var=#myContacts# However I do not store any contacts locally. When I click to we have lists of employees based on company, location and department. Is there anyone to interact with these lists as it would be easier for me to grab all employees at once. I don't know much about exchange so forgive my ignorance. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314344 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfexchange
When you say you don't store contacts, locally, I assume you mean your mailbox's Contacts folder is empty. However, you use Active Directory for your employee lists. If this is true, then you should use CFLDAP rather than CFEXCHANGE. Since Exchanges uses AD as the source of all user accounts, AD is where you should look. If you have setup different Address Book lists, then you can find that information using CFLDAP as well. The LDAP attribute you want is showInAddressBook. That attribute will return a DN for each address list you created. If you search (CFLDAP) for any users within a particular address list, by specifying the DN of the address list, you will get a query object of all users that have that attribute value set. In other words, perform a CFLDAP query for users. The filter attribute should contain something like this: CFLDAP FILTER=showInAddressBook=CN=All Users,CN=All Address Lists,CN=Address Lists Container,CN=MyOrg,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com Copy and run the code from this page: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7thr eadid=1400638 This will show you the attribute values for showInAddressBook. It makes it easier to know what values CFLDAP would expect. If you need a better example, let me know. Mike -Original Message- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 10:16 AM To: cf-talk Subject: cfexchange I am just starting to play around with cfexchange because I have not really needed it up until now. I see its pretty easy to get a list of contacts using the following code. cfexchangeconnection action=open connection=myExchangeConnection server=* username=* password=* / cfexchangecontact action=get name=myContacts connection=myExchangeConnection / cfexchangeconnection action=close connection=myExchangeConnection / cfdump var=#myContacts# However I do not store any contacts locally. When I click to we have lists of employees based on company, location and department. Is there anyone to interact with these lists as it would be easier for me to grab all employees at once. I don't know much about exchange so forgive my ignorance. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314345 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternative to coldfusion8
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah On Thu, Oct 23, 2008 at 5:24 PM, Don L [EMAIL PROTECTED] wrote: Just ran a search for it and found two, of which one is well-known, that is, BlueDragon, the other contender is Smith, did a quick browse of features respectively, and noticed that some of 'hot-cake' CF8 features like cfajaxproxy and associated tags are not supported by neither of them (on these features, one IT vet even suggested that he/she would for CF platform just for that! hear that). Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314346 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFML Advisory Committee (was: Alternative to coldfusion8)
Speaking of the advisory committee, I heard a rumor once (don't remember where) that there was going to be a web site that would help the community stay up on the progress of this committee. Any news on that so far? How about overall progress of the committee in general? What's the committee been up to lately? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Judah McAuley wrote: In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah On Thu, Oct 23, 2008 at 5:24 PM, Don L [EMAIL PROTECTED] wrote: Just ran a search for it and found two, of which one is well-known, that is, BlueDragon, the other contender is Smith, did a quick browse of features respectively, and noticed that some of 'hot-cake' CF8 features like cfajaxproxy and associated tags are not supported by neither of them (on these features, one IT vet even suggested that he/she would for CF platform just for that! hear that). Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFML Advisory Committee (was: Alternative to coldfusion8)
I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? Adam Haskell Also a member of the OpenBD Steering Committee :) On Fri, Oct 24, 2008 at 1:19 PM, Jordan Michaels [EMAIL PROTECTED]wrote: Speaking of the advisory committee, I heard a rumor once (don't remember where) that there was going to be a web site that would help the community stay up on the progress of this committee. Any news on that so far? How about overall progress of the committee in general? What's the committee been up to lately? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Judah McAuley wrote: In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah On Thu, Oct 23, 2008 at 5:24 PM, Don L [EMAIL PROTECTED] wrote: Just ran a search for it and found two, of which one is well-known, that is, BlueDragon, the other contender is Smith, did a quick browse of features respectively, and noticed that some of 'hot-cake' CF8 features like cfajaxproxy and associated tags are not supported by neither of them (on these features, one IT vet even suggested that he/she would for CF platform just for that! hear that). Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314348 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFML Advisory Committee (was: Alternative to coldfusion8)
Indeed. It's been a while now. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Adam Haskell wrote: I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? Adam Haskell Also a member of the OpenBD Steering Committee :) On Fri, Oct 24, 2008 at 1:19 PM, Jordan Michaels [EMAIL PROTECTED]wrote: Speaking of the advisory committee, I heard a rumor once (don't remember where) that there was going to be a web site that would help the community stay up on the progress of this committee. Any news on that so far? How about overall progress of the committee in general? What's the committee been up to lately? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Judah McAuley wrote: In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah On Thu, Oct 23, 2008 at 5:24 PM, Don L [EMAIL PROTECTED] wrote: Just ran a search for it and found two, of which one is well-known, that is, BlueDragon, the other contender is Smith, did a quick browse of features respectively, and noticed that some of 'hot-cake' CF8 features like cfajaxproxy and associated tags are not supported by neither of them (on these features, one IT vet even suggested that he/she would for CF platform just for that! hear that). Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314349 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Alternative to coldfusion8
Don L wrote: Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? Which resources do you want to combine exactly? What are you contributing? Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314350 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Alternative to coldfusion8
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog. entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah that committee does not include anyone representing OpenBlueDragon. From what I understand that was because of political reasons. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314351 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternative to coldfusion8
The comments on the blog posting I linked to confirms what you're saying Larry but it also seems to show a willingness to involve people from the OpenBD organization. Now whether or not that has happend, I have no clue. I don't follow the CF politics too closely.There are multiple members of the OpenBD steering committee on the list though, so they might have a more definitive answer than is provided by a 4 month old blog post. Judah On Fri, Oct 24, 2008 at 12:43 PM, Larry Lyons [EMAIL PROTECTED] wrote: In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog. entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah that committee does not include anyone representing OpenBlueDragon. From what I understand that was because of political reasons. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314352 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternative to coldfusion8
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog. entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely interoperability between CF engines. Judah Thank you very much for the resource pointer. Like many in the cf community, I greatly appreciate this effort. A side note, some times we tend to copy and paste recepient's email address without looking at its entire address carefully... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314353 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternative to coldfusion8
Part of the reason for Adobe Coldfusion 8 having features that the open source competitors do not is commercial licensing. Adobe either owns the license for some of the cool new tag features or paid the bucks to use a third party license. The open source products may not have the money to pay out to buy those licenses. NewAtlanta's Bluedragon may have a better shot at being fully compatable on their next release since they have commercial licensing for Bluedragon. Also, timing of releases plays a part in feature comparisons. Example, Bluedragon 7 was released before Coldfusion 8 but after Coldfusion 7. Thus Bluedragon 7 had features that Coldfusion 7 did not but now Coldfusion 8 has leaped ahead those features and with newer features. In addition Bluedragon had CFTHREAD and CFIMAGE before Coldfusion and thus Bluedragon's implimentation is different than Coldfusion's implimentations of those tags that were later added to Coldfusion 8. BlueDragon now has an open source version and they are looking for community developers. Feel free to jump in and help. Also, I did not address the other flavs of CFML engines since I am not familar with them. I only use Coldfusion and Bluedragon. I was the lucky one at the ColderFusion UG (Twin Cities, MN) to win a fully licensed copy of Bluedragon. So I use it. Wil Genovese Thank you for your thoughtful follow-up, I'm in and out of the cf world all the time... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314354 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: basic cfc/oo design question
All fine point there Gerald, thank you. I've looked at Illudium in the past and plan on doing so again for this project. Right now though I'm trying to map out all my classes in UML to make sure that I have it together conceptually, then move to the actual coding part. The database already exists from the previous iteration of the project though I plan on modifying parts of it. So I will most likely start at the conceptual level and work down, then start generating from the persistence level and work up, then try and hopefully meet those two somewhere in a happy middle :) Judah Judah, You may want to check out Brian Kotek's CFCStubGenerator, http://cfcstub.riaforge.org/. Basically what you do is develop your class diagram in your favourite UML app. Then export it as an XMI 1.1 file. Next run the CFCStubGenerator app and import your xmi file. The stub generator will output stubs with all you CFC's, as well as many other useful stuff (xml files for MG and Coldspring, test cases for CFCUnit or CFUnit etc.). hth, larry ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314355 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
PDF file font size issue
Hi everyone, I am just into a new project. There is a problem with PDF file. We use activePDF with coldfusion 8. The font size of PDF file increased, it use to work properly before. Please can you help me to fix this problem. I have used Cfdocument tag to generate the pdf format. Thanks Saritha ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314356 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Ben Forta for president?
I say we start a new party and make him our Candidate. Although he is everything no one would expect to find in a presidential candidate. He is intelligent, unselfish, and is accessible to anyone. Yep, nothing you would expect... Now, what about a name for our party. Programlicans, Webcratics, or we could go back in time and pick up on the 'Whig party and just call ourselves the Brain party? David -andy wrote: Just write him in.andy Dave Long wrote: Great idea! Somebody send me the PDF for some counterfeit voter registration forms and we can start canvassing. Dave _ Store, manage and share up to 5GB with Windows Live SkyDrive. http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314357 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: basic cfc/oo design question
Larry, Awesome. Thanx. Do you know if the Poseidon UML Community version will export an XMI 1.1 file? ~G~ If not any recommendations for a OSS and/or Free UML App? On Fri, Oct 24, 2008 at 4:19 PM, Larry Lyons [EMAIL PROTECTED] wrote: All fine point there Gerald, thank you. I've looked at Illudium in the past and plan on doing so again for this project. Right now though I'm trying to map out all my classes in UML to make sure that I have it together conceptually, then move to the actual coding part. The database already exists from the previous iteration of the project though I plan on modifying parts of it. So I will most likely start at the conceptual level and work down, then start generating from the persistence level and work up, then try and hopefully meet those two somewhere in a happy middle :) Judah Judah, You may want to check out Brian Kotek's CFCStubGenerator, http://cfcstub.riaforge.org/. Basically what you do is develop your class diagram in your favourite UML app. Then export it as an XMI 1.1 file. Next run the CFCStubGenerator app and import your xmi file. The stub generator will output stubs with all you CFC's, as well as many other useful stuff (xml files for MG and Coldspring, test cases for CFCUnit or CFUnit etc.). hth, larry ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314358 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Apache/CF8 problems
I'm helping a friend setup his Vista machine to run Apache/CF8, like my XP Pro machine. The problem we're having is, whenever he hits one of his domains we setup in his windows hosts file, it directs you to the default apache website. It works! But we have virtualhost directives in the httpd.config file to direct to C:\webRoot\somesite Here's the hosts file: 127.0.0.1 localhost 127.0.0.1 local.ApacheTestSite 127.0.0.1 local.ApacheTestSite2 Here's the bottom of his config file: NameVirtualHost 127.0.0.1 VirtualHost 127.0.0.1 DocumentRoot C:\webRoot\testSite2 ServerName local.ApacheTestSite2 /VirtualHost VirtualHost 127.0.0.1 DocumentRoot C:\webRoot\InfoSite ServerName local.infotest /VirtualHost What's strange is, this all works on my XP Pro machine. I can't figure out why you hit one of those domains in the URL, and it will not take you to the right website in the webroot. Any ideas? Thanks! Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314359 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFML Advisory Committee (was: Alternative to coldfusion8)
Unfortunately you have a portion of the group (Sean and myself) having been -very- swamped the last few weeks. We are all still around of course, and still very much dedicated. On Fri, Oct 24, 2008 at 1:30 PM, Jordan Michaels [EMAIL PROTECTED] wrote: Indeed. It's been a while now. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Adam Haskell wrote: I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314360 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFML Advisory Committee (was: Alternative to coldfusion8)
And another portion (myself) utterly buried under MAX prep. But, we'll get there ... --- Ben -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 5:06 PM To: cf-talk Subject: Re: CFML Advisory Committee (was: Alternative to coldfusion8) Unfortunately you have a portion of the group (Sean and myself) having been -very- swamped the last few weeks. We are all still around of course, and still very much dedicated. On Fri, Oct 24, 2008 at 1:30 PM, Jordan Michaels [EMAIL PROTECTED] wrote: Indeed. It's been a while now. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Adam Haskell wrote: I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314361 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFML Advisory Committee (was: Alternative to coldfusion8)
Completely understood. We've all been there. ;) Keep us posted though okay? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Ben Forta wrote: And another portion (myself) utterly buried under MAX prep. But, we'll get there ... --- Ben -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 5:06 PM To: cf-talk Subject: Re: CFML Advisory Committee (was: Alternative to coldfusion8) Unfortunately you have a portion of the group (Sean and myself) having been -very- swamped the last few weeks. We are all still around of course, and still very much dedicated. On Fri, Oct 24, 2008 at 1:30 PM, Jordan Michaels [EMAIL PROTECTED] wrote: Indeed. It's been a while now. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Adam Haskell wrote: I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314362 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Ben Forta for president?
I already have a WWBD shirt. What are we waiting for? As for a party name, how about 'Object Disoriented' or 'ODd' for short? -Original Message- From: David Moore, Jr. [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 3:29 PM To: cf-talk Subject: RE: Ben Forta for president? I say we start a new party and make him our Candidate. Although he is everything no one would expect to find in a presidential candidate. He is intelligent, unselfish, and is accessible to anyone. Yep, nothing you would expect... Now, what about a name for our party. Programlicans, Webcratics, or we could go back in time and pick up on the 'Whig party and just call ourselves the Brain party? David ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314363 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache/CF8 problems
First I would try restarting Apache. Paul On 24/10/2008, at 4:57 PM, Will Tomlinson wrote: I'm helping a friend setup his Vista machine to run Apache/CF8, like my XP Pro machine. The problem we're having is, whenever he hits one of his domains we setup in his windows hosts file, it directs you to the default apache website. It works! But we have virtualhost directives in the httpd.config file to direct to C:\webRoot\somesite Here's the hosts file: 127.0.0.1 localhost 127.0.0.1 local.ApacheTestSite 127.0.0.1 local.ApacheTestSite2 Here's the bottom of his config file: NameVirtualHost 127.0.0.1 VirtualHost 127.0.0.1 DocumentRoot C:\webRoot\testSite2 ServerName local.ApacheTestSite2 /VirtualHost VirtualHost 127.0.0.1 DocumentRoot C:\webRoot\InfoSite ServerName local.infotest /VirtualHost What's strange is, this all works on my XP Pro machine. I can't figure out why you hit one of those domains in the URL, and it will not take you to the right website in the webroot. Any ideas? Thanks! Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314364 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ben Forta for president?
Please move the non-technical part of this thread to CF-Community. Thanks On Thu, Oct 23, 2008 at 10:16 PM, Mike Kear [EMAIL PROTECTED] wrote: Is this true? Ben Forta is running for President of the USA?? Bit of fun, but I'm really impressed with the video. Have a look http://www.tsgnet.com/pres.php?id=370617altf=Cfoaltl=Gpsub It's a bit of fun for Friday but i have serious tech question about this - how do they do the video clip? What technology are they using to create the video on the fly? I specially like the tattoo. Is this a flash application? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314365 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CreateObject and dynamic method calls
Got the answer from a coworker, which is to put parens on the varname like so: cfdump var=#result()# --- I've got a CFC which I'd like to use dynamically. Pass in a string, and call a method with the same name as the string being passed in. I've almost got it working with this line: cfset var result = VARIABLES['method' ARGUMENTS.method] But rather than get the result of the method, I'm getting the method itself as a variable. I can accomplish this using cfinvoke, but I'd rather use CreateObject as I think it's a little more elegant. Can anyone suggest a way I can get the result of the method using CreateObject? !--- the calling template --- cfset cfc = CreateObject('component','dynamicMethods') cfset get = cfc.callMethod() !--- the CFC --- cfcomponent displayname=dynamic methods hint=dynamic method testing cffunction name=Init output=false access=public returntype=dynamicMethods cfreturn THIS /cffunction cffunction name=callMethod output=false access=public returntype=void cfargument name=method required=false type=string default=One cfset var result = VARIABLES['method' ARGUMENTS.method] !--- cfinvoke component=#THIS# method=method#ARGUMENTS.method# returnvariable=result / --- cfdump var=#result# cfabort /cffunction cffunction name=methodOne output=false access=public returntype=string cfreturn 'methodOne method call' /cffunction /cfcomponent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314366 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CreateObject and dynamic method calls
If I understand the question... Some thing like this? http://mgt.pastebin.com/f9702565 It uses Evaluate for which I have been scolded for... but performance wise there is very little difference between evaluating the string and calling the methods directly HTH G On Fri, Oct 24, 2008 at 5:39 PM, Andy Matthews [EMAIL PROTECTED]wrote: Got the answer from a coworker, which is to put parens on the varname like so: cfdump var=#result()# --- I've got a CFC which I'd like to use dynamically. Pass in a string, and call a method with the same name as the string being passed in. I've almost got it working with this line: cfset var result = VARIABLES['method' ARGUMENTS.method] But rather than get the result of the method, I'm getting the method itself as a variable. I can accomplish this using cfinvoke, but I'd rather use CreateObject as I think it's a little more elegant. Can anyone suggest a way I can get the result of the method using CreateObject? !--- the calling template --- cfset cfc = CreateObject('component','dynamicMethods') cfset get = cfc.callMethod() !--- the CFC --- cfcomponent displayname=dynamic methods hint=dynamic method testing cffunction name=Init output=false access=public returntype=dynamicMethods cfreturn THIS /cffunction cffunction name=callMethod output=false access=public returntype=void cfargument name=method required=false type=string default=One cfset var result = VARIABLES['method' ARGUMENTS.method] !--- cfinvoke component=#THIS# method=method#ARGUMENTS.method# returnvariable=result / --- cfdump var=#result# cfabort /cffunction cffunction name=methodOne output=false access=public returntype=string cfreturn 'methodOne method call' /cffunction /cfcomponent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314368 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CreateObject and dynamic method calls
I've got a CFC which I'd like to use dynamically. Pass in a string, and call a method with the same name as the string being passed in. I've almost got it working with this line: cfset var result = VARIABLES['method' ARGUMENTS.method] But rather than get the result of the method, I'm getting the method itself as a variable. I can accomplish this using cfinvoke, but I'd rather use CreateObject as I think it's a little more elegant. Can anyone suggest a way I can get the result of the method using CreateObject? !--- the calling template --- cfset cfc = CreateObject('component','dynamicMethods') cfset get = cfc.callMethod() !--- the CFC --- cfcomponent displayname=dynamic methods hint=dynamic method testing cffunction name=Init output=false access=public returntype=dynamicMethods cfreturn THIS /cffunction cffunction name=callMethod output=false access=public returntype=void cfargument name=method required=false type=string default=One cfset var result = VARIABLES['method' ARGUMENTS.method] !--- cfinvoke component=#THIS# method=method#ARGUMENTS.method# returnvariable=result / --- cfdump var=#result# cfabort /cffunction cffunction name=methodOne output=false access=public returntype=string cfreturn 'methodOne method call' /cffunction /cfcomponent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314367 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ben Forta for president?
Thanks Michael. My original posting had a flippant start to it, but a serious question that no one has responded to - how do they do the video on the fly for this? IF you didn't see the video, i suggest you have a look .. it's an amazing piece. There's this amusing video, you put your first name and last name in the form, and click 'submit'. Then on the fly, there's a news report using the name you just put in. I'd like to know how they do that. - i can think of several serious applications for such a thing on sites I work on. . If you missed seeing the video, have a look at http://www.tsgnet.com/pres.php?id=370617altf=Njlfaltl=Lfbs It's really a classy piece of work to do such customised video on the fly like that. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Sat, Oct 25, 2008 at 9:35 AM, Michael Dinowitz [EMAIL PROTECTED] wrote: Please move the non-technical part of this thread to CF-Community. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314369 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Help with cgi server
i've created a table in my db that allows the header and footer to adjust depending on the subdomain. basically the code calls: cfquery name=partner datasource=#dsn# SELECT * FROM Partners WHERE URL = '#cgi.server_name#' /cfquery it is recognizing the root domain (www.domain.com) but getting a page not found error when dealing with any of the subs. do i need my hosting company to make any adjustments to accommodate subdomains (#url#.domain.com) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314370 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Help with cgi server
i've created a table in my db that allows the header and footer to adjust depending on the subdomain. basically the code calls: cfquery name=partner datasource=#dsn# SELECT * FROM Partners WHERE URL = '#cgi.server_name#' /cfquery it is recognizing the root domain (www.domain.com) but getting a page not found error when dealing with any of the subs. do i need my hosting company to make any adjustments to accommodate subdomains (#url#.domain.com) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314371 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help with cgi server
You could try the simpler form of the URL in your table, so domain.com instead of www.domain.com and then build a custom string with just the root of the domain name: cfset cgiURL = cgi.server_name cfset urlLen = listLen(cgiURL, .) cfif urlLen gt 2 cfset cgiURL = listGetAt(cgiURL, urlLen - 1, .) . listLast(cgiURL, .) /cfif then in the query WHERE URL = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#cgiURL# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314372 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
musings...
Some musings for a Friday... Just got another offer from one of my consulting clients to come on board full-time. A bit of background: I've been coding for close to 20 years, CF for 10 years. I currently have three clients: a local county government, a major local utility and a national financial services firm. The utility has just asked me to come on board as an employee. They are my primary client; I currently work for them for between 30 and 40 hours a week. I work from home four days a week and work on-site one day. So they offer me a permanent jobBUT I won't be able to telecommute (maybe one day a week), I will only get one week vacation (I generally take three full weeks and lots of long weekends) to start and my starting salary will be half of my billable rate. Even taking into account the cost of paying my own payroll tax, it's still a huge cut. So, my musing is Why do these companies think that consultants will accept these offers? If they really want to hire us, why aren't they more flexible? Or are they just asking on the off chance that they can get us cheap? This is not the first time I have been asked to come full-time, either by this client or others. In each case I would have been giving up so much and for what? In today's world, taking a full-time position does not give you greater job security than being a consultant. I have seen two rounds of layoffs at one client site, but there was never a question of letting me go. Just musing... Kathryn ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4074 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: musings...
because they mhey not use you as a consultant any longer...they mhey be trying to cut costs hire some one they can count on as every thing shrinks inward. i would take a full time gig with benefits over loosing a client that feeds you 40 hours a week. then again, i may take a 25k pay cut to cut out a 12 hour commute a week... 600 miles... and much anger... money is not ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4075 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11