|
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!
|
|
|
|
|
Kent Sharkey wrote: Badger, badger, badger
Sorry for the earworm.
Ahh! A Snake! A Snake!
Don't think much of the 21st century nursery rhymes.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Aw. This one[^] is an instant modern classic.
TTFN - Kent
|
|
|
|
|
Netcraft's monthly survey of Internet infrastructure shows bumps in Nginx and Microsoft Azure usage. All your pages are belong to them
|
|
|
|
|
Unfortunately the actual NetCraft[^] data doesn't present such a rosy picture. The expansion of IIS is limited to low volume/idle sites. The active and 1M biggest site lists show MS has remained flatlined at a ~12% for the last two years while Nginx continues to eat away at Apache's share.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Yeah, I kinda figured there might be some creative statistics involved. Also, I can't see IIS taking from Apache, but other things chopping into Apache. People aren't *that* likely to move away from Linux hosting.
TTFN - Kent
|
|
|
|
|
I have never been convinced by TDD myself and I have expressed my opinions on the subject repeatedly in the past (here and here for example) so I can’t say I’m unhappy to see this false idol finally being questioned seriously. In my day, our code crashed, and we liked it!
|
|
|
|