vineri, 23 aprilie 2010

My Silverlight 3 Book

DD's Space

Finally I can publish my newly created Silverlight Book :) .

This was first Created in Silverlight 4 Beta but because that was not public and if you did not had Silverlight 4 Runtime installed you will end up installing Silverlight 3 Runtime and than some components ware not compatible so I had to downgrade to SL3.

The main purpose of this book is to host a news magazine but since that is not finally implemented I decided to publish this as is.

When I first started to make the book control it was a very big challenge since they are a very few Silverlight book example even les than now.

Now all major Silverlight Controls developer company has this control like Telerik and Devexpress also (but take a look at the prices !!! ).

The difference is that they are company's ...I am one stubborn developer :)

Of course the functionality is not as complex as theirs and was not my purpose to make a complex control.

The main idea is to have that book flip effect and behavior.

Description:

The Silverlight component is composed from a custom Silverlight book control, navigation buttons to turn page , an image panel that uses an Animated Panel List control to select and view images.

Images are populated using a Web Service to provide a array of images Uri's from the server folder, for the page backgrounds.

The page also support any adder type of controls since this is Silverlight and in a Silverlight Canvas you can have adder controls.

Here is not a controlled animation , is a canvas that uses complex masking and some geometry calculations to know the angles and positions function of the mouse position and so on … .

I have to tell you that all this started from am example published by Rick Barraza .

So if you want to make your own Silverlight Book start from Rick Barraza's blog.

Now some functionality description:

You can find the live example here : http://dandiaconu.homeip.net:1000/

(Try opening with Internet Explorer or Chrome (Firefox does not like Silverlight to much))

Note: This is hosted on my personal home PC so is not on-line 24/7 , but most of the time is on-line.

In case is not on-line it looks like this:

image

The images are taken from windows.microsoft.com site.

So , you have to pages that you can flip with mouse or from keyboard using Left, Right, Up, Down , Home, End, Page Up, Page Down keys or you can insert the page number that you want to open in the Go To section.

The Right images panel also allows you to navigate to the images you click on .

On the top of the book are the List Button , Full Screen Button, the Blog link and the Windows image for the user to navigate to the original source of images since they are very beautiful images and you may want to use some as Desktop wallpaper.

The Rating control also is a way for me to know if the Book is appreciated by visitors.

Here I am trying to explain all this in images since is a more easy way to explain.

slbook

Hope this is some how useful to you (if you are a Silverlight developer ) and that you enjoy this .

Happy coding!

You can find the live example here : http://dandiaconu.homeip.net:1000/

My previews Silverlight 3 Site : http://danielabarza.homeip.net/ (sorry because is in Romanian :) )

Follow me on Twitter!

4 comentarii:

  1. Hello.
    Where I can find sample? (links in post doesnt works)
    thanx

    RăspundețiȘtergere
  2. The only thing that you can see now is this video http://www.youtube.com/watch?v=x7l7NwBZHEY&feature=g-upl&context=G2e6be5aAUAAAAAAAJAA from youtube. The source code is not posted anywhere.But i guess I khan put the source cod on SkyDrive if you need them.

    RăspundețiȘtergere
  3. I tried to open it and because is made in 2008 and some namespace's must be fixed, I will put it a later today .

    RăspundețiȘtergere

Just say it.