|
Paul Selormey wrote: For a rapidly changing systems like Web development, it might make sense
but then Silverlight/Flash etc is there
I just went to a SilverLight training course at Microsoft, and would not touch it with a barg pole at the moment. I have used Flash a fair ammount so can see the difference, Flash is way better IMHO.
WPF on the other hand is so cool, and there is nothing like it apart from Flex. But Flex still uses action script 3.0, and WPF uses C# or VB (the full set of classes and all), this is why WPF is better than both Flash and SilverLight.
Flash is better than SilverLight because its easier and more powerful
WPF is better than Flex because its easier and more powerful
Those are my 2 cents and way
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
Thanks for the reply and the information.
I wish you could give out some of the weakness of the Silverlight.
For my current project, I have no choice - I give the users what they want and try
to be ahead of the competition (and that will mean supporting Flex, Silvelight,
WPF, PDF, JavaFX etc).
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
Paul Selormey wrote: For my current project, I have no choice - I give the users what they want and try
to be ahead of the competition (and that will mean supporting Flex, Silvelight,
WPF, PDF, JavaFX etc).
Sounds like a very interesting project.
Where are you based?
Ok as far as Silverlight vs Flash.
Flash has full OO action script that supports video, tweens, vector animation manipulation, XML parsing, IO handling. Basically it's very mature language these days.
Silverlight Alpha (the one out now) is Javascript only object model, no .NET CLR support at all. So you simply can't compare the functionality available with Silverlight Alpha with Flash. Flash wins hands down. As I prefer Action script to javascript any day of the week. From what we saw of Silverlight Alpha, its was just quite clunky and didnt look that usable, Mike Ormond (MSFT man, kept saying cant do this at this version, but next one youll be able to). Flash on the other hand is easy to use, loads of resources tutorials available, right now.
Silverlight Beta (1.1 apparently) will have CLR support, but will run in a sandbox, basically a safe cutdown CLR enviroment, it remains to be seen just what will and wont be allowed. If Microsoft go completely security mad, they could end up with something like a Java Applet, which is very very limited, perhaps too limited for most interesting apps. If they open the security too wide, theyll end up with something that could do activeX type activities, such as delete or create files. This could be bad for a internet user. Remember Microsoft have released a plugin that stops ActiveX until the user confirms they are allowed for the given page. This is their own technology being stopped by them. Thats bad.
I just think at this moment in time Flash is the better system, its model just works.
Like I say I think, WPF proper, is totally different, and seems fairly mature already. Silverlight just doesnt seem ready yet.
But if you want to be ahead of the game, go for it.
Anyways thats just my opinion, who am I to say.
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
Thanks so much.
Sacha Barber wrote: Sounds like a very interesting project.
It should be but the work load is too heavy
Sacha Barber wrote: Where are you based?
I work for a small company here in Japan. We are initially doing factory/fault management systems for companies here, but decided to expand some of the components for sale.
Just a note...the alpha is 1.1, but beta which is out is 1.0.
I really appreciate you taking the time to explain all these. The analysis is
good, and very educative.
Sacha Barber wrote: Anyways thats just my opinion, who am I to say.
It is a great help, and I really like it.
Best regards,
Paul.
-- modified at 8:46 Monday 18th June, 2007
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
Paul Selormey wrote: Just a note...the alpha is 1.1, but beta which is out is 1.0.
Fair enough.
Paul Selormey wrote: I really appreciate you talking the time to explain all these. The analysis is
good, and very educative.
Absolutely no bother, I like this software stuff, believe it or not, so talking to another like minded person, is just fine by me.
Anyways, hope you sort it out. I Still think it sounds interesting.
Best of luck
I may soon (after short holiday) publish a new WCF/WPF/VISTA app that may interest you, look out for it.
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
Sacha Barber wrote: Best of luck
Thank you, I will need it
Sacha Barber wrote: I may soon (after short holiday) publish a new WCF/WPF/VISTA app that may interest you, look out for it.
Hello, article come on...
I have not yet started WCF, but will soon have to since most of the systems I have designed so far are based on .NET Remoting, and that senior brother really has a lot to offer.
WPF I am playing with the little bits currently.
Vista, currently mainly for testing. Our main customer here (a well-known car company) takes time to upgrade. They only use "trusted systems" and that until recently was only Windows 2000. They are now slowing taking on WinXP, mainly because of the new machines and use of the embedded version of the XP for panel display. (Well, the secret is maximum profit...if it runs don't fix it. )
Please have a nice holiday, hope you will have some exercise too to prepare for the next marathon.
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
Paul,
I have not yet done any WCF, so this article will be a challenge for me also. But I have a plan and I think ive got it sorted in my head now. So once im back of holiday, ill start it. BUt it will be a good one I hope, if its not good i wont put it up til it is good.
You may or may not know, WCF kind of brings together remoting, MSMQ, sockets etc etc, in one uniform programming paradigm. I have used a fair ammount of Remoting, but from what I have seen WCF, actually seems to be a tad more compliacted, at least initially. Im sure this is just cos its new. Well see, watch this space. I think call backs in WCF are a lot easier than remoted events back to client, that was evil.
So all in all im looking forward to it.
May take a while but ill get it done eventually.
Thanks for now, bye.
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
Also Juan, I noticed that you have installed C# Express Orcas on Vista. Was this painful, or OK. I would like to do this, but already have cider and Blend so, cant see why I should install this. Any comments on that?
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
At the moment you have to design the control in Blend and after copy the xaml code to the control in Orcas, the real question I think is: Can I do a complete app with Blend? because sincerely I have no idea. I'm getting crazy with releasing software everyweek from part of MS and they dont finish any of them, all are betas. Summarizing Can I do a complete app with Blend?
Thanks again Sacha.
|
|
|
|
|
Juan,
Expression Blend and Visual Studio 2005 with the WPF addin (Cider) can be used together no problem, You can create an entire application/project in either or both of them.
How I like to use them is as follows.
I create a new solution with a project (or more than 1 if you like) and open the project in BLEND and the solution in Visual Studio 2005.
I then create all templates and styles and layout in Blend, save run and compile in blend. Flip back to visual studio solution, who knows the code is out of snyc, so reloads it, and I do manual edits in Visual Studio. This seems to work well for a number of reasons.
1. You get all the nice blend type help for creating styles etc etc
2. You get the intellisense of visual studio (blend has none), visual studio gives intellisense for XAML. Blend does not.
That said you can certainly create an entire app in just BLEND I have done this many times, its dead easy. Though resources should be watched, as if you dont watch it, all resources, styles, templates could end up in one file. Not nice, far better to have seperate resources, and use
<MergedDictionary> to bring in the resources you need.
I think your question really related to controls, I think you need to be careful about simply overriding controls and inherting from them. There is not as much need to do that anymore, as styles and templates really fix a lot of these issues. But if you want to do this and use a new inherited control you may find the following article and bit of code quite interesting
<Window x:Class="ColorControlApp.Window1"<br />
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br />
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />
xmlns:src="clr-namespace:ColorPicker;assembly=ColorPickerControl" <br />
Title="ColorControlApp" Height="300" Width="300"><br />
<br />
....<br />
<src:ColorPickerControl HorizontalAlignment="Center" <br />
VerticalAlignment="Center" Name="lstColorPicker"/>
This is how you would use a custom control (from another project) in a XAML page. If it were in the same project, we would not need to specify the assembly: part, but rather would fully qualify the clr-namespace: to point to the control in the current project. Read about clr-namespace: and assembly: youll get it. You're a bright lad.
Have a play with BLEND, its a great product.
PS : Microsoft are moving too quick, last count it was something like
Expression Blend BETA
Expression Blend BETA 2
Expression Web
Expression Design
Sliverlight Alpha
Visual Sttudio Orcas BETA
Visual Sttudio Express C# Orcas BETA
Visual Sttudio Express VB Orcas BETA
Visual Sttudio Express WEB Orcas BETA
LINQ
Microsoft Surface
Of which ive tried about 5. Have you seen Microsoft Surface, if not go here youll love it
-- modified at 3:33 Thursday 7th June, 2007
-- modified at 5:01 Thursday 7th June, 2007
Sacha Barber
A Modern Geek - I cook, I clean, I drink, I Program. Modern or what?
My Blog : sachabarber.net
|
|
|
|
|
It seems like we have more than one winner this month!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
|
Why dont you enter in my profile and take a look to my other articles? Maybe you get a surprise.
|
|
|
|
|
So you are the mastermind behind these controls.
Thanks for willing to share and explain!
And will they ever get grouped into 1 library?
It's good that you release them as separate articles but will there be some project where eventually all your components will be in and then get updated as one package? Or merge them with Ascend.NET or...
Tnx,
Nick
|
|
|
|
|
It would be great indeed for them to be grouped, in a way integrated to the VS Studio. Of course it would be great for it to remain free too
|
|
|
|
|
Yes - this is superb! I can't believe you've made such excellent code free - thnx!
|
|
|
|
|
Hola Juan Pablo, he buscado todo tu código de controles tipo office 2007, los he reunido en una sola librería y he mejorado algunas secciones. Me gustaría que le echases un vistazo y consideres coger algunas partes o emplear la librería para seguir el desarrollo de este magnífico set de controles. Mi email es atx.antrax@gmail.com, escríbeme hay y te explicare y mandaré lo que llevo hecho.
Saludos
|
|
|
|
|
Please type in English, it's a bit rude to ignor the rest of us.
Babel fish:
Hello Juan Pablo, I have looked for all your control code type office 2007, I have reunited them in a single bookstore and have improved some sections. I would like that you threw a look to him and you consider to take some parts or to use the bookstore to follow the development of this magnificent Seth of controls. My email is atx.antrax@gmail.com, escríbeme has and it will explain to you and I will send what I take fact
Greetings from The Netherlands
|
|
|
|
|
Sorry, I know that Juan Pablo is Spanish, and I speak better spanish than English. I only want that the people know that I have join all his code about RibbonStyle into a control library and I have done some improvements like themes and some more. If Juan Pablo wants, I would upload into a new Article, but I need his consent.
|
|
|
|
|
Hi thanks for the classes.
I have the problem that if i resize or move the form, and move the mouse fast, that the cursor leaves the tested area and the action will change for example from resize to move.
To avoid this it is better that you set a internal flag/enumerator in OnMouseDown for the kind of action (example: FormAction.Move; FormAction.ResizeRight ...) In OnMouseMove then you test 'MouseDown' and this flag and not the 'hot-area' and update the form to the position/size calculated by the curent mouseposition. In OnMouseUp you can reset the flag.
Greetings ...
|
|
|
|
|
I ran into this also. I think CodeMan has a decent idea here.
|
|
|
|
|
I just tried the Sample_RibbonTest, but the round icons are horizontally stretched.
Consequentially the Round icon doesn't align with the FastMenu slot.
My system is WinXP with 1280x1024 resolution.
You can see how they appear: http://img253.imageshack.us/img253/175/screenshotig5.jpg[^]
|
|
|
|
|
I didn't thought about making an ellipse instead of a circle, I can make a proportionally calc to keep the image proportions and after scaling.
|
|
|
|
|
Sorry, maybe I didn't explained very well... the program I run is your demo; I didn't wanted to have ellipses instead of circles: I just launched RibbonTest.exe
|
|
|
|
|
I have the same problem on the wide screen monitor (1680x1050). Round buttons looks stretched as on your screenshot. With any standard resolution they are perfect.
|
|
|
|
|