|
Just order from Amazon .AU they should send you a drone...
|
|
|
|
|
A mummy covered in chocolate and nuts has been discovered in Egypt.
Archaeologists believe it may be Pharaoh Rocher.
|
|
|
|
|
Dry, like the desert sand
|
|
|
|
|
Kenneth Haugland wrote: Dry, like the desert sand
I guess that's a fair description
|
|
|
|
|
I'll take 4 wrap em up!
|
|
|
|
|
/ravi
|
|
|
|
|
Bravo!
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
Probably is me; usually is. But I digress.
My point is that I've been "getting into" MVC using VS2013 (which I find excellent). Seems pretty cool; bit quirky compared to WebForms but I get it and I kinda like it. Nothing too complex yet but I like that I can fire up a new project and pretty much everything I need is already done for me. Neat.
The thing that makes me say "is it just me" is that it looks and feels a lot like Classic or Ladies ASP.
Just an observation.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
mark merrens wrote: is that it looks and feels a lot like ... Ladies ASP.
It looks and feels like a ladies asp, does it? ... you may need to get out more!
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
You should have tagged this with GAOD (Good Advice...)
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
|
Thar looks so yummy!
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
DeathByChocolate wrote: looks so yummy!
Agreed, I think I'll make one next weekend ...
|
|
|
|
|
MVC started to make sense to me when I abandoned the notion of a "web page".
MVC is used best when you switch entirely to AJAX pumping Json server side and processing it with various Javascript frameworks client side.
but maybe that's just me.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
im not top familiar with mvc asp, but what is the advantage of using it (over vanilla html and web services) in this way?
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
Well, after you try to cut though all the hype, what remains is the promise of better automated testing, better separation of layers (which you can do with a good web form architecture too), no ViewState, which is supposed to be very bad, but can be turned off anyway.
In the end if this is what the customers want and offer good money/jobs, you gotta go with the flow.
(Edit)
BTW there is a very neat way to bypass the whole ORM crap if you want. Developed a simple library, that enables you to use SQL/stored procs in very familiar way and pass the DataTables directly as JSON to the client JavaScript and in the JavaScript they behave exactly like the serialized object lists that get generated by the Entity Framework. Very neat actually. Will try to push the bosses for the next production project in that direction
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Sitalkes wrote: better automated testing,
Yeah - testing is something I need to get my head around with the Javascript side of things - testing of Web Services is all reasonably simple but I'm unfamiliar with automated JS testing.
Separation of layers - while MVC does that well, I think a simple web service as a layer, JS view model as a layer and HTML5 view as a layer is about as separate as you can get.
Viewstate - yeah - always tended to turn it off anyway!
Sitalkes wrote: BTW there is a very neat way to bypass the whole ORM crap if you want.
I want!
Sitalkes wrote: enables you to use SQL/stored procs in very familiar way and pass the DataTables directly as JSON
DataTables in their entirety, or just the data therefrom? I'd normally use DataReader to populate POCOs and JSONify them - but would think about a library to go from DataReader straight to JSON...
Sitalkes wrote: Will try to push the bosses for the next production project in that direction
... and write a CP article?
Sitalkes wrote: you gotta go with the flow.
Yeah - I'm just trying to go with the next flow - I believe that vanilla HTML / Javascript / Ajax with JSON web services is the way to go - I just don't understand where ASP.NET WebForms or MVC comes into the equation (I'm thinking not at all)
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
DataTables in their entirety, or just the data therefrom? I'd normally use DataReader to populate POCOs and JSONify them - but would think about a library to go from DataReader straight to JSON...
Nope, a part of it you can take from right here in CodeProject.
DataTable To JSon[^]
^ Not my article
Edit: actually the trick is NOT to go the whole way to string
But to pass to the View the list of Dictionaries. MVC is internally using then the System.Web.Script.Serialization.JavaScriptSerializer();
modified 20-Oct-19 21:02pm.
|
|
|
|
|
I agree, but only because it's designed to write applications that serve web pages, instead of hide all that silly html and server stuff from you so you don't have to bother learning any of it.
|
|
|
|
|
I'm digging into my first MVC project as well, and that's one of the first things that came to mind, that I was back in the client side mess formerly known as classic ASP. Yuck. Although I am enjoying MVC overall.
|
|
|
|
|
?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
The Darleks away...hence all the chocolate posts...
|
|
|
|
|
Are you suggesting that DBC is DD's alter-ego?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Well, have you ever seen them in the same place at the same time physically?
|
|
|
|
|
You isn't you when you are hungry
|
|
|
|