Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Php Or Asp?


20 replies to this topic

#1 jopak134

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 317 posts

Posted 10 March 2008 - 09:20 PM

i need help what to master first.

first of all can some of you help me decide what to master first but here are the things that ia have now

i know html css.
i am used to microsoft programs not really pertaining to web design programs but microsogt programs in general
i have already books about asp
price is not a matter but if its too steep then it matters <_<

also a lot of questions:

from a noob website maker like me what is the easiest to master/study asp of php?

what is the majority using, the known sites are using like google or something?

asp is incorporated in expression web, does php has one too?( i know its open source) what i mean is a php editor of some kind

i have seen websites that are asp and php both of them are good is it really a just a matter of preferrence?

some say asp is faster at loading but supports only some database( don't know the meaning of this but wth :( ), while some say php is faster and support almost all database?

and the last thing: if your gonna study/master if for a week can you make your own scripts/code or copy paste codes/script but know what they are, which is better in this criteria php or asp

#2 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 10 March 2008 - 09:34 PM

asp is a Microsoft scripting language, I believe, and php runs across more platforms, like Apache, which is the pre-dominant web server.
Asp is not available on the trap17, and php is more widely used than asp.

I learned php and mysql because they work together so well and are so much more useful across the web..

#3 masrawy

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 11 posts

Posted 11 March 2008 - 12:22 AM

Asp.net is microsoft technoloy and here is a positive side because in asp.net you can write with more than one programming language ... you can write in asp.net with visual c sharp or visual basic, actually I did not practice php so I cannot talk about it.. thank you

#4 sonesay

    |||[ n00b King ]|||

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 958 posts
  • Gender:Male
  • Location:Auckland
  • myCENT:68.27

Posted 11 March 2008 - 01:44 AM

It all comes down to preference if you are used to Microsoft products then ASP might seem much easier to learn then PHP. PHP is more widely available so unless you have easy access to setting up an ASP server then I would go start with PHP. I've only worked with ASP once and it was a tutorial to build a ajax type of user interface where you have forms and it will submit data, compute it and display it back. In the source code of ASP I did not like the bulk of the ASP tags. It seems as though they have proprietary <tags> that make learning HTML confusing if you are new to both. They have custom asp tags for form elements etc I believe. With PHP the code does not resemble HTML so you wont get confused as easily and its much easier on the eyes IMO. The choice is up to you of course what you go for. I would suggest PHP because we have a lot of users here and if you new to programming there will be a lot more help available on trap17 forums.

#5 jopak134

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 317 posts

Posted 11 March 2008 - 06:41 AM

oh trap17 doesn't support asp so i must go for php for now. <_<

if so then, can anybody point me to a php tutorial site?

and should i learn php now or learn something else first like javascript?

#6 darran

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 661 posts
  • Gender:Male
  • myCENT:ZERO

Posted 11 March 2008 - 09:34 AM

PHP is a server script, while JavaScript is more of a client script. PHP will form the bulk of your site's functionalities, JavaScript on the other hand will enhance it. So I would advice you to start off with mastering PHP before making use of JavaScript to further enhance your site. Of course, if you do not know basic HTML and CSS, be sure to learn it before hopping onto a server side language

#7 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 11 March 2008 - 10:05 AM

Check the tutorial sub-forum right here on the trap. Lots of good, basic information in there. Log-in scripts, mail forms, and many others.
Ghostrider wrote up some pretty good tutorials for php last year, eight of them that went quite a ways into understanding lots of good stuff.

http://www.trap17.com/forums/index.php?act...e=%2Bghostrider

Start out with those and also, become familiar with the php.net site. They have all of the functions defined, explained, with code snippets and syntax examples.

And be sure to ask for help by posting a Topic in the php programming section. Many of the Members know php and are more than willing to assist you.

#8 delivi

    Trap Grand Marshal Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,320 posts

Posted 11 March 2008 - 11:39 AM

ASP is the Server-Side Scripting language from Microsoft. Microsoft Visual Studio is used for developing & designing using ASP.NET. ASP.NET has a lot of prebuilt bundled components so you can save a lot of time writing code for the things that you use commonly. You can learn more about ASP.NET at http://www.asp.net/.

PHP is an Open Source Server-Side Scripting language currently managed by Zend. PHP is the most commonly used web programming language, the reason being it is free and you get cheap and free hosts for PHP sites. You cna learn more about PHP at http://www.php.net/.

Here are my collection of the comparison between PHP and ASP.NET, this will help you to decide which one to go for,

* WebProNews : ASP vs. PHP
* netconcepts : PHP versus ASP comparison
* PRECISION : PHP and ASP.NET Go Head-to-Head
* Oracle Technology Network (OTN) : PHP vs. ASP.NET Redux
* builder au : PHP, ASP or ASP.NET?

For coding in PHP you've a lot of editors that are similar to those for ASP. Here are a few,

* PHPEclipse - http://www.phpeclips...ew_articles.php
* PHP IDE Project - http://www.eclipse.org/php
* Aptana - http://www.aptana.com/
* PHP Designer - www.mpsoftware.dk/phpdesigner.php
* Zend studio - http://www.zend.com/
* Dev PHP - sourceforge.net/projects/devphp/
* Komodo - http://www.activesta...Products/Komodo
* PhpED - http://www.nusphere.com/
* PHPEdit - http://www.waterproof.fr/
* Rapid PHP Editor - http://www.blumentals.net/rapidphp/
* CodeLobster PHP - http://www.codelobster.com/
* Davor's PHP Editor - http://www.download.com/Davor-s-PHP-Editor...4-10154060.html

Edited by delivi, 11 March 2008 - 11:50 AM.


#9 jopak134

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 317 posts

Posted 11 March 2008 - 06:04 PM

thank you for the replies i'm getting excited learning php. but what should i do first? download the php editors first?( joomla is php editor right?) if so what's the best one for beginners? or should i download first the one in php.net?

and another thing, i have read somewhere that if your hosting service support php you don't really need to install anything just make a txt with .php as file type is this true? if true then can i do this here in trap17?

#10 sonesay

    |||[ n00b King ]|||

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 958 posts
  • Gender:Male
  • Location:Auckland
  • myCENT:68.27

Posted 11 March 2008 - 08:23 PM

Joomla isnt a PHP editor its a Content Management System built on PHP. What your after if your starting off to learn PHP is a basic text editor with simple highlighting for syntax so you know when you miss-type a keyword. Maybe having the editor be able to show you hints will help out too. Dreamweaver has this for PHP.

Yes you can just work on the file then save it as file.php and upload it with FTP to your hosting account in the correct folder. All you will need to do is type in the URL address in your browser then you can start viewing it. Make sure you ftp your files into www folder.

Once you get the hang of it you will probably want to setup your own testing server as uploading and checking can take a bit of time where as being able to test locally is much quicker. You can then download and try xampp that is your own personal web server with PHP built in. Google it.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users