Thoughts... Parameterized won't work if directories are CFFile write/edit locked with sandbox security. This can be an issue on shared hosting as well as tightly managed retentive corporate networks. Sandbox is the friend of security and the bane of server side code modification.
The fancy tool you have would be great... IF ... (like I said before) the person purchasing has the technical know how. The point is that the simpler you make it for admin (and if you are trying to mass sell a product you need to plan on dumbing down the installation, not making it something that makes sense to me or you... it's sort of persona oriented concept for installation rather than interface) If someone is a skilled developer then your last post make sense in that respect. When you rely on a skill set and server configuration then you fail one of the concepts of OO that is trumpeted. You start developing external dependencies on the technical staff and hardware configuration. Bottom line is they should be able to FTP the scripts into place. Parameters create external dependencies. (This is my take of course and the opinions expressed here may not be representative of the discussion list on which they are posted. HEH) Cheers also, John Farrar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barney Boisvert Sent: Sunday, September 11, 2005 4:26 PM To: [email protected] Subject: Re: [CFCDev] Factories and mappings You don't have to do it server-side. For example, all of my FB4 apps are 'built' as part of publishing. The code comes out of source control, is processed by `ant`, and then uploaded to the server. So the server has no knowledge that the code it gets isn't what's in the repository. For that matter, you could just as easly use a standard install program. Just ship the parameterized code in the installer and as part of the installation, the user specifies the criteria and the installer updates the code as part of 'unzipping' it for them to upload to the server. cheers, barneyb On 9/11/05, John Farrar <[EMAIL PROTECTED]> wrote: > I see a big issue with rewriting files at install time. The issue isn't the > mapping. (Although that does limit your sales to someone who has enough > knowledge to understand what a mapping is and what you are telling them to > do during install. Portability is more than how a piece of code runs... what > you are saying is the code isn't portable.) > > Aside from that, there is also the issue that some hosting environments lock > down directories so that the code cannot write files without you requesting > them to manually add CF permissions to write, update files in those > directories. (Sandbox security) This is just a fact (and I have debated the > policy with some of those companies personally.) > > John Farrar > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
