Last month, I spent some time learning KnockoutJS. I then used it to build a simple ASP.NET project which allows you to view PDF documents in the browser without requiring any pdf browser plugin. Overall, it was a good learning experience.
For HTML5 compliant browsers, I used Mozilla’s pdf.js library; and for the older browsers, I used the SWFTools utilities to convert the PDF file to Flash, and then send back the Flash viewer to the client. Knockout provides the data and command bindings at the UI layer for the document grid to bring up the viewer as each document in the grid is clicked. On the backend, I used an ASP.NET Web Api controller which receives Ajax requests from the client JavaScript to send the document hitlist, or the document viewer.
Here are some of the screenshots for the app. I may post the source code to GitHub sometime in the future, after some tidying and beautifying.
Home
»
ASP.NET
»
Coders' Corner
»
HTML5
»
JavaScript
»
KnockoutJS
»
Knocking out a web based PDF viewer
2
comments
Knocking out a web based PDF viewer
Friday, 7 June 2013
13:04
Labels:
ASP.NET
,
Coders' Corner
,
HTML5
,
JavaScript
,
KnockoutJS
To those new to on-line gambling, nonetheless, this means lots of upon lots of of well-paying slots, table games, and all sorts of other titles. However, the laws are difficult to implement, particularly with how widespread fashionable expertise has turn out to be. It's incredibly easy for folks living in South Korea to entry on-line casinos through VPN services, which renders all authorities efforts ineffective since is not a|there isn't any} method of knowing who accesses what web site when. As alluded to earlier, the South Korean authorities implements strict gambling laws, making it difficult for any person to participate in or patronize on-line casinos. While the government of South Korea could have been successful in regulating the country's gambling trade, on-line casinos have been difficult this strategy considerably. The authorities 카지노사이트 has constantly warned against on-line casino gaming, prosecuting those found responsible to the fullest extent of the legislation.
ReplyDeleteMany of the early Arabic texts which check with the game touch upon the controversy relating to the legality and morality of enjoying in} the game. In 1254, Louis IX issued a decree prohibiting his courtroom officers and subjects from enjoying in} dice games. Has survived; it may have been related to the older Ancient Greek dice game Kubeia. The earliest recognized mention of the game is in Ovid's Ars Amatoria ('The Art of Love'), written between 1 BC and 토토사이트 eight AD. In Roman occasions, this game was {also recognized as|also called|also referred to as} Alea, and a possible apocryphal Latin story linked this name, and the game, to a Trojan soldier named Alea.
ReplyDelete