官术网_书友最值得收藏!

  • KnockoutJS Web Development
  • John Farrar
  • 448字
  • 2021-07-23 20:09:46

Installing KnockoutJS

First, make sure you have a working website set up on a server. It can be as simple as plain old HTML if you only want to learn those features or any of the productive web platforms out there (ASP.NET, ColdFusion/Railo, NodeJS, PHP, Python, Ruby, and so on); just make sure the service is running before installing Knockout. However, there is one exception. If you are using Knockout for an HTML application like PhoneGap or something along those lines, then you do not need a web server for internal functionality.

There are a number of ways to install Knockout. You need to choose the one that works right for you. The book files have been packaged into a ZIP file at http://knockout.developers.zone/books/knockout-js-web-development/. Click on the link to download the current stable release of the product. We will keep it up to date with fixes if any are needed. We will also be creating a video on that page to show how to get things installed at least on Mac and Windows.

If you download the page directly from the Knockout site at http://knockoutjs.com, copy the text and paste it into a JS file within the folders for your website.

Now, there are others who may be using fancier tools in the future. There are several package installers that pull the files needed. If you are using one of those for this book then check that the version of KnockoutJS is 3.2 or later. I would suggest not using those at this time unless you are already familiar with them. They are worth getting to know but not needed to get running with Knockout.

My examples include the Bootstrap library as I wanted to improve the presentation and give a distinct personality on the pages of this book, which is another way of saying it made creating this resource for you more fun for me.

I have links to all the examples and exercises in this book linked from the root of the web folder. I would suggest learning to use Knockout there, and using this knowledge if you are moving to web-based app development.

With the files loaded, you should be able to click through a couple of the examples. One of my goals was to set the course up so you could use this as a quick reference document after completing the course when you need to look up how to do different things with Knockout.

Your work pages should go in the appropriate folder matching the chapter numbers of this book. I have created complete working examples in the done folder and yours should go into the do folder under the matching chapter number.

主站蜘蛛池模板: 交口县| 渝北区| 桦川县| 太仓市| 灵璧县| 太和县| 定兴县| 泸定县| 土默特右旗| 吉林市| 廊坊市| 鞍山市| 宝丰县| 凌海市| 邛崃市| 绍兴县| 彭阳县| 邳州市| 闵行区| 乌鲁木齐市| 佛冈县| 鄂托克前旗| 东乡族自治县| 哈巴河县| 灵宝市| 临邑县| 公安县| 铅山县| 隆安县| 锦屏县| 延川县| 湘阴县| 海原县| 安康市| 柘城县| 花莲县| 仙居县| 宜兰市| 汤原县| 大洼县| 庆安县|