Software Packages
October 23rd, 2005
It has dawned on me that I really need to write some software packages/modules that I’m going to be using a lot, and will help me out with work and so forth.
Here goes…
Shopping Cart
Must set this up to work similar to americart - you call an ‘add.php’, supplying values via post.
Try: prod_id, product, price, quantity
Software would have a simple ‘orders_in_progress’ mysql table, perhaps? to store all products in ‘my’ cart. ‘my’ cart would operate view session and cookie values.
Would have to support stone-edge order management system - that is, just a CSV output I think! Must check into this.
Benefit of doing this vs using americart:
- americart is not cheap.
- can customize how it works this way
- could tie into a product database on larger sites
- can create custom handlers for mailout, notifications, etc
then:
Monthly Script
This is the killer app for the moment.
Remote sites - each site with Advlogger Statistics installed. I add a ‘fetch-stats.php’ file to each site, and input the URL of fetch-stats into the central server.
Central server calls each remote site on execution, gathering stats and compiling a report.
Will save some incredible time at work!
then:
Domain Management
Store’s a list of domain names, complete with all details - domain registrar, hoster, user/pass details for all services, cart information, contact information, etc. Can adapt from the ‘tailored internals’ that I set up.
Merge it with the domchecker script I wrote, which periodically checks to see if a site is up or down.
Allow user to specify the email address/es that get notified if a site goes down.The current interface needs a fkn major face-lift - should also use mysql authentication, rather than .htaccess, just to make it easy to move around.
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>