Conversation started Jun 21, 2012 at 23:51.
Jun 21, 2012 23:51
why is jquery being talked about in the c# room
Cool, I just think its a shame if a bug fix like this doesn't get shared with the community.
that's the point of OSS
@JeremyPatrick because we're cool like that.
@JeremyPatrick - well, it is the jquery ui really, and that is what is used in the asp.net mvc3 framework
and it ties in a lot with ASP.NET stuff
does asp.net mvc3 have you doing jquery on the server side?
Jun 21, 2012 23:53
front end
whew
how do you like mvc3
its teh best
jquery and jq ui are included with MVC
I <3 it
MVC4 has some nice enhancements coming too
does it matter that its included? can't you just download it and include it in your project?
you can, and you should get the newest versions.
but Microsoft includes it in their template (along with a bunch of other js libraries like knockout and modernizr)
Jun 21, 2012 23:55
yeah, that would be the first thing i would do is strip those js files and download the latest
You don't even need to do that
Nuget updates them for you
cool
when i create a new mvc project it looks like there's actually some server code in the html documents
That's the ASP.NET.
guess the separation isn't complete
mvc2
yep
those are the views
Jun 21, 2012 23:58
there's <% tags in the view
asp.net tags
is it the same in mvc3?
mvc3 uses razor
stuff like
@Html.TextBox("name", "Value")
@Model.Property
a lot cleaner
still not html...
Jun 21, 2012 23:59
lol
if you don't want to use that, you're not prevented from just using html files and js to query the server
@SpencerRuport does that
right, but then you wouldn't be using the mvc framework, right?
bugs.jqueryui.com/ticket/8405 - I will do the code and other stuff later, I am out of time for today
you're not prevented from using models and controllers
so, you're still using mvc
ajax calls to the controllers then?
Jun 22, 2012 00:01
yeah
that sounds like a good approach
yeah, its very clean, IMO
i was planning on creating a bunch of webservices to serve state information and businesslogic to the ajax calls
having ajax talk to controllers sounds much better
MVC 4 includes WebAPI
a special kind of controller that has no view
and responds with xml or json automatically
based on the accepts header
is mvc 4 out yet?
Jun 22, 2012 00:03
its in RC
you can install it side-by-side with mvc3 tho
thanks
this sounds like the way to go. but i don't have much mvc experience unfortunately
thanks :-)
 
Conversation ended Jun 22, 2012 at 0:07.