There's a significant spectrum of what "senior" means. I've met guys who have a decade or more of experience, but it's all with Wordpress and osCommerce and out of their depth at senior level working with frameworks and so on. I know "senior" guys working in PHP shops today where they still aren't using version control, composer, standard deployment tools, etc. That cuts both ways, a Wordpress conveyor belt shop isn't going to want to overpay for the skills they're looking for.
Not saying that's you, but if you're not getting any interviews then something in your background or application isn't right for the role. You might be missing something they need, or might have a huge red flag somewhere that you're missing. You might also have too much for the role, or appear too ambitious for what they want.
Do you have anyone you trust who you can send over the descriptions of a couple of the jobs you've applied to, along with the cover letter and CV you applied with, to see if they can spot anything? All of the conjecture you get here is going to be far less useful than someone who knows what they're talking about taking a proper look at what you're doing.
Stitcher.io is pretty good for keeping up with new language developments. Spatie is a company that does a lot of Laravel-related work and has a bucketload of open source projects.
What else can I do to prepare for this interview. Which questions should I be prepared for?
There's no easy single answer because everybody hires differently. Sometimes you might get nowhere unless you have a great grasp of specific algorithms or technologies, sometimes they'll only care that you know are aware of the existence of version control and unit testing.
For me, when I was hiring, I always figured that I could teach someone intelligent and enthusiastic how to code, but I couldn't teach someone how to be intelligent and enthusiastic. Same applies to the stack; it helps them if you've used it before but they may be far more interested in your attributes and the developer you could become.
So I'd get them to solve a problem on paper, and see how they approached it. I'd find out if they checked out the company or what we'd worked on before the interview. I'd get them talking about a hobby of theirs so I could see how they talked about something they loved, and then see how that compared to them talking about development and the web. I'd ask them how they'd solved a problem they'd come up against recently, and then how they'd begin to solve a hypothetical problem I would make up with a website we were working on.
I don't suppose any of that helps you specifically, except maybe to give you a bit of a nudge towards not worrying too much about the technical stuff, stacks, etc - you're not going to change what you know very much before the interview anyway - and more of a nudge towards learning what you can about the company and people you're interviewing with. Who are the team? Do they have github or twitter accounts you can look at? What are the products? Are there obvious pain points (not that I'm suggesting you go in with ideas to fix them, just that you show you've been looking)?
I've got one tip - don't immediately ask for help every time you reach something you're unsure of or you get stuck without trying to solve it yourself first. Instead, work through the problem and document what you've tried. If you then go to ask for help you've done three really useful things:
Seeing how you tried to solve it helps the senior dev catch up to where you are quicker and saves them trying what you've already tried. They'll appreciate that.
You've shown how you approach problem-solving. A senior dev can then help you develop that skill. Maybe there's a different way to use whatever debugging tools you were trying out. Maybe there's a clue in a URL that you were missing. It's easier (and quicker, and they're probably busy) for them to develop your existing skills than to cover ground you already know or to try to work out what you already know.
You'll probably highlight weaknesses in commenting or other documentation. Once you know where you got stuck, you can fix that weakness.
5 in base 5 is written "10". 7 in base 7 ... "10". In fact, for every base, "10" represents the base itself. We should really have a single character/digit representation of ten ...
Try passing an array of bound parameters to prepare() and execute() in each and returning all resulting rows in an associative array. Not exactly a rare use-case. In PDO, easy. In mysqli, awful.
There's an awesome cheat sheet site that I know of (ok, that I built and continue to shamelessly promote): Cheatography. You can build your own cheat sheets, and download cheat sheets built by other people.
The docs could be a lot better, sure, but the code is high quality, and the theming and extensions systems are dead simple if you take a few minutes to understand how they've been put together. Sure, if you're looking for something with more hand-holding and so on, then Magento isn't for you, but if you're looking for something to power any decent-sized online shop, it's one of the best choices available.
Prestashop is easier. That's not the same as better. You have to define what you think makes something good or bad first. For some people, good quality code and ease of extensibility are important. For others, getting something up and running quickly is important. Here was my comparison in 2012 of the top PHP e-commerce platforms.
There's a significant spectrum of what "senior" means. I've met guys who have a decade or more of experience, but it's all with Wordpress and osCommerce and out of their depth at senior level working with frameworks and so on. I know "senior" guys working in PHP shops today where they still aren't using version control, composer, standard deployment tools, etc. That cuts both ways, a Wordpress conveyor belt shop isn't going to want to overpay for the skills they're looking for.
Not saying that's you, but if you're not getting any interviews then something in your background or application isn't right for the role. You might be missing something they need, or might have a huge red flag somewhere that you're missing. You might also have too much for the role, or appear too ambitious for what they want.
Do you have anyone you trust who you can send over the descriptions of a couple of the jobs you've applied to, along with the cover letter and CV you applied with, to see if they can spot anything? All of the conjecture you get here is going to be far less useful than someone who knows what they're talking about taking a proper look at what you're doing.
Complains about a problem ... doesn't fix the problem. If you're not a QA, you should be :)
https://github.com/phasync/phasync
Typed arrays yes please.
Stitcher.io is pretty good for keeping up with new language developments. Spatie is a company that does a lot of Laravel-related work and has a bucketload of open source projects.
There's no easy single answer because everybody hires differently. Sometimes you might get nowhere unless you have a great grasp of specific algorithms or technologies, sometimes they'll only care that you know are aware of the existence of version control and unit testing.
For me, when I was hiring, I always figured that I could teach someone intelligent and enthusiastic how to code, but I couldn't teach someone how to be intelligent and enthusiastic. Same applies to the stack; it helps them if you've used it before but they may be far more interested in your attributes and the developer you could become.
So I'd get them to solve a problem on paper, and see how they approached it. I'd find out if they checked out the company or what we'd worked on before the interview. I'd get them talking about a hobby of theirs so I could see how they talked about something they loved, and then see how that compared to them talking about development and the web. I'd ask them how they'd solved a problem they'd come up against recently, and then how they'd begin to solve a hypothetical problem I would make up with a website we were working on.
I don't suppose any of that helps you specifically, except maybe to give you a bit of a nudge towards not worrying too much about the technical stuff, stacks, etc - you're not going to change what you know very much before the interview anyway - and more of a nudge towards learning what you can about the company and people you're interviewing with. Who are the team? Do they have github or twitter accounts you can look at? What are the products? Are there obvious pain points (not that I'm suggesting you go in with ideas to fix them, just that you show you've been looking)?
I just use the password "hunter2" for everything.
Sexy.
I've got one tip - don't immediately ask for help every time you reach something you're unsure of or you get stuck without trying to solve it yourself first. Instead, work through the problem and document what you've tried. If you then go to ask for help you've done three really useful things:
Previously.
Well, you don't have to.
Yes. In fact, I made both the cheat sheet and Cheatography :)
Glad you like it, and you're very welcome.
Hey, I made that :)
There's a more recent version here:
https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/
Thanks for the link :)
5 in base 5 is written "10". 7 in base 7 ... "10". In fact, for every base, "10" represents the base itself. We should really have a single character/digit representation of ten ...
All bases are base 10.
How would you know?
Try passing an array of bound parameters to prepare() and execute() in each and returning all resulting rows in an associative array. Not exactly a rare use-case. In PDO, easy. In mysqli, awful.
Fair enough. You can't modify the contents of native functions, of course, but that's a better approach for user functions.
That code doesn't do the same thing. His code turns a false response into an exception, yours catches errors.
I'd guess they were responding to this.
Thanks for the link :)
There's an awesome cheat sheet site that I know of (ok, that I built and continue to shamelessly promote): Cheatography. You can build your own cheat sheets, and download cheat sheets built by other people.
There are some you might have seen before: Regular Expressions, Linux Command Line, PHP and AngularJS. And there a growing collection of links to cheat sheets on other sites.
The docs could be a lot better, sure, but the code is high quality, and the theming and extensions systems are dead simple if you take a few minutes to understand how they've been put together. Sure, if you're looking for something with more hand-holding and so on, then Magento isn't for you, but if you're looking for something to power any decent-sized online shop, it's one of the best choices available.
Prestashop is easier. That's not the same as better. You have to define what you think makes something good or bad first. For some people, good quality code and ease of extensibility are important. For others, getting something up and running quickly is important. Here was my comparison in 2012 of the top PHP e-commerce platforms.