|
Coding JavaScript for Mobile Browsers (part 7) |
As we discussed in the previous section, on most devices timers (and all JavaScript execution) are paused when the web page is sent to the background. I have an iPod Touch, and in Safari I always have my email open in one of the eight possible tabs (or windows). |
|
|
iPad SDK : The Structure of Core Text |
Before we start making use of Core Text in our code, an overview of how it works is in order. Unlike most of the new APIs discussed in the book, Core Text is a C-based API, rather than a set of Objective-C classes |
|
iPad SDK : PDF Generation |
The iOS new functionality for rendering to a PDF file means that anything you can draw to the screen using UIView can now be drawn straight into a PDF file. |
|
|
jQuery 1.3 : Sorting and paging (part 4) |
The alternateRowColors() function that we wrote is a perfect candidate to become a jQuery plugin. In fact, any operation that we wish to apply to a set of DOM elements can easily be expressed as a plugin. |
|
jQuery 1.3 : Sorting and paging (part 3) - Using a comparator to sort table rows |
To perform the actual sort, we can use JavaScript's built in .sort() method. It does an in-place sort on an array, and can take a comparator function as an argument. This function compares two items in the array and should return a positive or negative number depending on which item should come first in the sorted array |
|
jQuery 1.3 : Sorting and paging (part 2) - JavaScript sorting |
There are times, though, when we either don't want to wait for server responses when sorting, or don't have a server-side scripting language available to us. A viable alternative in this case is to perform the sorting entirely on the browser using JavaScript client-side scripting. |
|
|
Coding JavaScript for Mobile Browsers (part 5) |
One of the most popular (and annoying) features of JavaScript is the usage of window.open for opening the classic pop-up windows. For mobile browsers, the usage of this technique is not ideal, for many reasons. |
|
Coding JavaScript for Mobile Browsers (part 4) |
JavaScript has two objects related to sizes: document.documentElement and screen. The first is related to the size of the current document’s viewport, and the second to the whole screen of the device |
|
|
|
|
|
Security in Cloud Computing (part 4) - Audit and Compliance |
It is clear that the CSP will face a large number of requests from its customers to prove that the CSP is secure and reliable. There a number of audit and compliance considerations for both the CSP and the customer to consider in cloud computing. |
|
Security in Cloud Computing (part 3) |
With the adoption of cloud services, a large part of your network, system, applications, and data will move to a third-party provider’s control. |
|
|
Security in Cloud Computing (part 1) - Data Security and Storage |
Since the premise of our book is that security is a concern when discussing cloud computing, let’s revisit the security considerations we previously discussed and conclude with our thoughts on the current and future states of these considerations for the cloud |
|
|
|
|
|
|
|
|
jQuery 1.3 : Working with numeric form data (part 5) |
The rest of the calculations on the page follow a similar pattern. For the subtotal, we can add up our totals for each row as they are calculated, and display the result using the same currency formatting as before |
|
|
|