Depending on how you're planning to implement it (if it's a service and not an application), Web API might make more sense than an MVC app.
The AJAX toolkit for ASP.NET Webforms was a hacky solution (on top of a hacky web dev solution) to get something that looked like AJAX working in webforms. If you like working with real AJAX then moving to ASP.NET MVC will feel a whole lot better than adding UpdatePanels into your forms, cluttering up your pages and making reading your pages a whole lot harder.[url=http:/civis/viewtopic.php?p=27388781#p27388781:10ellitz said:Violynne[/url]":10ellitz]For us, the biggest boost to .NET was web clients using AJAX, which removed a considerable number of postbacks.
Either that or he writes "Microsoft" with a $.[url=http:/civis/viewtopic.php?p=27417147#p27417147:2v467n20 said:SituationSoap[/url]":2v467n20]That was a joke post, right?
Oh yipee. My first post on this forum and I found someone who wants to argue. Well, two of you.[url=http:/civis/viewtopic.php?p=27418173#p27418173:1zvoh7pz said:SituationSoap[/url]":1zvoh7pz]I figured it might be a joke at "the language has some character", as if a poorly designed and horribly engineered standard library is somehow a redeeming characteristic that some people just don't get.
[url=http:/civis/viewtopic.php?p=27418877#p27418877:1u9jtdc5 said:mortress[/url]":1u9jtdc5]Oh yipee. My first post on this forum and I found someone who wants to argue. Well, two of you.
You mean a "poorly designed and horribly engineered standard library is somehow a redeeming characteristic" in the first two iterations of ASP can be wiped away because you both seem to see MVC as your savior?
I gave good reasons why I liked PHP and it does perform even if you don't like the way it's built or structured.
What textbooks teach .net? I've seen c and java in CS texts, but haven't seen c#, and even if it were there, I doubt they'd be teaching the framework (.Net).[url=http:/civis/viewtopic.php?p=27414359#p27414359:2ffkq64f said:mortress[/url]":2ffkq64f]In college they taught us ASP (classic) and acted like PHP wasn't even worth a mention. I had to learn it once I left the textbooks. Because it gets mentioned in textbooks, I think more people will tell you to use .net.
[url=http:/civis/viewtopic.php?p=27419421#p27419421:2pixlo02 said:wallinbl[/url]":2pixlo02]What textbooks teach .net? I've seen c and java in CS texts, but haven't seen c#, and even if it were there, I doubt they'd be teaching the framework (.Net).[url=http:/civis/viewtopic.php?p=27414359#p27414359:2pixlo02 said:mortress[/url]":2pixlo02]In college they taught us ASP (classic) and acted like PHP wasn't even worth a mention. I had to learn it once I left the textbooks. Because it gets mentioned in textbooks, I think more people will tell you to use .net.
Welcome to the sorry state of vocational education.I'm more concerned about the timing. Teaching ASP (classic) after the introduction of .Net is negligence.
For one my post did not ignore "the first two iterations" (ASP and ASP.NET Webforms). In fact I gave you that in the choice between Classic ASP and PHP I'd lean towards PHP. In the Webforms vs PHP battle it's not quite so clear cut. Both are terrible in different ways. PHP falls down in structuring the developer toward clean, clear and[url=http:/civis/viewtopic.php?p=27418877#p27418877:1njwa875 said:mortress[/url]":1njwa875]
You mean a "poorly designed and horribly engineered standard library is somehow a redeeming characteristic" in the first two iterations of ASP can be wiped away because you both seem to see MVC as your savior?
I believe that most of us indicated that ASP.NET MVC (BTWs if this were Stack Overflow you'd be getting shouted down that it's not "MVC". "MVC" is a design pattern and ASP.NET MVC is a framework that implements that design patternWhat is this love of MVC anyway. There won't be three people working on this one person's code. Can you explain why they need MVC at all?
I'd argue maintenance, extensibility and reusability are all bigger and more important reasons to have separation of concerns then you have more than one developer working on a project. SoC is important no matter the size of the team or project and the needs of the project will drive just how fully you develop with the SOLID principles in mind.They don't have a team where they are trying to work in different places which is the heart of why you want separation.
Which is why I softly took you to task above for simply referring to "MVC"It's not specific to MS you know, it does exist in PHP too. The whole Zend Framework which started in PHP is MVC.
Without knowing the developers or the framework I can't provide reason why they would have hated it. When I transitioned from ASP.NET to ASP.NET MVC it was night and day. Instead of spending days developing a page that was maintainable, extensible and robust (generally using the MVP pattern) it took hours. Doing so within the pattern provided (breaking from the MVC pattern will do nothing but break your application). That adherence to a pattern may be why the developers you worked with hated the MVC implementation that was used. I've found that a lot of older, fixed-in-their-ways programmers that didn't learn/gain experience with design patterns tend to dislike being forced to use a pattern. Even when someone can demonstrate to them the importance of same.We have a site where someone is using that and no less than 4 developers have hated it.
Thousands of files? At its core an MVC pattern doesn't require any more files in your website than a well-designed application is already going to have. Per page you'll have an HTML, Javascript and CSS file. You'll have a Model and Controller code file per route (models won't necessarily require a unique file if you've designed things with reusability in mind). If you're using .NET you'll have a few application setup files (global.asax and routeConfig.cs) and, of course, the application configuration file (web.config). You'll include a few framework references that provide the webserver hooks and you're off to the races.MVC to me says bloat. Why do you need thousands of files for a 50 page website
Teaching a general programming course you won't often see a language that's so framework dependent as C# (or ObjC, Swift, etc.). It's kind of like teaching GUI development a decade or so ago was: you really didn't see it as they focused on the theory of programming instead of practical applications. Though you might have had a few weeks learning how to learn a GUI framework (my Uni spent all of a week with MFC).[url=http:/civis/viewtopic.php?p=27419421#p27419421:2ns39l91 said:wallinbl[/url]":2ns39l91]What textbooks teach .net? I've seen c and java in CS texts, but haven't seen c#, and even if it were there, I doubt they'd be teaching the framework (.Net).
If you thought that this was a place that encouraged random, unsupported, claims for or against any given technology and would embrace you for a random pro PHP post with no substance then, yeah, this isn't the place that you thought it was. You came in here with what amounts to rejecting .NET based web technologies with little more than "PHP is just alright for me" (set that to this tune[url=http:/civis/viewtopic.php?p=27420443#p27420443:1bi2q0gx said:mortress[/url]":1bi2q0gx]Uh yeah. I see that this is not the place for me in these forums.
Someone questioned learning Javascript over using jQuery.
We are never - ever going to agree on anything. That is just ridiculous. It's unbelievable to read.
I'm sorry, I mistook this place for something other than it was.
shows a very real and disturbing ignorance of simple, good development practices. You want to advocate really learning Javascript? That's great. Advocate it for the right reasons. Knowing how to effectively use Javascript closures is important to writing good Javascript is just one good argument for that. The above quote is most definitely not. Libraries exist to minimize redundant code, minimize boilerplate, prevent developers from reimplementing solved problems and help them avoid mistakes that they might not have seen but a well-designed and tested library will have. Even if you were re-implementing everything in JQuery or other libraries yourself you should be implementing all of that into a set of libraries for yourself for all of the reasons above.Whatever you do, don't bloat your site up with Javascript libraries like jQuery. Learn real Javascript and you'll learn the power of the DOM then be king of your scripting instead of waiting on a library to implement something.
You've made a number of rash statements that you haven't supported at all. I'm really not sure what you expected. Many of the people posting in this forum know quite a lot, and you're not going to get away with making unsubstantiated comments, especially if those comments are going against the general consensus. If you want to engage in a more detailed technical discussion about the merits of PHP vs ASP.Net MVC, you'll get a good one here, provided that someone is around to hold up the PHP end.[url=http:/civis/viewtopic.php?p=27420443#p27420443:1nq7nu3b said:mortress[/url]":1nq7nu3b]Uh yeah. I see that this is not the place for me in these forums.
Someone questioned learning Javascript over using jQuery.
We are never - ever going to agree on anything. That is just ridiculous. It's unbelievable to read.
I'm sorry, I mistook this place for something other than it was.
[url=http:/civis/viewtopic.php?p=27418877#p27418877:1p2n97zm said:mortress[/url]":1p2n97zm]seem to see MVC as your savior?
[url=http:/civis/viewtopic.php?p=27424389#p27424389:luiliaid said:Horatio[/url]":luiliaid]If you reject jQuery, and you claim to be a "web developer (9 years paid)", then you are unhireable.
[url=http:/civis/viewtopic.php?p=27425671#p27425671:1ea01eb0 said:DSF1942[/url]":1ea01eb0][url=http:/civis/viewtopic.php?p=27424389#p27424389:1ea01eb0 said:Horatio[/url]":1ea01eb0]If you reject jQuery, and you claim to be a "web developer (9 years paid)", then you are unhireable.
Yeah. I mean, I'm not on the anti-php bandwagon that most developers extol, it works for what little you "should" use it for and it is free - (this is coming from a primarily .NET developer) - but you lost me at the jQuery part.
If you're doing anything in javascript and you're not using jQuery, then you really and truly do not know javascript. Seriously.
Oh, and welcome to Ars.![]()
[url=http:/civis/viewtopic.php?p=27419899#p27419899:1uxi5kxu said:Pont[/url]":1uxi5kxu]Welcome to the sorry state of vocational education.I'm more concerned about the timing. Teaching ASP (classic) after the introduction of .Net is negligence.
Springfield Community College Extension, or something like that?
[url=http:/civis/viewtopic.php?p=27414359#p27414359:2i41ha3k said:mortress[/url]":2i41ha3k]
Otherwise PHP is competent for everything I've done. The language itself has more character which can annoy some purists like the use of camel case and underscore in function names but I've built some awesome sites using PHP.
I can understand rejecting jQuery in a classroom setting for the purpose of learning how to do it the hard way and thus appreciating jQuery more.[url=http:/civis/viewtopic.php?p=27424389#p27424389:3hksvwfs said:Horatio[/url]":3hksvwfs]If you reject jQuery, and you claim to be a "web developer (9 years paid)", then you are unhireable.
I'm not usually a fan of the saying, "those who can't, teach", but bad vocational teachers are the source of that rule.[url=http:/civis/viewtopic.php?p=27427697#p27427697:o05e16ch said:Denzinger[/url]"05e16ch]
[url=http:/civis/viewtopic.php?p=27419899#p27419899:o05e16ch said:Pont[/url]"05e16ch]
Welcome to the sorry state of vocational education.I'm more concerned about the timing. Teaching ASP (classic) after the introduction of .Net is negligence.
Springfield Community College Extension, or something like that?
In the high school where I work, the (now former) web dev teacher was teaching HTML (version < 4), CSS, and pre-.Net ASP last school year. He threw something resembling Javascript in for good measure.
Remember...it can always be worse.
Wow! So Website! Such PHP![url=http:/civis/viewtopic.php?p=27432813#p27432813:2wisel5g said:Horatio[/url]":2wisel5g]C'mon guys! Web developer! 9 years paid (somehow)! Huge, amazing 50 (wow!) page websites!
$var = 0;
$isEmpty = empty($var); // $empty = true
What merits does the language have?I don't think it's a bad language per se (it has some merits at least),
Currently? None, really. At one time, it was better than using classic ASP. Those days are long gone.[url=http:/civis/viewtopic.php?p=27436711#p27436711:2abqqmnt said:Pont[/url]":2abqqmnt]What merits does the language have?I don't think it's a bad language per se (it has some merits at least),
The platform is ubiquitous and has cheap hosting. There's a lot of code written for it. There are a lot of tutorials. But none of those are actually merits of the language.
[url=http:/civis/viewtopic.php?p=27436711#p27436711:3q60t8m0 said:Pont[/url]":3q60t8m0]What merits does the language have?I don't think it's a bad language per se (it has some merits at least),
The platform is ubiquitous and has cheap hosting. There's a lot of code written for it. There are a lot of tutorials. But none of those are actually merits of the language.
Hypertext Processing is not a very interesting/hard problem. Replying to http requests with html is "embarrassingly parallel", kinda hard to screw up, at least relative to Facebook's real engineering challenges.Isn't Facebook largely written in PHP? If so that would suggest to me it's not all bad?
[url=http:/civis/viewtopic.php?p=27440481#p27440481:2o1cwb5h said:Slim Jim[/url]":2o1cwb5h]I am a mere amateur so I have no grounds on which to enter this argument.
However. Isn't Facebook largely written in PHP? If so that would suggest to me it's not all bad?
(emphasis mine)[url=http://news.php.net/php.internals/70691:2p4zcfdi said:Rasmus[/url]":2p4zcfdi]Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths names were picked specifically to make them fit into a specific length bucket. This was circa late 1994 when PHP was a tool just for my own personal use and I wasn't too worried about not being able to remember the few function names.
[url=http:/civis/viewtopic.php?p=27441939#p27441939:1a8cpxoe said:puffinus[/url]":1a8cpxoe][url=http:/civis/viewtopic.php?p=27440481#p27440481:1a8cpxoe said:Slim Jim[/url]":1a8cpxoe]I am a mere amateur so I have no grounds on which to enter this argument.
However. Isn't Facebook largely written in PHP? If so that would suggest to me it's not all bad?
Many years back, sometimes they'd serve you the PHP script that was supposed to generate the page instead of the actual page. I think that happened to me twice.
It was pretty bad. That's not an attack against the quality of their devs; I just don't think the PHP of the time made it very easy to do clean, maintainable, and testable designs for relatively complicated projects.
note: Nothing special done, just logging in as a regular user (which is what I was, not connected in any other way to them) and that's what came up. Someone must have screwed up configuring server directories/extensions. Didn't keep a copy but it didn't look like life as a maintance coder there would have been fun.
[url=http:/civis/viewtopic.php?p=27442887#p27442887:2shu4utr said:Ardax[/url]":2shu4utr]Well, since we're having this PHP discussion here, and I just found this little nugget...
(emphasis mine)[url=http://news.php.net/php.internals/70691:2shu4utr said:Rasmus[/url]":2shu4utr]Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths names were picked specifically to make them fit into a specific length bucket. This was circa late 1994 when PHP was a tool just for my own personal use and I wasn't too worried about not being able to remember the few function names.
;_;