Website Development

*SynergyX*

Expert Member
Joined
Sep 30, 2009
Messages
2,943
Reaction score
528
Hi guys

i have a few questions - not to clued up on this whole thing but curious...

1. what are the limitations of using php+html vs C#+.net for example wrt funcationality mainly?
2. does anyone really code line by line these days when building websites or do you guys use Graphic based page builders that generate code blocks?
3. Or do you guys use templates and edit them to suite your needs?

(i have googled and read but am looking for brief answers from experienced users)
 
I use php and mysql, its far more stable and user friendly than .net or asp. You can use Dreamweaver CS5, most developing companies use this software for designing the template and coding. If you are using a empty template (without the php codes and database functions) it can speed up things, but then you are limited to the design and functionality should you want to add more blocks of code to the existing template.
 
I use php and mysql, its far more stable and user friendly than .net or asp. You can use Dreamweaver CS5, most developing companies use this software for designing the template and coding. If you are using a empty template (without the php codes and database functions) it can speed up things, but then you are limited to the design and functionality should you want to add more blocks of code to the existing template.

:wtf:

Anyways.

1. I have used both ASP.Net and PHP extensively, but I am more focused on the .Net stack these days. I love the strong typing and compiled nature of ASP.Net. You can also choose between high abstraction with Webforms or go the MVC route for complete control.
2. You can build sites with just notepad. I have done it many times but i prefer using an IDE for rapid development.
3. I do not like templates much, I prefer building custom designs from Photoshop and building that up into an Xhtml + CSS or XSLT template.
 
I love asp.net & c# and found it very stable. Compared to PHP it has more functionality and some things can be done in less amount of time. However PHP cannot be beaten for the range of free applications and support out there. If you want to give someone a quick blog its as easy as wordpress. There is the c# equivalent out there (using blogengine), but still working with it to see how easy it would be to migrate between the two. However I do mostly custom coding as our clients all have their own requirements and its more business process and task specific, so its actual business applications but running through the web browswer. And in these website instances if we didnt go for C# we'd go for Java instead. THe choice generally comes down to cost, time, complexity and now/future requirements.
 
1. There are LOTS of differences. Too many to mention in a post. C# is a statically and strongly typed language, offers better performance and a far more comprehensive standard library and features through .NET. PHP is dynamically and weakly typed making it quick, dirty, easy to program and slow. C# and .NET are more suited to Windows (although it can be run via Mono) and PHP is most often paired with Linux, although it can run on Windows.
2. All developers worth their salt will code HTML and CSS line by line. I don't know any serious developers who use Dreamweaver? Developers will use a good IDE (Netbeans/Eclipse for PHP / Visual Studio for C#) which have code completion/hinting/highlighting for HTML, CSS and Javascript. Even if you use Webform components in Visual Studio, you still have to have very strong knowledge of HTML, CSS and Javascript. I prefer the flexibility of ASP.net MVC over Webforms.
3. Most of the time it's easier to develop your own layouts, or use simple CSS layout frameworks and build on top of those.
 
Last edited:
At any time, when something is unstable or slow. It's more than likely (and I would put a nice wager on this) your code. Not the programming language you chose.
 
This thread is a bomb waiting to explode. Everyone has their own biases, so expected answers following suit...
 
Hi. How are you? I'm fine.

i have a few questions - not to clued up on this whole thing but curious...
No problem at all.

1. what are the limitations of using php+html vs C#+.net for example wrt funcationality mainly?
Not much, WRT functionality. What I can do in C#/ASP.Net I can usually do in PHP. To clarify though, HTML is a common factor here. PHP is the server code, as is ASP.Net. They both deliver HTML/CSS/JS to the client. Anyway, the issue at hand is what you want out of your site, and what platform you will be running on - and of course, which language you are most familiar with. It's not so much about which is the better server language these days.

2. does anyone really code line by line these days when building websites or do you guys use Graphic based page builders that generate code blocks?
Yes, and yes. I myself find that coding websites using a text editor (Komodo Edit, anyone?) is in many ways just as quick as using an IDE. However, when the occasion calls for it, I am quite happy using an IDE like VS to create the basic blocks, which I inevitably end up changing by hand.

3. Or do you guys use templates and edit them to suit your needs?
This is kind of an addendum to Q2. I use templates when they are available, but generally you'll find that code snippets are more helpful in the long run.

I hope this helps satisfy your curiosity - I've tried to be unbiased (Farlig, I'm looking at you ;)) and clear. I use both PHP and C#/ASP.Net, although I'm much more familiar with the .Net world.
 
Last edited:
At any time, when something is unstable or slow. It's more than likely (and I would put a nice wager on this) your code. Not the programming language you chose.

Code written with little thought to, or understanding of, performance will run slowly. Sure. That doesn't mean that you're language of choice doesn't have a MASSIVE impact on performance.

Code written in a statically-typed, compilable language is orders of magnitude faster than a dynamically typed interpreted language. CS 101. You try implementing Lucene in PHP and compare performance between Java and .Net implementations. (or just go compare Zend_Lucene, Lucene and Lucene.Net
 
I agree with most posts above except 3com saying that "php and mysql, its far more stable and user friendly than .net or asp". That's complete bollocks. The server side language you choose is much of a much these days, and you get very good and very bad websites coded in either. On the speed side, the PHP guys will tell you to use op code caching to boost it's performance (if they've even heard of it). That will get you closer to .net performance, but not all the way there (hey, it's something).

For my part (and it is pretty well known by now around here I think), I am biased towards the .Net stack, because of those things mentioned before (strongly typed, compiled language), but also because you can use the same language (C# or VB.Net etc) for programming the following:
1. WPF (windows only i'm afraid)
2. Silverlight (which works on mac natively, linux (via moonlight) and even symbian S60 and android)
3. XNA (xbox anyone?)
4. Boring application development (think applications from 5+ years ago - the stuff that .Net framework 1 and 2 limited you to) (works on linux using mono)

You would have to pick up java (or .net) skills as well in order to do something other than web development if you go the PHP route.

My 2cents.
 
Using a programming language (C#, Java, etc) for a static site could be an "overkill". As stated before, it depends on what kind of a functionality you want from your side. You can do a complete static site with HTML,CSS, and JavaScript without any programming language. And it will run in any platform.
 
Dude, ASP the whole way, I do not like all of PHP limitationas in terms of extensibilty and techno, first started with PHP and all bt now have bn prog in ASP, Silverlight,felt was in darkness, much beta finally
 
Dude, ASP the whole way, I do not like all of PHP limitationas in terms of extensibilty and techno, first started with PHP and all bt now have bn prog in ASP, Silverlight,felt was in darkness, much beta finally

yr tpng dffclt to rd
 
Top
Sign up to the MyBroadband newsletter
X