Conversation started Jun 21, 2012 at 23:51.
Jeremy Patrick
Jun 21, 2012 23:51
why is jquery being talked about in the c# room
Kyle Trauberman
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.
Jeremy Patrick
lol
Travis J
@JeremyPatrick - well, it is the jquery ui really, and that is what is used in the asp.net mvc3 framework
Kyle Trauberman
and it ties in a lot with ASP.NET stuff
Jeremy Patrick
does asp.net mvc3 have you doing jquery on the server side?
Travis J
Jun 21, 2012 23:53
front end
Jeremy Patrick
whew
how do you like mvc3
Travis J
its teh best
Kyle Trauberman
jquery and jq ui are included with MVC
I <3 it
MVC4 has some nice enhancements coming too
Jeremy Patrick
does it matter that its included? can't you just download it and include it in your project?
Kyle Trauberman
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)
Jeremy Patrick
Jun 21, 2012 23:55
yeah, that would be the first thing i would do is strip those js files and download the latest
Kyle Trauberman
You don't even need to do that
Nuget updates them for you
Jeremy Patrick
cool
when i create a new mvc project it looks like there's actually some server code in the html documents
Kendall Frey
That's the ASP.NET.
Jeremy Patrick
guess the separation isn't complete
mvc2
Kyle Trauberman
yep
those are the views
Jeremy Patrick
Jun 21, 2012 23:58
there's <% tags in the view
Kyle Trauberman
asp.net tags
Jeremy Patrick
is it the same in mvc3?
Kyle Trauberman
mvc3 uses razor
stuff like
@Html.TextBox("name", "Value")
@Model.Property
a lot cleaner
Jeremy Patrick
still not html...
Kyle Trauberman
so?
Jeremy Patrick
Jun 21, 2012 23:59
lol
Kyle Trauberman
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
Jeremy Patrick
right, but then you wouldn't be using the mvc framework, right?
Travis J
bugs.jqueryui.com/ticket/8405
- I will do the code and other stuff later, I am out of time for today
Kyle Trauberman
you're not prevented from using models and controllers
so, you're still using mvc
Jeremy Patrick
ajax calls to the controllers then?
Kyle Trauberman
Jun 22, 2012 00:01
yeah
Jeremy Patrick
that sounds like a good approach
Kyle Trauberman
yeah, its very clean, IMO
Jeremy Patrick
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
Kyle Trauberman
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
Jeremy Patrick
is mvc 4 out yet?
Kyle Trauberman
Jun 22, 2012 00:03
its in RC
Jeremy Patrick
dang
Kyle Trauberman
asp.net/mvc/mvc4
you can install it side-by-side with mvc3 tho
Jeremy Patrick
thanks
this sounds like the way to go. but i don't have much mvc experience unfortunately
Kyle Trauberman
I got you covered:
asp.net/mvc/tutorials
Jeremy Patrick
thanks :-)
Conversation ended Jun 22, 2012 at 0:07.
all rooms
Introduction to ASP.NET MVC
Jun '12
21
Jun '12
22
C#
General discussions about the c# language, Squirrels |
gist.gi...
6
context of the conversation
join this room
about this room
Participants
Kyle Trauberman
53%
Jeremy Patrick
38%
Travis J
6%
Kendall Frey
1%
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile