This is a discussion on "Classes" within the PHP Forum section. This forum, and the thread "Classes are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Classes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Classes
I'm really getting stuck into php now and I have recently discovered classes. I just thought I'd let people know how awesome I think they are. That's all, I don't have a question. Does anyone else think classes are awesome?
Pete. |
|
|
|
|||
|
Re: Classes
Yes, classes and OOP in general are wonderful, and in my opinion, especially when working with databases.
Except when they cause problems like this. :P I like how the sentence "I don't have a question" is followed by a question. |
|
|||
|
Re: Classes
Yeah, I never really thought that one through. I'mm looking forward to playing around with all my new found knowledge. I've previously been strictly static (html/css) but this development stuff is pretty fun too. I think so anyway though i must admit I'm finding databases to be less than riveting. Database design sparked my interest but it isn't half as exciting as it sounded. I must admit though, I think people overlook database stuff. They always seem to jump into php when I think all the MySQL stuff I'm learning now is just as challenging.
Pete. |
|
|||
|
Re: Classes
Yes, databases can be annoying.
If I find it difficult to do something with MySQL queries, I normally just pull the data I want from the database, assign it to variables, and process the variables in PHP rather than SQL. Usually solves any problems. |
|
|||
|
Re: Classes
I use classes for big projects, but i think some people over use them and they are a bit over kill for little jobs.
|
|
||||
|
Re: Classes
I use them all the time, even for little jobs (don't shoot me voodoo! LOL).
Although I don't use PHP, I work with VBScript classes, which are sh*t in comparison. Looking back, when I started programming, I wish I'd chosen ASP/Javascript instead of ASP/VBScript because Javascript is AWSOME for classes/objects. Everything is object oriented so you can literally do this:
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| class, oop, php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| variable classes | CloudedVision | PHP Forum | 4 | Feb 14th, 2008 03:07 |
| Using Classes | tox0tes | Flash & Multimedia Forum | 1 | Nov 9th, 2007 14:12 |
| Classes in PHP | pas2gether | PHP Forum | 11 | Oct 13th, 2007 17:24 |
| Classes | Gee Bee | JavaScript Forum | 1 | Mar 8th, 2006 08:31 |
| Styles in classes? | timmytots | Web Page Design | 4 | Dec 2nd, 2005 01:20 |