Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   PHP or .Net (https://www.warriorforum.com/programming/289745-php-net.html)

banzerchristo 13th June 2011 11:43 AM

Re: PHP or .Net
 
Go to PHP, because it will be easier to find people who can help us develop the website and is also much more portable. NET. PHP is basically up and running soon. All you need is an Apache server with PHP and MySQL, and you're ready to go. It is fully involved in all these bundles, so do not even need to download all the individual parts separately.

paintingsgalore22 14th June 2011 02:35 AM

Re: PHP or .Net
 
Both are in demand, anywhere you go. It depends on your taste. When you start getting into the development community, you'll hear a lot of "PHP sucks" talk. To me, it doesn't suck...it just isn't as useful as .NET, and where it IS useful, you have to work harder.

HostingWarrior 15th June 2011 06:37 AM

Re: PHP or .Net
 
We can create dynamic website by using both. But, i give importance to PHP because it is widely used in many websites in today's world and also it is open source and integrated well with MySql.

liveseosolution 18th June 2011 04:56 AM

Re: PHP or .Net
 
According to me i prefer asp.net . Just because i am familiar with asp.net than php.

seasoned 18th June 2011 06:48 AM

Re: PHP or .Net
 
Well, ASP, and .net were created by a company that was trying, and may AGAIN, to take over the internet. They managed close to a 30% saturation. They EVEN peaked at 40%, around 2008! They are now at 20% and DROPPING! YEP, ever since that 2008 peak! The LEADER, Apache, is at about 62% and climbing. And most of the remainder are derived from Apache! Who sells those? IBM and Oracle to name just two! HECK, Oracle bought sun, so you KNOW where THEY are at!

So I would say to stick with the standard multiplatform PHP rather than the proprietary ASP.NET, most Windows, really only fully functional on windows foundation.

The ONLY advantage I see for a seller for ASP.NET is that it can be somewhat obfuscated, like Java.

Steve

iaxia 19th June 2011 05:42 PM

Re: PHP or .Net
 
PHP is by far the better option. Free and can be done in Notepad. Requires 10% of the resources that .net does to run. If you look at most of the major sites nowadays they are mostly PHP and the ones that are not are slowly switching. As the sites get more complicated the server hardware requirements grow with them. Linux/BSD platforms will provide much more bang for the buck and are much easier to scale for future growth.

newbie365 19th June 2011 08:33 PM

Re: PHP or .Net
 
PHP RULES! :) .net SUCKS

danieljames123 21st June 2011 05:48 AM

Re: PHP or .Net
 
Both are same but php is some more easy to use and easy to learn. Nowadays many companies are turn on php. has much better support for the database management system, MySQL. In fact, the very popular blogging platform, WordPress uses the formidable combination of PHP coding on MySQL for its content management system, which includes about hundreds of thousands of blog posts every single day.

dominicyordz 22nd June 2011 12:20 PM

Re: PHP or .Net
 
PHP hands down. It is easier and more practical. There is a reason why it is used by majority of websites today.

AdWorkMedia 30th June 2011 03:17 AM

Re: PHP or .Net
 
I think it's pretty clear by now that PHP is the winner but I just wanted to show my love for PHP.

thebuddinggourmet 4th July 2011 04:16 AM

Re: PHP or .Net
 
i think php is best. it is easy to use & also free. is is one of the best server side scripting language/.

samdepps 4th July 2011 06:54 AM

Re: PHP or .Net
 
PHP is easier to learn because it's just a scripting language for the web. ASP.Net is a small subset of C#.Net and/or VB.Net, both of which are full development languages. There is considerably more to know when working with ASP.Net, but it is significantly more powerful and robust.

babureddy 4th July 2011 08:19 AM

Re: PHP or .Net
 
They both have their advantages...PHP is easier...ASP.net MVC its quite powerful with lot of features

Neter85 4th July 2011 10:27 AM

Re: PHP or .Net
 
Quote:

Originally Posted by sanjay1234 (Post 2895043)
Hi

I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

Kindly do let me know.

It depends on your abilities. But making a script using php is easier and cheaper in most cases and i myself prefer using php.

andrewjustice03 4th July 2011 04:58 PM

Re: PHP or .Net
 
PHP - Open Source
ASP.NET - Is it?

I tried to use both of them. Both of them are very powerful Web Development Tool. But as everyone says, it still falls on your preference.

Personally, I know PHP more than ASP.NET. But I am not saying ASP.NET is less than PHP.

The only distinctive difference to both of them (except for the code of course) is:
* PHP can be, or not be, written on MVC
* ASP.NET is MVC

Different projects, different demands.

krainboltgreene 4th July 2011 11:23 PM

Re: PHP or .Net
 
Just a reminder that there are other pro-web development languages out there besides PHP or .NET:

* Ruby
* Python
* Javascript
* Arc

... Ok, maybe Arc isn't the best example! But my others still apply. One of the reasons I've avoided using PHP is because it doesn't have much application *outside* of web development.

For instance, you'll probably never want to write a REPL in PHP, or a file parser. It's just not made for it, which is fine.

Gary Zaydman 5th July 2011 03:12 PM

Re: PHP or .Net
 
The reason PHP is better is because it doesn't require any expensive licensees or IIS to run it. You can run LAMP (Linux Apache Mysql and PHP) for Free and hosting is inexpensive. 7.95 per month or so. IIS might be better for other applications but generally speaking the Internet is build on LAMP

krainboltgreene 5th July 2011 06:46 PM

Re: PHP or .Net
 
Gary's right, well at least about Linux, Apache, and SQL databases, the Internet uses those technologies left and right.

That said there are a lot of alternatives that can perform really well compared:

* Instead of Apache you can use Nginx, which performs *incredibly well* compared.
* Instead of Linux you could use any of the BSD distros, which are the most secure *nix derivatives. Especially out of the box.
* Instead of MySQL you have a *minefield* of choices, like: PostgreSQL, MongoDB, CouchDB, Redis, Tokoyo, Neo4JS, ...and many more. Not including non-server-types.

He's also right about PHP being used a lot on the web. There's a downside to that, though. You'll be competing with every other PHP developer who picked up Introducing PHP 5 and such. Pay is a lot less compared to other developer fields, like Python, Ruby, or Javascript.

ngseosept 5th July 2011 10:54 PM

Re: PHP or .Net
 
For me it's PHP :) I believe that PHP is so powerful :)

AnnieBerries 6th July 2011 04:04 AM

Re: PHP or .Net
 
go for php

blazedream 6th July 2011 06:29 AM

Re: PHP or .Net
 
PHP is open source and easy to create dynamic site with load of features, which will enable the business people to get success through online.

samstephan9 6th July 2011 08:31 AM

Re: PHP or .Net
 
hello,
I love PHP but I can say that .net has their own property and PHP has their own. Clear concepts you can work on any language.

Logo Design 7th July 2011 04:19 AM

Re: PHP or .Net
 
1. PHP is like an open source .NET.

You can’t compare PHP with .NET. .NET is an application framework (an environment for building and executing applications) not a programming language; it’s like comparing a truck to a road. PHP can, however, be compared to languages which run under .NET, such as ASP+ or C# (referred to as "Language.NET" here).


2. .NET is going to be the future of the Internet!

.NET is the future platform for all Microsoft technology — it’s not aimed solely at the Internet. In fact, it’s likely to make its first big appearance on corporate Intranets, with Office.NET and .NET versions of existing Windows NT server software.
3. .NET is the best technology for building a Website.
Both PHP and "Language.NET" are viable solutions for Web building. Whether it’s delivering a dynamic Web page generated from a database, sending an email, or interfacing with a payment gateway, both are perfectly capable. In assessing them as technologies for building your site, the only significant difference is the price. Try asking yourself "So how much does it cost to host this ASP.NET page I just wrote?"


4. PHP is not compiled, other than when it’s interpreted at runtime, whereas .NET enjoys all the benefits of being compiled.

Here’s news for the .NET crowd — you’ve finally caught up! Microsoft’s use of the word "compiled" in regard to .NET is not what a C++ coder would call "compiled". Zend, the corporate face of the PHP project, have been doing this for a while now with PHP Accelerator (for a free equivalent, try php-accelerator.co.uk). Unfortunately for Zend, they chose to describe what Accelerator does as "advanced caching" (read more on what Zend means by "caching"). For more technical detail, try this thread at SitePoint Forums.


5. ASP.NET has accountable support. PHP has none.

Apart from the support services offered by Zend (effectively PHP’s creators), NuSphere, ThinkPHP and other corporations also provide support for PHP. You don’t need it, thanks to the ever-expanding PHP community being what it is, but if your boss wants someone credible to blame, there’s more than enough choice!


6. .NET supports multiple languages. PHP doesn’t.

Try Java for PHP or the upcoming Python extension. Obviously this isn’t quite the same as C# or J# but the point needs to be made — PHP is very flexible, and offers useful solutions for the Internet. Don’t expect to find yourself to be writing a successful Website in Cobol.NET — it’s likely each .NET language will eventually "tune in" to a particular type of application development.


7. Language.NET has superior object orientation.

For those who know PHP and its limitations, you may be amused by this .NET FAQ — sound familiar? In fact with PHP 4.3 in the wings, it may be that PHP can claim superior OO support, when you consider that FAQ.


What is significantly different is "Language.NET" will force you into an object oriented approach from the start, while PHP won’t. The Web typically does not require OO — for your average dynamic Website, a few "hacked" scripts are perfectly fine if they meets the site’s requirements. Deliver a live site now, rather than a beautifully abstract piece of code that’s ready one year after it’s needed. Paraphrasing SitePoint’s recent interview with Rasmus Lerdorf, PHP’s down-to-earth approach to problem solving is what has made it a success. And when you need OO, it’s there waiting for you.


8. .NET offers superior templating and web development features.


Microsoft has come up with some nice features with .NET that are certainly enticing, like the datagrid, and the templating mechanism. But you could easily reproduce these with a little PHP (try DaDaBIK, for example).
The basic notion of templating is to separate logic from content, so those with artistic skills can make a site that looks good, while developers apply the code "behind the scenes". How Web designers feel about working with .NET’s templating system remains to be seen. With PHP, rather than being forced into a single approach, you have the choice of numerous Open Source projects (Smarty, Pat Template, etc.).


9. But corporations don’t like PHP.

Well apart from CBS, PHP is used on the corporate sites of Japan’s NTT DoCoMo, Switzerland’s Bluewin, and a whole load more you’ll find here. You frequently wont realise when you’re viewing a PHP-based site, because you’re not forced to use the default .php file extension (PHP often appears as .shtml or phtml).
Also, have a look at the results of this job search — not bad.
And as ezPublish demonstrates, corporations aren’t just using PHP, companies like Siemens are prepared to go into partnership to sell PHP applications to their customers.

10. PHP is doomed!

This is doubtful. In fact in June 2002, PHP overtook ASP to become the first Open Source project to start from behind, and become more popular than the bespoke Microsoft solution. With IIS going into decline against Apache as a result of the Apache 2.0 release and IIS’s poor security record, the gap will only widen.
The .NET framework has only one real edge over PHP, which won’t be making itself apparent for a long time yet: with .NET, you can write an application that will run natively on Windows clients and is delivered from a Website. Microsoft has a long way to go with security before it will be able to unleash that on the Internet — and even when that time comes, browsers and content delivery may be sufficiently advanced to make it irrelevant.

Via: http://www.sitepoint.com/php-top-10-net-myths-exposed/

mozlost 8th July 2011 12:12 AM

Re: PHP or .Net
 
PHP, however, you should find a good MVC (model view controller) framework to place your code in. It will help to make your sites and projects MUCH more manageable. And if you are having people develop for you, you definitely want to enforce this, else you can end up with a large unmanageable spaghetti mess. I like Codeigniter, but there are others like Zend and many others... Just search "PHP MVC frameworks"

mpsrct 8th July 2011 03:20 AM

Re: PHP or .Net
 
Both play prominent role in designing a website go for both

yrnbk 9th July 2011 05:14 AM

Re: PHP or .Net
 
Both are important in making a site. learn both of them

chazzpalterino 9th July 2011 06:17 PM

Re: PHP or .Net
 
I don't think this has been mentioned yet, but with PHP you have the advantage of an extensive perfectly-organized documentation. While it's arguable Microsoft's documentation is good (they sure have improved it in recent years), I still think PHP.NET/{FUNCTIONNAME} cant be beat, you get all the details and nice community replies to help you.

I use PHP as my main langauge for my websites and web applications. I program in C# on client side and Java as well. Despite the fact that M$ and Java do have advantages over PHP, mainly in corporate support and in terms of security and corporate compliance to security policies.

Plus you'll have a lot easier time finding help with PHP.

silvertower03 10th July 2011 08:00 PM

Re: PHP or .Net
 
PHP is platform independent. It can run on anything from an AS/400, Unix, Linux, Microsoft, or MACOSX. PHP is Open Source, that is, that it is a community developed and supported product. ;)

theme 11th July 2011 01:32 AM

Re: PHP or .Net
 
Hi,

I am an well experienced programmer in asp.net, dotnetnuke, joomla, wordpress.
I prefer only wordpress and we cant find any alternatives to wordpress. WordPress is coded in php and it is a robust language. So you must concentrate on php and .net.

.net is using mainly by organizations for manipulating/maintaining their own or client's applications. But when you to come to internet, u will be seeing most of the sites are developed using php. So you decide, where to go.

jessendisoza 11th July 2011 06:59 AM

Re: PHP or .Net
 
I like PHP most then .net. Php is very easiest and popular language for developing dynamic web page. Php is open source language and easily available at internet.

Mikey Lightning 11th July 2011 07:12 PM

Re: PHP or .Net
 
I would go with .net mainly for the reason that it's very very well known and compatible.

lilylee 12th July 2011 04:01 AM

Re: PHP or .Net
 
I will prefer .NET.....its better to use...

karandigital 12th July 2011 05:02 AM

Re: PHP or .Net
 
yeah i agree people are biased towards php. Because its open source and is updated rarely. On the other hand microsoft releases a new .net version every year i guess. So people find it tough to learn. I am studying asp.net right now and i love it. I find it pretty easy actually but again i haven't used php so my opinion may be biased too:D

maxmalini 14th July 2011 10:03 AM

Re: PHP or .Net
 
I have programmed in both languages and prefer PHP, because for me it is easier to learn and I believe there is more documentation available for it than for .Net

phpdev 21st July 2011 12:39 AM

Re: PHP or .Net
 
Definitely, php

There are many reasons. Scalability, easy of coding, available resources etc etc

YongC 22nd July 2011 08:36 AM

Re: PHP or .Net
 
Vote for PHP :D

mikewright789 29th July 2011 06:13 AM

Re: PHP or .Net
 
PHP are basically up as well as running right away. All you need is an apache server with PHP and MySQL and you are ready to go. There are complete bundles with all of this admitted so they don't even need to download all the individual components separately.

try_hard_samurai 29th July 2011 11:03 AM

Re: PHP or .Net
 
PHP is quick to learn, and the frameworks will (as the others mentioned) speed up your dev. time.

lisacameron 3rd August 2011 12:41 AM

Re: PHP or .Net
 
Using PHP and .Net we can create a dynamic website. ASP.Net is a small subset of C#.Net and/or VB.Net, both of which are full development languages. .net is the best.

redblack 3rd August 2011 06:16 AM

Re: PHP or .Net
 
PHP or .net both are best programming language but according to me, PHP is a better then .net. PHP is a very simple and easy programming language.

upendraets 3rd August 2011 06:31 AM

Re: PHP or .Net
 
Dear,
PHP is Simple , Best and Quick website.

rohit83 4th August 2011 12:12 AM

Re: PHP or .Net
 
hi.....
php is gud bcz it is easy nd pHP open source matters

Tom Albas 17th August 2011 06:17 AM

Re: PHP or .Net
 
I love PHP but I can say that other languages also good.I also like to learn PHP but its to hard

ankitasharma 17th August 2011 06:41 AM

Re: PHP or .Net
 
I think PHP is best and easy.

odehfehr 18th August 2011 07:38 AM

Re: PHP or .Net
 
PHP and .NET, both are programming language. but in my opinion .net is a best, because .NET is a platforn independent we can run any application on .net platform. and we can maintain high security in .net. php is a open source language, so difficult to maintain security in PHP. so .NET is a best.

pamela88 18th August 2011 04:01 PM

Re: PHP or .Net
 
It depends on what you really good at, .Net is great programming language but it is so hard but do anything you could dream of. but PHP is so fast and progressive. you can use WordPress with some PHP script to do any website so fast and easily.

PiontekMedia 18th August 2011 07:05 PM

Re: PHP or .Net
 
It's mostly personal preference, I prefer to use PHP as it's open source and has a much better community.

fenner 19th August 2011 05:13 AM

Re: PHP or .Net
 
I think Php is better. it is easy to understand, host and coding.

Pankaj11 19th August 2011 05:42 AM

Re: PHP or .Net
 
Quote:

Originally Posted by sanjay1234 (Post 2895043)
Hi

I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

Kindly do let me know.

I think .net is much batter then PHP for making a dynamic website because PHP is open source and not secure as compared to .net

NicholasCollins 19th August 2011 06:03 AM

Re: PHP or .Net
 
When i create websites now its solely in PHP as its easier and WAY more affordable to find offshore and local talent on the cheap.


All times are GMT -6. The time now is 05:21 PM.