Yeah, it's kind of an adjustment to realize that I can use something without trying to fully understand it in every detail. Like that Zend Gdata library I'm using. I understand it well enough to get the results I want. But I'm not an expert in it . . . but it's still quite useful.
No insult taken. And, I think you're right . . . it's nice to have the freedom to code in one's own style. But at some point, you want to use the utilities that other people have created, and you've got to understand their dialect. That's exactly what got me started down the road of trying to understand OOP.
Well, thanks, I really appreciate that. It's difficult to assess one's skill level relative to the general php community, particularly when working in isolation, more or less. I've recently been trying to reach out and connect more. Maybe I'm more advanced that I realize, but there sure is a lot to learn out there.
All I can say is, "wow". This reply was over my head. I've got a lot to learn.
Still, I really appreciate that you took the time to try and help me. I think I picked out a couple of useful bits and pieces. I'll come back to this in a couple of months and see if I can parse it out better.
This was a very useful answer, and I really appreciate you taking the time to provide some help. I've got a quick follow-up question (obviously from a novice perspective).
In your Person class, you have methods designed to set or get each of the various properties. Why not simply make those properties public and just access them like so?
$person = new Person;
$whatever = $person->id;
It seems like all of the "extra" methods would be unnecessary overhead. That said, I know what you're showing me is standard practice. I've seen it in two of the books I'm studying. But the books don't explain why it's done that way.
I just want to express my appreciation to all the people who responded. It's so amazing to be able to get insight and advice from such an extremely intelligent and well-informed group.
Maybe you could have a polite, gentle conversation with your manager about what's going on. Explain that you're not getting paid for your work, and that, if they waive design charges for client management reasons, you shouldn't have to bear that cost. Indeed, it sound like they're asking you provide the design work essentially at no charge, 90% of the time. The question is, does that design work provide a real value to their customers, and does it enhance the shop's image by improving the quality of it's end product? If so, then it's worth paying for, either by the client or by the shop, right? And certainly, you can't be expected to work "for free." That's just not a sustainable situation.
EDIT: The short version is: explain your concerns in a diplomatic way. If they don't listen or choose to argue, well, there's no need to let things deteriorate. You'll know where you stand, and you can plan accordingly.
Just wanted to say "thanks" for all the replies. You all are a great resource!
Yeah, it's kind of an adjustment to realize that I can use something without trying to fully understand it in every detail. Like that Zend Gdata library I'm using. I understand it well enough to get the results I want. But I'm not an expert in it . . . but it's still quite useful.
No insult taken. And, I think you're right . . . it's nice to have the freedom to code in one's own style. But at some point, you want to use the utilities that other people have created, and you've got to understand their dialect. That's exactly what got me started down the road of trying to understand OOP.
Well, thanks, I really appreciate that. It's difficult to assess one's skill level relative to the general php community, particularly when working in isolation, more or less. I've recently been trying to reach out and connect more. Maybe I'm more advanced that I realize, but there sure is a lot to learn out there.
Okay, that all makes sense. Thanks again.
All I can say is, "wow". This reply was over my head. I've got a lot to learn.
Still, I really appreciate that you took the time to try and help me. I think I picked out a couple of useful bits and pieces. I'll come back to this in a couple of months and see if I can parse it out better.
Thanks for the input. I appreciate your somewhat laid-back and pluralistic point of view. It's . . . oddly reassuring.
This was a very useful answer, and I really appreciate you taking the time to provide some help. I've got a quick follow-up question (obviously from a novice perspective).
In your Person class, you have methods designed to set or get each of the various properties. Why not simply make those properties public and just access them like so?
It seems like all of the "extra" methods would be unnecessary overhead. That said, I know what you're showing me is standard practice. I've seen it in two of the books I'm studying. But the books don't explain why it's done that way.
(Couple of edits for clarity and formatting)
I just want to express my appreciation to all the people who responded. It's so amazing to be able to get insight and advice from such an extremely intelligent and well-informed group.
Sorry, I was slow getting to this one, but it's awesome! Thanks so much for your reply.
I load the view at the bottom of the controller.
The views are not classes, just PHP files comprised mostly of markup.
That's looks like a great series. Thank you so much! I can't wait to dive in.
Here's the basic script.
index.php
pagename/controller.php
... and I used architecture twice in the title. Not very a very elegant post, but I'm sure somebody here can point me in the right direction!
Maybe you could have a polite, gentle conversation with your manager about what's going on. Explain that you're not getting paid for your work, and that, if they waive design charges for client management reasons, you shouldn't have to bear that cost. Indeed, it sound like they're asking you provide the design work essentially at no charge, 90% of the time. The question is, does that design work provide a real value to their customers, and does it enhance the shop's image by improving the quality of it's end product? If so, then it's worth paying for, either by the client or by the shop, right? And certainly, you can't be expected to work "for free." That's just not a sustainable situation.
EDIT: The short version is: explain your concerns in a diplomatic way. If they don't listen or choose to argue, well, there's no need to let things deteriorate. You'll know where you stand, and you can plan accordingly.
End of this list.
Back to top