CSV Writer
Friday night @paul and I finished a quick PHP script for Meredith and one of her clients. Basically she wanted to call a script that took a specific SQL query and have the results placed in a CSV file, with a log of successes and failures.
Writing the initial version of the script was straight forward logic-wise, although I did have some trouble connecting to a Azure MSSQL server. After the database was changed to a MySQL database, it worked perfectly.
Then I sat down with Paul and we worked on making it object oriented, fully commented and documented, completely abstracted and reusable. It was really satisfying to take something simple like that and flesh it out fully. The auto-PHPdocs are really cool. I've gotten paid for programming jobs before but that was probably the cleanest job I've worked on.
I really want to work on more freelance type scripting jobs now that I have a better idea of how to setup a good workflow.
[bgcolor]#bcfeff[/bgcolor]
Writing the initial version of the script was straight forward logic-wise, although I did have some trouble connecting to a Azure MSSQL server. After the database was changed to a MySQL database, it worked perfectly.
Then I sat down with Paul and we worked on making it object oriented, fully commented and documented, completely abstracted and reusable. It was really satisfying to take something simple like that and flesh it out fully. The auto-PHPdocs are really cool. I've gotten paid for programming jobs before but that was probably the cleanest job I've worked on.
I really want to work on more freelance type scripting jobs now that I have a better idea of how to setup a good workflow.
[bgcolor]#bcfeff[/bgcolor]