PDA

View Full Version : Does anyone know PHP?


MrCoffee
04-04-2007, 04:14 PM
Just wondering if anyone here knows alot of php? I need someone I can ask opinions about structure and sometimes troubleshoot for me...:D

Professor S
04-04-2007, 04:23 PM
I don't even know what that is... God I'm old.

Angrist
04-04-2007, 04:57 PM
I see that in website urls. .php..... that's all I know.

Happydude
04-04-2007, 04:58 PM
php is a code used to make websites...like HTML but more advanced...and i don't know it :p

GameMaster
04-04-2007, 05:37 PM
Contact gekko. He knows.

Crash
04-04-2007, 06:33 PM
i've been trying to study php for months now. I have a half dozen books, and some are really nice. But, as far what you're looking for, I'm not who you're looking for.

gekko
04-05-2007, 01:25 AM
I know PHP. Not the end-all expert, but been working with it for many years, made a good chunk of the backend for The Wiire (http://www.thewiire.com) before I deployed.

Actually been trying to learn ASP.NET and move away from PHP.

Crash
04-05-2007, 01:50 AM
is that pronounced the wee-er

Dyne
04-05-2007, 03:35 AM
Yeah, but I could stand to know more. I'm so damn saturated with so many languages now. PHP is my roots.

manasecret
04-05-2007, 09:02 AM
Yeah, but I could stand to know more. I'm so damn saturated with so many languages now. PHP is my roots.

So so true, the amount of languages out there is much higher than it should be -- it's not as if any one language is fundamentally doing all that much more than any other language. They're all controlling computers, which at their core are essentially the same thing -- CPU, memory, ROM, I/O. I'd like to see one Grand Theory of Languages, perhaps known as GTL, that supersedes all other languages.

Though, perhaps it's still useful to have the more specialized languages (PHP for instance). But I think GTL could overtake very many languages by incorporating the best of each one without any of their individual problems. Is that possible?

gekko
04-05-2007, 11:48 AM
is that pronounced the wee-er

No, pronounced wire.

So so true, the amount of languages out there is much higher than it should be -- it's not as if any one language is fundamentally doing all that much more than any other language. They're all controlling computers, which at their core are essentially the same thing -- CPU, memory, ROM, I/O. I'd like to see one Grand Theory of Languages, perhaps known as GTL, that supersedes all other languages.

Though, perhaps it's still useful to have the more specialized languages (PHP for instance). But I think GTL could overtake very many languages by incorporating the best of each one without any of their individual problems. Is that possible?

You can go back to Assembly, which is the most basic you're going to get. The problem then is it becomes very unreadable, which goes back to why we have programming languages in the first place. But the more readable the language is, the less powerful it is. Part of the reason so many languages are used for different things. C++ is a horrible language to learn, but it's not going away anytime soon because it's power is unmatched. In the gaming industry, tools are now being coded on C# because it's faster and easier, but the game itself it still on C++.

PHP is a very easy language to learn, and let's all remember folks, easy = no power! If you use PHP as a base language and try to expand, you'll be getting a lot of headaches. PHP is very generous and allows you to code very sloppy and still run just fine. You can define variables just about anywhere, change their data type without issues, and very rarely do you have problems with scope. It's nice to new programmers, since it allows you to learn about different concepts without being flooded by errors you don't understand.

But every language has its ups and downs. With PHP you fully control the HTML that is outputted. ASP.NET is a better language than PHP hands-down in every possible way, but using web controls, ASP.NET automatically outputs the HTML for you, and it has a lot of problems with it being valid, since Microsoft embeds data into hidden input strings, and has runat="server" attributes, and runat is not valid for anything.

MrCoffee
04-05-2007, 12:06 PM
I joined computer info systems 11 last year, because I was interested in programming now Im full into it, thats practically my past-time, along with other scripts which I have uselessly picked up like the entire syntax for openkore macro plugin (bot for ragnarok online) i never actually used it to play or get leveled just for the fun facted that i could write this massive 1000 line script and make my character move and do stuff, completely automated it was fantastic. I really enjoy programming, php is one of the languages that i wish was a little more powerful, I hope to learn C, C# and C++, and various other languages after I graduate at BCIT...anyway the reason I asked is because I made a game last year very cool, I am going to add custom graphics this year instead of stolen ones or really crappy designed by me, and add a few massively multiplayer aspects which will be pretty intense from my point of few.

manasecret
04-05-2007, 05:52 PM
You can go back to Assembly, which is the most basic you're going to get. The problem then is it becomes very unreadable, which goes back to why we have programming languages in the first place.

Ever used Forth? Forth users seem to worship it as the best of both worlds, i.e. good readability but without the loss of precise control of the cpu, memory, rom, i/o etc. that comes when you use other high-level languages. I'm learning Forth because I'm forced to for my senior design project. At the moment I don't have an opinion on it except that it's okay. I don't know if I want to worship it yet.

I've never had my own philosophy on which programming language is better or best. I usually just learn them as they come, for jobs or school or otherwise. I don't program things like Half-Life 2 so I've never needed really precise control of the computer innards. This project I'm doing now is probably the closest I've come to needing that precise control.

MrCoffee
04-05-2007, 07:21 PM
This project I'm doing now is probably the closest I've come to needing that precise control.

out of curiosity what are you working on now?

manasecret
04-24-2007, 01:31 AM
out of curiosity what are you working on now?

Sorry for the late reply, this month has been crunch time! If you're still interested, I uploaded the four page IEEE four-page format summary of the project. Opinions and criticism are very much wanted. I'd also like to know how hard or easy it is to follow.

http://studentweb.tulane.edu/~ddrinnan/IEEE4Page__David_Drinnan__04_19_2007.doc