Live data from Hacker News

How I Build PHP Applications

ericharrison.info

11–20 of 56 posts

Re: How I Build PHP Applications

#12
I'm surprised he argues that PHP will land you well paying jobs - in my experience java and c# jobs (especially ones with the word "enterprise" in the description) pay far better than php (with c,c++ and most other popular languages like python and ruby somewhere in the middle).

Re: How I Build PHP Applications

#14
post #8
post #3

I like this kind of post, but its not a topic I care too much about anymore. Like the author php pays my bills too, and most of my work is done alone. He doesn't like frameworks for reasons I don't like frameworks, abstractions are leaky. I still use frameworks because I'd rather have a team of people work on some of core features I use (orm, url routing, view engines) then just myself. I've also found that some php…

As a python programmer who will probably have to use php on an upcoming project, I'm wondering if there are any php frameworks you can recommend.

As ex-PHP programmer converted to Python I will say it will drive you insane lol. But I've managed to live some of my last PHP projects with with Kohana, Codeigniter or Zend.

Re: How I Build PHP Applications

#15
post #12

I'm surprised he argues that PHP will land you well paying jobs - in my experience java and c# jobs (especially ones with the word "enterprise" in the description) pay far better than php (with c,c++ and most other popular languages like python and ruby somewhere in the middle).

The big secret is that programmers make more money when they stop pitching themselves as programmers and start pitching themselves as skilled professionals who make their firms millions using a variety of tools, including code (when appropriate). OK, it isn't much of a secret.

I wince every time I hear someone describe himself as a "PHP coder" in mixed company (i.e. in front of folks with hiring authority rather than "just us geeks"). Buy a box of cereal and you get two of those for free.

Re: How I Build PHP Applications

#16
post #8
post #3

I like this kind of post, but its not a topic I care too much about anymore. Like the author php pays my bills too, and most of my work is done alone. He doesn't like frameworks for reasons I don't like frameworks, abstractions are leaky. I still use frameworks because I'd rather have a team of people work on some of core features I use (orm, url routing, view engines) then just myself. I've also found that some php…

As a python programmer who will probably have to use php on an upcoming project, I'm wondering if there are any php frameworks you can recommend.

Whatever you do, Zend is a GIANT pile of over-engineered junk.

Re: How I Build PHP Applications

#17
Similarly to the author I don't use any frameworks, well except JQuery for front end and XTemplate for templates. Main reason being when I'm a lone developer I prefer having stuff I'm comfortable with and understand back to front. I'm sure I could get this from a good framework that doesn't have a lot of linking between parts but I'll admit I haven't put a lot of time in to try and find this.

The more I learn about PHP internals the less confidence I have in the language. The main things holding me to the language is comfortableness with the syntax- been using it for years can code very quickly in it, understand a lot of the functions and extensions I would want to use normally and a good feel for what will run fast and what won't.

The being said I would like to learn a ruby/python like language when I get the chance, I have previously done web stuff in .NET and Java but much prefer PHP over those for my uses.

Re: How I Build PHP Applications

#18
post #10
post #2

Summary; I don't like frameworks, so I rolled my own framework.

Summary: I didn't understand how to use a framework, so I rolled my own one that doesn't really do much.

Why carry around the weight of a framework if you're happier doing things this way? Insofar as an idea on putting together a sane PHP project built from the ground up, I think it's a good article.

Re: How I Build PHP Applications

#19
post #12

I'm surprised he argues that PHP will land you well paying jobs - in my experience java and c# jobs (especially ones with the word "enterprise" in the description) pay far better than php (with c,c++ and most other popular languages like python and ruby somewhere in the middle).

It depends, PHP does have the reputation for being the language of choice for low paid outsource quality jobs. Knowing it well can land you a lot more but I think you'd be on the right track with saying enterprise type Java/ c# stuff would on average get you more.

Re: How I Build PHP Applications

#20
post #13
post #10

Earlier quoted context omitted.

Summary: I didn't understand how to use a framework, so I rolled my own one that doesn't really do much.

Miss the point more?

I don't think he's really missing the point. This guy complains that he's always re-implementing the stuff that frameworks don't provide... but all of the stuff he talks about is just the basic features that every framework provides. He'd still have to develop those features on top of his homegrown framework.
Post reply on HN