View Full Version : ASP/ASP.net vs. PHP (seeking info)
Leonisknovo
10-27-2004, 04:49 PM
Just wondering, how does ASP/ASP.net
compare to PHP and others? (ColdFusion, etc.)
I'm asking from two angles; one being
actual use, and two being from the prospect
of centering a web design career around it.
http://www.amazon.com/exec/obidos/tg/detail/-/076454599X/qid=1098909178/br=1-2/ref=br_lf_b_2//002-4101036-2844850?v=glance&s=books&n=3601
http://www.amazon.com/exec/obidos/tg/detail/-/1861002610/ref=pd_ts_b_1/002-4101036-2844850?v=glance&s=books&n=3601
http://www.amazon.com/exec/obidos/tg/detail/-/1861007868/ref=pd_ts_b_4/002-4101036-2844850?v=glance&s=books&n=3601
http://www.amazon.com/exec/obidos/tg/detail/-/1861003382/ref=pd_ts_b_19/002-4101036-2844850?v=glance&s=books&n=3601
http://www.amazon.com/exec/obidos/tg/detail/-/1861007248/ref=pd_ts_b_23/002-4101036-2844850?v=glance&s=books&n=3601
http://www.amazon.com/exec/obidos/tg/detail/-/1861007752/ref=pd_ts_b_25/002-4101036-2844850?v=glance&s=books&n=3601
Out of those books, which would be the
best to get if one desires to start
learning ASP, and maybe ASP.net?
afterburn
10-27-2004, 08:18 PM
ASP.net is the way to go .... Mono is open source for linux version of the .net framework.
Its possible to do it on Mac OS X, Free BSD, Nt4,98,XP,2003 on MS framework.
Leonisknovo
10-27-2004, 08:43 PM
So, overall ASP.net is perhaps
better than PHP?
But is that from a career standpoint,
or actual usage (usefulness, etc.) view?
Also which one of those books would
be good to start someone into learning
ASP.net, with no prior knowledge to
anything but [x]HTML/CSS and PHP/MySQL?
Doug G
10-27-2004, 09:12 PM
afaik employment opportunities are much greater for ASP/NET developers than PHP developers.
You can visit www.asp.net and get all the stuff you need for free to start some NET development for yourself.
I don't know about books, I mostly use the MSDN documentation and haven't found it necessary to look for outside books, but unless a book is a real turkey you can't really go wrong with any book.
$000000000.02
putts
10-28-2004, 12:26 AM
as far as careers go, you've almost DEFINITELY gotta go with ASP (especially .NET)
afterburn
10-28-2004, 12:40 AM
I would have to agree, MS and corporate development go hand and hand. I have not seen any pro-jobs hiring for PHP. But I have for ASP/.net ...
Leonisknovo
10-28-2004, 12:52 AM
Originally posted by afterburn
I would have to agree, MS and corporate development go hand and hand. I have not seen any pro-jobs hiring for PHP. But I have for ASP/.net ...
Okay, but any book recommendations?!
I only got like $10 to spend, so
obviously used on Amazon :p
Also, do I need to learn C#, C++,
VBScript, VB.net, etc. before ASP/.NET?
darktown
10-28-2004, 12:47 PM
If you want to use asp.net the great thing about it is that you can choose any programming language that you want to built the project.
I personally use vb.net, more 'hardcore programmers' prefer C#
For the moment i am building a site in asp.net in vb.net on a MYsql database (using myodbc 2.50).
I got a problem ' non intallable issam files' while using Access (got office 2003) and i just didn't find the solution so i am just using mysql database for now and later on i'll see if i'll change it.
To answer your question :
I have always programmed in PHP, asp.net if different you got 2 files .aspx file and .vb file.
in the beginning it's weird what to do in what file but after a while you get used to it.
If you got noobie questions i'll do my best to answer them ;)
afterburn
10-28-2004, 01:24 PM
Originally posted by Leonisknovo
Okay, but any book recommendations?!
I only got like $10 to spend, so
obviously used on Amazon :p
Also, do I need to learn C#, C++,
VBScript, VB.net, etc. before ASP/.NET?
You live close to my work on Bellevue Ave in Daytona don't you?
Leonisknovo
10-28-2004, 01:36 PM
.. WHO TOLD YOU?!?! :P
Yea, I live near Daytona.
Isn't Bellevue Ave. behind the Airport,
that you can take to hop on whats-its-road
and then hang a left to get to Sams Club?
But my parents are against the whole
"meet someone you met online" ;)
Though I must admit, I never thought
there was much back there behind the Airport :P
---------- n00bie Q ----------
How the hell do I configure
IIS 5.0? :P Its on my 2KPro disc.
Also where to start on learning ?
ASP.net looks cool, but are there any
that help for those moving from PHP to aSP?
Heh i just watched a couple of the webcasts (the first 2 in the 4 part series)... i pretty much knew most of what he said anyway, but it was good to get a better understanding of the fundamentals and structure, instead of just syntax familiarization
thx again for the info afterburn =)
p.s. dunno if you watched it, but he says URL like 'Earl'... who the heck says URL like that?? it's so weird..lol
afterburn
10-28-2004, 01:49 PM
Originally posted by Leonisknovo
.. WHO TOLD YOU?!?! :P
Yea, I live near Daytona.
You did in a thread about 2 or 3 months ago.
Originally posted by Leonisknovo
How the hell do I configure
IIS 5.0? :P Its on my 2KPro disc.
Also where to start on learning ?
ASP.net looks cool, but are there any
that help for those moving from PHP to aSP?
Go to add/remove programs click on windows programs, select IIS (internet Services)....
Not really PHP is nothing like the syntax of VB.
Leonisknovo
10-28-2004, 02:00 PM
Okay, IIS is setup; and I know I did,
I was joking hence the :P
I'm trying abit of code from ASP.NET,
and here's what I got...
<%@ Page Language="C#"%>
<html>
<head>
</head>
<body>
<center>
<form action="intro2.aspx" method="post">
<h3> Name: <input id="Name" type=text>
Category: <select id="Category" size=1>
<option>psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
</h3>
<input type=submit value="Lookup">
<p>
<% for (int i=0; i <8; i++) { %>
<font size="<%=i%>"> Welcome to ASP.NET </font> <br>
<% }%>
</form>
</center>
</body>
</html>
Saved as intro.asp; won't work.
So I noticed that the file is
as .aspx on the site, so I use that.
With that, FireFox is asking me
to download the page...
Just used IE, works there :(
Can't ASP be FireFox friendly??
afterburn
10-28-2004, 02:20 PM
.net framework SDK installed???
Leonisknovo
10-28-2004, 02:24 PM
No, don't think so.
But I do have .NET Framework 1.1 installed.
I do have a file called Micrsoft NET Framework SDK
in my external hard drive though.
Is that it?
afterburn
10-28-2004, 02:37 PM
Got to www.microsoft.com/net
download 1.1 framework SDK its about 120 MB.
Leonisknovo
10-28-2004, 02:44 PM
Downloading, MS seems to be going slow.
When its done installing, etc. ~~ what
do I do with it? :P
Is it anything special, like a compilar
or something else?
afterburn
10-28-2004, 02:47 PM
It does have a vb.net/C#/J# compiler that is commandline. You can use Web Matrix from www.asp.net or sharpdevelop. I use VS.net 2k3
Leonisknovo
10-28-2004, 02:54 PM
What file does the actual compiling?
Because I use Crimson Editor (add .COM)
and you can use it to compile stuff.
You just have to point to the file
that actually compiles stuff.
Or @least for C/C++, Java, and LaTex.
Er; so basicly I have to take that what
I posted and run it through the SDK??
Leonisknovo
10-28-2004, 03:14 PM
Okay its installed and all, but
I really don't get what the hell
am I supposed to do with it??? :P
afterburn
10-28-2004, 03:15 PM
well the syntax for the compiler on the command-line will differ between languages. But
csc will compile c#
jsc = J#
vbc = VB.net
Web Matrix has good IDE with FTP so that you can WYSIWYG type editor.
Leonisknovo
10-28-2004, 03:19 PM
Guess I'll download WebMatrix.
But I want to know, why (in FireFox)
is it asking me to download .ASPX?
Because I'm surfing other sites
that use .ASPX and its working fine.
So it sounds like a IIS Config problem,
any ideas how to fix it???
afterburn
10-28-2004, 03:40 PM
Originally posted by Leonisknovo
Guess I'll download WebMatrix.
But I want to know, why (in FireFox)
is it asking me to download .ASPX?
Because I'm surfing other sites
that use .ASPX and its working fine.
So it sounds like a IIS Config problem,
any ideas how to fix it???
The file is being sent back as a text file not being processed you can verify that by looking at the source code. If it has anything else but HTML then (C# or whatever) its not running ASP.net. You install the SDK and your good to go.
Leonisknovo
10-28-2004, 03:44 PM
I've installed the SDK, and its
still happening (why I posted it).
But if I view it in M$IE, its showing
the web form and "Welcome to ASP.NET".
Also the "phpinfo.php" file that I have,
will work in M$IE (and show the info etc)
but yet its asking me to save it for FireFox.
Leonisknovo
10-28-2004, 03:48 PM
Okay I checked the source in
M$IE and your right, its not showing up.
Maybe its because I never rebooted,
though I'd think it'd tell me to REBOOT.
afterburn
10-28-2004, 03:52 PM
not sure ... but see if it tells you when you try to execute the file.
Leonisknovo
10-28-2004, 04:04 PM
What do you mean, "execute the file"?
I entered the code I pasted on
the first page, saved as 'intro.aspx'.
Here's the reply I get in Firefox.
Do you have Yahoo! IM by any chance?
Okay I checked Admin Tools -> SERVERS
and noticed that "ASP.NET STATE SERVICE"
was disabled.
Turned it on, and now .ASP is being
processed just fine; .PHP and .ASPX are not.
afterburn
10-28-2004, 04:43 PM
if you right click the root website... can you see the ASPNET filter on the default website??????
If so then ASP.net is installed however server side .net install is needed to install that....
also some utilites can configure it if its not correct
aspnet_iisreg in c:\windows\Microsoft.net\Framework\**\
where "**" is the version of the framework. 1.1 version really is 1.4 or something 1.0 is 1.3.....
Leonisknovo
10-28-2004, 04:49 PM
I can go to...
Admin Tools -> Internet Services Manager;
Right-click "default website" -> Properties.
Now I see a tab called "ISAPI Filters"
and there is nothing listed below.
Or, on the "Home Directory" tab, I can
click "CONFIGURE" under App Settings,
and it lists various .* extentions
and the execution path.
I see ASP, SHTM, SHTML, STM, PHP, PHTML, PHP3.
afterburn
10-28-2004, 04:54 PM
since you have IIS installed .... download the IIS 6 ResKit... it works on any IIS version with .net installed ... its written in c#.
Use the app to view the default inherited filters... if ASPNET and a user installed in the computer users...
computer management->Users and Groups->Users... if there is a user ASPNET then ASP.net should be installed also... it also installs a user IIS_WPG which lauches the .net framework from unmanaged code.
Leonisknovo
10-28-2004, 04:58 PM
Can't, only works for 2003 and XP Pro.
I'm running 2KPro.
As for the computer managment, where
do I find that? I tried..
Right-click My Computer -> User Profiles ->
and I see two listed.
JONATHAN\Administrator
JONATHAN\ASPNET
afterburn
10-28-2004, 05:23 PM
thats not true... I use it on my XP pro and 2K boxes. It just has to be extracted there is a command-line to do that.
its on the same page that you download it from ....
that is good on the ASPNET user. Means it installed, maybe something else.
Leonisknovo
10-28-2004, 05:33 PM
2K or 2003 though?
I see nothing about command line on the
page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&displaylang=en
afterburn
10-29-2004, 10:47 AM
open command prompt
IIS60Rkt -k
should do it... just installed it myself ...
Leonisknovo
10-29-2004, 10:54 AM
Start -> Run -> CMD
'IIS60Rkt -k' ~ not found, etc.
So I did cd c:\blah blah blah
to get to desktop and did it again.
Launched the install, and again it said
that this product isn't supported on this O/S.
afterburn
10-29-2004, 10:59 AM
Worked for me... no idea what is wrong then
Leonisknovo
10-29-2004, 11:05 AM
Originally posted by afterburn
Worked for me... no idea what is wrong then
Are you using it on 2000 Professional,
or 2003 Professional? You didn't say exactly.
afterburn
10-29-2004, 11:13 AM
XP Pro...
there is no 2k3 pro... its web Edition,Server,Enterprise..
iis60rkt.exe /V/a
is the corrected version.. it does not install it rather it only extracts them...
Leonisknovo
10-29-2004, 11:20 AM
Ah, I'm running 2000 Professional,
which is why it didn't want to work ;)
That worked and it dumped a 'system32'
folder in my C:\
Then in Program Files is a new folder
called 'IIS Resources'.
afterburn
10-29-2004, 11:32 AM
good... there is a file named IIS meta base or something as such. That gives you hierarchy of the structure of the workings of IIS. You can actually create websites and custom logging modules then mimic entries of other ones to install them.
IIS needs one for writting to a db instead of a text file
Leonisknovo
10-29-2004, 11:37 AM
I do not have a DB.
Well, I do have a single MSSQL one,
but my schoolwork installed it along
with the .NET Framework :confused:
So I can't use it, obviously.
There's a tool called "Metabase Explorer".
Is this what you mean? What do I do with it? :P
BTW, I ordered 'Active Server Pages Bible'.
Figured for $3 + $3 S&H, can't go wrong.
afterburn
10-29-2004, 12:22 PM
Its hard to explain without the detials of it. anyways Download MSDE a no user interface SQL 2000 .... then download Web Data Administrator both from MS and you can do anything with .net you want.
Leonisknovo
10-29-2004, 03:25 PM
Okay I got both of them.
I went to run the SQL Setup and it
dumps some files into C:\MSDERelA\
Now, I noticed under Add/Remove Programs,
it has "Microsoft SQL Server Desktop Engine (SOSHOME22)".
So.. how do I continue and NOT effect
this? B/C thats for all my schoolwork.
Also I got the Web Admin Panel, installing
as I type this up.
Oh and when I went to C:\MSDERelA\
I tried running the "Setup" file but
it said something bout needing a strong password?? :confused:
btw, I noticed you have Yahoo! IM;
sign on so we don't have to wait
for replies on this forum :P
afterburn
10-29-2004, 04:46 PM
It should ask your for another instance name... you can install SQL 2000 multiple times. Just a different instance name.
afterburn
10-29-2004, 04:53 PM
Download the BOL or books online.... its for SQL 2000 but 99.9999% will apply.
Leonisknovo
10-29-2004, 04:59 PM
Do I have to setup a database though?
What about just learning regular ASP?
To really learn enough to tell if I want
to *really* continue and get a host for it,
do I need the database?
afterburn
10-29-2004, 06:20 PM
Yeah if you know how to create your own databases. If not look in the BOL like I suggested, it will give you the SQL syntax to do so.
Leonisknovo
10-29-2004, 06:38 PM
Okay. I may just wait on making the
SQL db til the asp book gets here.
I just do NOT want to do something
that accidently screws up the one
running right now, that my schoolwork
program installed.
Leonisknovo
11-11-2004, 02:57 AM
Okay the APS book just came in earlier today;
I gotta say its abit.. well, advance.
Back says for beginners to advance,
but it seems almost more of a referrence.
First chapter catchs up on HTML,
second and third is learning the basics
of VBScript to work with.
After thats its a section of
"ASP Concepts" and then moves on from there.
So far I have not found any sort of
"Hello World" example and the two
chapters on VBScript are nice but
I don't see the basic "what is VBScript",
such as what tags to use to open/close.
Also, any idea how to configure IIS's
FTP Server? I got it to let me connect
using 127.0.0.1 but not to upload files.
afterburn
11-11-2004, 11:09 AM
That depends on what type of control you want to use.
If you're using a asp:Label control then, on your page_Load event you want to place idOfLabel.InnerHtml = "Hello World";
Sounds like security issues on your folder.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.