Visualize Your Code's Quality with PhpMetrics

My employer demands I use MAMPP instead of the inbuilt PHP and Apache webserver. That’s likely the culprit.

You run your development environment unvirtualized?

Unfortunately. I’m not allowed to do otherwise in order “to stay consistent with the other developers”

That sucks.

I would definitely just run what I want (vb + vagrant). So long as you have sudo no one can really stop you…

Not to mention running nfs w/ php5-fpm with apache 2.4 is blazing fast even for a vm.

It boggles my mind that some people don’t understand and/or are to stubborn to use a vm. I quite frankly just won’t stand for it – easier to ask for forgiveness than permission.

I’m curious to run this on Magento EE 1.14.1 also Drupal 7 and 8.

You can stay consistent while virtualized. Just install the same versions of PHP / Apache, whatever, into the VM and you have the exact same environment in a VM, and none’s the wiser. What’s more, you now have a fully destructible and rebuildable environment which you can tear down, rework, and experiment with at will with zero consequences.

Preaching to the choir man, preaching to the choir. I’m trying to convince him, but since workstation layouts do get spot checked I’d rather not risk incurring any wrath.

Spot checked? Someone actually sits down at your station and inspects it? Cause other than that, a Vagrant powered VM is undetectable, it just runs in the background after you run a terminal command. To detect it, someone would have to inspect running processes, there’s literally no other simpler way.

No offense, but it sounds like you work in some kind of totalitarian regime.

No, they’re just set in their ways. Also, ad agency - coding is a necessity of the business with the rise of the Internet, not something the uppermost management had in mind when the place was founded. I’ll look into Vagrant - if I can come up with something that streamlines processes more than we have than I can certainly get the ear of the powers that be.

By the by, if I was going to do a VM I would like to have one that matches Media Temple’s Grid Server environments as closely as possible since that’s what the majority of our deployments are to.

And yeah, the admin can ssh into our boxes at any time and has been known to do it.

You can configure a Vagrant box how ever you see fit - install everything and anything on it and then spread it among other devs so everyone has an identical environment. Configure it to match 100% of your production server, and you have even more parity - instant cloned production environment inside the company, but ready for development and experimentation. Screwed up? Just vagrant destroy and vagrant up a new instance, you’re back where you started with zero code lost, only a reset environment.

Also SSHing into your environment still won’t reveal you running Vagrant. He’d have to get sudo privileges of your computer and scan the process list that way, which, if it’s done regularly, is not only detrimental to morale and productivity, but also to your station’s performance. Seems like a draconian workplace in any case. The only inspection a dev should be subject to is code review.

Maybe a “personal” zip drive that you could plug in could work?

Maybe. I’d rather not end run them though. I like my job.

1 Like

Something is wrong when you have to use MAMP to stay consistent.
Sit down over the weekend, get a vagrant box sorted out for them, show them how wrong they were and get a rise.

1 Like

Nope it does not.

On a system that doesn’t have the command “chmod”
chmod +x doesn’t mean shit.

Using linux-commands as shorthand for English in tutorials, is a bad idea.

…oh never-mind I give up.
Plus, the useless “flat design” on this new comment-system makes it really hard to see who is responding to what.

I’m sure there is some useful info somewhere here, but i don’t have the time to play puzzle-master with it.

You seem like a very angry person.

That’s not particularly helpful however…

Don’t be so pedantic. Surely you’ve dealt with .nix systems enough to know your OS choice’s equivalent command. Unlike computers humans are capable of and expected to be able understand instructions even when somewhat poorly worded, which this wasn’t.

Things will get better as more people get used to how this particular system works. As you can see from this post quoting is possible, but it isn’t done the same way - it is intuitive since I stumbled into it by accident. You highlight the text you want to quote and a “quote in reply” button will appear - just click it.

Anyway what does the Discourse software have to do with the main topic?

Great tool but it needs to be able to run on huge projects as now it can generate ~20Mb html report in one file and browser will not be able to read it.

While I agree that one may end up in browser deadlock over the size of the report, I think it isn’t really supposed to be used for that. I’d rather use it to check my components, modules - not entire suites. Select a part of your app you want to test, and test just that. If you’ve built your app well, you can probably divide it up into independently testable parts, and this is where this tool really shines, taking an incremental approach to optimization.

I signed up for an account simply to ask you to not be so condescending when you help people. It is confusing – you show altruism by helping, but then randomly treat the people with questions like idiots. I don’t get it.

Phrases like these:

your frustration as caused by your failing to keep up

without even the most basic terminal knowledge you’ll never get a serious web development job, I guarantee this

You seem like a very angry person.

… completely unhelpful noise to any future reader who finds this thread through Google, and not a very good example of how peers ought to treat each other. Thanks for the article, and thanks for the discussion, but please, can you work on the tenor and tone of the interactions that follow? I’m reading this thread, wincing. Take care.

You’re absolutely right, I apologize to you and all future readers who run into this topic. I’ll work on my skin thickness and try harder to retain composure in the future.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.