|
It feels to me that as an industry, we’re treading water. Every week there’s something new and shiny, but little that progresses the significant things that could make an enormous difference to our jobs. <have no=""> why <he might="think"></that>
|
|
|
|
|
Kent Sharkey wrote: we’re treading water
Treading water? How about "drowning in water" ?
(I really need to stop reading CP tonight, yet another nerve. I will spare you the diatribe on this one -- just replace Extreme Programming and Refactoring with Javascript and j[bling] and you'll get the idea.)
Marc
|
|
|
|
|
Getting pulled down by the rip tide of jingoism for the latest fad or tool by the Kool Kidz.
-- or --
What you said++
|
|
|
|
|
I would be happy if they'd give us C# in the browsers instead of JavaScript...don't see why there can't be a browser equivalent of the Common Language Runtime so that we can work in the language of our choice.
|
|
|
|
|
That ... should? be possible. At least with IE. It used to support various client-side languages (VBScript being one of the more common alternatives). You'd probably just need to implement some sort of COM shim to get it working. I think.
Maybe.
TTFN - Kent
|
|
|
|
|
Why not just build Mono right into the browser?...some new classes for DOM manipulation and an interpreter and Bob's your uncle, Fanny's your aunt, away you go.
The whole JavaScript thing just seems like a major wrong turn.
|
|
|
|
|
That's - sadly - not even half of the actually required solution: how many "web developers" do understand the fact that some tasks are executed on the server while others are running on the client (browser)? "On my machine develop everything work fine, when deploy on server not work..."
|
|
|
|
|
|
I thought Silverlight was supposed to provide this?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
|
Sorry, forgot where I was.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Silverlight is pretty much dead though and you want to avoid having to install browser plugins, so it should be built into the browser.
|
|
|
|
|
See, all the cool kids know that it's so great to write JavaScript for enterprise level apps that you use a language that looks a lot like C# to cross compile down to JavaScript. Makes sense really.
|
|
|
|
|
There are C# to JS compilers such as Script#, but frankly I rather suffer work with pure Java Script when I have to.
|
|
|
|
|
I love it. Web development is hard and TDD is dead on the same page.
95% of programmers can't bear the thought of having to work for a living. This stuff is hard. Grow up.
Test your code or go home.
|
|
|
|
|
IMHO it is getting better, just not fast enough. I still have clients stuck on EI9, which requires special treatment...err hacks, to work correctly. They are being held to IE 9 due to compatibility issues with other web applications.
It is appalling how many LOB web applications simply don't work with newer browsers...breakage usually caused by handling of client events or DOM references such as innerText not being recognized.
"Go forth into the source" - Neal Morse
|
|
|
|
|
These guy should really try Knockout[^]!
It almost feels like doing WPF interface with MVVM!
I said just that to a younger developer that I introduced to Knockout here, now that you used MVVM with HTML + Knockout you are halfway through mastering WPF+XAML!
|
|
|
|
|
I'm still only dabbling with knockout, but boy it's so nice!
Now, if I could just work out how to use knockout and typescript together I'd be a happy bunny
|
|
|
|
|
_Maxxx_ wrote: Now, if I could just work out how to use knockout and typescript together I'd be a happy bunny
Indeed we are!
Try sprinkle some WebAPI on top! ^^
|
|
|
|
|
Super Lloyd wrote: Try sprinkle some WebAPI on top!
Although I am using WebAPI on top of my Knockout, I'm still not bowled over by it - it's nice and easy to write a web service, but honestly that wasn't really hard before! I wonder if I am missing something?
re the knockout / typescript I'd appreciate any links to beginner articles on using them together - I haven't looked for a while but last time I did most of the info assumed you were a JS guru, and spent time explaining how things are different, rather than just 'how to use ...'
|
|
|
|
|
_Maxxx_ wrote: Although I am using WebAPI on top of my Knockout, I'm still not bowled over by it - it's nice and easy to write a web service, but honestly that wasn't really hard before! I wonder if I am missing something?
Well, what goes against it, I think, is that the default behaviour / config / usage is like ServiceStack which is rather convoluted and unintuitive...
However if you just add a one line route configuration in your AppStart, WebApiController behave just like MvcController, but for JSON data. Except they are fully typed instead of returning JSON result!
_Maxxx_ wrote: re the knockout / typescript I'd appreciate any links to beginner articles on using them together - I haven't looked for a while but last time I did most of the info assumed you were a JS guru, and spent time explaining how things are different, rather than just 'how to use ...'
Not entirely sure what you mean.. but I think I am getting quite good in Web now (as opposed to 1 and half year ago where I kind of was afraid of it!
TypeScript is easy if you already know C# and JavaScript!
Start by renaming your .js file .ts: voila!
Have you read the tutorials on both?!
http://www.typescriptlang.org/Tutorial[^]
http://learn.knockoutjs.com/[^]
|
|
|
|
|
I guess what I'm after is a
"how to write a simple SPA using WebAPI, knockout and Typescript" tutorial
It is (relatively) easy to put it all together, but I'm interested in how people have used it as, ask you know, when you start doing something like this there will always be things you try and re-work a few times until you are happy with your basic model; I just want to avoid that part of the R&D so I can look at a working app, using that technology (and only that - without adding in more complexity like mapping modules etc)
Because I'm not a Web Dev guru, I need info that doesn't use phrases like "instead of doing it this way, like you would have with xyz technology, we can now do it this way" because I don't know xyz!
I have read the tutorials - it's just putting it all together I struggle with; even down to what is a good way of storing my JS, TS, knockout models etc. within a solution.
Super Lloyd wrote: TypeScript is easy if you already know C# and JavaScript!
Unfortunately my Js isn't exactly top notch!
|
|
|
|
|
Unfortunately my sample on my blog and codeproject doesn't compile with the latest version of TypeSript (it was written for 0.9.1)
It's fixed at work but not as easy to share...
Mm... this simple sample by Scott Hanselman use it all!
http://www.hanselman.com/blog/OnTheNightmareThatIsJSONDatesPlusJSONNETAndASPNETWebAPI.aspx[^]
analyzing it might bring you some insight!
mm.. it doesn't use TypeScript... but really TypeScript should not be a problem, start by using it as you would JavaScript (after all legal JS is legal TS)
Then, overtime, take advantage of some feature, such as easy to write class!
|
|
|
|
|
Danny Tuppeny wrote: (Web) Development sucks, and it's not getting any better
I see he is struggling to cope with the tech. He shouldn't have to struggle to fit in. He can change his career. May be he can try window apps, mobile ...
Wonde Tadesse
|
|
|
|
|
Last week, the Electronic Frontier Foundation released Privacy Badger, an extension for Chrome and Firefox. It’s an important piece of software in the struggle for internet privacy from a group with different motivations than other ad-blocker makers. Badger, badger, badger
Sorry for the earworm.
Ahh! A Snake! A Snake!
|
|
|
|