asp+iis vs php+apache

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

asp+iis vs php+apache

Post by Red Squirrel »

I posted this at another forum and got jumped on for saying php is better. :o Curious to see what everyone thinks here.

Hopefully everyone here is in the right direction. :lol:


PHP all the way! Without it, this forum would not exist. :D

Archived topic from Iceteks, old topic ID:3735, old post ID:30314
Honk if you love Jesus, text if you want to meet Him!
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

asp+iis vs php+apache

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

asp+iis vs php+apache

Post 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
Honk if you love Jesus, text if you want to meet Him!
Anonymous

asp+iis vs php+apache

Post by Anonymous »

...

Archived topic from Iceteks, old topic ID:3735, old post ID:30318
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

asp+iis vs php+apache

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

asp+iis vs php+apache

Post 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
Honk if you love Jesus, text if you want to meet Him!
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

asp+iis vs php+apache

Post 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
Cold Drink
Posts: 96
Joined: Fri Jul 16, 2004 1:04 pm

asp+iis vs php+apache

Post 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
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

asp+iis vs php+apache

Post 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
Streety
Posts: 182
Joined: Mon Aug 16, 2004 7:12 pm

asp+iis vs php+apache

Post 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
Image
sintekk
Posts: 4994
Joined: Mon Feb 16, 2004 10:38 pm

asp+iis vs php+apache

Post 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 :D

Archived topic from Iceteks, old topic ID:3735, old post ID:30344
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

asp+iis vs php+apache

Post 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
Honk if you love Jesus, text if you want to meet Him!
sintekk
Posts: 4994
Joined: Mon Feb 16, 2004 10:38 pm

asp+iis vs php+apache

Post 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 :P
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 :P

Archived topic from Iceteks, old topic ID:3735, old post ID:30359
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

asp+iis vs php+apache

Post 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
Honk if you love Jesus, text if you want to meet Him!
Locked