|
|
#37 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
|
|
|
|
|
|
|
#38 | |
|
Guest
Posts: n/a
|
Same here. Between work and night school, I haven't had anytime for anything.
![]() |
|
|
|
|
#39 | |
|
Mahna Mahna
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,123
|
Quote:
![]()
__________________
|
|
|
|
|
|
|
#40 | |
|
Registered User
Join Date: Jan 2009
Posts: 2
|
Hi nice discussion for Software Development in PHP and MYsql the point and Topics the view of all member's who joined this thread are very good i really enjoy it.
thanks MAG STUDIOS |
|
|
|
|
|
|
#41 |
|
Dethklok Returns!
|
lol, i totally forgot about this thing....
Well, when i was trying to figure out how to do OOP in PHP, I perused several tutorials, but this is the one that made me understand it clearly. http://www.codewalkers.com/c/a/Progr...amming-in-PHP/ |
|
|
|
|
|
#42 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
Quote:
![]() |
|
|
|
|
|
|
#43 |
|
Ngemu Mod
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
|
PHP 5.3 now supports namespaces. It would be good to have a discussion on the practical use of them. Also, if you're going to talk about OOP, then the difference between using "require()" and "require_once()" should be discussed in the context of OOP.
__________________
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w] |
|
|
|
|
|
#44 | |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
Quote:
Yes, I plan to devote some time to OOP. I may have some others contribute to that topic as well. If you're interested in writing some, let me know. |
|
|
|
|
|
|
#45 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
Bump. I need to bring this thing back. Hopefully I will get another section up soon. Next will be functions probably. Sucks it was almost a year since I did the last one.
![]() |
|
|
|
|
|
#46 | |
|
Mahna Mahna
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,123
|
Quote:
![]() Working with PHP on a daily basis in a production environment I myself can't think of any instances where the HTML that is being output is something that is anywhere near the size of this example. That just may be me but... I find that whenever I'm outputting HTML with PHP I find the easiest way to do it is via a HEREDOC. $output = <<<HTML <html> <head></head> <body> $variable is a variable {$variable[0]} is a an array element I can use "Double Quotes" or 'Single Quotes' without worry. </body> </html> HTML; The one issue rookies run into is trying to format their code to look all nice in their IDE. This works: $output = <<<HTML Some content HTML; This Doesn't: (tab here) $output = <<<HTML (2 tabs here) Some Content (tab here) HTML; Spaces of any kind prior to the closing HTML delimiter will break it. Vin - If you need any real world examples of OOP with PHP I'd be glad to supply some. I have some pretty nifty abstraction via inclusion and dynamic class instantiation examples I could copy and paste right from work.
__________________
|
|
|
|
|
|
|
#47 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
Nice. Maybe we should start an OOP PHP thread. Good idea?
|
|
|
|
|
|
#48 |
|
|
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Official Max Payne 3 Feedback Thread | Ghosthunter | Gaming Central | 94 | 10-05-12 06:00 AM |
| Detonator 40.72 feedback thread | mongoose | NVIDIA Windows Graphics Drivers | 94 | 12-03-02 10:45 AM |
| Official detonator 40.71 feedback thread | Crake | NVIDIA Windows Graphics Drivers | 88 | 10-01-02 11:38 AM |
| Detonator 30.30 feedback thread | Matthyahuw | NVIDIA Windows Graphics Drivers | 26 | 07-31-02 09:14 PM |