vendredi 29 mars 2013

Blend 5 and Visual Studio 11 feedback, the Windows 8 development future

Here is a little feedback on Visual Studio 11 & Blend 5...

1 - Visual Studio 11

Visual Studio 11 is provided in the Windows 8 Developer Version. It is provided with some "Metro Application Style" templates. One first thing we can notice is that VS11 is very similar to VS10... Microsoft added usefull features detailed below. I am quite disapointed about Microsoft political point of view about Xaml Language and Html5/JavaScript...

Fast file preview

[caption id="attachment_466" align="alignnone" width="708"]File preview in Visual Studio 11 File preview in Visual Studio 11[/caption] You may know that Visual Studio is multi-tab layered. But, when you "simple-click" on a file in the file treeview, a new tab stacked on the left will appear. It will provide you a quick preview of the file content.

Quick search in Solution

[caption id="attachment_467" align="alignnone" width="349"]Visual Studio 11 research in project Visual Studio 11 research in project[/caption] Visual studio embed now a search field just above the file treeview. You can now look for a file, a class, a method or a field in few seconds. It will enhance our productivity incredibly.

Quick Search Command

[caption id="attachment_468" align="alignnone" width="344"]Visual Studio 11 research commands Visual Studio 11 research commands[/caption] You can also search for a command through the search field in the Visual Studio Toolbar and access quickly for all available commands.

Some "Metro Style Application" samples

Metro Style 1Metro Style 2 Metro Style 3Metro Style 4 Visual Studio provide us few templates and show us how "Metro Style Application" can be.

2 - Blend 5

Blend 5 is provided for testing JavaScript/Html5 solution for Windows 8. I used to work with Blend 4 for Silverlight and lots of features that was available and allow me to produce a fast/clean solution is not available for Html5/JavaScript solution... For example, binding states to an enum property... But in the JavaScript/Html5, there is no state or even storyboard. Blend is a JavaScript/Html5 WYSIWYG editor in this specific case ...

Where are my tools ?

[caption id="attachment_475" align="alignnone" width="50"]Blend tools Blend tools[/caption] This is the only tools you have in the JavaScript/Html5 version of Blend :(

Assets, generated parts & Javascript

[caption id="attachment_476" align="alignnone" width="392"]Blend static and generated parts Blend static and generated parts[/caption] Here is a sample of a rating "control" in Blend 5. As you can see, the rating control will create a div and "generate elements inside" (elements with a lightning near the eye). You can access the div and do your stuff on the JavaScript side.

Long long long CSS train ...

[caption id="attachment_477" align="alignnone" width="373"]CSS big world CSS big world[/caption] Once unfolded, CSS properties are numerous...

Plateform testing

[caption id="attachment_478" align="alignnone" width="413"]Blend platform testing Blend platform testing[/caption] Your application can be tester under multiple format. This is a good point of Blend 5. You can also activate an emulator for directly seeing the result. Here is the result in the emulator : [caption id="attachment_479" align="alignnone" width="577"]Blend emulator Blend emulator[/caption]  

Files created in a new Html5/Javascript

[caption id="attachment_474" align="alignnone" width="312"]JavaScript project files JavaScript project files[/caption] Here is the project content created for an Html5/JavaScript project.

Good features nevertheless ...

[caption id="attachment_480" align="alignnone" width="579"]CSS identification CSS identification[/caption] Some good features are added inside Blend 5... You can fly over a CSS Style and see where it is applied.  

 Conclusion

I am worry about Silverlight/WPF/Xaml-Based future for many reasons.
  1. I have seen lots of Silverlight developers that doesn't know how to use Blend... (too many ...)
  2. Microsoft only talk about Html5 and JavaScript in their meetings...
But, we have a big advantage. True Silverlight developers can create more shiny application in a shorter time than with Html5/JavaScript ... And C# will always be smarter than JavaScript :)


Original article available at http://www.alphablog.org

Aucun commentaire:

Enregistrer un commentaire