Please login or register.

Login with username, password and session length
Advanced search  

News:

Get quality web hosting, virtual private servers, reseller web hosting, and dedicated servers from www.webhostfreaks.com or www.serverpowered.com!

Author Topic: Career in PHP, my new employer wont use OO! is it essential?  (Read 299 times)

0 Members and 1 Guest are viewing this topic.

Dunhamzzz

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Career in PHP, my new employer wont use OO! is it essential?
« on: September 14, 2007, 09:44:08 AM »
I'm a young PHP developer, now in my second job, I moved a long way across the UK to get here (was a good payrise) this is a bigger company, more employees, a lot more sites but after 1 week I have just discovered there is absolutely no Object Orientation or other coding conventions and they have absolutely no plans to gear towards it.

My questions are, do you think it is going to be valuable to my career to stay in this job for much longer/if at all? I could also go back to my job, at the small firm, who use OO and I learnt a hell of a lot in my time there.

So really, is OO that valuable? is it the way forward? I wouldn't want to stay in a job that enforces me not to use it in coding practice when support for it is becoming bigger and bigger, and especially now that php5 is settling in rather well. Im lookngi to develop myself, which is going to happen here.

Thanks,
Id raelly appreciate some constructive responses to help me make this biggy!
Logged

cooldude832

  • Fanatic
  • Offline Offline
  • Posts: 4,759
  • PM me if you figure out what this is
    • View Profile
    • WWW
Re: Career in PHP, my new employer wont use OO! is it essential?
« Reply #1 on: September 14, 2007, 09:48:50 AM »
I myself do not do any OOP simply because I don't like the concept of objects, but that is because I am a numbers person.  OOP does offer some advantages in some cases, however  I think 90% of what can be done with OOP can be done without.  However if you are an e-commerce junkie you probably swear your life upon OOP because all the shopping carts run on it.  Overall I say if your at a successful company making good money and you know OOP and no one doesn't, done leave because a day will come when OOP is needed and you will be the first person they turn to.
Logged
I am willing to help a person that is willing to be helped. 
I admit I don't have all the answers, but I do have all the answer keys.

Current Project:
http://www.scriptbetter.net

jesirose

  • Fanatic
  • Offline Offline
  • Gender: Female
  • Posts: 3,505
    • View Profile
    • WWW
Re: Career in PHP, my new employer wont use OO! is it essential?
« Reply #2 on: September 14, 2007, 10:12:01 AM »
No, OOP is not essential, it is just a good model. Saying you can write good code without using OOP is like saying you can write without using functions. Yes, it's possible, but it's not as effective as it could be.
Logged
Before posting, read the guidelines. When you do post a topic, post your code. In code tags.
Before you ask me how to do something I suggest, Google it.
Before asking what a function does, check the manual: http://php.net

Grady Consulting :: The Rat House

Dunhamzzz

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Career in PHP, my new employer wont use OO! is it essential?
« Reply #3 on: September 14, 2007, 10:24:43 AM »
I don't care about the effectiveness, or how hard the job will be. I just want views from a career perspective. I only really got into OO in my previous job, Do you think it is something employers will require? Isn't it kinda old? The company im with say they're using php which ushed me towards them but really all their code could run on php4. I thought that was the whole point of php, all the new OO implementations.

I'm only 19, so I can't see myself being at this job for the rest of my life!
Logged

roopurt18

  • PHPFreaks Recommended
  • Addict
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 2,673
  • le sigh
    • View Profile
    • WWW
Re: Career in PHP, my new employer wont use OO! is it essential?
« Reply #4 on: September 14, 2007, 10:46:58 AM »
They might have technical reasons for not using OOP, such as a large number of sites that would break if the upgraded their server(s).  It really doesn't matter if you're programming in OOP or using procedural methods.  You can still learn and use OOP for your personal interest / projects and I highly recommend doing so.  In fact I recommend you take time to learn more languages than just PHP; I'd start by learning a little more about MySQL or Javascript as they're very relevant to PHP.

The major downfall to procedural coding is it lends itself to a populated global namespace, many constants, and a bit of code repetition.  Neither style is more effective in terms of execution, although slight variances in execution time will occur.

Logged

Dunhamzzz

  • Irregular
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Career in PHP, my new employer wont use OO! is it essential?
« Reply #5 on: September 25, 2007, 04:18:59 AM »
I already know mysql, and I have enough javascript knowledge to get by.

after expressing my concerns, they've decided to let me start all my projects with the zend framework.
Logged

PHP Freaks Forums

 
 
 

Page created in 0.061 seconds with 21 queries.