Go Back   nV News Forums > Software Forums > Software Development

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-25-08, 06:48 PM   #37
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by DiscipleDOC View Post
Slacker!

lol grad school sucks man.
ViN86 is offline   Reply With Quote
Old 09-27-08, 10:36 PM   #38
Bearclaw
Guest
 
Posts: n/a
Default Re: Learn PHP/MySQL Feedback Thread

Same here. Between work and night school, I haven't had anytime for anything.
  Reply With Quote
Old 09-30-08, 07:20 PM   #39
jcrox
Mahna Mahna
 
jcrox's Avatar
 
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,134
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by Bearclaw View Post
Same here. Between work and night school, I haven't had anytime for anything.
Same here. Full time job, night school... actually I'm sitting in PHP with MySQL class right now
__________________

Gaming

MSI MPower Z87 | 4770k | CNPS9900MAX-B | 8GB G.Skill 1866 | EVGA GTX760 |ThermalTake 850w | X-Fi Titanium | HAF | Asus PA248Q | Lycosa | Death Adder | Win8 Pro 64

Dev/Backup

MSI GD65 | 2500k | H50 | 8GB G.skill | GTX570 | Ubuntu 13.10

Laptop

17" Inspiron | i5 | 4GB DDR3 | 500GB HDD | Win7 Pro 64

jcrox is offline   Reply With Quote
Old 01-23-09, 03:22 AM   #40
magstudios
Registered User
 
Join Date: Jan 2009
Posts: 2
Default Re: Learn PHP/MySQL Feedback Thread

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
magstudios is offline   Reply With Quote
Old 01-31-09, 04:38 PM   #41
t3hl33td4rg0n
Dethklok Returns!
 
t3hl33td4rg0n's Avatar
 
Join Date: Dec 2004
Location: Kent, OH
Posts: 2,142
Send a message via AIM to t3hl33td4rg0n Send a message via MSN to t3hl33td4rg0n Send a message via Yahoo to t3hl33td4rg0n
Default Re: Learn PHP/MySQL Feedback Thread

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/
__________________


Intel QX9650 @ 3.83GHzXFX 780ieVGA GTX 560Ti8GB GSkill DDR800Creative Sound Blaster X-Fi Titanium PCI-ESeagate 1.5TB . 4x Samsung 2TB

Quote:
Originally Posted by MowTin View Post
....it's so clear how government makes things worse not better...
t3hl33td4rg0n is offline   Reply With Quote
Old 02-01-09, 07:50 PM   #42
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by t3hl33td4rg0n View Post
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/
i have worked with OOP and have a lot of code written. let me know if you need help with anything
ViN86 is offline   Reply With Quote
Old 11-24-09, 05:36 PM   #43
fivefeet8
Ngemu Mod
 
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
Default Re: Learn PHP/MySQL Feedback Thread

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]
fivefeet8 is offline   Reply With Quote
Old 11-24-09, 06:05 PM   #44
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by fivefeet8 View Post
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.
Sounds good.

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.
ViN86 is offline   Reply With Quote

Old 11-01-10, 10:28 PM   #45
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Learn PHP/MySQL Feedback Thread

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.
ViN86 is offline   Reply With Quote
Old 11-02-10, 11:24 PM   #46
jcrox
Mahna Mahna
 
jcrox's Avatar
 
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,134
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by pross View Post
nice thread so far mate, i have only one small concern so far; you are using double quotes in your variables, tho this is ok to do and works fine it can lead to hassles later especially if you want to include a double quote in the html output, for example..

$test = "hello";
$output = "<a href="http://someurl.com">" . $test;

the above snippet will break unless the double quotes inside the html link are escaped with a \

single quotes however do not have this problem..

$test = 'hello';
$output = '<a href="http://someurl.com">' . $test;
I'll help bring the thread back to life

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.
__________________

Gaming

MSI MPower Z87 | 4770k | CNPS9900MAX-B | 8GB G.Skill 1866 | EVGA GTX760 |ThermalTake 850w | X-Fi Titanium | HAF | Asus PA248Q | Lycosa | Death Adder | Win8 Pro 64

Dev/Backup

MSI GD65 | 2500k | H50 | 8GB G.skill | GTX570 | Ubuntu 13.10

Laptop

17" Inspiron | i5 | 4GB DDR3 | 500GB HDD | Win7 Pro 64

jcrox is offline   Reply With Quote
Old 11-03-10, 02:09 PM   #47
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Learn PHP/MySQL Feedback Thread

Nice. Maybe we should start an OOP PHP thread. Good idea?
ViN86 is offline   Reply With Quote
Old 11-03-10, 03:17 PM   #48
DiscipleDOC
 
DiscipleDOC's Avatar
 
Join Date: Dec 2002
Location: Alabama, Planet Earth
Posts: 5,993
Default Re: Learn PHP/MySQL Feedback Thread

Quote:
Originally Posted by ViN86 View Post
Nice. Maybe we should start an OOP PHP thread. Good idea?
I'm down with OOP.


DiscipleDOC is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

All times are GMT -5. The time now is 01:47 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.