Results 1 to 9 of 9

Thread: .net/mssql vs PHP

  1. #1
    Join Date
    Apr 2009

    .net/mssql vs PHP

    Can anyone tell me the advantages/disadvantages between the two types of apps?

    Which app do you prefer and why?

  2. #2
    Join Date
    Nov 2003
    Worthington, OH, USA
    For business or hobby/personal?
    54 68 65 42 65 61 72 4D 61 79

  3. #3
    Join Date
    Apr 2009
    For business.

  4. #4
    Join Date
    Jan 2009
    For business applications I would suggest .NET and SQL Server since these are licensed products that come with support. Although there is allot of PHP support available on the internet it is open source and so you may find that you will have to air your organization's 'dirty laundry', if you will, on newsgroups such as this one. Going with a licensed product that comes with support that is a phone call away as opposed to digging through posts should a development or even worse a production issue arise.

    Hope this helps,

    Larry Darrah
    MS AE

  5. #5
    Join Date
    Jun 2008
    Personaly I think that PHP is more straight forward. Much of .NET functionality is interlinked with Windows and hidden away from your general developer.

    I now make projects in both, but still find it refreshing to make some stuff I do in .NET in PHP, just for fun.

    If you looking to learn one of them from scratch, I'd say start from .NET, as it will be a major pain in the butt to learn after you've worked with proper coding like PHP or Java

  6. #6
    Join Date
    Apr 2009
    Huntley, IL
    Wow! Just saw this one and I had to comment briefly. I am not sure what "proper coding" means, but if spaghetti code is what you mean, then yes, use PHP. That is basically what you will end up with. Also, you need to be more specific with what you are comparing. .Net is a framework that allows building web sites, executables, web services, etc. etc. etc. PHP, you get web pages and that is it, correct? Also, the IDE for .Net apps is Visual Studio, and the IDE for PHP is ... notepad or another text editor.

    So, these are my brief comments that I am sure will stir up some more comments.

    peace yo!

  7. #7
    Join Date
    Jan 2009
    I would laso like to add that .NET, being a framework, is consumable by many programming languages like CFML8 and Python... not just windows client applications and provides great flexibility in the functionality while not letting you "jump off a programming cliff", if you will.
    Last edited by tattooedscorpdc; 05-07-2009 at 03:24 PM.

  8. #8
    Join Date
    Jun 2008
    One can write .NET apps in notepad if needs be

    If "spaghetti code" - means just putting everything in one file without writing functions and classes or any other structure, then it's kinda wrong, at least for me anyway.

    As I use both for web development, I make my judgement based on that.

    The problem I found with .NET is that a lot of it is a locked in functionality, so it takes far more effort to get it all just to work. That is exactly why I advise learning .NET FIRST.

    Once you can write .NET properly though it does have some of the more useful features like combining both server and client side scripting. Another advantage of learning .NET first will be a habit of declaring variables in the begining of the page/function

    The PHP is more down to earth coding with far less internal functions, it also integrates with HTML much easier. It is much easier to write code in PHP as one does not have to call on to a numerous inbuilt functions of inbuilt objects. The backlash is that PHP is only server side scripting, and one needs to learn JavaScript for client side.

    The bigest advantage for PHP is that it can run on ANY server where's .NET is limited to Windows servers only

    One can create web services in both PHP and .NET

    I tried to explain it the best I could. There always will be those who will try to ditch one or the other. Learn them both and then make your choice.

    I try to improve at both of them despite prefering PHP.

  9. #9
    Join Date
    May 2009
    Milan & London
    I use PHP, Java and .NET for development - they all have their plus points and I think that they will reiterate some other points mentioned here.

    For work:
    Almost exclusively .NET as I write both applications and websites and you can share a large portion of the back-end code between apps and websites. Also the support situation is another reason. The other main reason is the IDE which is very slick, great debugging on-the-fly (you could write a whole article on how good the IDE is to be honest). Speed of building software is also a big business incentive.

    For hobby:
    PHP mainly and some Java. In some ways the fact that I don't use a really nice IDE for either of these means that I can edit code on any machine and even online (my host has browser-based code editors). It is very cheap to get hosting with databases and lots of impressive free software to install. If my job involved using these languages more, I guess I would do .NET for a hobby though as I think it can't do any harm to be good at all of them!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.10442 seconds
  • Memory Usage 2,919KB
  • Queries Executed 15 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (9)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates