Emaze Recruiter: Code

Terminology
Location Address of a company office. Each location contains one or more departments.
Department Company department. Each department may be in one or more locations.
Job A job for a particular location / department combination. A standard job title, e.g., secretary, may be used in multiple jobs. Each job belongs to an interviewer, who is the primary contact person for that job.
Interviewer Employee who has the authority to create new jobs, interview an applicant, or is the primary contact person for a job. The primary contact has permission to determine which interviewers have permission to access the applicant's information and to create the interview schedule. Each interviewer belongs to a location / department combination, but may be interview applicants for any job.
Applicant Individual who applies for a job with your company.
Correspondence Letters and/or emails sent to the applicant that are created by Emaze Recruiter.

Directories
EmazeRecruiter Contains files for login, adding new interviewers, and the files for the applicant interface (i.e., the screens applicants see).
applicants Contains a directory for each applicant which stores the applicant's uploaded resume and any correspondence. At this time, the resume may be text, HTML, or an MS Word document.
forums Files which run the discussion forum.
images Contains the images (thus the name)
program Main program files.
system Stores system options.



Below is a list of all files by directory, with an explanation of the purpose of each file. Each file is commented to help you understand how Emaze Recruiter works. We have made every attempt to comment the code as best as possible. However, if you ever have any questions, please let us know.



EmazeRecruiter/
index.cfm Login script for interviewers and Admin.
initialize.cfm Initializes Emaze Recruiter during installation.
jobs.cfm Home page for applicants. Displays job listings and link to search page.
jobsApply.cfm Script which uploads applicant's job application.
jobsSearch.cfm Presents search options to applicants.
jobsSearchResults.cfm Displays jobs which meet search criteria.
jobsTemplate.cfm Template for displaying jobs. Used on both listings and search results pages.
jobsView.cfm Displays job details and application for job.
newInterviewer.cfm Enables interviewers to add themselves to the user database without first granting access to the system.


EmazeRecruiter/applicants/
#applicantID#/ Directory created for each applicant. Contains all correspondence (letters, emails) and uploaded resume, if applicable.
letter#fileID#_#type#_#applicantID#_#jobID#.cfm File name for correspondence. First part distinguishes letters from emails. FileID is unique for each correspondence. Type refers to type of correspondence: interview, no interview, offer, and no offer. ApplicantID is unique applicant identifier. It is not necessary, but is included in case file gets moved accidently. JobID is the unique job identifier. It distinguishes correspondence for the various jobs the applicant applied for.
email#fileID#_#type#_#applicantID#_#jobID#.cfm


EmazeRecruiter/forums/
delete.cfm Deletes message. Requires proper permission.
forumIndex.cfm Displays index of messages at top of forum.
postMessage.cfm Inserts new messages into database.
postMsgTemplate.cfm Form for posting a new message.
printMsg.cfm Displays messages in forum.
readForum.cfm Main forum page. Calls all other pages to create forum.
reply.cfm Creates page when replying to a message rather than posting a new one.


EmazeRecruiter/program/
admin.cfm Displays admin screen (only for Admin user)
applicant.cfm Manually adds applicant to database for primitive applicants who applied offilne. Called from homepage (homepage.cfm) or choose applicant page on interview options (interviewApplicant.cfm).
applicantFields.cfm Determines which fields applicants are requested to enter when applying. Called from Admin screen (admin.cfm).
correspond.cfm Displays email or letter in print-ready format on a separate page. Called from interview process page (interviewOption.cfm).
discussion.cfm Set options for discussion forum. Called from Admin screen (admin.cfm).
editInfo.cfm Updates interviewer information. Calls from Edit User Info button on navigation bar.
getApplicantJobs.cfm Query which retrieves jobs for which applicant has applied. Included in several files rather than copied.
getAttachment.cfm Downloads applicant's resume. Checks that resume is there before downloading, avoiding an error. Also avoids displaying full URL to file.
help.cfm Help screens. Will eventually be context-sensitive.
homepage.cfm Displays homepage, which is screen displayed upon logging in.
interview.cfm Contains frameset for performing interview actions.
interviewAction.cfm Performs various interviewing actions. Some actions are handled completely in this file, while others merely present the initial edit screen and call intervieAction2.cfm for processing. Called from interview process page (interviewOption.cfm).
interviewAction2.cfm Processes interviewing actions which require edit screen. Called from interviewOption.cfm .
interviewApplicant.cfm Middle frame of interview frameset (interview.cfm). Displays applicants for the job chosen in interviewJob.cfm or from the homepage.
interviewJob.cfm Top frame of interview frameset (interview.cfm). Displays jobs.
interviewOption.cfm Bottom frame of interview frameset (interview.cfm). Displays options for that applicant/job.
jobListing.cfm Determines which job fields are displayed on job description which applicant sees and which fields are reqested when creating/editing jobs. Set search options for applicant. Called from Admin screen (admin.cfm).
jobPage.cfm Set page title, headers and footers of pages applicant view. Called from Admin screen (admin.cfm).
jobPost.cfm Determine which jobs are posted to the site. Called from Admin screen (admin.cfm).
login.cfm Set header and footer for interviewer login screen. Called from Admin screen (admin.cfm).
logout.cfm Logs interviewer out of Emaze Recruiter. Delete cookie and forwards to logout URL.
navigate.cfm Displays navigation buttons at top and bottom of pages..
notes.cfm Displays interviewer notes on a separate page for printing.
options.cfm Initial screen for creating, editing and deleting locations, department, interviewers, and jobs. Called from homepage.cfm and admin.cfm .
optionsEdit.cfm Processes changes from options.cfm .
schedule.cfm Displays interviewer schedule for normal interviewers. Called from homepage.cfm .
secure.cfm Ensures that only authorized users may access each file. Included at the top of every file.
system.cfm Determine system variables, including paths and URLs. Called from Admin screen (admin.cfm).
templates.cfm Edit letter and email templates. Called from Admin screen (admin.cfm).
viewApplicant.cfm Displays applicant's information for normal interviewers. Called from homepage.cfm .


EmazeRecruiter/system/
appFields.cfm Stores a list of fields which applicant ia asked to enter. File created from options in program/applicantFields.cfm .
discussionInfo.cfm Stores the options for the discussion forum in program/discussion.cfm .
emailServer.cfm Stores email server address.
jobFooter.cfm Stores footer of job home page which lists available jobs for applicants.
jobHeader.cfm Stores header of job home page which lists available jobs for applicants.
jobList.cfm Stores lists of fields listed when applicant views job information as well as list of search options.
jobTitle.cfm Stores title of HTML pages which applicants will see when viewing available jobs and applying.
loginFooter.cfm Stores footer or login screen for interviewers. Of course, if they login automatically via cookie, they bypass the login screen anyway.
loginHeader.cfm Stores header or login screen for interviewers. Of course, if they login automatically via cookie, they bypass the login screen anyway.
nextApplicantID.cfm Stores next applicant ID to be assigned when creating a new applicant.
nextDepartmentID.cfm Stores next department ID to be assigned when creating a new department.
nextFileID.cfm Stores next file ID to be assigned when creating a new letter or email for correspondence.
nextInterviewerID.cfm Stores next interviewer ID to be assigned when creating a new interviewer.
nextJobID.cfm Stores next job ID to be assigned when creating a new job.
nextLocationID.cfm Stores next location ID to be assigned when creating a new location.
nextMsgID.cfm Stores next message ID to be assigned when creating a new message.
nextNoteID.cfm
nextScheduleID.cfm Stores next schedule ID to be assigned when creating an interview schedule.
searchHeader.cfm Stores header of search screen applicants use when searching jobs.
systemDomain.cfm Stores domain of server and whether Admin has allowed automatic cookie login. Domain is used when writing permanent cookie to interviewer's browser to ensure only your server can read the cookie.
systemInfo.cfm Stores path and URL to EmazeRecruiter directory, name of the Cold Fusion datasource, and the logout URL.
viewJobHeader.cfm Stores header of screen applicants see when viewing job information.



Copyright 1998, Emaze Software Corporation. http://www.emaze.com
If you have any questions, please email us at sales@emaze.com .