Date Projection Spec
Code: PHP 5
Application: Web implementation.
Purpose: My web page/script will call date projection code. Based on payment frequency properties passed to the date projection routine, including the target month and year, the routine will return for the target month and year the date or dates in that month where the properties indicate. If there are multiple dates in the target month they will not be on the same date.
To help communicate the idea going on here think of a membership system. Dues are collected in memberships. When are those dues due to be paid? Well, that is the question to solve. (my bank billpay website lets me schedule bill payments using this type of scenario, as does Microsoft Outlook in regards to scheduling recurring events).
The club website will allow a user to schedule membership dues based on the following payment frequency properties:
- every 2 weeks
- every 4 weeks
- twice a month
- every 2 months
- every 3 months
- every 6 months
In my php code I want to pass to this 3rd party date projection code whatever is needed from the membership record to give the code the info to project, say for May 2008, what date(s) dues will become due (the membership database record is up for definition in my project). This will happen on demand by a member/web visitor.
Member Fred Flinstone wants to pay dues every two weeks (presumably when he gets a paycheck). On demand he runs a routine that will tell him, for whatever month and year he indicates, when his dues are due.
I don't know the language and terms of how to architect PHP code so I'm not sure what to ask for in PHP terms. What I imagine I want is to read a member record so I can grab their payment frequency properties, I've collected and validated from the user the target month and year. All that data gets passs to this 3rd party code, and in return I'll get the date or dates of due days for the target month. The return data from the 3rd party code can be in the form of an arrary, or something I can read at my skill level with php (php beginner, intermediate programmer).
5 freelancers are bidding on average $578 for this job
Hi Hope you'll consider me for your ajaxphp project. I'm a PHP/MySQL programmer with over 7 years experience so you can be sure I'll deliver the work on time and with your requirements met. Best regards