Forum Moderators: coopster
I'm creating a backend system on our localhost that will process email sales orders and create csv files for customers and sales orders that will be imported into our accounting system. Tied into that will be another project that allows us to print pre-selected labels on demand for each order. All kinds of fun... and all controlled from a local menu system. The idea is to let the mouse do all the work, or much of it anyway.
Of course, this all comes with a considerable amount of 'unseen' work, in the way of transaction tables, batch controls, file management, inventory management and so on. Just the sort of thing that, as a programmer, I live and breathe for. So, in a foo sort of way, what are some your more memorable projects?
1. it never ends up as you envisioned it, if it it does, you missed something
2. the majority of the things I have written are still up and running, even the first thing I ever touched is still up.
3. that would really depend, I know there are some that would take some time to reacquaint myself with, some recent ones that I have highly tweaked/optimized would be the worst and these are the most recent ones I have done
4. I might laugh while doing so but I am not ashamed or embarassed about anything I have done and would admit it.
This is one of the dangers of PHP. It's so easy to write code that works that it's very tempting to write code that isn't possible to follow any more.
I've had the privilige of seeing some of grandpa's php and must say he's quite the coding whiz, not afraid to go out charting new territories.
This question #3 reminds me of some code 'touching up' I've done. You know code part A, part B, and part C work - but someone wants the functionality of part A in part B, and you realize that a portion of the code of part B will then have to be added to part C to work -
at a certain point you feel like Mr. Frankenstein creating his monster out of different body parts which were never meant to be together, but forced together by the will of the programmer. You take a lively whole, dissect it, and from the parts thereof try to resuscitate a completely different living whole, albeit from previously living, similar body parts. There is something faintly revolting about this whole type of operation, however much time it is supposed to save in not coding afresh.
Starting with this new local system, I'm creating documentation for lists of tables and their definitions, handy console commands, and other development notes. They're all available from the main menu. It's already been handy to have.
Memorable/milestone projects:
Converting my link directory to a PHP/MySQL system with complete controls. Adding a few entries to a form updates any page in a few seconds... no more editing. Deletes are a mouse click away. Works with banners or text. It's also one of the least used programs I've written. But it works great!
Custom logging. Log files are at the bottom of our food chain.. they don't produce revenue! I believe in them anyway, enough to have collected some decent stats.
<chop> </chop>