Prev | Current Page 873 | Next

Frank Zammetti

"Practical DWR 2 Projects"

How exactly you determine when something
has changed and what particular row of what table to highlight is up to you to figure
out!
??? Add timesheet approval/rejection capabilities. This is one of those things that gets left
on the cutting room floor, so to speak, due to time constraints. As I had envisioned it,
there would be an additional isManager field in the User object and a manager field that
would tie a user to a given manager. Then, timesheets would be submitted by users
when complete and would appear for their manager in an approval queue. The manager
could then view the timesheet and either approve or reject it. There would also be
an archival capability so that when a timesheet is submitted and approved, it gets
CHAPTER 9 n TIMEKEEPER: DWR EVEN MAKES PROJECT MANAGEMENT FUN! 520
archived, but can be recalled by a manager (or the submitting user) later. Going along
with all this was going to be an automated process that would alert a user, and his or
her manager, that a timesheet should have been submitted. As you can see, the plans
were pretty grandiose, and it??™s no wonder I had to drop this: it??™s no small task to implement
this! Still, if you undertake this challenge, I think you??™ll find the exercise extremely
challenging and yet rewarding.


Pages:
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885