asp.net MVC 4 or PHP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I have programmed in both language (beginner), but I am spending money on one of these classes that I will pick; and yes I like both languages, however, which one is the best path for todays world, "AS OF NOW, 2014". In other words, with the knowledge and expertise in the field from you guys and if you had to chose one path to focus on would it be in terms of job security and finding a in demand job. (yes I program for fun, but I need to make a living as well) I am not concerned about pay, just jumping into something worth it.
To add on, I am a systems administrator for a school, but, I only use Active Directories, batch, lunix, setting upi clones and servers, ect, but I have been intrigued by programming, maybe that can help out with my chosen path. Thanks!
asp.net MVC
or
PHP5
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
On the other hand it depends on what platform (OS) you want to develop on. As you already know ASP and other .NET languages are only for Windows and PHP runs on Windows and Linux.
Taking the language learning curve, PHP I think would be easier to pick up.
Besides the big 3 (.NET, Java and PHP), there are others like Ruby or Python.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Actually couple years back, given I already know PHP, I debated over .NET or Java ... and Java the winner after my personal analysis and (career) goals.
Here are my reasons:
* .NET itself is a framework or platform if you will that enable the user to develop/run multiple programmings languages (eg VB,C#,ASP,C++ etc)
* ASP.NET MVC is not just ASP, but also backed by another language usually VB or C# = meaning you will pick up either one of these along the way
* Since .NET is Windows-based, the app server will be Internet Information Server (IIS) which as admin I assume you would have some experience installing/configuring/deploying etc
* PHP can run on Windows through IIS, just need a module so you can pick up PHP too
* depending on projects, mixing ASP and PHP pages in the same website is possible (I mean not in the same page source code wise)
* database wise, SQL Server would most likely the key DBMS for .NET but all others can equally work well (eg Oracle, MySQL, DB2, PostgreSQL etc), just configuring the project's database settings
* the one thing I would say is "probably" a disadvantage is that there may not be a whole bunch of third party libraries for say persistence, logging, send email, doing xxx or yyyy besides the features/libraries that come with .NET framework (eg .NET persistence is ADO, is there another option?)
A note about PHP on Windows: There is a difference between running PHP on Windows IIS and Apache HTTP server. The PHP for Windows IIS is compile with VC9 where PHP for Apache HTTP is VC6. So need to be careful when choosing which installer or file to use.
Hope this helps.

K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
K. Tsang wrote:
* the one thing I would say is "probably" a disadvantage is that there may not be a whole bunch of third party libraries for say persistence, logging, send email, doing xxx or yyyy besides the features/libraries that come with .NET framework (eg .NET persistence is ADO, is there another option?)
I know you only said "probably", but I don't think that's accurate nowadays. There are plenty of libraries, often adapted from other languages (especially Java). E.g. persistence - rather than ADO, nowadays the de facto standard would probably be Entity Framework (Microsoft's ORM), but NHibernate is fairly widely used. For logging, I use log4net, which is a port of log4j. The central nuget repository (nuget is the .NET package manager) has over 24,000 packages available. I'd guess Java has more, but that's plenty for me!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Since my background is more in Java, I have not develop with .NET much so am not familiar with the variety of .NET libraries out there.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
william chaple wrote:just wondering, what is the difference between asp.net and asp MVC?
Did you google?
Simple answer is that ASP.NET is based on "web forms" and ASP.NET MVC is incorporating the MVC (model-view-controller) design pattern into ASP.NET.
The link here may give you a better idea.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
there are usually 3 separate folders (for my case since I am starting) pretty cool.
Anyhow, I think I am going to do ASP.NET MVC for my case
Can I jump straight into MVC or the traditional webforms first?
and would you think PHP will become more popular vs asp as time continues on?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Regarding PHP popularity, who knows? PHP over the past 10-15 years has gone from structural/procedural (like C) in PHP4.x to OO since PHP5.0 (now its what 6?).
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
K. Tsang wrote:ASP.NET MVC indeed. I doubt new development use web forms anymore.
Regarding PHP popularity, who knows? PHP over the past 10-15 years has gone from structural/procedural (like C) in PHP4.x to OO since PHP5.0 (now its what 6?).
yeah, I think php is at 5.5 right now ha ha. I actually always wondered, being kind of new to programming, when they mention PHP becoming an OO language, what exactly do they mean by it if it is always used for web services? Or is it due to frameworks and design patterns
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
william chaple wrote:when they mention PHP becoming an OO language, what exactly do they mean by it if it is always used for web services? Or is it due to frameworks and design patterns
Who says PHP is used for web services? Back in the days I use PHP... web services is not even popular at least with PHP. Yet I have seen companies use PHP for (desktop like) GUI ... like what? PHP running on desktop? WTF Anyway didn't understand how.
Today's world most PHP frameworks are MVC this and that, which is OO in nature.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
K. Tsang wrote:
william chaple wrote:when they mention PHP becoming an OO language, what exactly do they mean by it if it is always used for web services? Or is it due to frameworks and design patterns
Who says PHP is used for web services? Back in the days I use PHP... web services is not even popular at least with PHP. Yet I have seen companies use PHP for (desktop like) GUI ... like what? PHP running on desktop? WTF Anyway didn't understand how.
Today's world most PHP frameworks are MVC this and that, which is OO in nature.
Well, I decided to look for a youtube video on OO PHP. Well, seems awesome. One thing that did not click for me, what are the uses for? why would one use OO PHP in comparison to server scripting language?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
| Could you hold this kitten for a sec? I need to adjust this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |












