ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

ASP.NET vs PHP: Choosing Your Application And Hosting

Updated on January 22, 2017
Cardisa profile image

Carolee is a passionate writer with a love for learning and teaching. She is a published author, poet, blogger, and content creator.

Two of the most popular website development scripting languages are ASP.NET and PHP. Chances are, if you have a blog or website, its created by one of these.

You may choose to create your website from scratch or template but whatever your choice there are things you should know before building your website or choosing a host.

Even for a novice who knows nothing about scripts these tips should come in handy.

When you purchase a hosting plan you are given a pool of applications to chose from in order to build your website. These applications come in prebuilt website templates so you need to know little or nothing about web development and programming to have a beautiful website built.

The thing you should know, is that both of these types of sites require a specific type of server to run smoothly. Otherwise you will get errors and your website may even break.


Source

What are ASP.NET and PHP

ASP.NET

ASP.NET is a scripting language that was developed using the Microsoft based system. This framework was created with developers in mind in order for them to build dynamic web sites which are dependent on servers. The pages are actually stored in databases and files on a server which is provided by your hosting provider. You can only edit the code from the back-end of the website.


PHP

Was originally designed for web development but has become so popular that it is now used for regular programming. PHP stands for Personal Home Page and was created by Rasmus Lerdorf to maintain his personal website. This language was developed using the Linux based system. Some PHP websites like Wordpress, allows for the user to edit the web files from within the admin pages of the website. For instance to edit a WP template all you have to do is log in to your site>dashboard>appearance>editor which will take you to the php files where you can edit the appearance and functionality of your site.


You need not concern yourself with the technical aspect of these languages, what you need to know are which applications are built using these languages so you can make the best choice.


Choosing your hosting provider

When you are ready to manage your own website you will have to search for a hosting provider. Before you make your choice you should decide on the kind of website you want and the application on which your website will be built.

This will save you time and headaches. The hosting provider hosts your website on servers which are built using either Linux or Microsoft technology. The trouble is, you may not be able to host an ASP based website on a Linux server, however, you may host the PHP on Microsoft technology but may have errors later on.

You need to know what your applications are made of and what servers your host provides. You can email your host provider support and ask for help, or use the list below to get an idea of which sites are Linux or Microsoft based.

Some hosts will let you know up-front which applications will run on the server but some wont. For example, Hostgator, Justhost or Godaddy will let you know when you try to install the application, if the install is available on that server. You might be prompted to choose your server but you can only do it once. After your install you may not change your server or you may get errors.

Scripts

PHP
ASP
Wordpress
Brandoo Wordpress (an edited version of WP to accomodate MS technology)
Drupal
Acquia Drupal (edited to accomodate MS technology)
Joomla
.NET CMS
Open Blog
Dot Net Nuke (DNN)
Serendipity
.NET Forge CMS
Life Type
Better CMS
Nucleus
Blog Engine.NET
Pixie
DasBlog
DotClear
DotNetAge
Concrete5
DropThings
ModX
Incentive
Xoops
Kartis
PhpwSMS
Kentico
PHP-Fusion
Lemoon
PHP-Nuke
Mayando
Mambo
MojoPortal
ocPortal
Orchard CMS
Sitemagic CMS
SageFrame
e107
RazorC.NET
PyroCMS
RakuCMS
Contao
Umbraco
 
 
 
 

If you have a Blog or Website, do you know what programming language it supports? And if so is your website hosted on the correct servers?

See results

ASP.NET vs PHP Ease of Use

One may be wondering which websites built with these languages are easier to use. Now this is totally subjective or selective based on which application you are using.

If you didn't know about these languages and you were building your website, you would choose an application which will give you the features you need for you site. That could be from either of the two lists above.

However, since PHP is one of the most powerful computer languages most every website has a bit of it's coding and it's not hard to add PHP to websites supported by other languages.

What I will say however, is that it is easier to find hosting for PHP based websites.

Some websites such as Drupal and Joomla take a very steep learning curve in order to build the site of your dreams. Wordpress is easier to use and very user friendly. In general, when starting out online it's easier to start with a blog before migrating to a website.

How to know if your server supports PHP?

Assuming you already have a host and is running a website but you aren't sure if the servers support a PHP such as a website like Wordpress, here is what you can do.

I am using Control Panel.

  1. Go to your control panel
  2. Open file manager
  3. On your menu bar, create a new file
  4. Name that file phphinfo.php (save)
  5. Open edit file
  6. Paste this code: <?php
    phpinfo();
    ?>
  7. Save
  8. Call the file from your browser using this format: http://mywebsite.com/phpinfo.php (replace mywebsite with your website's name)
  9. You should see a blue block with all your PHP information displayed (see photo)
  10. Delete file when you are done. Anyone with any tech sense can call your PHP info and you never want sensitive information to get into the wrong hands.

What a PHP info file looks like

Chances are, if your server is not supporting PHP, it's a Microsoft based server. This will give you the opportunity to choose which application is best suited for that server.

I recommend contacting your host before making a purchase, choose the application beforehand to make sure, then do the PHP test to confirm.

This will save you time and energy.

© 2014 Carolee Samuda

Comments

    0 of 8192 characters used
    Post Comment

    • Cardisa profile image
      Author

      Carolee Samuda 4 years ago from Jamaica

      Hi Ruby, thank you. If ever you decide to maintain your own website or blog please feel free to ask fro help.

    • always exploring profile image

      Ruby Jean Richert 4 years ago from Southern Illinois

      Very interesting Cardisa. I don't have a website or a blog. A lot of my friends are starting their own sites/ blogs. I am a member of wordpress. If i ever do start my own website this will really be helpful. Thank you so much...

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://hubpages.com/privacy-policy#gdpr"

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)