.txt> Code Samples: Mark Dalius, Web Developer

Code Samples

Here are some code samples, organized by language. Entire applications are runnable and have downloadable source code, while smaller programs just display the source code.

PHP

Name: Description: Links:
DRAFT Application Program which allowed our analysts to send "draft" copies of analyses to clients for review before those analyses were published. This enabled clients to check the analyses for factual errors and report the findings back to the analysts. The analyst would enter an identifier for an upcoming shareholder meeting, set a due date, and submit the analysis to the client. The client would log in, review the analysis, post any comments, and submit the analysis back to the analyst. The analyst would review the comments, then mark the analysis as complete. Written while I worked for Institutional Shareholder Services. Unfortunately, the app was written to be IE-only (this was not my decision). Some DHTML features do not work in standards-compliant browsers.

Run Analyst Application (IE Only)

Run Client Application (IE Only)

Download Analyst Application (right-click and save-as)

Download Client Application (right-click and save-as)

AdMaster

Program written for Eisner Communications to keep track of ad inventory for client US Airways. Additionally, different user types would be able to upload ads, approve ads, or view ads only.

Valid usernames/passwords:

  • admin/password
  • agency/password
  • client/password
  • limited/password

Run AdMaster

Download AdMaster (right-click and save-as)

Perl

Name: Description: Links:
Appealcode Loader Program which loaded the contents of a text file into a database on a daily basis. This text file stored "appeal codes" which were used to track the effectiveness of particular marketing efforts. Written when I worked for ChangeWave.com. View Source (new window)
Ticker Downloader Program which assembled a current list of stocks, then connected to a remote database run by FinWin and downloaded the data, parsed it out of a WDDX packet, and updated the local database. Written when I worked for ChangeWave.com. View Source (new window)

Shell Scripts

Name: Description: Links:
dbbackup.sh Program which backs up a MySQL database, keeping one week of backup copies. Run as a cron job. Written when I worked for ChangeWave.com. View Source (new window)
dbcheck.sh Program which checked the MySQL database daily for errors, and emailed any that it found. Run as a cron job. Written when I worked for ChangeWave.com. View Source (new window)
List Processor Program which processed multiple mailing lists, checked for duplicate records, and concatenated the lists as appropriate. Run as a cron job. Written when I worked for ChangeWave.com. View Source (new window)