Files To Deploy

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Files To Deploy

Post by ZLA » Tue May 19, 2009 8:59 am

When I upload and copy my development files to my test server, is there a list of files / folders that should not be copied? For example, I assume I should not upload the following:
  • Install Folder
  • Unused Themes
  • Files in Webcharts Folder
Are there any other files to watch out for? For example is the ClientAPI folder or ClientApiService.ashx used by the system or is that only for extensibility?

Lastly, are the pages in the root folder that are commonly removed if a feature is not being used, so as to prevent someone from accessing the file by typing in the URL manually? For example, should I keep PayPalExpressCheckout.aspx if we only allow Credit Card transactions?

Thanks in advance.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Files To Deploy

Post by jmestep » Tue May 19, 2009 5:26 pm

The Client API ones are used for the dataport connection and processing.
You can delete the files you aren't going to use, but if for some reason in the future someone else works on the site and is wanting to change something, like add paypal, they are not going to know what happened to a file that is supposed to be there.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Files To Deploy

Post by ZLA » Tue May 19, 2009 7:55 pm

That's a good point about other developers. Visual Studio can exclude files by appending .exclude to the filenames. I'll just do that and make sure to delete the original from the web server.

Based on your extensive knowledge and experience, are there any pages that could be problematic if accessed manually when the system isn't configured to use them? There are two issues here. The first is a customer seeing a page that hasn't been styled to match the rest of the system and / or which may not function. This is probably not too terrible.

My bigger concern is that some page could let a user do or see something they shouldn't because the system assumes the functionality will be used normally. Am I just being overly paranoid?

Thanks Judy.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Files To Deploy

Post by jmestep » Wed May 20, 2009 6:38 am

I think you're being a little too cautious. A page like the PayPalExpressCheckout should show an error if someone tried to access it. I haven't double checked, but it probably needs someone logged in and with an order number.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Files To Deploy

Post by ZLA » Wed May 20, 2009 7:19 am

Thanks Judy. I do tend to be a belt and suspenders type. But I have seen applications where such problems did exist.

Post Reply