I’ll be brief. I didn’t do anything over the weekend to make note of. I didn’t even shoot ‘n’ ‘Shop. I’m just too stressed out right now, and I haven’t found a solution to my problem yet.
What problem, you ask? Oh, you know. The one where I was supposed to have this really important computer program ready by the end of June. The one whose deadline made that really great sound as it went rushing past me.
I have the “solution” – sort of. My buddy Bryce was right after all – MVC is the way to do this. The best way to do this, and in fact, the best way to update the entire intranet site. But I can’t just “poof” it over. There’s going to be some external planning and gathering feedback from those who supposedly use it.
Nevertheless, I’ve learned my data access layer (remember our beloved DAL?) will return its yield to the MODEL (or the “M” portion of “MVC”), and the model will construct the abstracted objects (this is, after all, OBJECT oriented programming) and return those to the CONTROLLER(s) (or the “C” part of “MVC”). The controllers then pass the object to the VIEW (or the “V” portion of “MVC”) to be displayed on the screen.
It took time for me to get the puzzle pieces to fall in place…for some reason. But the DAL represents one of the models in my MVC application. There are others, of course. The other models will get the raw data from the DAL and then mash it into those objects the controller can pass to the view for presentation.
And it will all start with a master page, which opens directly when the user(s) click a link from the main page. The master page of the MVC app should display a list of things the user can do, and a list of the CSRs*, methinks. (The “user(s)” in this case are going to be the CSS**, me, my boss, and because they’re allowed to dispute the claims of mistakes against them, the CSRs, for at least one area.)
It’s a big undertaking but man! I needed to be farther down the road with this than I am. And I’m ashamed because I can’t explain why it took me so long to wrestle this simple concept to the ground.
I think I’ve got it on the ground now though, and can begin to step on its throat until it cries “uncle,” but we’ll see come Monday. The harder part of this will be allowing the CSRs to only see one part of it. I don’t know how to do that. At all.
So this week will be a stressful one for me. If you’re the praying kind, I could use all you can spare.
…and why do I feel like the grasshopper? Hm.
* – Customer Service Representative(s)
** – Customer Service Supervisor