Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1693 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

do you prefer working with oop{object orainted programming} if

Thread title: do you prefer working with oop{object orainted programming} if
Reply    
    Thread tools Search this thread Display Modes  
07-04-2009, 03:25 PM
#1
free-designer is offline free-designer
Status: Junior Member
Join date: Jun 2009
Location:
Expertise:
Software:
 
Posts: 98
iTrader: 0 / 0%
 

free-designer is on a distinguished road

  Old  do you prefer working with oop{object orainted programming} if

if you prefer working with oop{object oriented programming }
tell why you do prefer working with it

about the title of the topic i make a mistake while i was typing it
if some one please can update it to
(do you prefer working with oop{object oriented programming} tell why you do)

Reply With Quote
08-25-2009, 01:01 PM
#2
zorpo is offline zorpo
Status: I'm new around here
Join date: Aug 2009
Location:
Expertise:
Software:
 
Posts: 18
iTrader: 0 / 0%
 

zorpo is on a distinguished road

  Old

OOP gives better structure and tighter coding. It also allows code to be imported into other applications much easier. I use MVC as it seperates all the view informartion from logic and controlling

Reply With Quote
08-28-2009, 06:22 AM
#3
techman92 is offline techman92
techman92's Avatar
Status: I'm new around here
Join date: Aug 2009
Location: Wenatchee WA, USA
Expertise:
Software:
 
Posts: 18
iTrader: 0 / 0%
 

techman92 is on a distinguished road

  Old

I prefer OOP because it makes the code easier to read and (to me) it makes more sense. I happy PHP had finally added full OOP.

Reply With Quote
08-28-2009, 12:55 PM
#4
bacterozoid is offline bacterozoid
Status: I'm new around here
Join date: Aug 2009
Location:
Expertise:
Software:
 
Posts: 13
iTrader: 0 / 0%
 

bacterozoid is on a distinguished road

  Old

I've been coding in PHP for about 6 years now - always used a basic "script-like" approach. Recently I've begun to make things object based and I don't think I'll ever go back. You get so much more structure and it's easier to "feel" your program.

For example, if I have a list of clients and products in a database and want to print out all the relations, I could just query the database and echo out a table...OR...I could create client objects, then create product objects, then assign those products to the clients...then I really feel like I have structure, rather than just a random list of crap.

For simple tasks it's overkill, but in larger applications it's worth it. Much easier to understand in the end and easier to modify.

Reply With Quote
08-28-2009, 07:11 PM
#5
snv123 is offline snv123
Status: On Vacation
Join date: Jul 2009
Location:
Expertise:
Software:
 
Posts: 9
iTrader: 0 / 0%
 

snv123 is on a distinguished road

  Old

Hi,
I always prefer the object oriented programming.
There are various reasons for this because it makes the code easier to read and it makes more sense.There are lot of features in this OOP like data binding and encapsulation.
The most valid reason,most of the high level programming languages like PHP depends on these OOPs features.
Thanks!!

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed