Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Mastering LOB Development for Silverlight 5: A Case Study in Action
Mastering LOB Development for Silverlight 5: A Case Study in Action

Mastering LOB Development for Silverlight 5: A Case Study in Action: Develop a full LOB Silverlight 5 application from scratch with the help of expert advice and an accompanying case study with this book and ebook

eBook
$27.98 $39.99
Paperback
$65.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Mastering LOB Development for Silverlight 5: A Case Study in Action

Chapter 2. Forms and Browsing

The aim of this book is that you, the reader, become capable of implementing your own Silverlight application. You may be getting an idea of the controls you need and how many screens your application will contain.

In this chapter, you will learn the features that Silverlight offers for large-scale application layout (UserControls, Page, ChildWindow, Navigation Framework), as well as the mechanism which Silverlight provides for browsing between the different pages the application may have.

Controls definitions


Most management applications base their User Interface (UI) on forms. However, each technology names them in its own way (forms, views, windows). Let us begin by defining the elements Silverlight offers and their description:

Control

Description

Container

It allows us to host other controls within itself. All controls mentioned in the table are Containers.

UserControl

We can define content on it.

Page

It inherits from UserControl and adds functionalities which permit a better integration with the Windows Navigation Framework in Silverlight.

Popup

It also depends on UserControl. It is shown above all Silverlight controls.

ContentControl

It represents a control with a single piece of content.

ChildWindow

It is a specialization of Popup control. It is used to show modal dialogs.

Note

ContentControl is beyond this book's contents. Nevertheless, you can find a good introductory article at: http://www.mostlydevelopers.com/mostlydevelopers/blog/post/2009/03/30...

Creating windows and controls


At most times, when we develop an application, it is not possible to fit all the content in just one page. Even if we were able to do so, sometimes it is preferable to divide the content in several parts and group areas by functionality or reusability. On other occasions, we may need other windows, such as modal dialogs, to show other information to the user. Finally, we should not forget that the application may get bigger and we could need more pages for all of its functionality.

UserControl

Let us begin by talking about the most versatile and easiest control to use, UserControl.

It consists of two parts, Interface definition (XAML) and Code (Code-Behind).

In a new Project, the main page inherits from this control.

We can use both to create a form and a user control. When we create user controls, we encapsulate some of the functionality of our application so as to instantiate this control in other places without replicating code.

Example of UserControl

Let us pose...

Creating modal dialogs


Modal dialogs are also common components in LOB (Line Of Business) applications and management applications. That is to say, a pop-up window that blocks the rest of the application appears. Once the user has completed the pertinent application, he or she can close it and the application unblocks.

ChildWindow is the implementation of a modal dialog in Silverlight.

Example of modal dialogs

We will continue with the previous example, now adding a ChildWindow control. Also, we will make the modal window host the same content as the main window, adding the UserControl we previously created. Finally, we will communicate with the main page using the modal control. To do so, we will copy the values we entered in the form of the modal window to the form of the main page, as shown in the following screenshot:

To create a ChildWindow, carry out the following steps:

  1. On the Views folder, right-click and select Add | New Item.

  2. Choose the option Silverlight Child Window and name it MyDialogView...

Navigation


Navigation between windows and pages is a crucial point, both in web and desktop applications. If you are an experienced developer, you may remember those times when the event of a button was directly associated with instantiation and the call of a window show method. Nowadays, the tendency is to decouple navigation and windows along with using a Navigation Framework.

Navigating the Web

For those coming from web development using iFrames , the idea will sound familiar (better still, the Silverlight Navigation Framework integrates flawlessly in our Silverlight developments). Imagine a web application in which the header, which contains a navigation menu, is fixed. Finally, let us imagine that every menu option makes the content of our application (the page) change. However, what really happens is that it loads another page in the central iFrame in the backend. Roughly speaking, this is the Navigation Framework.

Another viewpoint (that of an ASP.NET developer) is thinking that we...

Creating a sample Navigation Application


Now that we have identified the main points of the Navigation Framework, we will begin by creating a sample from the beginning.

We will create an application which makes use of the Silverlight Navigation functionality, showing how we can control the navigation status when it begins or ends. Also, we will learn how to pass parameters via URI.

  1. To create a new project, go to New Project and choose a Silverlight Navigation Application project.

  2. Give the project a name and click Ok.

  3. Later, we will be asked if we want to create a project for hosting the Silverlight application. For convenience, choose to create an ASP.NET Web Application project.

  4. After clicking OK, Visual Studio applies the Template associated with this kind of project. It generates a structure depending on the solution to locate an area for page definition at first sight, as shown in the following screenshot.

    • Main Page: If we observe it, we can see that it has created a main page (MainPage.XAML...

Navigation control services


Navigation control offers methods to navigate and navigation control events.

The following are the methods:

  • GoBack: It goes back to the page previously visited.

  • GoForward : It goes a page forward in the navigation history.

  • Navigate: It goes to the indicated page.

  • Refresh: Reloads the current page.

  • StopLoading: Cancels any asynchronous navigation actions that haven't been processed yet.

Following are the Events:

  • Navigated: This occurs when the navigation to a particular page has ended.

  • Navigating : This occurs when the navigation to a particular page is about to begin.

To put this functionality into practice, we will add a button to the AdminView page. At the click of this button, we will be able to navigate to the last visited page.

  1. Begin by adding a button definition in the XAML file.

  2. We will establish, as we saw previously, a manager for the Click event.

    <Grid x:Name="LayoutRoot">
      <Button x:Name="btnGoBack" 
        Width="100" 
        Height="25" 
        Content...

LOB application case study: applying what we have learnt


To apply what we have learnt so far, we will create the navigation for our application. In this example, we will create three pages for navigation and a modal dialog to edit rooms. The flowchart will look like the following diagram:

  1. Let us begin by creating a new navigation project, as we have learnt in this chapter. The project will be named ReservationNavigation . We will later add the following elements in the Views folder:

    • MapView: Object of the type Page. We will be able to navigate to this page via the general menu of the application. It will show a map on which to choose a building to edit.

    • AdminView: Object of the type Page. We will be able to navigate to this page from the MapView page after choosing a building.

    • AdminEditionView: Object of the type ChildWindow. This modal window will show a form with the necessary fields to edit/add/delete a room in a building.

  2. Once we have added these two pages and the modal window; modify...

Summary


In this chapter, we have covered the basic element that Silverlight offers us in order to create user controls, windows, and modal dialogs.

We have also seen how to implement navigation between windows via the Navigation Framework, which Silverlight incorporates.

We now know how to mount the UI layer in our web application. In the next chapter, we will learn how to bind the UI controls with the data of our application.

Additional resources

Left arrow icon Right arrow icon

Key benefits

  • Dive straight into Silverlight 5 with the advanced techniques in this expert guide
  • Fully up-to-date content for Silverlight 5 and RIA Services SP2
  • Complete your knowledge with a gradually built upon case study with this book and e-book

Description

Microsoft Silverlight is fully established as a powerful tool for creating and delivering Rich Internet Applications and media experiences on the Web. This book will help you dive straight into utilizing Silverlight 5, which now more than ever is a top choice in the Enterprise for building Business Applications. "Mastering LOB Development for Silverlight 5: A Case Study in Action" focuses on the development of a complete Silverlight 5 LOB application, helping you to take advantage of the powerful features available along with expert advice. Fully focused on LOB development, this expert guide takes you from the beginning of designing and implementing a Silverlight 5 LOB application, all the way through to completion. Accompanied by a gradually built upon case study, you will learn about data access via RIA and Web services, architecture with MEF and MVVM applied to LOB development, testing and error control, and much more.With "Mastering LOB Development for Silverlight 5: A Case Study in Action" in hand, you will be fully equipped to expertly develop your own Silverlight Line of Business application, without dwelling on the basics of Enterprise Silverlight development.

Who is this book for?

If you already have a firm grasp of Silverlight development and are keen to advance your specialist knowledge of Line of Business (LOB) application development, then Mastering LOB Development for Silverlight 5: A Case Study in Action is for you. If you are a developer with experience of other technologies, you may also find this book useful.

What you will learn

  • Get up and running with coverage of LOB development challenges like building forms, navigation, and service and database access
  • Get to grips with the MVVM pattern and how to integrate it with RIA Services
  • Dig deeper by implementing both in Browser and Out of Browser trusted applications
  • Become fully acquainted with Silverlight and HTML/JavaScript integration
  • Understand how to add authentication and authorization to your Silverlight application
  • Gain advanced knowledge of error control topics like error notification to TFS
  • Become fully equipped with everything an expert developer should know about building Line of Business applications using Silverlight 5
  • Take advantage of a complete LOB case study built gradually from start to finish throughout each chapter
Estimated delivery fee Deliver to Ukraine

Economy delivery 10 - 13 business days

$6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 24, 2012
Length: 430 pages
Edition : 1st
Language : English
ISBN-13 : 9781849683548
Vendor :
Microsoft
Category :
Languages :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Ukraine

Economy delivery 10 - 13 business days

$6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Feb 24, 2012
Length: 430 pages
Edition : 1st
Language : English
ISBN-13 : 9781849683548
Vendor :
Microsoft
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 120.98
MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF
$54.99
Mastering LOB Development for Silverlight 5: A Case Study in Action
$65.99
Total $ 120.98 Stars icon

Table of Contents

11 Chapters
Express Introduction to Silverlight Chevron down icon Chevron up icon
Forms and Browsing Chevron down icon Chevron up icon
Data Binding Chevron down icon Chevron up icon
Architecture Chevron down icon Chevron up icon
RIA Services Data Access Chevron down icon Chevron up icon
Out of Browser (OOB) Applications Chevron down icon Chevron up icon
Testing your LOB Application Chevron down icon Chevron up icon
Error Control Chevron down icon Chevron up icon
Integration with other Web Applications Chevron down icon Chevron up icon
Consuming Web Services Chevron down icon Chevron up icon
Security Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(7 Ratings)
5 star 71.4%
4 star 14.3%
3 star 0%
2 star 14.3%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Davide Zordan May 24, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have received a copy of the book for review and I must say it is well written and contains lot of valuable information for developing LOB applications using Silverlight 5.This is a complex subject and the authors did a very good job providing essential information like design patterns and frameworks (including MVVM and MEF), testability and tools, security and building / consuming data services which are fundamental topics in this area.The examples are complete and provide ready-to-use code for your applications.I definitely recommend this book for exploring this complex subject using Silverlight!
Amazon Verified review Amazon
Evil J May 22, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Wow... this book is heavy on content and examples delivering what it promises and more. With most titles that purport to cover the development of applications, it seems that they are often heavy on theory but very light on providing examples of how to apply the theory leaving the reader to flee to Google to find relevant sample code. That is not the case here. In fact, there are times where the discussion of the samples takes up more space than the chapter that covered the concept being illustrated. This is specifically why I liked this book. Because it walks the reader through the steps to actually generate sample applications based on the concepts covered. It is like a built-in blueprint that teaches you the why then proceeds to show you the how. As a developer, I found this refreshing and was amazed that I didn't have to do any research on my own... everything I needed was in the book. And when I did want to dive deeper on a subject, the additional resources at the end of each chapter provided solid jumping-off points to the best content on the Internet.Even though the book targets LOB applications specifically, and browser-based Silverlight more generally, I think there is good material for any Silverlight developer. The book also covers the challenges/advantages of OOB Silverlight applications giving the developer what they need to know to successfully implement an OOB application. And I'm glad to say that the chapter was much more than just `Set the OOB check box on in the project properties'. The patterns and methods presented in the book are applicable across nearly every type of SL application. I found myself even applying the knowledge gained from this title to a Windows Phone 7 Silverlight application I'm working on. The lessons and the knowledge in this book are both deep and wide with it casting a net that is going to cover nearly everything needed to develop a SL app from start to finish. This is a book I am going to go back to for some time to come. It is not only educational the first time through but will be useful as a reference going forward.I found the section on testing especially useful since testing of SL applications seems to be something that isn't often talked about. Chapters on error handling techniques, consuming WCF web services, integrating with the hosting HTML and JavaScript facilities, and finally, the section on application security were all gems and really illustrate the idea that the book is about delivering LOB apps from end to end... Not just getting you to where something is working and then leaving you to fend for yourself. There is even a chapter dealing specifically with error handling/logging in SL apps and demonstrating how to setup a centralized logging server. (The example shows integrating with TFS for bug tracking. I would have liked an example with Log4Net as the backend as that seems to be a popular approach as well.) The overall completeness of the case studies and the fact that all of these topics were covered was a pleasant surprise. The authors were even nice enough to let you know where differences between SL 4 and SL 5 would impact your work and provided guidance on how to handle these differences.If there was something that struck me as missing it was a chapter on long-polling or SignalR. A lot of applications, especially LOB, need to be notified of changes on the server or in other clients and a discussion of techniques to address that would have made this book 100% complete. Especially since SignalR is going to be integrated into .NET. But, at the same time, I'm willing to overlook this omission as a topic like SignalR is still relatively new to the SL scene and, as it isn't part of a .NET release yet, I can see people avoiding it in production LOB applications.Overall, I found this to be an excellent book and a very thorough blueprint for Silverlight LOB applications. If this is an area you find yourself working in, this would be an excellent title to have on your bookshelf.
Amazon Verified review Amazon
Marino Posadas May 14, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book assumes the reader knows the basics of Silverlight development, and wants to get deeper into LOB applications' development (although starts with an "Express introduction to Silverlight, just in case). So, it emphasizes on aspects like Data Binding, Form's navigation, the MVVM model, access to web services (including Social Networks), integration with other applications and security.I think it's perfect for those who want to have a quick glimpse on what to do to create this type of applications, and also, have their code ready for the changes to come in Windows 8.
Amazon Verified review Amazon
Tim Cochran May 18, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is exactly what I needed...unfortunately I needed it 8 months ago when I started development of a Silverlight 5 Line of Business application (a re-write of an existing Enterprise Desktop application). If you are considering Silverlight 5 for your Line of Business applications (and why not?), then this book is an excellent place to begin. If I had this book before I started development, it would have increased my productivity multi-fold. Most of the approaches I had to discover on my own are well documented in "Mastering LOB Development for Silverlight 5: A Case Study in Action". It was almost as the authors had been in some of our early design meetings. It is a testament to the fact that this book was developed from real-world experiences and not an academic exercise.The book starts out with a few introductory chapters covering most of the basics of Silverlight 5, then immediately jumps into architecting your LOB application. Several key architectural patterns are discussed (MVVM, WCF RIA Services, etc.) that help LOB architects gain an understand of what SL 5 has to offer. A few frameworks are mentioned (although not a comprehensive list) and examples are given to get the reader headed down the right path in selecting (or building) a Silverlight architecture of their own.Throughout the book, I appreciated the case study approach of introducing a new concept, then creating a real-world LOB application (or building on a previous one) to concretely demonstrate the concept just learned. As I stated above, the book is not an exhaustive reference for developing Line of Business applications, but does a good job of introducing all the key areas of LOB application design. Some of the areas covered are: Data Access, Out of Browser, Testing, Web Services, Security, Error handling and more."Mastering LOB Development for Silverlight 5: A Case Study in Action" has earned a place on my book shelf as a good reference for creating Silverlight 5 Line of Business applications and a reference that I will recommend to others starting down the same path of Silverlight LOB development.Mastering LOB Development for Silverlight 5: A Case Study in Action : [...]
Amazon Verified review Amazon
Alfredo Sep 13, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I'll start off by saying I almost dropped a star because of the lack of guidance on implementing a truly modular solution with IoC.What attracted me to the title is its coverage of Silverlight 5 and I wanted to know what new features were available, without having to filter through all of the basic information related to Silverlight development.Typos are minimal and irrelevant to understanding. Some are funny, like Vista instead of View, seen as how all six contributors have Spanish names. In one instance Chapter 10 is referenced as Chapter 11, but overall there are very few hard errors.I didn't download any of the code samples; they never get big or complicated enough to warrant having to run the code.If you have some practice already the first three chapters won't provide anything new, but they will jog your memory on many basic subjects if you're preparing for an exam and want to make sure you've not forgotten a major subject. It's an extremely brief, but condense summary, yet liberal references for further learning are provided. The summary of the Navigation Framework stands out.The rest of the book will not teach you a thing other than topics related to general application blocks and patterns and how to implement them using Silverlight. Nothing on Printing, Media, Animation... it's not that kind of book, which is great.The samples periodically restart, so if you don't like the direction of one sample app it won't be long before you get to another small and specifically targeted sample.In Chapter 4: Architecture, the use of MVVM with MEF is discussed. It emphasizes the unfortunate reality that without good design a project may have to be scrapped as the repairs may be too costly. PRISM isn't discussed and I feel it deserved more of a mention.I find that authors from whom I learn best propose questions designed to differentiate one strategy over another, to show how the "why" makes the "what" understandable. The authors' use of this technique helps to show why the MVVM pattern fits for Silverlight and WPF development.You read why good design with MVVM and MEF automatically tends toward easier unit testing, and go into depth on the subject in Chapter 7.What I really like about chapter 4 is it even suggests how to setup your Visual Studio solution which can be a great help to a beginner.I'm more convinced to make use of the Navigation Framework with the demonstration of its encapsulation and integration in the ViewModel layer, especially with its parameter passing capabilities.Chapter 5: RIA Services Data Access was one nugget where I hoped I could learn something new in Silverlight 5. I've always felt that RIA Services has been promoted poorly and taught in an unnecessarily vague and confusing manner. This book does it right, you feel you know what RIA Services is and in which subjects you'll want to learn more. Yet I didn't see much differentiation between SL 4 and 5, even if the answer was that there aren't any changes. It was a bit disappointing to realize the book was not a contrast between SL 4 and 5, but then again it doesn't claim to be.Without knowing how to customize the proxy generation, one can find the default proxy feels very limiting. The book does an excellent job in explaining how to customize the client proxy to your needs.Chapter 5 will leave you wanting much more, but it encourages you in the right direction. For example, Transactions get a total of two lines of text, but many references for further learning are provided.The nugget in Chapter 7 is about testing asynchronous client code such as making mock calls for UI related operations. Basically, the point is you don't want to actually call web methods, so fake it.The exception handling primer in Chapter 8 helps to differentiate regular exception handling with the focus on SL exception handling and asynchronous patterns. I found the logging and bug reporting architecture to be quite interesting.Chapter 9 is for anyone desiring to seamlessly mix ASPX pages and SL with control flow between them.Chapters 10 and 11 really were stark reminders of the tone of the entire book, a high level view for those looking to see what they're in for in tackling the business components of a Silverlight LOB.I suppose the authors could have excluded the first three chapters and not even attempted to pacify those readers looking for a broader introduction to Silverlight, since they wouldn't be satisfied anyway. What this book tries to do is say, "Hey, this is how you define a pattern to work within for your business application so it's extensible and not so coupled, this is how you implement general concepts like data access, logging, validation, security, exception handling, etc. and here are some frameworks and tools to assist you, all in Silverlight development". It's like someone showing a WPF developer the differences between WPF and Silverlight.Readers who find this book informative will definitely want to check out Packt Publishing's "MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF" which at over 400 pages will provide an even more in-depth analysis of the MVVM pattern for Silverlight.Packt Publishing's "Microsoft Silverlight 5 Data and Services Cookbook" pairs great with this book for those looking to solidify their understanding of the data and communication layers. At over 600 pages, you will truly master data access with Silverlight.The co-author of the book just reviewed has an article on Silverlight 5 LOB development at: [...]Up to date Silverlight SOA is discussed in another great article at: [...]
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela