Page 1 of 1
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 9:14 pm
by Red Squirrel
I posted this at another forum and got jumped on for saying php is better.
Curious to see what everyone thinks here.
Hopefully everyone here is in the right direction.
PHP all the way! Without it, this forum would not exist.
Archived topic from Iceteks, old topic ID:3735, old post ID:30314
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:05 pm
by jellyfish
I use ASP.NET (Stress the .NET!) with IIS 6.0. I need to as a part of my degree, o.k well they sort of took me off the programming modules the other day and told me that I'll be doing them next year...blah.
Depends on how you define better really as it would depend on what factors are important to you and what you are doing with the coding.
If you go the microsoft route you'll have to pay out alot of money for products such as win2003, visual studio.net, MSSQL server etc (I get them for free!!!).
ASP.NET is amazingly simple to use and the source code is hidden meaning that people can't rip off your work, then there's the MSDN library- 1.5 gigs of source code and tutorials.
There are forums and sites built entirely without php see
http://www.asp.net.
Archived topic from Iceteks, old topic ID:3735, old post ID:30316
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:31 pm
by Red Squirrel
So when you distribute a asp.net script there's no code? so it's like a zend encoded script? Good in a way, but if you're designing a forum for instance it's hard for people to mod it.
Archived topic from Iceteks, old topic ID:3735, old post ID:30317
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:36 pm
by Anonymous
...
Archived topic from Iceteks, old topic ID:3735, old post ID:30318
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:38 pm
by jellyfish
there is code but it's in a "code behind file" for instance if I were to create a page called iceteks.aspx the code behind page would be iceteks.aspx.vb, the .aspx page will only show the html, and will be the only page to show up in the browser...(well depends on what other pages you included in your project).
In terms of working on an open source project such as a forum or a portal you can include the project file which can be opened in visual studio.net and you'll be able to work on it from there.
I'll get a directory listing of one of my projects for you to look at.
Archived topic from Iceteks, old topic ID:3735, old post ID:30319
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:42 pm
by Red Squirrel
Oh ok, so yeah it's similar to php, like people looking at the source of the forum only get html, the php is server side. But in asp.net case it's binary + code where it runs off the binaries.
Archived topic from Iceteks, old topic ID:3735, old post ID:30320
asp+iis vs php+apache
Posted: Thu Sep 22, 2005 11:53 pm
by jellyfish
here's a little site I built in ASP.NET (well I compressed it all into one page using dynamic controls):
http://www.eternityinanhour.co.uk
The page is illuminations.aspx which I've set to be the default page for this site.
The code is in the illuminations.aspx.vb
here's a list of the project files, you don't need all of these but after finishing a project I just upload every thing (for backup purposes mainly):
bin/blake.dll (driver)
bin/blake.pdb (debugging file)
assemblyinfo.vb
blake2.vbproj (the project file for opening the project in visual studio.net)
global.asax
global.asax.vb
illuminations.aspx (the actual page itself)
illuminations.aspx.vb (the code behind page)
styles.css (stylesheet)
web.config (configuation file for the site, sets authentication and browser caps etc)
I've stuffed it all into the root and so if you try to access those files via the browser you should get a message up saying that they are not served.
It took me about 3 hours to do all of that.
Also ignore the horrible microsoft html and javascript, that's done automatically for you in visual studio.net.
Archived topic from Iceteks, old topic ID:3735, old post ID:30321
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 2:06 am
by Cold Drink
I've used ASP (not ASP.net) and like PHP much better. There seems to be a lot more available for PHP, as well as the fact that I hate VB so you can forget VB script for ASP as far as I'm concerned.
Archived topic from Iceteks, old topic ID:3735, old post ID:30337
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 5:20 am
by jellyfish
asp.net is very different from asp, infact I think that asp is quite crap. Asp.net uses VB.net and c#.net which is totally different from vb script.
Because VB.net and C#.net are languages on their own, once you learn asp.net you can also build desktop applications.
Archived topic from Iceteks, old topic ID:3735, old post ID:30342
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 6:15 am
by Streety
I've only done anything with PHP so can't comment on how good anything else is.
However I found that it was a lot easier to find info, tutorials and everything else you need in the PHP community than for any other language.
Archived topic from Iceteks, old topic ID:3735, old post ID:30343
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 9:26 am
by sintekk
Just so you know, if you use Mono, you don't have to use ASP on IIS. In fact, it works on Apache too
Archived topic from Iceteks, old topic ID:3735, old post ID:30344
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 5:21 pm
by Red Squirrel
Yeah but installing mono is a freaken pain in the ass. I still can't figure out how to get the damn thing to work. It's required for a UO server. I don't know why they even made the server in .net to begin with, server apps should be designed on linux first, then ported to windows.
Archived topic from Iceteks, old topic ID:3735, old post ID:30355
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 5:49 pm
by sintekk
Red Squirrel wrote: server apps should be designed on linux first, then ported to windows.
Heh, not when the majority of the game's user population use windows, you don't
These guys want people to use their server software, people that want to make their own servers most likely have played the game before and since most of the people that play the game use windows, well, there you go
Archived topic from Iceteks, old topic ID:3735, old post ID:30359
asp+iis vs php+apache
Posted: Fri Sep 23, 2005 6:52 pm
by Red Squirrel
Yeah you use windows to play the game, but to serve it, linux is much better. I did manage to get mono working though, it only works on the unstable version of debian as far as I can tell.
Archived topic from Iceteks, old topic ID:3735, old post ID:30368