Re: Transfer and Model-Glue
:-) This is exactly how I envisage us using it I think. With the getOrmService is thus via ModelGlue.getOrmService()? That is in the app.framework scope yeah? You still using the combo I gather? N This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Sean Corfield To: CF-Talk Sent: Tue May 15 06:30:39 2007 Subject: Re: Transfer and Model-Glue On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Lol, I am sure Mr Corfield will be right in... But what you have noted so far makes perfect sense. Who? Me? Once you have it wired up, you can use scaffolding or MG's generic DB messages or just go ahead and access Transfer directly (perhaps for complex queries, using TQL). Whatever you want. Back when I was at Adobe, my team used Transfer with Model-Glue. We used scaffolding to create basic admin functionality, then replaced it with generic DB messages and custom event-handlers. Then started to use direct getOrmService() calls to get hold of Transfer inside MG to do more complex stuff. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: If by bug you mean typo or something minor - then making the change to the trunk would seem fine. I am think more along the lines where 2 or more pages need to be modified and may span a number of days (elapsed time) When it comes to committing , would it be fair to say:- trunk: only commit logical units of work that will not break the system branch : knock yourself out With so many different views and recommendation it is no wonder I am getting confused :-} On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Seriously, I would not create a branch for a bug, just to have it merged back to the trunk again. You might as well apply the fix directly on the trunk... On 5/15/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote: I am still not quite sure how to go about deploying mods from subversion. This is what I am trying to achieve: Each developer has a local development environment. We have a job tracking systems (jira) that bugs and requests for new features are entered into. I will work on a bug and once I am happy with the fix, testing in my dev environment, I will put those changes onto the test server. We're missing some details here about the process around subversion so it's hard to directly answer the question, but one very common pattern is to create a bug-specific branch (usually off of the release branch) and fix the bug there. The full process would work something like this: * assume there's an existing branch for the release, /repo/branches/RB- 1.0 * copy the release branch /repo/branches/RB-1.0 to a bugfix branch /repo/branches/BUG-3456 * tag the beginning of the bugfix branch /repo/tags/PRE-3456 * work on bug in the bugfix branch committing as necessary * tag as necessary on bugfix branch, eg /repo/tags/QA-3456, /repo/tags/QA-3456-RC2, etc * when the bug's signed off on, tag the end of the branch /repo/tags/POST-3456 * back in the release branch, /repo/branches/RB-1.0, you can merge /tags/PRE-3456 and /tags/POST-3456 to get the release updated * roll out a new release (tagged and/or branched of course) or generate a patchfile depending on your process * check and see if the merge needs to go back into trunk/etc as appropriate Obviously this isn't strictly necessary for a typo or a very small change, though at a minimum using the tags for PRE and POST will make your life easier. As an aside, Subversion revision numbers are not in short supply -- there's no need to conserve them, and since copies in SVN are efficient, there's no worry about increasing the size of the repo every time you branch (like in BitKeeper and some other source control systems). We'll cover this stuff in my CFUnited 2007 pre conference class. At worst, if you're reading this and figuring you need to know more about Subversion, you should check out the Pragmatic Version Control using Subversion book from the Pragmatic Programmers and save yourself a lot of effort in learning SVN. After user testing, it may come back for further work, or be signed off. If signed off, it is put onto the production server. As you can imaging, there can be any number of bugs been fixed at any point in time by multiple developers. The testing can get signed off in any order and may be there for a couple of
Re: Transfer and Model-Glue
It also seems you can't scaffold when you are using packages (unless the package needs to named the same as the original object)? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Sean Corfield To: CF-Talk Sent: Tue May 15 06:30:39 2007 Subject: Re: Transfer and Model-Glue On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Lol, I am sure Mr Corfield will be right in... But what you have noted so far makes perfect sense. Who? Me? Once you have it wired up, you can use scaffolding or MG's generic DB messages or just go ahead and access Transfer directly (perhaps for complex queries, using TQL). Whatever you want. Back when I was at Adobe, my team used Transfer with Model-Glue. We used scaffolding to create basic admin functionality, then replaced it with generic DB messages and custom event-handlers. Then started to use direct getOrmService() calls to get hold of Transfer inside MG to do more complex stuff. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Transfer and Model-Glue
On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: This is exactly how I envisage us using it I think. With the getOrmService is thus via ModelGlue.getOrmService()? That is in the app.framework scope yeah? Inside a controller, yes, you can call getOrmService(). You still using the combo I gather? My new company is using Fusebox 5 + ColdSpring + Transfer. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Transfer and Model-Glue
On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: It also seems you can't scaffold when you are using packages (unless the package needs to named the same as the original object)? Can't say as I noticed that when I was using MG:U + Transfer but bear in mind the package names affect the event names. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
At time of release to test do you not tag that build, let's say 1.0.0? Your current dev trunk is then 1.0.1 (or whatever release - key is, it is not 1.0.0). If it passes all tests then that build is your prod release code. If it fails, you build again etc. Your trunk really shouldn't be the same as test except at the point of release. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 07:46:31 2007 Subject: Re: deploying changes from subversion I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
Maybe I need a test branch too In dev I can use switch to jump between bug001 and bug002 say Once I am happy with it I can merge that into the test branch - along with all the other developer bug fixes. Then test server can be updated from the test branch I will still merge bug001 into truck once it is signed off and not merger test branch with trunk as there are still bug fixes in testing Would just need to ensure all branches are kept upto date with the trunk. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. -- If you are not living on the edge, You are taking up too much space. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
Hi Neil, I don't have any process at the moment :-( Trying to get my head around it all. The bit that is getting me is that the test server will never be 100% good to go. If there are 5 bug fixes going on at one time, only 2 of them may get signed off. I don't really wont to have to get to a point of waiting for all 5 bugs fixes to be signed off before any get put into production. On 5/15/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: At time of release to test do you not tag that build, let's say 1.0.0? Your current dev trunk is then 1.0.1 (or whatever release - key is, it is not 1.0.0). If it passes all tests then that build is your prod release code. If it fails, you build again etc. Your trunk really shouldn't be the same as test except at the point of release. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 07:46:31 2007 Subject: Re: deploying changes from subversion I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
No, you don't need a test branch if you tag on release to test. .. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 07:57:29 2007 Subject: Re: deploying changes from subversion Maybe I need a test branch too In dev I can use switch to jump between bug001 and bug002 say Once I am happy with it I can merge that into the test branch - along with all the other developer bug fixes. Then test server can be updated from the test branch I will still merge bug001 into truck once it is signed off and not merger test branch with trunk as there are still bug fixes in testing Would just need to ensure all branches are kept upto date with the trunk. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. -- If you are not living on the edge, You are taking up too much space. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Transfer and Model-Glue
Yeah, it does seem like a drawback when you have a normalised DB and require packages to describe objects which are more than 1:1 mapping of transfer object to table. How did you handle compound keys? The current version of Transfer doesn't support them but I would expect someone has done work with them. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Sean Corfield To: CF-Talk Sent: Tue May 15 07:51:24 2007 Subject: Re: Transfer and Model-Glue On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: It also seems you can't scaffold when you are using packages (unless the package needs to named the same as the original object)? Can't say as I noticed that when I was using MG:U + Transfer but bear in mind the package names affect the event names. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
Hi AJ, You don't need to wait for signoff of all 5 bugs if you need. It comes to how severe they are based on your bug tracking. Obviously your goal is to ship as big free software as possible but there is obviously going to be known issues and undocumented features. :-). It also depends on what software development cycle you want to run with. With your SVN, imagine you have 1 project - Project1 which has the usual branches, tags and trunk (I have never ever had to use branches - had no need). Assume that test, dev and production are all the same code base as if they are not, it maked version control a little trickier. So, your trunk / dev code is now version 1.0.0 (major, minor, maintenance) but it's never labelled as such in SVN - you just know that is the build you are working *to*. You finish a set of features etc and want to release to test. Now, at this point you tag the trunk as 1.0.0. It is this tag which is released to test and your trunk now becomes 1.0.1 (or whatever release point you deem). Again, this is not labelled as such it's what you are working to. If you get 5 bugs in build 1.0.0 in test then you fix them in 1.0.1. If you only want to fix 3 then release again then you follow the same above - tag trunk as 1.0.1 and release to test. Your trunk then becomes 1.0.2 and so on and so forth. At any one point you will know what release is on what system and you know your trunk will always be in line + current development. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 08:01:35 2007 Subject: Re: deploying changes from subversion Hi Neil, I don't have any process at the moment :-( Trying to get my head around it all. The bit that is getting me is that the test server will never be 100% good to go. If there are 5 bug fixes going on at one time, only 2 of them may get signed off. I don't really wont to have to get to a point of waiting for all 5 bugs fixes to be signed off before any get put into production. On 5/15/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: At time of release to test do you not tag that build, let's say 1.0.0? Your current dev trunk is then 1.0.1 (or whatever release - key is, it is not 1.0.0). If it passes all tests then that build is your prod release code. If it fails, you build again etc. Your trunk really shouldn't be the same as test except at the point of release. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 07:46:31 2007 Subject: Re: deploying changes from subversion I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking
Re: deploying changes from subversion
I am not sure if I am making complicated than it needs to be, or if I am not explaining what I am trying to achieve It's not that I choose to only fix 3 bugs I am super quick and have got mods for all of them :-p It's just the fixes can hang around it test for any number of days. The testers get back to me and say they are happy with two of them, and are still testing the rest or maybe one of them needs more work. On 5/15/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi AJ, You don't need to wait for signoff of all 5 bugs if you need. It comes to how severe they are based on your bug tracking. Obviously your goal is to ship as big free software as possible but there is obviously going to be known issues and undocumented features. :-). It also depends on what software development cycle you want to run with. With your SVN, imagine you have 1 project - Project1 which has the usual branches, tags and trunk (I have never ever had to use branches - had no need). Assume that test, dev and production are all the same code base as if they are not, it maked version control a little trickier. So, your trunk / dev code is now version 1.0.0 (major, minor, maintenance) but it's never labelled as such in SVN - you just know that is the build you are working *to*. You finish a set of features etc and want to release to test. Now, at this point you tag the trunk as 1.0.0. It is this tag which is released to test and your trunk now becomes 1.0.1 (or whatever release point you deem). Again, this is not labelled as such it's what you are working to. If you get 5 bugs in build 1.0.0 in test then you fix them in 1.0.1. If you only want to fix 3 then release again then you follow the same above - tag trunk as 1.0.1 and release to test. Your trunk then becomes 1.0.2 and so on and so forth. At any one point you will know what release is on what system and you know your trunk will always be in line + current development. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
Personally, I would still release them in staged/known releases than haphazzard fix on the fly. You will find it's a much better process and easier to manage. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: AJ Mercer To: CF-Talk Sent: Tue May 15 08:58:20 2007 Subject: Re: deploying changes from subversion I am not sure if I am making complicated than it needs to be, or if I am not explaining what I am trying to achieve It's not that I choose to only fix 3 bugs I am super quick and have got mods for all of them :-p It's just the fixes can hang around it test for any number of days. The testers get back to me and say they are happy with two of them, and are still testing the rest or maybe one of them needs more work. On 5/15/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi AJ, You don't need to wait for signoff of all 5 bugs if you need. It comes to how severe they are based on your bug tracking. Obviously your goal is to ship as big free software as possible but there is obviously going to be known issues and undocumented features. :-). It also depends on what software development cycle you want to run with. With your SVN, imagine you have 1 project - Project1 which has the usual branches, tags and trunk (I have never ever had to use branches - had no need). Assume that test, dev and production are all the same code base as if they are not, it maked version control a little trickier. So, your trunk / dev code is now version 1.0.0 (major, minor, maintenance) but it's never labelled as such in SVN - you just know that is the build you are working *to*. You finish a set of features etc and want to release to test. Now, at this point you tag the trunk as 1.0.0. It is this tag which is released to test and your trunk now becomes 1.0.1 (or whatever release point you deem). Again, this is not labelled as such it's what you are working to. If you get 5 bugs in build 1.0.0 in test then you fix them in 1.0.1. If you only want to fix 3 then release again then you follow the same above - tag trunk as 1.0.1 and release to test. Your trunk then becomes 1.0.2 and so on and so forth. At any one point you will know what release is on what system and you know your trunk will always be in line + current development. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session Security
Thanks for all your help on this one guys, As with Judah this is the part of ColdFusion I'm yet to really study, but it all sounds pretty interesting. I'm sure that J2EE sessions will support my applications, I'm not using any particularly advanced session functions, it's just a place to store my users general data and security. Thanks again guys, Rob -Original Message- From: Judah McAuley [mailto:[EMAIL PROTECTED] Sent: 14 May 2007 17:58 To: CF-Talk Subject: Re: Session Security Is there a good run down somewhere of the pros/cons of cfid/cftoken versus J2EE session management? I'm realizing that this is an area I really ought to brush up on. Thanks, Judah Dave Watts wrote: Thanks for that information guys, I'll go into the admin and switch it over to J2EE session management, is there are GOTCHA's that I need to watch out for when doing this? I only ask because in my logic, if we were better off using J2EE then it would be applied by default :-D Is there any reason why i wouldn't want to use this? If your application has specific dependencies on CFID and CFTOKEN, J2EE session management will not work for you. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session Security
The main difference is that J2EE sessions use session-based cookeis (i.e. they expire when the browser closes). This can be emulated with the old-school CF sessions but you have to write the relevant code into every app. Also, to make the older CF sessions more secure you need to use a UUID for the cftoken (another option in the CF Admin). Finally, J2EE sessions allow for clustering in CF Enterprise and they also allow you to share the session scope with java servlets and JSP. On 5/15/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Thanks for all your help on this one guys, As with Judah this is the part of ColdFusion I'm yet to really study, but it all sounds pretty interesting. I'm sure that J2EE sessions will support my applications, I'm not using any particularly advanced session functions, it's just a place to store my users general data and security. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Transfer and Model-Glue
Ah, interesting that the MG:U docs outline that modelglue.GenericList requires a read from a given table; which when in use with a package of say Director and in turn is made of a Person, Organisation and Address table it will not function as intended. I suppose that really makes generic reads / scaffolding useless unless you have a 1:1 mapping of object to table. At this point it would mean heading into getORMService()? -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 07:51 To: CF-Talk Subject: Re: Transfer and Model-Glue On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: It also seems you can't scaffold when you are using packages (unless the package needs to named the same as the original object)? Can't say as I noticed that when I was using MG:U + Transfer but bear in mind the package names affect the event names. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Scorpio
On Tuesday 15 May 2007, James Holmes wrote: Isn't that placing a little too much trust in the client? You'll, of course, validate any (business process) requests the client makes against your security model. This would be belt-and-braces best practice even with a trusted client. -- Tom Chiverton Helping to competently coordinate real-time partnerships on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Scorpio to help with CFMyAdmin
The new feature mentioned at the TACFUG/RDAUG user group meeting last night involved updated database drivers across the board, and a new tag called CFDBINFO which will provide all kinds of database introspection stuff. So whoever was planning to write a CFMyAdmin type utility... it might be a whole lot easier in CF8! Rick -- CFMBB - Coldfusion Message Boards, Version 1.21 Now Available! http://www.cfmbb.org ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Error Executing Database Query.
It does appear related to ColdFusion because it only happens between the DB and the CFMX server. It drops all communication for a period of time and then automatically comes back. I have not been able to determine the length of an outage, but I am suspicious that it may involve a time-out setting somewhere. Has anyone ever dealt with this? I lose a steady ping to the database from the web server, but a ping to the gateway does not fail. Any thoughts? If you have network connectivity problems between your web server and your database server, this is probably not a problem with SQL Server or CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Reading cookie from ASP.Net to CF
In looking through the docs on machinekey, it's not clear entirely clear how you would decrypt this, as there are a couple of things going on. Also, the version of .NET you are using seems to matter. First is the validation method, which according to your machinekey settings is SHA1. SHA1 is a hash algorithm, like MD5, which can't be decrypted. In simple terms, .NET passes a hash of certain data along with the data, and validates that it matches to prevent tampering. I don't think this is actually in play with the cookie encryption, but I am really not sure. Second is the encryption method, which is used for symetrical encryption of certain things. By default, AES is the algorithm (in .NET 2.0), but it can also be DES and Triple DES. The decryption attribute in the machinekey is new as of .NET 2.0 If you are using .NET 2 or higher, try decrypting in CF using the decrypt() function, with AES as the algorithm, and your decryptionKey value from your machinekey config as the key. The validation and encryption algorithms are mutually exclusive starting in .NET 2. If using .NET 1 or 1.1, it's really not clear what to use - try AES, but it seems that the validation setting applies all around, and if set to SHA1, you may not be able to decrypt at all. You do have 3DES as an option for the validation attribute, which is a symetrical encryption algorithm (which you can decrypt), so if you can change your machinekey setting, perhaps try that and then try decrypting in cf using DESEDE as the algorithm. Also just try AES for kicks. Here's the relevant page on MSDN about machine key: http://msdn2.microsoft.com/en-us/library/ms998288.aspx I know that's not quite a definitive answer, but hopefully it puts you on the right path. On 5/14/07, Venkatesh Raman [EMAIL PROTECTED] wrote: Sorry, It was my mistake. I was trying to read the cookie from a different domain. I tried the same decryption key I used in Asp.Net. But still could not read the encrypted cookie. Has anybody done this before? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
re-building task list in cfeclipse?
I had a problem with my mapped drive and now my project had to be setup again. I lost all my tasks, and I'm too lazy to open all the files to get them back, there must be an easy way I'm just not seeing. Can someone please enlighten me? Thanks! ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF adding additional pages in pdfs
Does anyone know if there are any known bugs with MX7 and generating PDFs? I have a page that generates a pdf on the fly. Every now and then, it will add additional pages to the pdf. This happens at random times and when it does happen, it will add anywhere from 2 pages to 200+ pages. Any thoughts?? ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote: Thanks John Paul. I deliberately left out any subversion process for two reasons a) this is what I want to find out b) I don't have a process and hence the question :-) I have read about the pre / post tagging before but was not sure how this would go when other people are also making commits - and there fore incrementing the revision number; so... Revision numbers in SVN should be meaningless -- like a primary key in a db. The whole point of a branch is that it's independent of the other development line(s). You can merge the changes of just that branch back into trunk, or a release branch, or even another bugfix branch (maybe because two bugs are related). Keep in mind that when I say merge I mean using SVN's merge command (or using svnmerge, an addon script that makes it FAR easier to manage merging branches). The recipies for all of these kinds of manipulations are in the PragProgrammers book among other sources. If two people are committing will it look like this (current revision = 99) branch - bug001 : 100 (bug001-pre), 101, 103, 104, 107(bug001-post) branch - bug002: 102, 106 And if that is the case, when I do a merge bug001 - bug002-post will it ignore revisions 102 and 106? Subversion doesn't support complex (eg 3-way) merges, so you should merge 1 branch into another branch, typically in this scenario the bugfix branch (eg bugfix-001) back into the main branch (either the release branch if you did releases, or trunk). Once that's done, you can merge the next bugfix. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Seriously, I would not create a branch for a bug, just to have it merged back to the trunk again. You might as well apply the fix directly on the trunk... Unless the trunk has diverged from the release -- this is all very dependent on how releases work. Let's say you fix a stylesheet element directly in trunk. That's fine if trunk hasn't changes since the release you're fixing; it's NOT fine if you upgraded from Fusebox 4 to Fusebox 5 during the intervening time or any other major changes that separate the ongoing trunk work from a release. It all depends on the process -- Subversion doesn't care one way or another :) But seriously, I'd always recommend tagging releases -- otherwise you end up using revision numbers to proxy for releases and that inevitably seems to cause problems in the long term. On 5/15/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote: I am still not quite sure how to go about deploying mods from subversion. This is what I am trying to achieve: Each developer has a local development environment. We have a job tracking systems (jira) that bugs and requests for new features are entered into. I will work on a bug and once I am happy with the fix, testing in my dev environment, I will put those changes onto the test server. We're missing some details here about the process around subversion so it's hard to directly answer the question, but one very common pattern is to create a bug-specific branch (usually off of the release branch) and fix the bug there. The full process would work something like this: * assume there's an existing branch for the release, /repo/branches/RB-1.0 * copy the release branch /repo/branches/RB-1.0 to a bugfix branch /repo/branches/BUG-3456 * tag the beginning of the bugfix branch /repo/tags/PRE-3456 * work on bug in the bugfix branch committing as necessary * tag as necessary on bugfix branch, eg /repo/tags/QA-3456, /repo/tags/QA-3456-RC2, etc * when the bug's signed off on, tag the end of the branch /repo/tags/POST-3456 * back in the release branch, /repo/branches/RB-1.0, you can merge /tags/PRE-3456 and /tags/POST-3456 to get the release updated * roll out a new release (tagged and/or branched of course) or generate a patchfile depending on your process * check and see if the merge needs to go back into trunk/etc as appropriate Obviously this isn't strictly necessary for a typo or a very small change, though at a minimum using the tags for PRE and POST will make your life easier. As an aside, Subversion revision numbers are not in short supply -- there's no need to conserve them, and since copies in SVN are efficient, there's no worry about increasing the size of the repo every time you branch (like in BitKeeper and some other source control systems). We'll cover this stuff in my CFUnited 2007 pre conference class. At worst, if you're reading this and figuring you need to know more about Subversion, you should check out the Pragmatic Version Control using Subversion book from the Pragmatic Programmers and save yourself a lot of effort in learning SVN. After user testing, it may come back for further work, or be signed off. If signed off, it is put onto the production server. As you can imaging, there can be any number of bugs been fixed at any point in time by multiple developers. The testing can get signed off in any order and may be there for a couple of weeks. What I would like to be able to do is get the files for a particular bug fix and from those file, merge the modifications into test and then production. General Notes: - One file may have multiple bug fixes / enhancements - if a modification is to be backed out, and other modification since then will need to stay. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? Now we're into build management :) Which is mostly outside subversion, but the basic way subversion can support you process is by tagging revisions -- the basic pattern is to create a directory parallel to /trunk called /tags and then copy whatever is being release (eg /trunk) to a tag. Then you can always use the tag to checkout code that represents a particular release. Even when you're at REL-5.0, your tag for REL-2.1 points to the proper revisions of the codebase and you can checkout from the tag (or from a branch if you choose to use release branches in addition to tags) If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? Merge bug004 into whatever the main branch is, which is probably either trunk or a release branch, tag the resulting version as a release, and export the release. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. That's actually a really bad process in general -- b/c then you have to keep track of revision numbers to be able to revert to a previous release. The standard advice is to tag the trunk (eg REL-20070515 or REL-1.2.3) and then deploy the tagged release, which means exporting from the tag instead of trunk. That gives you a MUCH better history over time. Deploying from /trunk directly is generally a good way to handle continuous integration, but I recommend not doing that for production. Tagging gives the added benefit of repeatability without needing to track revision numbers, though clearly nothing stops you from doing it this way :) Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: If by bug you mean typo or something minor - then making the change to the trunk would seem fine. I am think more along the lines where 2 or more pages need to be modified and may span a number of days (elapsed time) When it comes to committing , would it be fair to say:- trunk: only commit logical units of work that will not break the system branch : knock yourself out With so many different views and recommendation it is no wonder I am getting confused :-} On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Seriously, I would not create a branch for a bug, just to have it merged back to the trunk again. You might as well apply the fix directly on the trunk... On 5/15/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 5/14/07, AJ Mercer [EMAIL PROTECTED] wrote: I am still not quite sure how to go about deploying mods from subversion. This is what I am trying to achieve: Each developer has a local development environment. We have a job tracking systems (jira) that bugs and requests for new features are entered into. I will work on a bug and once I am happy with the fix, testing in my dev environment, I will put those changes onto the test server. We're missing some details here about the process around subversion so it's hard to directly answer the question, but one very common pattern is to create a bug-specific branch (usually off of the release branch) and fix the bug there. The full process would work something like this: * assume there's an existing branch for the release, /repo/branches/RB- 1.0 * copy the release branch /repo/branches/RB-1.0 to a bugfix branch /repo/branches/BUG-3456 * tag the beginning of the bugfix branch /repo/tags/PRE-3456 * work on bug in the bugfix branch committing as necessary * tag as necessary on bugfix branch, eg /repo/tags/QA-3456, /repo/tags/QA-3456-RC2, etc * when the bug's signed off on, tag the end of the branch /repo/tags/POST-3456 * back in the release branch, /repo/branches/RB-1.0, you can merge /tags/PRE-3456 and /tags/POST-3456 to get the release updated * roll out a new release (tagged and/or branched of course) or generate a patchfile depending on your process * check and see if the merge needs to go back into trunk/etc as appropriate Obviously this isn't strictly necessary for a typo or a very small change, though at a minimum using the tags for PRE and POST will make your life easier. As an aside, Subversion revision numbers are not in short supply -- there's no need to conserve them, and since copies in SVN are efficient, there's no worry about increasing
RE: Adding password security to a pdf upload on the fly
No, I mean actually including a password on the PDF itself. So, if someone downloads it and saves it to their computer and then tries to open it they will be prompted for a password within their PDF reader. John -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 1:28 PM To: CF-Talk Subject: RE: Adding password security to a pdf upload on the fly I've passworded the DOWNLOAD of the file. Is that what you mean? -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 1:03 PM To: CF-Talk Subject: Adding password security to a pdf upload on the fly Anyone ever mess with receiving PDF uploads from users and having CF automatically password protect the PDF so that anyone downloading them would need the password to be able to view them? I don't need to be able to make any other adjustments to the PDFs and for the most part the password will be the same on all of them. I'm trying to figure out if there are any Java utils to do this or if I'd need to look into a 3rd party software. Either way, if you have experience with this and wouldn't mind lending your input, that'd be great. John Burns ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 I'd really recommend tagging and deploying from the tag (or making it a release branch and deploying from that -- depends on how often you release and how many versions you maintain) Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. What I'd suggest is deploying from the bugfix branch, running the tests, and then letting the next developer do the same. Your bugfix branch contains *everything* that you need to run the app, so testing and verifying it is verifying the bugs. Obviously this is easier if testing is automated. Then the next bugfix branch gets cleanly deployed to test and so it goes. Hmmm, time to do some testing and see what happens... Good! That's the only way to figure it out. On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: Maybe I need a test branch too In dev I can use switch to jump between bug001 and bug002 say Once I am happy with it I can merge that into the test branch - along with all the other developer bug fixes. Personally, I'd recommend as few branches as possible. If you need to merge bugfix002 and bugfix004 for testing, I'd consider fixing them in the same branch (which changes how the bugfix-bugtracking-svn process works for you as described so far). Or you can merge the two bugfixes into a arbitrary branch (eg TST-bobsbigtest) and go from there. Then test server can be updated from the test branch I will still merge bug001 into truck once it is signed off and not merger test branch with trunk as there are still bug fixes in testing Would just need to ensure all branches are kept upto date with the trunk. You want to Google svnmerge.py, right now :) On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: I mean deploy. So, some how, I go from my dev box, to the test server then finally to the production server. Other developers will also deploy to the test server. As I understand it, we wont want to commit anything to the trunk until it has been signed off in test. So in that case, if trunk is always stable, we can just update the production server from the trunk. This makes that side very simple. And that being the most important part - that is a good thing :-) And I guess at that same time the trunk can be tagged - eg /tags/prod-20070515 Now I am just left with the bit in between all the dev servers and the test server. Branching seems to me the way to go for major bug fixes and new features. Ensuring an mods to the truck get merged into the branches then updated into the dev machine(s) Then, to my thinking, once the bug has been signed off in test, I should be able to merge it into the trunk. Hmmm, time to do some testing and see what happens... On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: Deploy? If you mean deploy to production, thats always trunk. Or do you mean deploy from your code to the repository, that's commit. On 5/15/07, AJ Mercer [EMAIL PROTECTED] wrote: OK, irrespective of whether the trunk or branches are used how do you selectively chose what you want to deploy? If I have 5 bug fixes on the go bug001 - bug005, and bug004 is signed off how would I use subversion to know which files need to be updated on production (without any of the work on bugs 1,2,3,5 going over)? On 5/15/07, Andrew Scott [EMAIL PROTECTED] wrote: AJ, Welcome to the world of many ways to skin a cat. We do it the same way I outlined a few times now, but others have diffeent ways to do it. When working on something that is either new or a bug, the code is looked at and fixed now until it is fixed, tested with unit tests and the development tested we do not commit it back to SVN. Thats our procedure, but as I said earlier, we also sync the changes to make sure we don't need to merge any new code, and then when its tested, merged on our code with the repository we then commit it. Thats our method, and others have many other ways of doing it. -- If you are not living on the edge, You are taking up too much space. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deploying changes from subversion
On 5/15/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Personally, I would still release them in staged/known releases than haphazzard fix on the fly. You will find it's a much better process and easier to manage. Agreed. And if you have an *EMERGENCY* bugfix, you can use SVN to generate a patchfile of just that change and directly apply it to production until the next real build is ready. That's a slippery slope that should only be reserved for emergencies since now your tagged release in SVN is out of sync with production unless you use release branches, apply the patch to the release branch, and redeploy from there. Anyone that's been following this thread, please read the Pragmatic Programmers' book Pragmatic Version Control with Subversion -- it's the best, simplest, cheapest overview of subversion for real development tasks. I didn't write it nor do I get any money for shilling it -- it's just the best way to learn the commonly accepted best practices -- then you can take their base and figure out your own methods. If I was shamelessly plugging something, I'd be plugging my CFUnited 2007 class where I'm teaching Subversion, Ant, and Selenium for those of you needing a practical approach to version control, build/deploy tools, and testing. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: deploying changes from subversion
Here's our basic process, just for the sake of discussion. We have a core product which is extremely large (several thousand source code files), and our development cycle for features tends to be on the long side - weeks to months. We do also have to deal with small bug fixes and enhancement requests as well. Our basic repository layout is: Trunk - day to day development Development branches - development of features that are especially large, and/or might disrupt other work in the trunk Tags - Release versions of the app. QA branch. This is sort of a transition branch for large feature releases. For day to day bug fixes and enhancement requests, we work against the current tag release, and merge them back to the trunk. This is largely due to the length of our usual development cycle, where the trunk and release can get so far out of sync that it gets hairy to do small incremental changes in the trunk and push them out with confidence. For releasing larger features, we use the QA branch. We don't worry about any historical state on the QA branch. We simply blow it away each time with a fresh copy from the current release, and then merge the new features in from the trunk. Once we've done testing and QA on it, we tag it and move on. It's not the right way for everyone, but works well for our development cycle. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RIAForge Downtime
Just a warning that RIAForge will be down later today. -- === Raymond Camden Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster Video game player? Have kids? Check out KidGamers.org ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Transfer and Model-Glue
So for a direct call within a function in a controller I could use. cfset var person = getModelGlue().getORMService().getTransfer().new(person) / cfset arguments.event.makeEventBean( person ) / cfset arguments.event.setValue( newperson, person ) / cfset person.setOrgID(1) cfset person.setAddressID(1) cfset person.setPerson(Test) cfset getModelGlue().getORMService().getTransfer().save(person) Or is there a better, best practice approach? Neil -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 06:31 To: CF-Talk Subject: Re: Transfer and Model-Glue On 5/14/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Lol, I am sure Mr Corfield will be right in... But what you have noted so far makes perfect sense. Who? Me? Once you have it wired up, you can use scaffolding or MG's generic DB messages or just go ahead and access Transfer directly (perhaps for complex queries, using TQL). Whatever you want. Back when I was at Adobe, my team used Transfer with Model-Glue. We used scaffolding to create basic admin functionality, then replaced it with generic DB messages and custom event-handlers. Then started to use direct getOrmService() calls to get hold of Transfer inside MG to do more complex stuff. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: RIAForge Downtime
Cool that probably means something new and awesome is coming. Right? Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278157 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RIAForge Downtime
Heh, I wish. This is a temporary reinstall of CF. There will be more downtime later in the week as I move the site from Unix to PC. Once that is done I will have more time to add features, remove bugs, etc. On 5/15/07, Ryan, Terrence [EMAIL PROTECTED] wrote: Cool that probably means something new and awesome is coming. Right? Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278158 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: RIAForge Downtime
-Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 10:45 AM Subject: Re: RIAForge Downtime Heh, I wish. This is a temporary reinstall of CF. There will be more downtime later in the week as I move the site from Unix to PC. Do you mean that you're migrating from Linux/BSD to Windows? Mind if I ask why? Damien McKenna Web Developer The LIMU Company ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278160 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: RIAForge Downtime
Sorry, Ray. I didn't mean to imply that RIAForge needed any new features. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RIAForge Downtime
Oh no - that isn't a problem. I _do_ want to keep adding to the site. The biggest feature it REALLY needs right now is N owners per project. I also want to add listserv support. On 5/15/07, Ryan, Terrence [EMAIL PROTECTED] wrote: Sorry, Ray. I didn't mean to imply that RIAForge needed any new features. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Scorpio to help with CFMyAdmin
Does anyone know what happened to cfmyadmin.com? I get No web site is configured at this address. when I go there. -Randy Rick Root wrote: The new feature mentioned at the TACFUG/RDAUG user group meeting last night involved updated database drivers across the board, and a new tag called CFDBINFO which will provide all kinds of database introspection stuff. So whoever was planning to write a CFMyAdmin type utility... it might be a whole lot easier in CF8! Rick ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RIAForge Downtime
As much as I don't like Windows, for working with CF and Apache, I find it a heck of a lot easier than Linux. In fact, my update today is being delayed due to some wacky error. :( On 5/15/07, Damien McKenna [EMAIL PROTECTED] wrote: -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 10:45 AM Subject: Re: RIAForge Downtime Heh, I wish. This is a temporary reinstall of CF. There will be more downtime later in the week as I move the site from Unix to PC. Do you mean that you're migrating from Linux/BSD to Windows? Mind if I ask why? Damien McKenna Web Developer The LIMU Company ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfexecute, addHost.sh and deleteHost.sh perhaps?
Hi everyone, I gotta build an application in ColdFusion capable of executing a BASH Script in Linux to Add and Delete Host names from the DNS Server as well as re-start the server. I thought of using cfexecute for that matter and then write the BASH Script in Linux but I am not a bash script programmer. Is there an easier way of getting this done? --- Ravi Gehlot. Sr. Management Sunshine Technology Solutions, LLC http://www.sunshinetechsolutions.com/ --- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
REFind
Hey all, I may not be understanding REFind properly. I have this: cfloop list=#this.lstUIDs# index=i delimiters=, cfif REFind(^\d{9}-\d{3}$,i) is 1 cfset psyEx = psyEx+1 cfelse cfset psy = psy+ 1 /cfif /cfloop What's coming in is a list of UID's from a form. The UID's that match the pattern are ignored by an outboard application. Psy and psyEx are counters for an x of y records exported The outboard app only returns a text file. My traces show this: information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 28] [2844 ms (1st trace)] - [this.lstUIDs = 207862004-001,303062003-001,303302003-001,307972005-001,313642005-039,315352 004-001,316162004-001,318502004-001,388372004-001,405652005-001,504842006-00 1,504972006-001,505122006-001,567792006-001,2006-13416-000,2006-20801-014,20 06-22931-014,2006-23020-006,2006-23022-005,2006-23072-005,2006-23081-010,200 6-23500-001,2006-23500-002,2006-23500-013,2006-23500-020] UID information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 29] [2844 ms (0 ms)] - [psy = 1] psy information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 30] [2844 ms (0 ms)] - [psyEx = 0] psyEx -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RIAForge Downtime
Hey Raymond, I offer ColdFusion hosting in Linux. If you ever need anything. We have had a 100% uptime since last October. Ravi. --- Ravi Gehlot. Sr. Management Sunshine Technology Solutions, LLC http://www.sunshinetechsolutions.com/ --- Raymond Camden wrote: As much as I don't like Windows, for working with CF and Apache, I find it a heck of a lot easier than Linux. In fact, my update today is being delayed due to some wacky error. :( On 5/15/07, Damien McKenna [EMAIL PROTECTED] wrote: -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 10:45 AM Subject: Re: RIAForge Downtime Heh, I wish. This is a temporary reinstall of CF. There will be more downtime later in the week as I move the site from Unix to PC. Do you mean that you're migrating from Linux/BSD to Windows? Mind if I ask why? Damien McKenna Web Developer The LIMU Company ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: RIAForge Downtime
-Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 11:08 AM Subject: Re: RIAForge Downtime As much as I don't like Windows, for working with CF and Apache, I find it a heck of a lot easier than Linux. What version of Apache? I've found that with Linux/BSD, due to the way that Apache is usually configured the file permissions can be a bit of a pain, but there are ways of fixing that. In fact, my update today is being delayed due to some wacky error. :( What's the error? (interested to know) Damien McKenna Web Developer The LIMU Company ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: I gotta build an application in ColdFusion capable of executing a BASH Script in Linux to Add and Delete Host names from the DNS Server as well as re-start the server. I thought of using cfexecute for that matter and then write the BASH Script in Linux but I am not a bash script programmer. Is there an easier way of getting this done? Depends. What native API's does your DNS server offer for management? Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Hey Jochem, I have thought about using APIs also. My servers run on Linux Fedora and for the DNS Server I got named (BIND) and for the web server I got Apache (httpd). Can you find out what the APIs are? I don't mean to give you a little task here but a search on google didn't return any interesting options. Ravi. Jochem van Dieten wrote: Ravi Gehlot wrote: I gotta build an application in ColdFusion capable of executing a BASH Script in Linux to Add and Delete Host names from the DNS Server as well as re-start the server. I thought of using cfexecute for that matter and then write the BASH Script in Linux but I am not a bash script programmer. Is there an easier way of getting this done? Depends. What native API's does your DNS server offer for management? Jochem ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: REFind
Not sure from your message what exactly is happening, but try this statement for your REFind() cfif REFind(^\d{9}-\d{3}$,i) gt 0 Steve Brownlee http://www.fusioncube.net/ - Original Message Follows - From: Scott Stewart [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Subject: REFind Date: Tue, 15 May 2007 11:21:28 -0400 Hey all, I may not be understanding REFind properly. I have this: cfloop list=#this.lstUIDs# index=i delimiters=, cfif REFind(^\d{9}-\d{3}$,i) is 1 cfset psyEx = psyEx+1 cfelse cfset psy = psy+ 1 /cfif /cfloop What's coming in is a list of UID's from a form. The UID's that match the pattern are ignored by an outboard application. Psy and psyEx are counters for an x of y records exported The outboard app only returns a text file. My traces show this: information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 28] [2844 ms (1st trace)] - [this.lstUIDs = 207862004-001,303062003-001,303302003-001,307972005-001,31 3642005-039,315352 004-001,316162004-001,318502004-001,388372004-001,40565200 5-001,504842006-00 1,504972006-001,505122006-001,567792006-001,2006-13416-000 ,2006-20801-014,20 06-22931-014,2006-23020-006,2006-23022-005,2006-23072-005, 2006-23081-010,200 6-23500-001,2006-23500-002,2006-23500-013,2006-23500-020] UID information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 29] [2844 ms (0 ms)] - [psy = 1] psy information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 30] [2844 ms (0 ms)] - [psyEx = 0] psyEx -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com ~~ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RIAForge Downtime
I'm running a certain program and getting a permission denied and then a success msg and then it just dies. Weird. Not sure of the Apache version. In general the Apache there works fine - Im just more comfortable with the Windows version. On 5/15/07, Damien McKenna [EMAIL PROTECTED] wrote: -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 11:08 AM Subject: Re: RIAForge Downtime As much as I don't like Windows, for working with CF and Apache, I find it a heck of a lot easier than Linux. What version of Apache? I've found that with Linux/BSD, due to the way that Apache is usually configured the file permissions can be a bit of a pain, but there are ways of fixing that. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFJS - the *non* jQuery version
Hi folks, Check out the details here http://cjordan.us/index.cfm/2007/5/15/CFJS--The-non-jQuery-version. Cheers, Chris -- http://cjordan.us ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
setting var inside cffunction
I posted a question yesterday about using cfset inside cffunction and received help, thanks! I've moved my cfsets above my cfldap query (which corrected my initial issue) but problem is the returned values from the cfldap query don't appear to be being set. Perhaps because the cfsets occur in the lines above the cfldap query? I've tested this by doing a cfdump just under invoking the component on another page. The variables returned are the ldap names not the new vars I was attempting to rename them to. I've pasted a portion of yesterdays thread below to make so you have an idea what's happening in my function. Thanks! John --- you have to place your var scoped variables at the top of the function. in this case, you'd do something like: cfset var givenname = / cfset var sn = / cfset var mail = / (etc) above your cfldap call. On 5/14/07, John P [EMAIL PROTECTED] wrote: - Hide quoted text - - Show quoted text - I am attempting to use cffunction to query a database and then cfset the returned variables to a new names. I get the following error when attempting to access the page. Local variable givenname on line 19 must be grouped at the top of the function body. Here's my function that appears on my .cfc page: cfldap action=query name=GetIDS start=ou=ple,o=blah.com filter=id=#userID# attributes=givenname,sn,mail,dbaddress,dbcity,dbstate,dbzipcode,homephone server=ds.blah.com username=uid=asdf,ou=ReadOnly,o=blah.com password=password cfset var givenname = First_name cfset var sn = Last_Name cfset var mail = Addr cfset var dbaddress = ADDRESS cfset var dbcity = City cfset var dbstate = State cfset var dbzipcode = ZIP cfset var homephone = PHONE cfreturn GetIDS /cffunction What am I doing wrong? Is it possible to use cfset inside of a cffunction? Thanks! John ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting var inside cffunction
I'm confused. You're returning the LDAP query itself (via cfreturn getIDS). where do those single variables (givenname, sn, mail, etc) that you're explicitly setting come into play? On 5/15/07, John P [EMAIL PROTECTED] wrote: I posted a question yesterday about using cfset inside cffunction and received help, thanks! I've moved my cfsets above my cfldap query (which corrected my initial issue) but problem is the returned values from the cfldap query don't appear to be being set. Perhaps because the cfsets occur in the lines above the cfldap query? I've tested this by doing a cfdump just under invoking the component on another page. The variables returned are the ldap names not the new vars I was attempting to rename them to. I've pasted a portion of yesterdays thread below to make so you have an idea what's happening in my function. Thanks! John --- you have to place your var scoped variables at the top of the function. in this case, you'd do something like: cfset var givenname = / cfset var sn = / cfset var mail = / (etc) above your cfldap call. On 5/14/07, John P [EMAIL PROTECTED] wrote: - Hide quoted text - - Show quoted text - I am attempting to use cffunction to query a database and then cfset the returned variables to a new names. I get the following error when attempting to access the page. Local variable givenname on line 19 must be grouped at the top of the function body. Here's my function that appears on my .cfc page: cfldap action=query name=GetIDS start=ou=ple,o=blah.com filter=id=#userID# attributes=givenname,sn,mail,dbaddress,dbcity,dbstate,dbzipcode,homephone server=ds.blah.com username=uid=asdf,ou=ReadOnly,o=blah.com password=password cfset var givenname = First_name cfset var sn = Last_Name cfset var mail = Addr cfset var dbaddress = ADDRESS cfset var dbcity = City cfset var dbstate = State cfset var dbzipcode = ZIP cfset var homephone = PHONE cfreturn GetIDS /cffunction What am I doing wrong? Is it possible to use cfset inside of a cffunction? Thanks! John ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF / Word and Merge Fields
Did you ever find a way to do this? I want to allow users to upload a word document with mial merge fields and be able to mail merge the document with data in our system. Thanks, Mike Does anyone know if it is possible to parse a word document for merge fields? What I would like to be able to do is to not rely on a user to know (because they will botch it) if they are actually using a word document containing merge fields, but to rather parse the document when they upload it for the merge fields. Thoughts? Ideas? Thanks, Michael Tangorre ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278175 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Word Merge with CF
Did you ever find a way to do this? I want to allow users to upload a word document with mial merge fields and be able to mail merge the document with data in our system. Thanks, Mike Has anyone ever done anything with Compare and Merge Documents with Word via an Object? If so, any examples, directions, code etc? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting var inside cffunction
Here's the function on my .cfc page: cffunction name=listUsers access=remote returnType=query output=true cfargument name=userID required=yes cfset var getIDS = cfset var givenname = First_name cfset var sn = Last_Name cfset var mail = Addr cfset var dbaddress = ADDRESS cfset var dbcity = City cfset var dbstate = State cfset var dbzipcode = ZIP cfset var homephone = PHONE cfldap action=query name=GetIDS start=ou=ple,o=blah.com filter=id=#userID# attributes=givenname,sn,mail,dbaddress,dbcity,dbstate,dbzipcode,homephone server=ds.blah.com username=uid=asdf,ou=ReadOnly,o=blah.com password=password cfreturn GetIDS /cffunction I'm calling the function this way: cfinvoke component=Data method=listusers returnvariable=user cfinvokeargument name=userID value=#SESSION.userID#/ cfinvokeargument name=info value=#session.info#/ /cfinvoke cfdump var=#user# But cfdump only returns column names from ldap not the variables I was attempting to reset them to. I'm confused. You're returning the LDAP query itself (via cfreturn getIDS). where do those single variables (givenname, sn, mail, etc) that you're explicitly setting come into play? On 5/15/07, John P [EMAIL PROTECTED] wrote: ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting var inside cffunction
On 5/15/07, John P [EMAIL PROTECTED] wrote: Here's the function on my .cfc page: The function isn't resetting anything. Your block of cfset tags is simply setting some variables that are local to the function. They are not in any way related to the LDAP query (not the way you have the code written). You could pull all of those cfset tags out, and you'd get the same result. If you're trying to rename the columns, you could do a query of queries (query the LDAP query) and alias the column names the way you want them to appear. Also, scope that #userID# variable as #arguments.userID# :) -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Word Merge with CF
Yes, I've done com automation on the server, specifically for mail merge. However, you need to be aware of the detractors of doing such things. I don't have a link to it handy, but Microsoft has a whitepaper on issues concerning server-side automation of office applications. You should probably do a search there as well. Back when I did this, I got a ton of info from cfcomet, which unfortunately appears to be absent for the time being. Oh, Dain Anderson, where are you? Cheers, Kris On 5/15/07, Mike Demahy [EMAIL PROTECTED] wrote: Did you ever find a way to do this? I want to allow users to upload a word document with mial merge fields and be able to mail merge the document with data in our system. Thanks, Mike Has anyone ever done anything with Compare and Merge Documents with Word via an Object? If so, any examples, directions, code etc? ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: REFind
What I want to happen is this: From the list of UID's passed into the loop; If the UID matches the pattern Add 1 to psyEx, because the UID will be ignored Otherwise add 1 to psy, because the UID will be handed off and processed. What's happening is that either, the RegEx is wrong and the pattern's not matching or.. I should be doing this some other way than REFind, which I can't figure out. sas -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 11:37 AM To: CF-Talk Subject: Re: REFind Not sure from your message what exactly is happening, but try this statement for your REFind() cfif REFind(^\d{9}-\d{3}$,i) gt 0 Steve Brownlee http://www.fusioncube.net/ - Original Message Follows - From: Scott Stewart [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Subject: REFind Date: Tue, 15 May 2007 11:21:28 -0400 Hey all, I may not be understanding REFind properly. I have this: cfloop list=#this.lstUIDs# index=i delimiters=, cfif REFind(^\d{9}-\d{3}$,i) is 1 cfset psyEx = psyEx+1 cfelse cfset psy = psy+ 1 /cfif /cfloop What's coming in is a list of UID's from a form. The UID's that match the pattern are ignored by an outboard application. Psy and psyEx are counters for an x of y records exported The outboard app only returns a text file. My traces show this: information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 28] [2844 ms (1st trace)] - [this.lstUIDs = 207862004-001,303062003-001,303302003-001,307972005-001,31 3642005-039,315352 004-001,316162004-001,318502004-001,388372004-001,40565200 5-001,504842006-00 1,504972006-001,505122006-001,567792006-001,2006-13416-000 ,2006-20801-014,20 06-22931-014,2006-23020-006,2006-23022-005,2006-23072-005, 2006-23081-010,200 6-23500-001,2006-23500-002,2006-23500-013,2006-23500-020] UID information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 29] [2844 ms (0 ms)] - [psy = 1] psy information type[11:16:50.015 C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 30] [2844 ms (0 ms)] - [psyEx = 0] psyEx -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com ~~ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278180 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: I have thought about using APIs also. My servers run on Linux Fedora and for the DNS Server I got named (BIND) and for the web server I got Apache (httpd). Can you find out what the APIs are? Last time I did that the options where to can either write the config files out and force Bind to read them or call nsupdate (probably your bash script is just an nsupdate wrapper). Jochem ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF adding additional pages in pdfs
I have a page that generates a pdf on the fly. Every now and then, it will add additional pages to the pdf. This happens at random times and when it does happen, it will add anywhere from 2 pages to 200+ pages. Chris, not totally sure, but I think this happens when your last loop iteration has cfdocumentitem type=pagebreak /. This results in a blank page. Getting around it is a two stage procedure: 1) use css to generate the page break rather than cfdocumentitem. This is because you cannot wrap cfdocumentitem in any conditional code. I believe it looks like span style=page-break-before:always, but take a look at the css specs for more details 2) wrap that span in conditional code a la if not last loop iterationcss page break/if -- Josh ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Fusebox Help
Hello Qasim, Thank you for this. I'm learning a lot about Fusebox as I work on this project. =) The fusebox.xml.cfm has the mode set to Development. I will try to do my research on what effect this has on the application as a while, but any additional pointers you could provide would be greatly appreciated! Thank you for this! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Qasim Rasheed wrote: Jordan, The autogenerated files should be in the parsed directory under your application root. This is where fusebox keeps generated files after it has gone through the compile process. If your site in development mode (i.e. mode parameter in fusebox.xml.cfm file? Thanks Qasim On 5/14/07, Jordan Michaels [EMAIL PROTECTED] wrote: There we go. Fusebox 4. Thanks Josh. I completely agree with your comments as well. I'm not trying to imply anything about the stability of fusebox, but since neither I, or anyone in my shop has spent any large amounts of time working with Fusebox. I guess I was just wondering if anyone had seen this kind of behavior before. My (limited?) understanding of fusebox suggests that there are some pages which are interpreted, then written to the file system. I'm wondering if these seemingly random errors have anything to do with that process. Like perhaps wherever the problem lies is in the process that creates these files? Perhaps this process is not able to finish, or is finishing incorrectly each time the page is hit... and that results in the random code errors? That is where my thoughts are taking me at the moment anyway... Any insights anyone has would be immensely appreciated. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Josh Nathanson wrote: Has anyone seen this kind of behavior in a Fusebox site before? Any suggestions on where I should start looking for a problem cause? Since the errors appear to be random (go to page, click a link, get random error - go to page, click same link, get different random error) I'm not sure where to even begin. Jordan - the best way to at least figure out the version is to look for index.cfm in the root, open that file and see which core file it's calling (assuming they're using index.cfm as the main template). Fusebox in itself is not inherently buggy, but like any other framework, poor coding will lead to poor results. -- Josh ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RIAForge Downtime
The site is hosted by Adobe actually. I'm just the code monkey for it. ;) Thank you though! On 5/14/07, Ravi Gehlot [EMAIL PROTECTED] wrote: Hey Raymond, I offer ColdFusion hosting in Linux. If you ever need anything. We have had a 100% uptime since last October. Ravi. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278184 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Write the config files out? How? How did you force bind to read and how did u call nsupdate? Jochem van Dieten wrote: Ravi Gehlot wrote: I have thought about using APIs also. My servers run on Linux Fedora and for the DNS Server I got named (BIND) and for the web server I got Apache (httpd). Can you find out what the APIs are? Last time I did that the options where to can either write the config files out and force Bind to read them or call nsupdate (probably your bash script is just an nsupdate wrapper). Jochem ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Simple FORM post?
I'm developing a script that will allow remote servers to use a script include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes script type=text/javascript src=http://myhost.com/search.cfm;/script 2) Search.cfm generates all the HTML necessary for the form, it's escaped and returned as a single document.write() to the remote host. The form is presented on the remote site without trouble. 3) The search term is entered and the form submitted to my server as a POST 4) When testing on localhost, all is well. The FORM vars are available and the search is performed flawlessly. When testing on the prod server, CF's FORM struct is empty. I'm using CF's built-in web server locally and IIS on prod. I feel like I'm missing something stupid. Any help is appreciated. Rob ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: Write the config files out? How? Config files were generated from information in a database and written to the filesystem with a PHP script. How did you force bind to read kill -HUP named did u call nsupdate? Through the PHP equivalent of cfexecute. Jochem ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Do you still have this script? If so please send it over to [EMAIL PROTECTED] Ravi. Jochem van Dieten wrote: Ravi Gehlot wrote: Write the config files out? How? Config files were generated from information in a database and written to the filesystem with a PHP script. How did you force bind to read kill -HUP named did u call nsupdate? Through the PHP equivalent of cfexecute. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278188 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfldap query account options
Can anyone tell me how to do a cfldap query to find out how many users are not set to chacges there passwords in their account options Thank You Keith ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: is this wrong on my client's part?
I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: is this wrong on my client's part?
I would personally want some assurance of payment from his end, if he is a new customer. I don't think you are being too paranoid at all, this feels like a somewhat shady arrangement to me. Chris -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 4:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: is this wrong on my client's part?
I think that it's completely reasonable. There's no reason for you to not have access to the live environment as if you wanted to leave yourself access, you could. He can't possibly expect you to debug errors without seeing them or triggering them? I hope he pays extremely well, as this sounds like a nightmare. !k -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: is this wrong on my client's part?
Bloody spell check... That's *UN*reasonable. !k -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:16 PM To: CF-Talk Subject: RE: is this wrong on my client's part? I think that it's completely reasonable. There's no reason for you to not have access to the live environment as if you wanted to leave yourself access, you could. He can't possibly expect you to debug errors without seeing them or triggering them? I hope he pays extremely well, as this sounds like a nightmare. !k -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: is this wrong on my client's part?
If his needs are that strict, make him provide an exact duplicate system for development and testing, so you can test in an exact replica of his environment, without being on his servers. This will save money in the long run, by cutting down on testing rounds, and providing a good platform for future changes as well. (BTW, this is how I got the xServe sitting under my couch.) On 5/15/07, Mike Kear [EMAIL PROTECTED] wrote: I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: is this wrong on my client's part?
Good Lord Mike, why on earth did you agree to this kind of arrangement in the first place!? :o) I think I'd tell the client to get stuffed, but if you've already put in a bunch of time on it then I think I'd triple my normal rate, and do like you said and charge for each and every bug you fix. On another front, I've got pretty strict guidelines about who I'll do work for (meaning what sort of business). For instance, I'd never do any developing that contributed in any way to the sale of pornography. My company has turned down jobs for liqueur stores, and once for a movie theater that wanted us to install what amounted to a beer button on each of the seats in their theater. What I'm saying is that I'd be *extremely* uncomfortable working for a man who wouldn't let me know anything about his product or who couldn't trust me to come to his location and code on his equipment. In short, I think it's your client who's being unreasonable, and you just seem to be doing your best to deal with it. Cheers, Chris Mike Kear wrote: I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Simple FORM post?
Tough to say what could be going on without looking at any code, but have you considered that there may be a cross-site scripting security issue at play? Does Firefox report anything it its JS console? Mark -Original Message- From: Rob O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 PM To: CF-Talk Subject: Simple FORM post? I'm developing a script that will allow remote servers to use a script include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes script type=text/javascript src=http://myhost.com/search.cfm;/script 2) Search.cfm generates all the HTML necessary for the form, it's escaped and returned as a single document.write() to the remote host. The form is presented on the remote site without trouble. 3) The search term is entered and the form submitted to my server as a POST 4) When testing on localhost, all is well. The FORM vars are available and the search is performed flawlessly. When testing on the prod server, CF's FORM struct is empty. I'm using CF's built-in web server locally and IIS on prod. I feel like I'm missing something stupid. Any help is appreciated. Rob ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: is this wrong on my client's part?
Tell your client that you won't work under such conditions without 100% payment up-front. If he says 'no', then walk away and consider yourself to have been spared many late nights and migraines. I would bet that such a project has 0% chance of running when the client 'loads it up'. There are just too many miscellaneous things that could be configured wrong or miscommunicated for something to work with no on-site testing/debugging. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: is this wrong on my client's part?
Aside from the fact that the requirements sound like a total pain (but hey, if it pays), couldn't acceptance testing happen on a server that you both mutually have access to (so, not the final, live server)? That would give the client (and you) good reason to expect that it will work when installed on their real system. Given what they want, your position doesn't seem unreasonable to us, but only because we trust you. Given that the client doesn't want to trust you (and that you can't be sure that you can trust them), I don't see how negotiations will be anything but a nightmare. They want too much and won't give you the things you'll need to deliver on time (and to get paid when appropriate milestones are hit). One person's (with nothing to lose) opinion ... Mark -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 4:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
The more I think about it, the more I just want to tell the guy to get stuffed. If he doesn't trust anyone then he better start teaching himself to code these things. I might be able to understand him wanting to check you out, ask for references that sort of thing, but to just distrust you (or anybody it seems) is absolutely ridiculous. Tell the guy good luck trying to find anybody who would code under those restrictions! talk about bloody spell check I meant liquor store in my original post, not liqueur store... bah! Chris Kevin Aebig wrote: Bloody spell check... That's *UN*reasonable. !k -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:16 PM To: CF-Talk Subject: RE: is this wrong on my client's part? I think that it's completely reasonable. There's no reason for you to not have access to the live environment as if you wanted to leave yourself access, you could. He can't possibly expect you to debug errors without seeing them or triggering them? I hope he pays extremely well, as this sounds like a nightmare. !k -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:05 PM To: CF-Talk Subject: OT: is this wrong on my client's part? I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Simple FORM post?
Once the form/html content is written to the remote page, there's no more JS involved in coming back to my server - just a simple form submittal. I figure that if POST wouldn't work for me, I'll just use GET instead and then deal with URL variables rather than FORM. I've implemented this and everything is working. At this point, my conclusion is that the POST method has limitations when used from a remote server/page, although I can't find anything on the web that speaks to this. I feel stupid because this seems like a simple rule that I should have picked up in all of my web development experience... oh well. Thanks for the reply Rob -Original Message- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:20 PM To: CF-Talk Subject: RE: Simple FORM post? Tough to say what could be going on without looking at any code, but have you considered that there may be a cross-site scripting security issue at play? Does Firefox report anything it its JS console? Mark -Original Message- From: Rob O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 PM To: CF-Talk Subject: Simple FORM post? I'm developing a script that will allow remote servers to use a script include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes script type=text/javascript src=http://myhost.com/search.cfm;/script 2) Search.cfm generates all the HTML necessary for the form, it's escaped and returned as a single document.write() to the remote host. The form is presented on the remote site without trouble. 3) The search term is entered and the form submitted to my server as a POST 4) When testing on localhost, all is well. The FORM vars are available and the search is performed flawlessly. When testing on the prod server, CF's FORM struct is empty. I'm using CF's built-in web server locally and IIS on prod. I feel like I'm missing something stupid. Any help is appreciated. Rob ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
Thanks for your opinions.I think i'm on safe ground then. I've already got 75% of the money (half up front, and another 25% at a milestone along the way) so if worst comes to worst, I can walk away without losing too much. At the moment I hold the upper hand, because I have the code and he doesnt have anything. But as soon as i give him the CD, he holds the upper hand, so I need to ensure i have covered my bases while i can. Oh and I'm not concerned about whether the product is pornography or anything like that. It's a software product of some kind aimed at very large organisations. Individual product line items have prices in excess of $10,000. But it's making me mad with curiosity not knowing what it is i'm building a site for!! I think i'm going to hold my ground and demand he pays me before he gets the CD. He can see a test version on my shared server, so he can be confident that i have actually done the work, and see the functionality. So in theory that only things that ought to need changing are issues that relate to the clustering or his environment details. 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 ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? No. Sounds like a good approach. -- Josh ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
LOL!! well you buy liqueur from a liquor store. So you were right first time. Cheers Mike Kear On 5/16/07, Christopher Jordan [EMAIL PROTECTED] wrote: The more I think about it, the more I just want to tell the guy to get stuffed. If he doesn't trust anyone then he better start teaching himself to code these things. I might be able to understand him wanting to check you out, ask for references that sort of thing, but to just distrust you (or anybody it seems) is absolutely ridiculous. Tell the guy good luck trying to find anybody who would code under those restrictions! talk about bloody spell check I meant liquor store in my original post, not liqueur store... bah! Chris ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: Do you still have this script? It is not just a script, it is a highly specific DNS + DHCP management solution tied to RADIUS authentication for a small ISP and unless you are doing the first eduroam deployment in the US ever you are not going to need 99% of it. I have cleaned up the fragment that does an actual nsupdate call and attached it below, but if you want more you need to be specific in what you want. Jochem All code: Copyright OnLine Internet, 2004 License: BSD, http://www.opensource.org/licenses/bsd-license.php Library function that does the actual nsupdate call: /*- * * function nsupdate($command, $server=localhost) * Pushes the command to the DNS server * * Parameter * string $command * the nsupdate command to execute * string $server * the server to send the update to, default localhost * * Return value * number $error - * 0 for success * 1 for error *- */ function nsupdate($command, $server=localhost) { // Verify $command is valid nsupdate command if (!eregi('^update (add|delete) [^ ]+ .+$', $command)) { logError(Invalid nsupdate command string supplied: . $command); return 1; } $nscommand = server . $server . \n; $nscommand .= $command . \n; $nscommand .= \n; $nscommand .= quit\n; $filename = '/tmp/' . md5(uniqid()); file_put_contents($filename, $nscommand); echo pre; readfile($filename); echo /pre; $last_line = system('/usr/local/bin/nsupdate ' . $filename, $retval); unlink($filename); if ($retval) { logError(nsupdate error, string supplied: . $command); } return $retval; } Action page that accepts a form post, validates it and calls the nsupdate library: if (isset($_POST[Add])) { // Format the input if ($type == 'A' || $type == '' || $type == 'CNAME' || $type == 'MX') { $_POST['name'] = eregi_replace('(.*)\.', '\1', $_POST['name']); } if ($type == 'CNAME') { $_POST['value'] = eregi_replace('(.*)\.', '\1', $_POST['value']);; } $command .= update add . $_POST['name'] . 86400 . $type . . $_POST['value']; // Run the update $error = nsupdate($command); // Check the result if ($error) { die(nsupdate failed, rollback.); } print('Record added.br /a href=index.phpBack/a'); exit; } ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278204 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: is this wrong on my client's part?
We just thought you were being pretentious when you said liqueur. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:36 PM To: CF-Talk Subject: Re: is this wrong on my client's part? The more I think about it, the more I just want to tell the guy to get stuffed. If he doesn't trust anyone then he better start teaching himself to code these things. I might be able to understand him wanting to check you out, ask for references that sort of thing, but to just distrust you (or anybody it seems) is absolutely ridiculous. Tell the guy good luck trying to find anybody who would code under those restrictions! talk about bloody spell check I meant liquor store in my original post, not liqueur store... bah! Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: is this wrong on my client's part?
I still don't understand why your client won't let you use client or session management etc. Can those be exploited? At first thought I would feel safer with Adobie's tested and true code than my own home-rolled attempt at something like that. ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
Mike Kear wrote: I think i'm going to hold my ground and demand he pays me before he gets the CD. He can see a test version on my shared server, so he can be confident that i have actually done the work, and see the functionality. So in theory that only things that ought to need changing are issues that relate to the clustering or his environment details. Put in a time bomb, label it beta, compile the code, deliver it to your customer. Source code without time bomb will be delivered when code has been accepted and payed. Jochem ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278207 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: is this wrong on my client's part?
Me too Brad. But he was not going to be budged. He used to code ColdFusion back in hte pre-MX days, and he is of the opinion that client variable are unreliable. My recollection of the one experience i had of client vars in CF4.2 was pretty bad then too, so I think he has some justification for that view. But client vars are a whole new thing nowdays. sessions cant be relied on because of the clustering. But i'm with you. I wonder what are the odds that i'm going to write client vars myself, without being able to test them in the live environment, and they're going to be better/faster/more reliable than the out of the box client vars?Ha! I reckon i'm pretty good at this but not THAT good. 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 5/16/07, Brad Wood [EMAIL PROTECTED] wrote: I still don't understand why your client won't let you use client or session management etc. Can those be exploited? At first thought I would feel safer with Adobie's tested and true code than my own home-rolled attempt at something like that. ~Brad ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: is this wrong on my client's part?
Yes, I had my nose in the air when I was typing it, couldn't you tell? ;o) Chris Andy Matthews wrote: We just thought you were being pretentious when you said liqueur. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:36 PM To: CF-Talk Subject: Re: is this wrong on my client's part? The more I think about it, the more I just want to tell the guy to get stuffed. If he doesn't trust anyone then he better start teaching himself to code these things. I might be able to understand him wanting to check you out, ask for references that sort of thing, but to just distrust you (or anybody it seems) is absolutely ridiculous. Tell the guy good luck trying to find anybody who would code under those restrictions! talk about bloody spell check I meant liquor store in my original post, not liqueur store... bah! Chris ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278209 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: is this wrong on my client's part?
Also, Mike are you going to be delivering him straight CF code, or will you be delivering him byte code only or perhaps encrypted CF? Jochem van Dieten wrote: Mike Kear wrote: I think i'm going to hold my ground and demand he pays me before he gets the CD. He can see a test version on my shared server, so he can be confident that i have actually done the work, and see the functionality. So in theory that only things that ought to need changing are issues that relate to the clustering or his environment details. Put in a time bomb, label it beta, compile the code, deliver it to your customer. Source code without time bomb will be delivered when code has been accepted and payed. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278210 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: is this wrong on my client's part?
Nice... I would second that. I do something similar but also include an IP restriction in it that can either go to a BETA screen, sets a session variable and than continues... or simply throws a fatal error. The worst part is that there's no chance you could even try to replicate the exact same environment. Good luck... !k -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:54 PM To: CF-Talk Subject: Re: is this wrong on my client's part? Mike Kear wrote: I think i'm going to hold my ground and demand he pays me before he gets the CD. He can see a test version on my shared server, so he can be confident that i have actually done the work, and see the functionality. So in theory that only things that ought to need changing are issues that relate to the clustering or his environment details. Put in a time bomb, label it beta, compile the code, deliver it to your customer. Source code without time bomb will be delivered when code has been accepted and payed. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278211 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: is this wrong on my client's part?
Beer button? Complete Genius... !k -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:21 PM To: CF-Talk Subject: Re: OT: is this wrong on my client's part? Good Lord Mike, why on earth did you agree to this kind of arrangement in the first place!? :o) I think I'd tell the client to get stuffed, but if you've already put in a bunch of time on it then I think I'd triple my normal rate, and do like you said and charge for each and every bug you fix. On another front, I've got pretty strict guidelines about who I'll do work for (meaning what sort of business). For instance, I'd never do any developing that contributed in any way to the sale of pornography. My company has turned down jobs for liqueur stores, and once for a movie theater that wanted us to install what amounted to a beer button on each of the seats in their theater. What I'm saying is that I'd be *extremely* uncomfortable working for a man who wouldn't let me know anything about his product or who couldn't trust me to come to his location and code on his equipment. In short, I think it's your client who's being unreasonable, and you just seem to be doing your best to deal with it. Cheers, Chris Mike Kear wrote: I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278212 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: is this wrong on my client's part?
Billy Cox wrote: I would bet that such a project has 0% chance of running when the client 'loads it up'. There are just too many miscellaneous things that could be configured wrong or miscommunicated for something to work with no on-site testing/debugging. Proper configuration really isn't that hard. After all, what do you need? Say 3 datasources, a mail server, an upload directory and a few mappings. Just put some code in you onApplicationStart that tests for those things and displays a clear and helpful error message if one of them is missing. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278213 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: is this wrong on my client's part?
*sigh* client's that know just enough to get in the way. He thinks he knows what he's talking about because of his pre-MX experience? From the time before they completely re-wrote the language from the ground up in Java? Bother. I'm surprised he's not making you put cflocks around all your queries. Rubbish. Who is this guy? I want to beat him up now. ;o) Chris Mike Kear wrote: Me too Brad. But he was not going to be budged. He used to code ColdFusion back in hte pre-MX days, and he is of the opinion that client variable are unreliable. My recollection of the one experience i had of client vars in CF4.2 was pretty bad then too, so I think he has some justification for that view. But client vars are a whole new thing nowdays. sessions cant be relied on because of the clustering. But i'm with you. I wonder what are the odds that i'm going to write client vars myself, without being able to test them in the live environment, and they're going to be better/faster/more reliable than the out of the box client vars?Ha! I reckon i'm pretty good at this but not THAT good. 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 5/16/07, Brad Wood [EMAIL PROTECTED] wrote: I still don't understand why your client won't let you use client or session management etc. Can those be exploited? At first thought I would feel safer with Adobie's tested and true code than my own home-rolled attempt at something like that. ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: is this wrong on my client's part?
Yeah, the company I work for is small and all of us are Mormons (well, there are two who aren't, but they're good guys) so we tend to take a little stricter view on things like alcohol... but make it a Sprite button and I'm right there with ya! :oD Cheers! Kevin Aebig wrote: Beer button? Complete Genius... !k -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:21 PM To: CF-Talk Subject: Re: OT: is this wrong on my client's part? Good Lord Mike, why on earth did you agree to this kind of arrangement in the first place!? :o) I think I'd tell the client to get stuffed, but if you've already put in a bunch of time on it then I think I'd triple my normal rate, and do like you said and charge for each and every bug you fix. On another front, I've got pretty strict guidelines about who I'll do work for (meaning what sort of business). For instance, I'd never do any developing that contributed in any way to the sale of pornography. My company has turned down jobs for liqueur stores, and once for a movie theater that wanted us to install what amounted to a beer button on each of the seats in their theater. What I'm saying is that I'd be *extremely* uncomfortable working for a man who wouldn't let me know anything about his product or who couldn't trust me to come to his location and code on his equipment. In short, I think it's your client who's being unreasonable, and you just seem to be doing your best to deal with it. Cheers, Chris Mike Kear wrote: I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe:
Re: OT: is this wrong on my client's part?
Ammend it to the contract - no warrantees as unable to test. Make the client sign. If you don't have a contract, write one up right now! This sounds like trouble waiting to happen - a potentially bad situation where the only resolution is for you to lose money! Good Luck, Joe Kelly On 5/15/07, Kevin Aebig [EMAIL PROTECTED] wrote: Beer button? Complete Genius... !k -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:21 PM To: CF-Talk Subject: Re: OT: is this wrong on my client's part? Good Lord Mike, why on earth did you agree to this kind of arrangement in the first place!? :o) I think I'd tell the client to get stuffed, but if you've already put in a bunch of time on it then I think I'd triple my normal rate, and do like you said and charge for each and every bug you fix. On another front, I've got pretty strict guidelines about who I'll do work for (meaning what sort of business). For instance, I'd never do any developing that contributed in any way to the sale of pornography. My company has turned down jobs for liqueur stores, and once for a movie theater that wanted us to install what amounted to a beer button on each of the seats in their theater. What I'm saying is that I'd be *extremely* uncomfortable working for a man who wouldn't let me know anything about his product or who couldn't trust me to come to his location and code on his equipment. In short, I think it's your client who's being unreasonable, and you just seem to be doing your best to deal with it. Cheers, Chris Mike Kear wrote: I have a client who is REALLY paranoid about access control and who wants me to develop a complex shopping cart for him, but never have access to his system. I have to submit my finished project on CD, then he'll load it up and test it and let me konw if it works. The site is a cluster of two servers, probably on windows, not sure at this state, and the CF will be probably CF7 Enterprise.The database will be definitely SQLServer2005. I'm not allowed to use cookies of any kind, not allowed to use client variables, not allowed to use sticky sessions, so that means i have to write my own version of client variables, using UUID as url variables. Oh and new UUID has to be issued on every single page view.The shopping cart is multiple currency, has to be custom written, as does everything else. Because he wants to own outright all the IP in the project, no pre-written modules can be used. Everything must be custom written for him, so he can own all the IP. I built the prototype on my shared server, and it was a very interesting exercise for me, writing my own version of client variables, but it wasnt without anguish. There were quite a few minutes spent scratching my head figuring out how to do some of the parts of the site. I am reluctant to deliver the site for acceptance testing without ever having had the chance run the code myself on its finished environment, or even having the chance to see what the environment is. (The devil is in the detail all too often, dont you think?) He's going to install my code on the servers, test it, then describe to me what needs changing, or describe what's broken. (I wont be able to see the errors for myself because it will be behind firewalls at that stage). Then I'll fix the errors as described or make whatever changes they request, submit the code on CD again, and they'll tell me if i have fixed the problem. So here's my question. I dont like this arrangement at all. And i'm asking your opinion about what I should do. My current inclination is to deliver the code as requested, but without any warranties that it will work, since I have been required to build it without any means of testing it in their environment. I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. Then bill them for every change they want made, whether bug fix or enhancement.I figure i can get away with (truthfully) saying that might be an error on your system but it works without that error on my test environment and since you denied me access to your environment you will have to pay me to make a change. Am i being unreasonable with this? 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 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278216 Subscription:
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
I was requested by the client to design something like www.clubexpress.com. When you register with Club Express you are given an URL after your Club's short name. So for instance if you Club name is Jochem then you would be given an URL like http://jochem.clubexpress.com/ with your default Club's page and login screen. This is exactly what I need to do with ColdFusion. When an user register its club an url for that newly created club is created. That's the functionality I need and nothing else. Ravi. Jochem van Dieten wrote: Ravi Gehlot wrote: Do you still have this script? It is not just a script, it is a highly specific DNS + DHCP management solution tied to RADIUS authentication for a small ISP and unless you are doing the first eduroam deployment in the US ever you are not going to need 99% of it. I have cleaned up the fragment that does an actual nsupdate call and attached it below, but if you want more you need to be specific in what you want. Jochem All code: Copyright OnLine Internet, 2004 License: BSD, http://www.opensource.org/licenses/bsd-license.php Library function that does the actual nsupdate call: /*- * * function nsupdate($command, $server=localhost) * Pushes the command to the DNS server * * Parameter * string $command * the nsupdate command to execute * string $server * the server to send the update to, default localhost * * Return value * number $error - * 0 for success * 1 for error *- */ function nsupdate($command, $server=localhost) { // Verify $command is valid nsupdate command if (!eregi('^update (add|delete) [^ ]+ .+$', $command)) { logError(Invalid nsupdate command string supplied: . $command); return 1; } $nscommand = server . $server . \n; $nscommand .= $command . \n; $nscommand .= \n; $nscommand .= quit\n; $filename = '/tmp/' . md5(uniqid()); file_put_contents($filename, $nscommand); echo pre; readfile($filename); echo /pre; $last_line = system('/usr/local/bin/nsupdate ' . $filename, $retval); unlink($filename); if ($retval) { logError(nsupdate error, string supplied: . $command); } return $retval; } Action page that accepts a form post, validates it and calls the nsupdate library: if (isset($_POST[Add])) { // Format the input if ($type == 'A' || $type == '' || $type == 'CNAME' || $type == 'MX') { $_POST['name'] = eregi_replace('(.*)\.', '\1', $_POST['name']); } if ($type == 'CNAME') { $_POST['value'] = eregi_replace('(.*)\.', '\1', $_POST['value']);; } $command .= update add . $_POST['name'] . 86400 . $type . . $_POST['value']; // Run the update $error = nsupdate($command); // Check the result if ($error) { die(nsupdate failed, rollback.); } print('Record added.br /a href=index.phpBack/a'); exit; } ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278217 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: I was requested by the client to design something like www.clubexpress.com. When you register with Club Express you are given an URL after your Club's short name. So for instance if you Club name is Jochem then you would be given an URL like http://jochem.clubexpress.com/ with your default Club's page and login screen. This is exactly what I need to do with ColdFusion. When an user register its club an url for that newly created club is created. That's the functionality I need and nothing else. But for that you don't need to change DNS on the fly. You only need to change it once: create a wildcard record in DNS (*.clubexpress.com) and point it to the IP address of your webserver and you are done. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278218 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Got it. So the subdomain naming would be possible by changing the URL name using ColdFusion? Ravi. Jochem van Dieten wrote: Ravi Gehlot wrote: I was requested by the client to design something like www.clubexpress.com. When you register with Club Express you are given an URL after your Club's short name. So for instance if you Club name is Jochem then you would be given an URL like http://jochem.clubexpress.com/ with your default Club's page and login screen. This is exactly what I need to do with ColdFusion. When an user register its club an url for that newly created club is created. That's the functionality I need and nothing else. But for that you don't need to change DNS on the fly. You only need to change it once: create a wildcard record in DNS (*.clubexpress.com) and point it to the IP address of your webserver and you are done. Jochem ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278219 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Fusebox Help
Just to follow up on this, I think Qasim's suggestion was right on the mark. I updated that Fusebox setting, cleared all the parsed files, and started surfing the site again. The random errors we were getting no longer appear present, and I'm crossing my fingers hoping they don't return. Thanks Qasim! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Jordan Michaels wrote: Hello Qasim, Thank you for this. I'm learning a lot about Fusebox as I work on this project. =) The fusebox.xml.cfm has the mode set to Development. I will try to do my research on what effect this has on the application as a while, but any additional pointers you could provide would be greatly appreciated! Thank you for this! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Qasim Rasheed wrote: Jordan, The autogenerated files should be in the parsed directory under your application root. This is where fusebox keeps generated files after it has gone through the compile process. If your site in development mode (i.e. mode parameter in fusebox.xml.cfm file? Thanks Qasim On 5/14/07, Jordan Michaels [EMAIL PROTECTED] wrote: There we go. Fusebox 4. Thanks Josh. I completely agree with your comments as well. I'm not trying to imply anything about the stability of fusebox, but since neither I, or anyone in my shop has spent any large amounts of time working with Fusebox. I guess I was just wondering if anyone had seen this kind of behavior before. My (limited?) understanding of fusebox suggests that there are some pages which are interpreted, then written to the file system. I'm wondering if these seemingly random errors have anything to do with that process. Like perhaps wherever the problem lies is in the process that creates these files? Perhaps this process is not able to finish, or is finishing incorrectly each time the page is hit... and that results in the random code errors? That is where my thoughts are taking me at the moment anyway... Any insights anyone has would be immensely appreciated. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Josh Nathanson wrote: Has anyone seen this kind of behavior in a Fusebox site before? Any suggestions on where I should start looking for a problem cause? Since the errors appear to be random (go to page, click a link, get random error - go to page, click same link, get different random error) I'm not sure where to even begin. Jordan - the best way to at least figure out the version is to look for index.cfm in the root, open that file and see which core file it's calling (assuming they're using index.cfm as the main template). Fusebox in itself is not inherently buggy, but like any other framework, poor coding will lead to poor results. -- Josh ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278220 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: is this wrong on my client's part?
I am thinking I'll submit my final invoice for the completion of the job on an as is basis, and give them the CD with the code on it when i get the cheque. And I'm thinking you're damn right! ;-) when i get the cheque. When you get the cheque CASHED! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278221 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, addHost.sh and deleteHost.sh perhaps?
Ravi Gehlot wrote: Got it. So the subdomain naming would be possible by changing the URL name using ColdFusion? Anything in the address bar of the browser will work. Take for instance Slashdot: their standard URL is http://slashdot.org/, but they have a wildcard set up in DNS and the webserver and they will also respond to: http://coldfusion.slashdot.org/ http://iamawildcard.slashdot.org/ http://zjbfljfdgbdmsdfgdsgsgs.slashdot.org/ Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278222 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4