Skip to content

u/somerandomtext

In this archive from Jul 2011 to Feb 2013

3
posts
15
comments
0
media
82
score

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.

2 points

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.

2 points

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.

10 points

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.

1 points

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.

(Couple of edits for clarity and formatting)

2 points

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.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.