,NET to PHP
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
Throw a hint that suggests you're armed and that when things don't go your way, you get "upset". Works for me...
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
Tell them, as you should ever client, that the language and technologies used heavily depend on their goals and what they wish the achieve. Maybe PHP & MySQL is better suited for their goals, who knows. Don't flatout lie to a client, if you have to lie chances are your product will be a lie.
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
PHP isn't that bad. If you want to make your life really east and have to do a conversion between ASP.NET and PHP, step one is to convert your ASP.NET page to use legacy ASP. You can then do a near keyword for keyword port. I have a personal preference for PHP because I do not like the ASP.NET page model, however, I love the MS IDE (in comparison to the alternatives). As for convincing someone to use MySql or Sql Server, I wouldn't fight that battle. They are both good databases and if you write straight ANSI-SQL, as any good dev should, you will find few difference worth worrying about, also using Stored Procedures helps a lot.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
PHP isn't that bad. If you want to make your life really east and have to do a conversion between ASP.NET and PHP, step one is to convert your ASP.NET page to use legacy ASP. You can then do a near keyword for keyword port. I have a personal preference for PHP because I do not like the ASP.NET page model, however, I love the MS IDE (in comparison to the alternatives). As for convincing someone to use MySql or Sql Server, I wouldn't fight that battle. They are both good databases and if you write straight ANSI-SQL, as any good dev should, you will find few difference worth worrying about, also using Stored Procedures helps a lot.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
Ennis Ray Lynch, Jr. wrote:
step one is to convert your ASP.NET page to use legacy ASP.
Ouch! Valid point, but clearly step 1 produces no deliverable AndyInUK could say he produced. :~
-
Ennis Ray Lynch, Jr. wrote:
step one is to convert your ASP.NET page to use legacy ASP.
Ouch! Valid point, but clearly step 1 produces no deliverable AndyInUK could say he produced. :~
With experience it becomes a mental step that does not require work on paper. However, when confronted with something new and scary it breaks it down into something a lot more management. Irregardless, to use an imaginary word, it is a legitimate deliverable step.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
There's really nothing terrible about using PHP and MySQL. If you're developing a system from the ground up, then unless the customer has specified (or paid you do to be a PHP developer) then there's no reason you couldn't make a suggestion as to a changeover in their technologies for this project. I have created sites in PHP and ASP.NET and for rapid visual development, ASP.NET has the edge. With the right frameworks though, that difference is negligible. Depending on what the actual goal is, if you think it's going to take you considerably longer (weeks) to learn PHP and apply the knowledge you have in the .NET domain to that new language and you have the ability to recommend, then go ASP.NET. Otherwise, PHP is fine IMO.
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
AndyInUK wrote:
Which one is better ?
Impossible question to answer. There are too many variables to consider and each is equally good when used properly for the right purposes.
I know the language. I've read a book. - _Madmatt
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
It sounds like your main reason for wanting to use ASP.NET and SQL Server is that you're more comfortable working with them. If they aren't actually set on using PHP/MySQL, why don't you tell them right out that you are more experienced working with ASP.NET/SQL Server, and that you can probably give them a solution faster and at less cost to them because of it? As far as the merits of the two, I've worked with both and I do prefer ASP.NET over PHP. PHP is quite adequate for writing fast web apps, but I like ASP.NET better for the following reasons:
- You can very easily take advantage of the myriad of domain-specific (i.e. not specifically web-related) third-party libraries available for .NET, which allows you to do things from within your web apps that might be harder via PHP.
- You can easily write reusable libraries to encapsulate your business logic, and use the same libraries both in your web apps and in non-web-related situations. Contrast this to PHP, where writing class libraries to begin with can be a bit of a pain, you either have to deploy all a bunch of .php files to each web app you use your library in or you have to write it in C/C++/whatever and then import it, and even then it is less easy to use it in other places. Because of this, most large web apps that I've worked with that are written in PHP are kind of a mess (IMO).
- I like strong typing. Weak typing hides bugs and makes quality control harder.
- The .NET BCL is (comparatively) well thought out and standardized, vs PHP where most things are global functions, everything feels like an afterthought, and conventions are not consistent. (Maybe this is just IMO)
- When you need to do something advanced/lower-level, working with the ASP.NET integrated pipeline is a dream.
As far as SQL Server vs MySQL, they both have their pros and cons. There are some things that MySQL makes easy that are kind of a pain in SQL Server - for example one that comes to mind is cloning a table. Plus MySQL is free. But SQL Server has CLR extensibility which totally rocks, and has a better management app IMO. Both are equally easy to work with from .NET, thanks to ADO.NET.
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
AndyInUK wrote:
But then they can say Facebook uses PHP and it's good.
Right. Except it's not PHP - it's translated into optimized C++ and compiled to bare metal. See this[^] link. Also, .NET (or Java) is a lot more maintainable than PHP. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
There's really nothing terrible about using PHP and MySQL. If you're developing a system from the ground up, then unless the customer has specified (or paid you do to be a PHP developer) then there's no reason you couldn't make a suggestion as to a changeover in their technologies for this project. I have created sites in PHP and ASP.NET and for rapid visual development, ASP.NET has the edge. With the right frameworks though, that difference is negligible. Depending on what the actual goal is, if you think it's going to take you considerably longer (weeks) to learn PHP and apply the knowledge you have in the .NET domain to that new language and you have the ability to recommend, then go ASP.NET. Otherwise, PHP is fine IMO.
I would actually disagree with you on this. For rapid (visual) development PHP is a clear winner for me. This comes from a programmer that started out with PHP and then got involved with the .NET framework, C# and ASP.NET. To me PHP is just much easier to understand, the way a page is rendered to the screen in ASP.NET confuses me a lot! Besides that I'd say that learning PHP for a .NET programmer is very easy. PHP.net has excellent documentation, better than MSDN in my opinion. I must say that I don't program many functions within PHP. Aside from some often used tools, login classes and some security stuff I hardly use OOP within PHP. Both are fine programming languages but I'd advise the OP to just give PHP a go, maybe not for this project, but just try it some time. You might like it ;)
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
So, expand your toolbox and use PHP and MySQL. There's nothing wrong with them and it's likely easier to do that on a Linux or Unix server than it is to run .NET. Personally I use MySQL and PHP for systems that have to work on Linux servers. The only drawback is the IDE, but that's not too hard to work around and get used to. Download a copy of XAMPP[^] and get to work expanding your skills. It won't cost anything to set that up and get started. (I use PSPad[^] for my IDE when working on PHP - it's also free to download.)
CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
It may turn out easy for you, but maybe not for the client. If they have their own servers, they may have to buy licenses for SQL Server and Windows Server if they do not already have. Or they are hosting the site with someone else, .NET hosting may be more expensive than PHP hosting. In effect if they go the LAMP way, their overall cost could end up being zilch
SG Aham Brahmasmi!
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
Well tell him Facebook is not all running in PHP, actually is a custom PHP with a dozen of technologies behind the front end (that is php) facebook is not good because of php but because all there is behind it php is just a mere face in the facebook :)
-
Well tell him Facebook is not all running in PHP, actually is a custom PHP with a dozen of technologies behind the front end (that is php) facebook is not good because of php but because all there is behind it php is just a mere face in the facebook :)
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
AndyInUK wrote:
But then they can say Facebook uses PHP and it's good.
Then describe what facebook does, and compare it with what the client wants to do. "<Company A> uses <product B>, and it works for them!" never works for me. Each company has its own specific needs, based on: - what they deliver. - when and how they deliver it. - existing production processes. - how and when they communicate with the outside world. - the skill sets extant within the company or that could be easily acquired. Each of the above has costs (in time, stress, or cash), which are affected by doing something one way or another. You have to add the costs of doing something in a specific way to the bottom line, so that they can see it. But don't recite numbers; show them pictures -- they don't have time to learn your way of looking at things. And don't (as in DO NOT!) "massage" the numbers to bias things. If they see that you're fiddling it, they'll never trust you again. Oh, and if, after analysing it, you find that their way does actually turn up on top (which could happen, even though it's not particularly likely), tell them, and accept that you'll have to do it that way with a good heart. [edited to move a misplaced comma][I can't live with things like that!]
I wanna be a eunuchs developer! Pass me a bread knife!
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
I guess the first thing here is, who says facebook works.. Facebook is a buggy system that continues to have issues from simple to "let's drag the programmers into the street and beet them for an hour".. There is always the simple solution, find another client :)
Rocky <>< Recent Blog Post: The Arrogant Apple!
-
So, expand your toolbox and use PHP and MySQL. There's nothing wrong with them and it's likely easier to do that on a Linux or Unix server than it is to run .NET. Personally I use MySQL and PHP for systems that have to work on Linux servers. The only drawback is the IDE, but that's not too hard to work around and get used to. Download a copy of XAMPP[^] and get to work expanding your skills. It won't cost anything to set that up and get started. (I use PSPad[^] for my IDE when working on PHP - it's also free to download.)
CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
This. Learning additional languages and syntax as a developer should be a great incentive. To be stuck in one path is a very dangerous choice. Also, the fundamentals and concepts should be the same irrespective of language and all your doing is learning new syntax and practices for that system. What makes you a good developer should not be what language you know but what you can produce via adaption to a project/problem.
-
I know it sounds terrible. But i have ended up in a situation where the client only use PHP and MYSQL. And that means i have to learn PHP and MYSQL which am not that excited about. I am just wondering - what is the best way i can convince them to use .NET technology instead of PHP and sql server instead of mysql. But then they can say Facebook uses PHP and it's good. So what do you all suggest .NET or PHP ? Which one is better ?
Do you have option of extending your team, you may get somebody on project on contract / project wise basis.