Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: vyper on April 07, 2004, 04:30:55 pm
-
Opinions please ppl, and books you can recommend.
-
For me, I'm just saying PHP because I'm learning PHP and MySQL for the projects I'm working on this summer.
I can't comment which is better, cause I'm not an expert, but I'm learning PHP because I need to use it in conjunction with MySQL.
Here's a page of links:
http://www.webdesigns1.com/php/
Also, if you want a quick and dirty look, the Learn PHP in 24 hours book is very easy to follow. There are alot of tutorials on the web too.
Cheers!
-
Interesting link fractux, ta much.
-
PHP. It's better, stronger, faster and can leap tall databases in a single bound.
And ASP only runs on Windows servers.
-
Originally posted by an0n
And ASP only runs on Windows servers.
not entirely true.
and go with php. until something better comes along. if you like inflicting yourself mental illness, pike.
-
Simple fact is, PHP is more useful to know.
You can fix, modify and install popular programs such as forums, auctions, site controls etc.
ASP is used almost entirely for corporate crap. So the only code you'll see will be massive, tightly integrated, site pages that would take a team of programmers weeks to even dent.
-
I'm gettin the drift towards php here :D
-
Basic! Learn Basic!
...what...? ;)
-
Once you've done Java.... basic seems so complex :(
-
try COMAL
*hack spit*
-
PHP. Why? Because once you've learned PHP, you've learned a subset of ASP.
Most people think ASP is a language. It is not: its a framework. You can use many languages within the ASP framework: VBScript, JavaScript, Perl, Python--even PHP. Learning ASP is learning how to leverage that framework with respect to the language you want to use.
PHP is sort of amalgamation of both. Its the language and its supporting framework. It works almost exactly like ASP, but is more narrowly focused. This makes it easier to learn, overall and lets you carry that skill over to the less focussed ASP framework.
If you really want to know more about ASP stuff, let me know. Most of my jobs have involved using ASP and PHP in various environments.
-
Cool :)
-
PHP - it's faster on *nix servers and works well with SQL; it also runs on Windows.
I've heard Python is pretty good, though.
-
Mmmm. Python. Python is the rockinest scripting language on the planet, in my opinion, but its just not the same thing as ASP/*script or PHP. *heh*
-
Python definitely gets a big thumbs up from me. My brother swears by it, and anything he swears by is certified kick-arse. :D
But otherwise, PHP. Then you can write vB hacks for us. ;)
-
PHP All the way, I know both and PHP beats ASP in every comparison whether its page load times, or DB Queries, its always faster in PHP.
Its also cheaper when renting servers, and less of a security threat.
Those who USE ASP and the Microsoft Solutions to Databases Online are generally people who watch too many commercials.
-
I could never really get into Python.
It all seemed......pretencious?
-
Pretentious? I guess you could say that. A lot of python results from concious decisions to do things right that perl got wrong. ;)
Originally posted by Lonestar
PHP All the way, I know both and PHP beats ASP in every comparison whether its page load times, or DB Queries, its always faster in PHP.
Its also cheaper when renting servers, and less of a security threat.
Those who USE ASP and the Microsoft Solutions to Databases Online are generally people who watch too many commercials.
Actually, I disagree with you here. A properly secured and well administered IIS server is pretty much exactly as secure as a properly secured and well administered *nix server. I know this from direct, personal experience, having administered large networks of both in webhosting environments professionally.
It always comes down to the quality of the administrator, not the quality of the OS or the scripting language.
-
Originally posted by mikhael
Pretentious? I guess you could say that. A lot of python results from concious decisions to do things right that perl got wrong. ;)
Actually, I disagree with you here. A properly secured and well administered IIS server is pretty much exactly as secure as a properly secured and well administered *nix server. I know this from direct, personal experience, having administered large networks of both in webhosting environments professionally.
It always comes down to the quality of the administrator, not the quality of the OS or the scripting language.
Most viruses are built for MS machines, hence why *nix is more secure.
Also, you could have a monkey run a *nix machine without problems, yet you need a bachelors degree to run IIS and be MS certified to ensure complete safety.
As far as im concerned *nix kicks MS butt in security and features any day. I guess if your an MS pro tho, it can be as safe as *nix but why bother? *nix is faster, more reliable and can handle way more clients then MS.
Dont get me wrong, both platforms are good enough to do their thing, and they are both secure enough to not be screwed with, but its my experience Windows servers get hacked up and crash way more then *nix. Only problem with the *nix machines is support and that is something that there is alot more of nowadays.
Go with PHP and a *nix machine, otherwise you will just frustrate yourself.
-
For all x, PHP > x
( i need te stinking upsidedown A for logical "For All" and the backwards E for logical "For Some"!!!!)
-
Someone mentioned Basic?
if you mean QB, stay the hell away from it. it's somewhat nice for a first language to learn, really simple and it takes very few lines and even less thinking to make something, but without very consiously not taking the quick&dirty route your entire program becomes one big puddle of hack&slash. i mean it. i made a program, 1100 lines, with no subs or fucntions. just a mountain of GOTO's
-
Originally posted by Lonestar
Most viruses are built for MS machines, hence why *nix is more secure.
And? All it takes is brains to prevent a virus from getting on the machine in the first place. My personal website ran on an NT4 box for nearly five years and never got one single virus... which leads me to my next response:
Also, you could have a monkey run a *nix machine without problems, yet you need a bachelors degree to run IIS and be MS certified to ensure complete safety.
I'm neither a monkey, nor do I have a bachelors degree. I can run both systems securely. Um... you're not doing very well here.
As far as im concerned *nix kicks MS butt in security and features any day. I guess if your an MS pro tho, it can be as safe as *nix but why bother? *nix is faster, more reliable and can handle way more clients then MS.
That really does depond on how you configure and build the systems.
Dont get me wrong, both platforms are good enough to do their thing, and they are both secure enough to not be screwed with, but its my experience Windows servers get hacked up and crash way more then *nix. Only problem with the *nix machines is support and that is something that there is alot more of nowadays.
The main edge that *nix machines have over Windows machines, for the average user, is cost. For a hardcore power user, a *nix machine makes more over all sense. You dont' really get decent support for either (in my experiences dealing with SuSE, Redhat, and Microsoft).
Go with PHP and a *nix machine, otherwise you will just frustrate yourself.
Go with whatever you're comfortable with, on whatever platform you're comfortable with, and don't listen to zealots who feel the need to denigrate platforms that they don't choose to use.
-
Originally posted by Kazan
For all x, PHP > x
( i need te stinking upsidedown A for logical "For All" and the backwards E for logical "For Some"!!!!)
There Exists an X such that PHP > x.
However, Perl beats PHP for text processing, Python beats it for simplicity, speed of implementation, design and completeness, C beats it for speed, ASM beats it for size...
I'm sure you get the idea.
-
even when linux is more popular the virus infection potential will still be very low
-
Originally posted by Kazan
even when linux is more popular the virus infection potential will still be very low
True that. Secure design goes a long way to keeping Linux safe from viruses. :)
-
Originally posted by Lonestar
Also, you could have a monkey run a *nix machine without problems, yet you need a bachelors degree to run IIS and be MS certified to ensure complete safety.
Kaz just reminded me of something. Do you know, Lonestar, how easy it is to own an out-of-the-box RedHat system that someone's just attached to the internet?
Unfortunately a lot of those systems ARE installed by the monkeys you mentioned and an awful lot of them have been owned by automated r00tkits.
-
most out of the box RHE machines are fairely insecure
IIRC they've gotten better with fedora
-
Originally posted by Lonestar
Most viruses are built for MS machines, hence why *nix is more secure.
What. The. ****?!
You've got that so completely wrong it's not even funny.
Most viruses are 'built' for MS machines because they're less secure.
MS is an easy target because they've got ****ty security. It's a 'blood in the water' scenario. There's no blood around Nix so the sharks ignore it. Microsoft, however, dumps blood faster than a haemophiliac with a severed juggular.
-
Originally posted by an0n
What. The. ****?!
You've got that so completely wrong it's not even funny.
Most viruses are 'built' for MS machines because they're less secure.
MS is an easy target because they've got ****ty security. It's a 'blood in the water' scenario. There's no blood around Nix so the sharks ignore it. Microsoft, however, dumps blood faster than a haemophiliac with a severed juggular.
I fail to see how my statement is wrong, based on yours.
Its obvious many dont buy entire boxes, and many just buy the packages. With *nix machines rent a box for 150 a month, and you set it up yourself, secure it yourself, etc....
Learning it is also alot easier then learning MS crap.
Im surprised at the support for MS here. Its a known fact Viruses flock to MS machines not *nix. Its a known fact *nix machines perform quicker and handle more users.
Yes, i agree each system has security holes and problems, and learning curves, but at this rate *nix machines whoop MS's ass hands down. I cant see how anyone would want to try and argue against *nix machines.
Im not saying MS is pure crap, it has its uses and its good. But its just doesnt stand up to the *nix platform in ways of Web Development. PHP and *nix are just much more easier, secure and flexible.
Now you ask how i know this? I am 50% partner with http://www.ugcarray.com server hosting company. We use both OS's and have tried many things with them over the years, and the fact remains the *nix platform outperforms each and every time in the webserver department. Compared to the several MS security issues we have encountered only one security issue with the *nix platforms.
We are always looking for the best solutions, always tweaking and ensuring speed and reliability. In the ways of time management and expenditures, *nix platforms require plenty of management as does the MS platforms, however with MS's software it tends to crash alot, or cause problems for the user for many stupid small reasons which you cannot tweak enough to fix.
We can run a *nix platform for a month, and nothing ever needs a reboot nor does it suffer any performance losses unless we decide to update or tweak it, which sometimes cause a problem and requires quite a bit of research.
All in all *nix platforms rock, they are a solid stable structure that is easy and free to learn about mostly, whereas with MS you gots to worry about lots or yous in troubles.
Now for you MS fans, i worked with MS exclusively for a long time and i was where you were too. Until i actually really worked with the *nix platform.
I dont want to get a huge debate going, ive seen these before. I say make your choice based on what you think is best. Many will fight tooth and nail for their choices. Personally i think and will back 100% that the *nix platform and PHP programming language are the ways to go. If not only to support the cause, but to say to MS you cant have your cake and eat it too. MS is good at what it does, no doubt. However i would rather support a more flexible, and user made language rather then take onto MS's constant security problems.
-
What you said was that the reason Nix machines are more secure is because virus writers target Microsoft and by extension that the security of Nix systems was based almost entirely on the fact that people ignore them in favour of attacking Microsoft.
That's why yer statement is amazingly wrong.
Wether you meant it like that is another matter. I just call 'em as I see 'em.
-
ITs not so much support for Microsoft, Lonestar, as calling an incorrect assertion wrong. If something smells like crap, it probably is crap. Your assertion is wrong. Its based on a dumb prejudice.
I don't like Microsoft OSes for serious hosting any more than the next guy, but its not because they're insecure (they are, out of the box), but because they take more effort to make secure and keep secure.
If you want to argue THAT, I'm with you 100%.
-
So what book would be best for learnin PHP? :)
-
Book? Hell no. http://www.php.net/!