Joe Wood
Check me out on the web at my blog.
| Forum | Thread | Replies | Latest activity |
|---|---|---|---|
| Coffeehouse | What is happening with XNA? | 17 | Jan 12, 2013 at 9:36 PM |
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
| Forum | Thread | Replies | Latest activity |
|---|---|---|---|
| Coffeehouse | What is happening with XNA? | 17 | Jan 12, 2013 at 9:36 PM |
Data/Contract Coupling in Messaging
Feb 09, 2013 at 6:23 AM@ClemensVasters: Right, but my point is you have to have a strategy that deals with change.
The best way to think about it is that the schema is a DSL which can be used to automate code functions like validation, serialization, GUI display, reports etc.. That DSL needs to be able to cope with minor and major changes, and expressive enough to deal with complex conditional optional structures.
This approach shouldn't be applied everywhere (if the size of the dataset is trivial). And, if the DSL isn't rich enough or the approach has failed before the solution is to fix the DSL rather than just resort to a non-machine readable schema document. If you go typeless you've removed the ability to automate a large part of your system.
Data/Contract Coupling in Messaging
Feb 08, 2013 at 3:45 PMI don't really think you can generalize on this. For simple interactions like the examples given, schema and a shared type is overkill. But in a large complex transactional system, with 100 or 1000s of fields it simply doesn't make sense to avoid schema.
If there's no machine readable schema then each developer has to write their own serializer and deserialize code. A process reading a complex message of 400 or more fields in a structured document would have verify the presence of each field before they use it. This can lead to monotamaus, buggy code.
It's far easier to automate the task of verifying the message against one of the valid schemas. Providing for basic for rules for non-break minor changes is a must. The validation code can be generated - and once you have a valid message you can deserialize it so that you can programmatically access the contents.
Resorting to manual message validation and serialization as a way of solving the issue of tight coupling is really solving the sympton rather than the cause. The real issue is to have a versioning strategy with a flexible automated code generation system that is designed for loosely coupled providers and consumers.
A good practical example of this is Google Protocol Buffers extension mechanism. With ProtoBufs you can partially deserialize from a code generated class and load an extension schema in dynamically at runtime to access additional data. Much like C#'s hybrid static and dynamic typing.
Anders Hejlsberg: Introducing TypeScript
Oct 01, 2012 at 11:27 AMAs for the static vs dynamic typing - surely a langauge that allows for both is the best.
Dynamic typing is really just runtime validation. If you want to validate code before runtime you should be able to. Anybody that has written a large scale JavaScript application will know about the problems that TypeScript is trying to solve.
Anders Hejlsberg: Introducing TypeScript
Oct 01, 2012 at 10:55 AMThis is great.
I'm a heavy CoffeeScript user and would definitely use this. Couple of suggestions:
Also, would love to see a hosted dev environment for this
Channel 9 now has a Windows 8 app!
Aug 24, 2012 at 9:49 AMAny update on the app availability for RTM?
Luke Hoban: ECMAScript 6
Apr 19, 2012 at 1:30 PMHi Luke - will there be any facility in Internet Explorer to enable 'experimental mode' to use these features? I'm guessing we won't see any of these until an IE11 beta.
Web Developer Efficiency Tools in Visual Studio 11
Mar 12, 2012 at 11:20 AMThis looks great. But the problem is that it doesn't quite give you what the Web Essentials extension did before it. The CSS page inspector looks great, but changes aren't reflected automatically - you need to refresh. This is fine for most sites, but for Singla Page Applications, when on a dialog where the page's state isn't reflected in the URL it's a pain. You would need to fire up the dialog again. Why not support dynamic CSS changes?
Other than that - the new features look great.
A Quick Look At "Windows 8"
Jun 01, 2011 at 6:57 PMAfter sitting through numerous reviews, SDRs, NDA customer feedback events I never ever heard any developer say "I really don't want to use C# and .NET I prefer to use HTML/JavaScript and CSS".
A Quick Look At "Windows 8"
Jun 01, 2011 at 6:53 PM@Charles:it may be underneath, but the new tile UI is HTML/JS. Will the tile UI be compatible with the WP7 tile API in Mango?
A Quick Look At "Windows 8"
Jun 01, 2011 at 6:13 PM@Charles:Are you sure? This is not the message from D9. HTML/JS are said to be the only way to write first class Windows 8 apps.
Forget your WP7 app investment.
See more comments…